I've read that in the majority of cases one vCPU is the best practice. I have an Ubuntu Server 10.04 vm that I've setup to use HandbrakeCLI for encoding movies. I know that HandBrake is a multicore app and to speed up encoding I want to add more vCPUs.
The ESXi host has a physical Intel Xeon X3440 2.53GHz which is quadcore with HT.
When changing the virtual machine settings there are two related to CPU:
"Number of virtual sockets"
"Number of cores per virtual socket"
What should I think about when settings these options? Do I increase virtual sockets or cores or a combination of both? Although I have the option of selecting up to 8 sockets and 8 cores I guess that I have to remain with the spec of my physical CPU, right?
Finally, where should I look at the CPU usage: inside the vm using top, or on the esxi host?
Hopefully someone can make me wiser on setting appropriate CPU settings for vms
The ESXi host has a physical Intel Xeon X3440 2.53GHz which is quadcore with HT.
When changing the virtual machine settings there are two related to CPU:
"Number of virtual sockets"
"Number of cores per virtual socket"
What should I think about when settings these options? Do I increase virtual sockets or cores or a combination of both? Although I have the option of selecting up to 8 sockets and 8 cores I guess that I have to remain with the spec of my physical CPU, right?
Finally, where should I look at the CPU usage: inside the vm using top, or on the esxi host?
Hopefully someone can make me wiser on setting appropriate CPU settings for vms