You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@vcl.apache.org by "Josh Thompson (JIRA)" <ji...@apache.org> on 2018/09/07 17:36:00 UTC
[jira] [Resolved] (VCL-1104) set cpu topology for libvirt VMs
[ https://issues.apache.org/jira/browse/VCL-1104?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Josh Thompson resolved VCL-1104.
--------------------------------
Resolution: Implemented
> set cpu topology for libvirt VMs
> --------------------------------
>
> Key: VCL-1104
> URL: https://issues.apache.org/jira/browse/VCL-1104
> Project: VCL
> Issue Type: Improvement
> Components: vcld (backend)
> Reporter: Josh Thompson
> Priority: Major
> Fix For: 2.5.1
>
>
> Many (all?) versions of Windows only support a maximum of 2 cpu sockets but can have many cores per socket. libvirt presents vcpus as single core cpu sockets by default. This results in Windows reservations on KVM hosts only seeing 2 cpus even if more are assigned. Setting the topology in the cpu section of the xml such that there are 2 sockets with the number of cores evenly divided between them allows for all assigned cpus to show up (unless the VM has an odd number assigned, in which case, it will be one less; the frontend should be updated to require 1 core or an even number of cores).
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)