Bug 969352
Summary: | [RFE] Use suitable CPU topology for windows guests | ||
---|---|---|---|
Product: | [Community] Virtualization Tools | Reporter: | Peter Krempa <pkrempa> |
Component: | virt-manager | Assignee: | Cole Robinson <crobinso> |
Status: | CLOSED DUPLICATE | QA Contact: | |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | unspecified | CC: | areis, berrange, crobinso, dyuan, gscrivan, juzhang, mkenneth, mkletzan, mzhan, pkrempa, rbalakri, rpacheco, tzheng, virt-maint, xfu |
Target Milestone: | --- | Keywords: | FutureFeature, Reopened |
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Windows | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Enhancement | |
Doc Text: | Story Points: | --- | |
Clone Of: | 879303 | Environment: | |
Last Closed: | 2016-05-13 17:04:42 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: | |||
Bug Depends On: | 879303 | ||
Bug Blocks: |
Description
Peter Krempa
2013-05-31 09:46:23 UTC
Tried on ibm-x3850x5-04.qe.lab.eng.nay.redhat.com, and could not reproduce the error. # rpm -qa libvirt virt-manager libvirt-0.10.2-18.el6_4.9.x86_64 virt-manager-0.9.0-18.el6.x86_64 Scenarios 1.1 # virsh nodeinfo CPU model: x86_64 CPU(s): 32 CPU frequency: 1995 MHz CPU socket(s): 1 Core(s) per socket: 8 Thread(s) per core: 2 NUMA cell(s): 2 Memory size: 132136588 KiB set the processor topology for Windows 2008 R2 guest without hyper-v enabled as following: cores=4,thread=1,socket=40,maxcpus=160 start the guest and check the vcpucount # virsh vcpucount 2k08r2 maximum config 160 maximum live 160 current config 160 current live 160 Scenarios 1.2 and 1.3 cores=1,thread=1,socket=1,maxcpus=160 cores=1,thread=1,socket=64,maxcpus=160 Error pops up when save the changes of guest: Error changing VM configuration: Maximum CPUs greater than topology limit. I also tried on rhel7 #rpm -qa libvirt virt-manager virt-manager-0.10.0-1.el7.noarch libvirt-1.1.0-1.el7.x86_64 # virsh nodeinfo CPU model: x86_64 CPU(s): 32 CPU frequency: 1064 MHz CPU socket(s): 1 Core(s) per socket: 8 Thread(s) per core: 2 NUMA cell(s): 2 Memory size: 131818876 KiB set the processor topology for Windows 2008 R2 guest without hyper-v enabled as following: cores=4,thread=1,socket=40,maxcpus=160 check vcpucount # virsh vcpucount w2k82r maximum config 160 maximum live 160 current config 160 current live 160 Scenarios 1.2 and 1.3 cores=1,thread=1,socket=1,maxcpus=160 cores=1,thread=1,socket=64,maxcpus=160 Error pops up when save the changes of guest: Error changing VM configuration: Maximum CPUs greater than topology limit. Hi Peter Krempa, According to the comment2, I can't reproduce this bug. Could you please recheck this bug and offer hints once it's still exist on your machine. Thanks very much. If you un-check the "manually set CPU topology" check box, libvirt will then start the guest with a flat topology "1 core, 1 thread, sockets == number of cpus". This won't be correctly recognized by windows guests as the Microsoft licensing policy restricts the number of processor packages usable with windows. virt-manager should in this case provide a better topology by default (if this request is possible). This is something that virt-manager can do only while creating a new guest and it would require cooperation from liboseinfo to tell us the maximum number of sockets based on the detected windows version. Moving to upstream because this has really low priority. If OS have restrictions on the number sockets, threads or cores they support (whether a technical reason or a licensing reason), libosinfo should totally record that data and make it available to apps. I filed a libosinfo RFE: https://bugzilla.redhat.com/show_bug.cgi?id=1335977 Duping to the other virt-manager bug tracking this *** This bug has been marked as a duplicate of bug 1095323 *** |