Bug 1090068 - Backport auto-setting of workers options to # of CPUs
Summary: Backport auto-setting of workers options to # of CPUs
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-nova
Version: 4.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: async
: 4.0
Assignee: Vladan Popovic
QA Contact: Sean Toner
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-04-22 13:35 UTC by Russell Bryant
Modified: 2023-09-15 01:26 UTC (History)
7 users (show)

Fixed In Version: openstack-nova-2013.2.3-9.el6ost
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-08-21 00:40:17 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker OSP-16455 0 None None None 2022-07-09 06:51:44 UTC
Red Hat Product Errata RHSA-2014:1084 0 normal SHIPPED_LIVE Moderate: openstack-nova security, bug fix, and enhancement update 2014-08-21 04:34:32 UTC

Description Russell Bryant 2014-04-22 13:35:01 UTC
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>
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 12:19:33 UTC
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-21 00:40:17 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.

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

Comment 8 Red Hat Bugzilla 2023-09-15 01:24:32 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 365 days


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