Bug 1090068
| Summary: | Backport auto-setting of workers options to # of CPUs | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Russell Bryant <rbryant> |
| Component: | openstack-nova | Assignee: | Vladan Popovic <vpopovic> |
| Status: | CLOSED ERRATA | QA Contact: | Sean Toner <stoner> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 4.0 | CC: | breeler, dcadzow, ndipanov, sgordon, stoner, vpopovic, yeylon |
| Target Milestone: | async | Keywords: | FeatureBackport, ZStream |
| Target Release: | 4.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| 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-21 00:40:17 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
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 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 The needinfo request[s] on this closed bug have been removed as they have been unresolved for 365 days |
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