Bug 1489867 - MongoDB and NUMA on Physical Server
Summary: MongoDB and NUMA on Physical Server
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Software Collections
Classification: Red Hat
Component: mongodb
Version: rh-mongodb36
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
: 3.1
Assignee: Marek Skalický
QA Contact: Vaclav Danek
URL:
Whiteboard:
Depends On: 1495238
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-09-08 14:13 UTC by Matthew Robson
Modified: 2021-06-10 12:59 UTC (History)
5 users (show)

Fixed In Version: rh-mongodb36-mongodb-3.6.3-2.el7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1495238 (view as bug list)
Environment:
Last Closed: 2018-05-03 05:01:54 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2018:1281 0 None None None 2018-05-03 05:02:03 UTC

Description Matthew Robson 2017-09-08 14:13:33 UTC
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 7 Marek Skalický 2018-02-27 11:49:30 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 rh-mongodb36 it will be 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)

Are you requesting to change this in rh-mongodb32 or can I move this bug to rh-mongodb36 version and close it?

Comment 8 Matthew Robson 2018-02-27 14:07:51 UTC
Configurable is great.

Moving it to fix the next release is fine.

Matt

Comment 17 errata-xmlrpc 2018-05-03 05:01:54 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2018:1281


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