5 Replies Latest reply on Feb 24, 2011 10:08 PM by vikern

    VCenter reports much higher CPU usage for the VM than the Guest VM's CPU usage in task manager

    jwnchoate Enthusiast

      Hi, I have a 2Cpu ESX3 (2 single cores w/ hyperthreading), running 2 Virtual Machines. One VM runs a busy database server the other VM runs a nearly idle A/V (1 vcpu) server.

       

      The A/V server runs maybe 1-2% on both the Guest VM and in VCenter, not using much resources.

       

      However, when I look at the CPU performance tab of the database server in VCenter it shows 80% much of the time, but task manager in the VM itself shows 2-5% cpu usages. The database guest is a 2 VCPU VM. I am puzzled at the discrepancy. Other DB Servers on other ESX hosts show as expected. Actual ESX Host CPU mirrors the Graph for the VM in VCenter. Its runs around 80% as well.

       

       

      How can I explain why task manager says the guest is idle, yet the ESX host says its running full bore?

       

       

       

       

      Here is an esxtop sampling.

       

       

      12:40:39pm up 26 days, 10:58, 46 worlds; CPU load average: 0.90, 0.89, 0.90

      PCPU(%): 100.00, 88.14 ; used total: 94.07

      LCPU(%): 99.43, 1.08, 80.15, 7.99

      CCPU(%): 0 us, 1 sy, 99 id, 0 wa ; cs/sec: 91

       

       

      ID GID NAME NMEM %USED %SYS %OVRLP %RUN %WAIT %BWAIT %TWAIT %CRUN %CSTP %IDLE %RD

      1 1 idle 4 14.31 0.00 0.19 50.22 0.00 0.00 0.00 0.00 0.00 0.00 200.0

      2 2 system 5 0.00 0.00 0.00 0.00 500.00 0.00 500.00 0.00 0.00 0.00 0.0

      6 6 console 1 1.36 0.00 0.00 1.30 98.77 0.85 99.62 0.00 0.00 99.62 0.4

      7 7 helper 13 0.01 0.00 0.00 0.00 1300.00 0.00 1300.00 0.00 0.00 0.00 0.0

      8 8 drivers 9 0.00 0.00 0.00 0.01 900.00 0.00 900.00 0.00 0.00 0.00 0.0

      9 9 vmotion 1 0.00 0.00 0.00 0.00 100.00 0.00 100.00 0.00 0.00 0.00 0.0

      12 12 vmware-vmkauthd 1 0.00 0.00 0.00 0.00 100.00 0.00 100.00 0.00 0.00 0.00 0.0

      13 13 lgvoracle 7 185.51 0.31 0.26 187.79 452.35 66.28 518.63 0.00 0.00 13.84 3.3

      14 14 lgvsav 5 1.34 0.01 0.15 2.00 407.26 97.06 500.00 0.00 0.00 99.28 0.6

       

       

       

      12:41:14pm up 26 days, 10:58, 46 worlds; CPU load average: 0.92, 0.89, 0.90

      PCPU(%): 99.56, 79.78 ; used total: 89.67

      LCPU(%): 90.63, 8.94, 21.40, 58.38

      CCPU(%): 1 us, 0 sy, 99 id, 0 wa ; cs/sec: 93

       

       

      ID GID NAME NMEM %USED %SYS %OVRLP %RUN %WAIT %BWAIT %TWAIT %CRUN %CSTP %IDLE %RD

      1 1 idle 4 23.07 0.00 0.12 46.75 0.00 0.00 0.00 0.00 0.00 0.00 200.0

      2 2 system 5 0.00 0.00 0.00 0.00 500.00 0.00 500.00 0.00 0.00 0.00 0.0

      6 6 console 1 2.13 0.00 0.00 2.11 88.80 9.71 98.50 0.00 0.00 98.50 0.5

      7 7 helper 13 0.01 0.00 0.00 0.01 1300.00 0.00 1300.00 0.00 0.00 0.00 0.0

      8 8 drivers 9 0.00 0.00 0.00 0.01 900.00 0.00 900.00 0.00 0.00 0.00 0.0

      9 9 vmotion 1 0.00 0.00 0.00 0.00 100.00 0.00 100.00 0.00 0.00 0.00 0.0

      12 12 vmware-vmkauthd 1 0.00 0.00 0.00 0.00 100.00 0.00 100.00 0.00 0.00 0.00 0.0

      13 13 lgvoracle 7 175.76 0.28 0.33 178.57 435.53 91.64 527.17 0.00 0.00 22.99 2.6

      14 14 lgvsav 5 1.25 0.00 0.07 1.80 428.55 74.27 500.00 0.00 0.00 98.62 1.3

       

       

       

      12:42:09pm up 26 days, 10:59, 46 worlds; CPU load average: 0.90, 0.90, 0.90

      PCPU(%): 99.66, 95.17 ; used total: 97.42

      LCPU(%): 79.00, 20.66, 72.80, 22.37

      CCPU(%): 0 us, 1 sy, 98 id, 1 wa ; cs/sec: 94

       

       

      ID GID NAME NMEM %USED %SYS %OVRLP %RUN %WAIT %BWAIT %TWAIT %CRUN %CSTP %IDLE %RD

      1 1 idle 4 7.86 0.00 0.60 36.94 0.00 0.00 0.00 0.00 0.00 0.00 200.0

      2 2 system 5 0.00 0.00 0.00 0.00 500.00 0.00 500.00 0.00 0.00 0.00 0.0

      6 6 console 1 1.51 0.00 0.00 1.42 89.13 10.15 99.28 0.00 0.00 99.27 0.7

      7 7 helper 13 0.00 0.00 0.00 0.00 1300.00 0.00 1300.00 0.00 0.00 0.00 0.0

      8 8 drivers 9 0.00 0.00 0.00 0.01 900.00 0.00 900.00 0.00 0.00 0.00 0.0

      9 9 vmotion 1 0.00 0.00 0.00 0.00 100.00 0.00 100.00 0.00 0.00 0.00 0.0

      12 12 vmware-vmkauthd 1 0.00 0.00 0.00 0.00 100.00 0.00 100.00 0.00 0.00 0.00 0.0

      13 13 lgvoracle 7 190.29 1.86 1.64 193.79 437.14 74.87 512.01 0.01 0.00 6.73 3.8

      14 14 lgvsav 5 1.96 0.01 0.70 2.69 414.95 85.49 500.00 0.00 0.00 96.73 3.7