Bug 865347
| Summary: | RFE: Hypervisor installer should change host's IO scheduler to deadline for improved performance | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Yaniv Kaul <ykaul> |
| Component: | openstack-packstack | Assignee: | Martin Magr <mmagr> |
| Status: | CLOSED ERRATA | QA Contact: | Nir Magnezi <nmagnezi> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 1.0 (Essex) | CC: | aortega, apevec, bloch, derekh, jkt, markmc, mwagner, ykaul |
| Target Milestone: | snapshot4 | Keywords: | Improvement, Triaged |
| Target Release: | 2.1 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | openstack-packstack-2012.2.3-0.1.dev454 | Doc Type: | Enhancement |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-03-21 18:22:41 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: | |||
|
Description
Yaniv Kaul
2012-10-11 09:31:40 UTC
Perf team used to have a tool called tuna that made it possible to apply profiles to hosts, and one of the profiles was for a 'kvm host' @mwagner, can you assist with info here? (In reply to comment #2) > Perf team used to have a tool called tuna that made it possible to apply > profiles to hosts, and one of the profiles was for a 'kvm host' > > @mwagner, can you assist with info here? I thought Packstack was going to use otopi/ovirt-host-deploy. It's available there: http://gerrit.ovirt.org/gitweb?p=ovirt-host-deploy.git;a=blob;f=src/plugins/ovirt-host-deploy/tune/iosched.py;hb=HEAD Hi, tuned is a user space package that controls the profiles. There are profiles for virtual-host and virtual-guest amongst others. It should be possible to install and configure the use of the virtual-host profile. Note that tuna is a different tool. I have to translate this into a equivalent puppet manifest but would something like this be appropriate ?
if ! tuned-adm active | grep virtual-host 2> /dev/null ; then
tuned-adm profile virtual-host
fi
This probably changes more then just the IO scheduler but its all good stuff right?
Also does this changed persist on reboot?
thanks,
Derek.
Fix submitted upstream https://review.openstack.org/#/c/22540/ Verified NVR: openstack-packstack-2012.2.3-0.1.dev454.el6ost.noarch 1. Verified that 'tuned-adm active | grep virtual-host' returned no output. 2. Used packstack to install openstack. 3. Verified Active Profile again: # tuned-adm active | grep virtual-host Current active profile: virtual-host 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-2013-0671.html |