[SERVER-11205] When NUMA machine detected: add "disable zone reclaim" to startup warnings Created: 15/Oct/13  Updated: 10/Dec/14  Resolved: 18/Oct/13

Status: Closed
Project: Core Server
Component/s: Admin
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Trivial - P5
Reporter: Jason Zucchetto Assignee: Mathias Stearn
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates SERVER-3497 check for /proc/sys/vm/zone_reclaim_... Closed
Participants:

 Description   

 "Tue Oct 15 18:14:04 [initandlisten] ",
 "Tue Oct 15 18:14:04 [initandlisten] ** WARNING: You are running on a NUMA machine.",
 "Tue Oct 15 18:14:04 [initandlisten] **          We suggest launching mongod like this to avoid performance problems:",
 "Tue Oct 15 18:14:04 [initandlisten] **              numactl --interleave=all mongod [other options]",
 "Tue Oct 15 18:14:04 [initandlisten] "

Should add in:

Then, disable zone reclaim in the proc settings using the following command:
 
echo 0 > /proc/sys/vm/zone_reclaim_mode



 Comments   
Comment by Mathias Stearn [ 18/Oct/13 ]

We already do this if needed:

https://github.com/mongodb/mongo/blob/r2.5.3/src/mongo/db/startup_warnings.cpp#L151-164

Generated at Thu Feb 08 03:25:11 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.