Hi Wei

I tried setting cpucorespersocket to 8 on a VM with 8vCPU but it has still put 
them across 2 sockets?

Heres some of the xml output:

<currentMemory unit='KiB'>8388608</currentMemory>
  <vcpu placement='static'>8</vcpu>
  <cputune>
    <shares>264</shares>
  </cputune>
......
<cpu mode='host-passthrough' check='none'>
    <topology sockets='2' cores='4' threads='1'/>
  </cpu>
.......

Any ideas what I am doing wrong?

BR

Gary


Gary Dixon
Quadris Cloud Manager
+44 (0) 161 537 4980 +44 (0) 7989 717661
gary.di...@quadris.co.uk
www.quadris.com
Innovation House, 12-13 Bredbury Business Park
Bredbury Park Way, Bredbury, Stockport, SK6 2SN
-----Original Message-----
From: Wei ZHOU <ustcweiz...@gmail.com>
Sent: Monday, March 11, 2024 5:29 PM
To: users@cloudstack.apache.org
Subject: Re: CPU topology

Stop the vm
Add a vm setting cpucorespersocket
Start the vm

-Wei


On Monday, March 11, 2024, Gary Dixon <gary.di...@quadris.co.uk.invalid>
wrote:

>
>
> Meant to have stated here that our ACS version is 4.15.2 Hi
>
> ACS 4.1.2
> KVM on Ubuntu 20.04
> Hosts are Dell R7525 AMD EPYC dual socket 32 core CPU’s
>
> Is there a VM setting that can over-ride the CPU topology?
>
> It seems that when we have a VM with less than 8 vCPU – the domain xml
> of a VM shows the CPU topology as a single socket.
> However between 8 and 16 vCPU’s it shows the topology as having 2
> sockets and 16 or more vCPUs shows 4 sockets.
> I have tried using a VM setting of cpuSocket = 1on a VM with 8vCPU’s
> but it is ignored and continues to use a topology with 2 sockets
>
> BR
>
> Gary
>
>
> [cid:image161185.png@43BB5413.7EEF77E3]
> Gary Dixon​​​​
> Quadris Cloud Manager
> [cid:image347717.png@8A941AE6.9AE8C0C0]
> +44 (0) 161 537 4980<tel:+44%20(0)%20161%20537%204980>
>  +44 (0) 7989 717661<tel:+44%20(0)%207989%20717661>
> [cid:image253845.png@DEB7B540.7BE6A036]
> gary.di...@quadris.co.uk<mailto:gary.di...@quadris.co.uk>
> [cid:image058514.png@B54F0EC3.D31BE611]
> http://www.q/
> uadris.com%2F&data=05%7C02%7CGary.Dixon%40quadris.co.uk%7Ca277409825e3
> 4aaf0d0c08dc41f0e5ee%7Cf1d6abf3d3b44894ae16db0fb93a96a2%7C0%7C0%7C6384
> 57750109219152%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2l
> uMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=YgDCwDD5fCOV9ZT
> WmqURHVoTP9sNAsxyiqgtn%2FYaAtY%3D&reserved=0<https://eur01.safelinks.p/
> rotection.outlook.com/?url=http%3A%2F%2Fwww.quadris.com%2F&data=05%7C0
> 2%7CGary.Dixon%40quadris.co.uk%7Ca277409825e34aaf0d0c08dc41f0e5ee%7Cf1
> d6abf3d3b44894ae16db0fb93a96a2%7C0%7C0%7C638457750109228420%7CUnknown%
> 7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJX
> VCI6Mn0%3D%7C0%7C%7C%7C&sdata=jOqpTPry%2FCm4zAUenX2SFUtrfzzt8WF3CgnDj%
> 2FbM2B4%3D&reserved=0> [cid:image187233.png@747A4F03.8BAA600C]
> Innovation House, 12‑13 Bredbury Business Park Bredbury Park Way,
> Bredbury, Stockport, SK6 2SN
>
>

Reply via email to