Hi ,
I have a pc with quad core intel, installed with ESXi 5.5 .
i created vm and installed centos 6.5 in it.
when i check performance using esxtop , i can see all cpu cores are 100% (attached) .when vm is powered on. (top in vm shows all cpu in idle)
when i power off the vm , the host cpu decrease to 2%.
what can i do to decrease cpu load ?
BR,
Yoram
You have the following setting in the VM's configuration file:
monitor_control.halt_desched = false
This tells ESX not to deschedule the guest when it halts. In other words, this setting specifies that the guest should use 100% CPU.
If you want the VM to yield the CPU when it is idle, you should remove this option.
Please post a vmware.log file.
Hi, Can you expand the centos gid and see if other worlds are also utilizing high? type e and enter 150253.. Also limiting the cpu at VM level has any effect?
You have the following setting in the VM's configuration file:
monitor_control.halt_desched = false
This tells ESX not to deschedule the guest when it halts. In other words, this setting specifies that the guest should use 100% CPU.
If you want the VM to yield the CPU when it is idle, you should remove this option.
Hi ,
Thanks very much for your great assitance.
It solved the issue.
May i ask , i would like to use the centos 6.5 vm as a router in my lab.
but i would like to avoid jitter and have minmum delay-latency.
Could u recommend on best practice according your experience ?
BR,
Yoram
For minimum jitter and latency, dedicate a NIC to the VM with VMDirectPath I/O and set the latency sensitivity to high. This will give the VM exclusive affinity to as many CPUs as are configured. One CPU should be adequate for a router.
Hi ,
Thanks again.
Can i set the latency sensitive via vsphere client , configure parameters, as i do not have license to vcenter and found it very slow on my pc
BR,
Yoram