+++ This bug was initially created as a clone of Bug #1489867 +++ Description of problem: Running the SCL mongodb image on OpenShift with an underlying physical server prints warnings related to NUMA and performance. 2017-09-07T16:25:00.984+0000 [initandlisten] ** WARNING: You are running on a NUMA machine. 2017-09-07T16:25:00.984+0000 [initandlisten] ** We suggest launching mongod like this to avoid performance problems: 2017-09-07T16:25:00.984+0000 [initandlisten] ** numactl --interleave=all mongod [other options] Version-Release number of selected component (if applicable): mongodb 3.2 How reproducible: Always. Steps to Reproduce: 1. Bring up a mongo container on a physical server with NUMA Actual results: Warnings and potential performance related issues. Expected results: A flag or option to start mongodb with numactl (assuming it's installed) as per the mongodb recommendations. Additional info:
This bug appears to have been reported against 'rawhide' during the Fedora 28 development cycle. Changing version to '28'.
Fix for this won't be enabled by default - it isn't applicable for s390x architecture and it is kind of performance tuning ~ it won't fit everybody. In rawhide it's now possible to use numactl to launch mongodb server when using systemd service files. It can be done by editing /etc/sysconfig/mongod or /etc/sysconfig/mongos files - NUMACTL variable is used to launch mongod/mongos server. (upstream recommended value is provided in comment in sysconfig files)