ESXi

 View Only
  • 1.  esxtop shows cpu 100% but vm is idle

    Posted Jan 27, 2015 10:13 PM

    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



  • 2.  RE: esxtop shows cpu 100% but vm is idle

    Posted Jan 28, 2015 11:56 AM

    Please post a vmware.log file.



  • 3.  RE: esxtop shows cpu 100% but vm is idle

    Posted Jan 28, 2015 01:29 PM

    Hi ,

    Thanks for teh support

    Attached



  • 4.  RE: esxtop shows cpu 100% but vm is idle
    Best Answer

    Posted Jan 28, 2015 02:15 PM

    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.



  • 5.  RE: esxtop shows cpu 100% but vm is idle

    Posted Jan 28, 2015 09:50 PM

    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



  • 6.  RE: esxtop shows cpu 100% but vm is idle

    Posted Jan 28, 2015 10:21 PM

    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.



  • 7.  RE: esxtop shows cpu 100% but vm is idle

    Posted Jan 28, 2015 10:28 PM

    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



  • 8.  RE: esxtop shows cpu 100% but vm is idle

    Posted Jan 28, 2015 01:39 PM

    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?