A --cpupin patcher should add:
<vcpu placement='static'>4</vcpu>
<cputune>
<vcpupin vcpu='0' cpuset='4'/>
<vcpupin vcpu='1' cpuset='5'/>
<vcpupin vcpu='2' cpuset='6'/>
<vcpupin vcpu='3' cpuset='7'/>
</cputune>
Ideally, there should be three optional args:
--corecout 4 - Pins 4 cpus, and their 8 threads
e.g. processors 0,1,2,3,4,5,6,7,8 on both AMD and Intel machines (assuming a 4 core cpu)
--cores 0,3 - Pins cores 0 and 5, and their respective threads
e.g. processors 0,1,6,7 on AMD systems and 0,3,4,7 on Intel
--processors 0,1,2,3 - Pins the first 4 processors.
on AMD systems, this would be the first two cores, and on intel systems, this would be the first thread across all four cores.
A
--cpupinpatcher should add:Ideally, there should be three optional args:
--corecout 4- Pins 4 cpus, and their 8 threadse.g. processors 0,1,2,3,4,5,6,7,8 on both AMD and Intel machines (assuming a 4 core cpu)
--cores 0,3- Pins cores 0 and 5, and their respective threadse.g. processors 0,1,6,7 on AMD systems and 0,3,4,7 on Intel
--processors 0,1,2,3- Pins the first 4 processors.on AMD systems, this would be the first two cores, and on intel systems, this would be the first thread across all four cores.