My bad Actually when starting to type in "cpu" - the VM setting appears in a drop-down list - its "cpu.corespersocket" and this is working now - pinning all 8 vCPU's to a single socket
Many thanks Gary Gary Dixon Quadris Cloud Manager +44 (0) 161 537 4980 +44 (0) 7989 717661 [email protected] www.quadris.com Innovation House, 12-13 Bredbury Business Park Bredbury Park Way, Bredbury, Stockport, SK6 2SN -----Original Message----- From: Wei ZHOU <[email protected]> Sent: Tuesday, March 12, 2024 9:02 AM To: [email protected] Subject: Re: CPU topology Hi, Sorry the vm setting name is "cpucorepersocket", not "cpucorespersocket" -Wei On Tue, Mar 12, 2024 at 9:53 AM Gary Dixon <[email protected]> wrote: > 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%20(0)%20161%20537%204980> > +44 (0) 7989 717661 <+44%20(0)%207989%20717661> > [email protected] > http://www.q/ > uadris.com%2F&data=05%7C02%7CGary.Dixon%40quadris.co.uk%7C2bedeb6f3087 > 41b71ab708dc427325b5%7Cf1d6abf3d3b44894ae16db0fb93a96a2%7C0%7C0%7C6384 > 58309534536696%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2l > uMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=cy6mSkb1QG87z2H > ws3%2Byj37aiGRnZQLGzyiumeQI3uk%3D&reserved=0 > Innovation House, 12‑13 Bredbury Business Park Bredbury Park Way, > Bredbury, Stockport, SK6 2SN -----Original Message----- > From: Wei ZHOU <[email protected]> > Sent: Monday, March 11, 2024 5:29 PM > To: [email protected] > Subject: Re: CPU topology > > Stop the vm > Add a vm setting cpucorespersocket > Start the vm > > -Wei > > > On Monday, March 11, 2024, Gary Dixon > <[email protected]> > 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:[email protected]] > > Gary Dixon > > Quadris Cloud Manager > > [cid:[email protected]] > > +44 (0) 161 537 4980<tel:+44%20(0)%20161%20537%204980> > > +44 (0) 7989 717661<tel:+44%20(0)%207989%20717661> > > [cid:[email protected]] > > [email protected]<mailto:[email protected]> > > [cid:[email protected]] > > http://www/ > > .q%2F&data=05%7C02%7CGary.Dixon%40quadris.co.uk%7C2bedeb6f308741b71a > > b708dc427325b5%7Cf1d6abf3d3b44894ae16db0fb93a96a2%7C0%7C0%7C63845830 > > 9534544670%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luM > > zIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=2YFk8YOCHru4RGd > > %2BeW8J2VLdHQ56%2B84er462%2FAo%2Ffxw%3D&reserved=0 > > uadris.com%2F&data=05%7C02%7CGary.Dixon%40quadris.co.uk%7Ca277409825 > > e3 > > 4aaf0d0c08dc41f0e5ee%7Cf1d6abf3d3b44894ae16db0fb93a96a2%7C0%7C0%7C63 > > 84 > > 57750109219152%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV > > 2l > > uMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=YgDCwDD5fCOV9 > > ZT > > WmqURHVoTP9sNAsxyiqgtn%2FYaAtY%3D&reserved=0<https://eur01.safelinks/ > > .protection.outlook.com/?url=https%3A%2F%2Feur01.safelinks.p%2F&data > > =05%7C02%7CGary.Dixon%40quadris.co.uk%7C2bedeb6f308741b71ab708dc4273 > > 25b5%7Cf1d6abf3d3b44894ae16db0fb93a96a2%7C0%7C0%7C638458309534549780 > > %7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI > > 6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=UHLpLAIzoWI%2B%2BtEKwLcGD > > 2s5bcukqIIcugHQHPVWnug%3D&reserved=0 > > rotection.outlook.com/?url=http%3A%2F%2Fwww.quadris.com%2F&data=05%7 > > C0 > > 2%7CGary.Dixon%40quadris.co.uk%7Ca277409825e34aaf0d0c08dc41f0e5ee%7C > > f1 > > d6abf3d3b44894ae16db0fb93a96a2%7C0%7C0%7C638457750109228420%7CUnknow > > n% > > 7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLC > > JX > > VCI6Mn0%3D%7C0%7C%7C%7C&sdata=jOqpTPry%2FCm4zAUenX2SFUtrfzzt8WF3CgnD > > j% 2FbM2B4%3D&reserved=0> [cid:[email protected]] > > Innovation House, 12‑13 Bredbury Business Park Bredbury Park Way, > > Bredbury, Stockport, SK6 2SN > > > > >
