Bug 1285522 - [RFE] - Tune Controller for best Mongodb Performance
Summary: [RFE] - Tune Controller for best Mongodb Performance
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: rhosp-director
Version: 7.0 (Kilo)
Hardware: All
OS: Linux
high
medium
Target Milestone: ---
: 10.0 (Newton)
Assignee: Hugh Brock
QA Contact: Shai Revivo
URL:
Whiteboard:
Depends On:
Blocks: 1285539
TreeView+ depends on / blocked
 
Reported: 2015-11-25 20:17 UTC by Alex Krzos
Modified: 2016-09-16 13:32 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
: 1285539 (view as bug list)
Environment:
Last Closed: 2016-09-16 13:32:18 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Alex Krzos 2015-11-25 20:17:56 UTC
Description of problem:
Mongodb recommends two preferred OS tunings for it to run optimally.  We probably want to implement these MonogoDB tunings on the controller machines that host Mongo as long as ceilometer is deployed and using Mongodb.

The tunings are printed in the Mongo console:

[root@overcloud-controller-0 lib]# mongo --host 172.21.33.20
MongoDB shell version: 2.6.9
connecting to: 172.21.33.20:27017/test
Welcome to the MongoDB shell.
For interactive help, type "help".
For more comprehensive documentation, see
	http://docs.mongodb.org/
Questions? Try the support group
	http://groups.google.com/group/mongodb-user
Server has startup warnings:
2015-10-15T17:52:08.004-0400 [initandlisten]
2015-10-15T17:52:08.004-0400 [initandlisten] ** WARNING: You are running on a NUMA machine.
2015-10-15T17:52:08.004-0400 [initandlisten] **          We suggest launching mongod like this to avoid performance problems:
2015-10-15T17:52:08.004-0400 [initandlisten] **              numactl --interleave=all mongod [other options]
2015-10-15T17:52:08.004-0400 [initandlisten]
2015-10-15T17:52:08.004-0400 [initandlisten]
2015-10-15T17:52:08.004-0400 [initandlisten] ** WARNING: Readahead for /var/lib/mongodb is set to 4096KB
2015-10-15T17:52:08.004-0400 [initandlisten] **          We suggest setting it to 256KB (512 sectors) or less
2015-10-15T17:52:08.004-0400 [initandlisten] **          http://dochub.mongodb.org/core/readahead
tripleo:PRIMARY>

Comment 3 Mike Burns 2016-04-07 20:57:01 UTC
This bug did not make the OSP 8.0 release.  It is being deferred to OSP 10.


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