Using cloudmonkey or cmk, you can specify the number of socket at the vm create using : "details[0].cpu.corespersocket=6" so if you define 8 vcpu with details[0].cpu.corespersocket=4 the vm will have 4 sockets @2cores.
On Sun, Nov 24, 2019 at 8:41 AM li jerry <div...@hotmail.com> wrote: > Hello All > > We found in the process of use, when the vcpu in service_offering is a > multiple of 6, vm cpu socket =vcpu/6, when vcpu is a multiple of 4, vm cpu > socket=vcpu/4 > > > Excuse me, why do we design this way? > > In my application scenario, there are restrictions on cpu socket, so I > want to lock the socket to cpu socket=vcpu/2, what are the drawbacks? (Of > course, I will exclude the singular vcpu) > > > > > -Jerry >