Bug 1495238 - MongoDB and NUMA on Physical Server
Summary: MongoDB and NUMA on Physical Server
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: mongodb
Version: 28
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Marek Skalický
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1489867
TreeView+ depends on / blocked
 
Reported: 2017-09-25 14:58 UTC by Marek Skalický
Modified: 2021-06-10 13:07 UTC (History)
10 users (show)

Fixed In Version:
Clone Of: 1489867
Environment:
Last Closed: 2018-02-27 11:50:54 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Marek Skalický 2017-09-25 14:58:50 UTC
+++ 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:

Comment 1 Fedora End Of Life 2018-02-20 15:25:05 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 28 development cycle.
Changing version to '28'.

Comment 2 Marek Skalický 2018-02-27 11:50:54 UTC
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)


Note You need to log in before you can comment on or make changes to this bug.