Bug 1597159
Summary: | cpu_mode=host-passthrough in the nova.conf | ||
---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | Attila Fazekas <afazekas> |
Component: | openstack-packstack | Assignee: | Alfredo Moralejo <amoralej> |
Status: | CLOSED EOL | QA Contact: | nlevinki <nlevinki> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 13.0 (Queens) | CC: | afazekas, mburns, srevivo |
Target Milestone: | --- | Keywords: | Triaged, ZStream |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2023-07-10 17:30:39 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
Attila Fazekas
2018-07-02 07:31:58 UTC
When using kvm virt_type, cpu_mode is set to host-model. With host-passthroug, libvirt tells KVM to pass through the host CPU with no modifications while host-model identifies the CPU model in /usr/share/libvirt/cpu_map.xml file that most closely matches the host, and requests additional CPU flags to complete the match. This configuration provides the maximum functionality and performance and maintains good reliability and compatibility if the guest is migrated to another host with slightly different host CPUs. I'd say that in most cases it should not make big difference between host-model and host-passthrough and i don't like changing defaults in this case. Are you observing relevant performance in your test environment?. If so, we may add a new config option in packstack to set cpu_mode. http://openstack-in-production.blogspot.com/2015/08/cpu-model-selection-for-high-throughput.html In the above reports you can read just 4..5% percent benefit, but in case on nested guest usage I can have situation when it is two times better (parallel boot test multiple cirros machines). IMHO in packstack case more likely the user have nested guests than having multiple hypervisors, so it is better to optimize nested guest usage or assume one machine and provide the best possible performance. But there can be exceptions, so might be better to just provide it as an option. NOTE: 'host-passthrough' is valid only for kvm, not for qemu . OSP13 support officially ended on 27 June 2023 |