Bug 1462183
Summary: | [RFE] warn the user if trying to use hyperthreading on unsupported architecture | ||||||
---|---|---|---|---|---|---|---|
Product: | [oVirt] ovirt-engine | Reporter: | jiyan <jiyan> | ||||
Component: | BLL.Virt | Assignee: | Michal Skrivanek <michal.skrivanek> | ||||
Status: | CLOSED WORKSFORME | QA Contact: | meital avital <mavital> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 4.1.3.2 | CC: | bugs, dyuan, jiyan, lmen, michal.skrivanek, mtessun, tjelinek, xuzhang | ||||
Target Milestone: | --- | Keywords: | FutureFeature | ||||
Target Release: | --- | Flags: | rule-engine:
planning_ack?
rule-engine: devel_ack? rule-engine: testing_ack? |
||||
Hardware: | x86_64 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2018-07-06 16:17:59 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | Virt | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
jiyan
2017-06-16 11:50:28 UTC
Created attachment 1289009 [details]
Logs for the needinfo
The attachment includes the following files:
log/RHV-server-engine.log
log/RHV-host-vdsm.log
log/RHV-host-qemu-vm1.log
log/RHV-host-libvirtd.log
log/RHV-guest-vm1-cpudmesg.log
log/RHV-guest-vm1-lscpu.log
so, the qemu cmdline looks like: -smp 100,maxcpus=160,sockets=8,cores=4,threads=5 (the sockets = 8 is there to allow hotplug) The problem here is that the architecture is AMD which does not support hyperthreading, so qemu changes the "Thread(s) per core" to 1 and manipulates the "Core(s) per socket:" and "Socket(s):" to match the configured num of CPUs. Turning this into an RFE to warn when the user when he is trying to use hyperthreading on an unsupported architecture. Just did a test with a 2 Socket, 4 Cores, 5 Threads and got the same architecture displayed in the VM with lscpu. WHile it is not sensible having that topology in case there is no hyperthreading it is still set up correctly in the VM. |