Skip to content

production-notes: tweak Linux NUMA disable #2366

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

devkev
Copy link
Contributor

@devkev devkev commented Aug 17, 2015

  1. Swap the order of the numactl and zone_reclaim_mode commands. This is better because if a user manually follows the old steps, they may run numactl --interleave=all mongod before fixing zone_reclaim_mode, and thereby still receive zone_reclaim_mode startup warnings.
  2. Adjust the zone_reclaim_mode command to be an appropriate sudo-style command (simply prepending sudo won't work), indicating that the command needs to be run as root (and how). Also provide a more modern sysctl based variant (again with sudo).
  3. Add <options> to the numactl command to indicate that these can be specified if desired.
  4. "may" -> "should"
  5. "including ..., or clients" -> "including ..., and clients"

1. Swap the order of the `numactl` and `zone_reclaim_mode` commands. This is better because if a user manually follows the old steps, they may run `numactl --interleave=all mongod` *before* fixing `zone_reclaim_mode`, and thereby still receive `zone_reclaim_mode` startup warnings.

2. Adjust the `zone_reclaim_mode` command to be an appropriate sudo-style command (simply prepending `sudo` won't work), indicating that the command needs to be run as root (and how).  Also provide a more modern `sysctl` based variant (again with sudo).

3. Add `<options>` to the `numactl` command to indicate that these can be specified if desired.

4. "may" -> "should"

5. "including ..., or clients" -> "including ..., and clients"
@schmalliso
Copy link
Contributor

Squashed in with #2568. Sorry for the delay :(

@schmalliso schmalliso closed this Mar 16, 2016
mongo-cr-bot pushed a commit that referenced this pull request Jan 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants