Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1090068 - Backport auto-setting of workers options to # of CPUs [NEEDINFO]
Backport auto-setting of workers options to # of CPUs
Status: CLOSED ERRATA
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-nova (Show other bugs)
4.0
Unspecified Unspecified
unspecified Severity unspecified
: async
: 4.0
Assigned To: Vladan Popovic
Sean Toner
: ZStream
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2014-04-22 09:35 EDT by Russell Bryant
Modified: 2016-04-26 21:21 EDT (History)
7 users (show)

See Also:
Fixed In Version: openstack-nova-2013.2.3-9.el6ost
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2014-08-20 20:40:17 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
breeler: needinfo? (vpopovic)


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2014:1084 normal SHIPPED_LIVE Moderate: openstack-nova security, bug fix, and enhancement update 2014-08-21 00:34:32 EDT

  None (edit)
Description Russell Bryant 2014-04-22 09:35:01 EDT
Nova has the following configuration options: "ec2_workers", "osapi_compute_workers", "metadata_workers", and "[conductor] workers".  The default value for these options in RHOS 5.0 is automatically set to the number of CPUs available to ensure that these services are able to utilize more than one CPU.  This is a much better default for scaling purposes.

We should backport this to RHOS 4.0.  The commit that needs to be backported is:

commit 75c96a48fc7e5dfb59d8258142b01422f81b0253
Author: Russell Bryant <rbryant@redhat.com>
Date:   Sun Jan 26 21:07:26 2014 -0500

    Use (# of CPUs) workers by default
    
    Update the default value of the worker configuration options to be
    equal to the number of CPUs on the system.  This is the most common
    value that should be used to get ideal performance from nova-conductor
    or nova-api.
    
    The following options are updated in this change:
    
        [default]
        ec2_workers=
        osapi_compute_workers=
        metadata_workers=
    
        [conductor]
        workers=
    
    DocImpact
    UpgradeImpact
    
    Change-Id: Id8009b5fd37cef03ca66cb5bf44211039ac895ba
Comment 3 Sean Toner 2014-08-13 08:19:33 EDT
Checked openstack-nova-2013.2.3-12.el6ost source rpm contents, and verified the patches contained the same diffs from upstream code https://code.engineering.redhat.com/gerrit/#/c/25426/

*0019-Use-of-CPUs-workers-by-default.patch
Comment 6 errata-xmlrpc 2014-08-20 20:40:17 EDT
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.

http://rhn.redhat.com/errata/RHSA-2014-1084.html

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