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] > 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: 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/ > > 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:[email protected]] > > Innovation House, 12‑13 Bredbury Business Park Bredbury Park Way, > > Bredbury, Stockport, SK6 2SN > > > > >
