-
Type: Improvement
-
Resolution: Won't Fix
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Admin
-
None
-
Environment:Linux
-
Minor Change
The mongod server is known to suffer from serious performance problems when running on Linux systems on Non-Uniform Memory Access hardware unless mongod is started by numactl with the --interleave=all option. Today's server logs a large warning when started in this condition.
Users may or may not notice the warning that mongod logs at startup, but even if they notice the warning they may not associate it with performance problems that crop up later. These users may blame mongod for the poor performance and not realize that they have missed a key configuration step.
These users would be better served by having mongod refuse to start up in cases where they are likely to see problems later on. In the cases where it really is desired to run on NUMA hardware without memory interleaving, a command line switch would make this possible.
Proposal:
- Add a command line option "--overrideNUMAwarning"
- In the case where today's code would print a warning about NUMA, check to see if the --overrideNUMAwarning option has been specified
- If the option has been given, display a toned-down warning noting that performance issues may be present and that we are starting anyway because of --overrideNUMAwarning
- If the option has not been given, log a clear message about why we are refusing to run, and about the two ways to fix it (use numactl --interleave=all or --overrideNUMAwarning) and refuse to run (exit)
The goal is to increase product satisfaction by preventing a common case of misconfiguration.
- is related to
-
SERVER-8189 Unstable connectivity in replica sets environment
- Closed