[kata-dev] CPU constraint translation to Qemu SMP options
Edupuganti, Saikrishna
saikrishna.edupuganti at intel.com
Wed Jun 20 15:50:05 UTC 2018
Hi Team,
When translating the K cpu count from Docker/k8s to Qemu options, what is reasoning behind configuring K sockets with 1 core per socket instead of K cores with 1 socket? Did any performance measurements guide this decision?
When we bring up kata container with 8 cpus it brings up a VM with (8+1) sockets -
kubectl exec -it ubuntu-kata -- lscpu
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 1
On-line CPU(s) list: 0
Thread(s) per core: 1
Core(s) per socket: 1
Socket(s): 1
kubectl exec -it ubuntu-kata-8cpu-limit -- lscpu
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 9
On-line CPU(s) list: 0-8
Thread(s) per core: 1
Core(s) per socket: 1
Socket(s): 9
Thanks,
Sai
More information about the kata-dev
mailing list