VMware Cloud Community
zare_N0222
Enthusiast
Enthusiast

how to see which vm use which core

Hi, 

monitoring my host using esxitop, a notice parametar %A/MPERF which represents a core speed . 

I have host with CPU  of base frequency od 2.2 , and turbo frequency is 2.6 .

I want to find which vm are use which core, is that even possible?  

So my esxtop output looks like : 

CPU %USED %UTIL %C0 %C1 %P0 %P1 %P2 %P3 %P4 %P5 %P6 %P7 %P8 %P9 %P10 %P11 %P12 %P13 %A/MPERF
0 5.7 6.8 14 86 97 0 0 0 0 0 0 0 0 0 0 0 0 3 117.9
1 9.3 8.9 9 91 93 0 0 0 0 0 0 0 0 0 0 0 0 7 118.1
2 14.2 16.3 16 84 66 0 0 0 0 0 0 0 0 0 0 0 0 32 111.8
3 17.2 18.4 19 81 59 0 0 0 0 0 0 0 0 0 1 1 0 37 112.2
4 43.7 41.1 46 54 72 0 0 0 0 0 0 0 0 0 0 0 0 27 116.2
5 8.1 10.0 8 92 70 0 0 0 0 0 0 0 0 0 0 0 0 29 113.8
6 9.0 9.4 7 93 63 0 0 0 0 0 0 0 0 0 0 0 0 36 105.9
7 12.6 12.1 14 86 54 0 0 0 0 1 0 0 0 0 0 0 0 44 113.4
8 10.1 10.1 11 89 59 0 0 0 0 0 0 0 0 0 1 0 1 38 112.8
9 9.5 9.6 7 93 58 0 0 1 0 0 0 0 1 0 0 0 0 40 110.2
10 15.1 15.2 16 84 81 0 1 0 0 0 0 0 0 0 0 0 0 17 114.9
11 20.8 20.0 15 85 65 0 0 0 0 0 0 1 0 1 1 1 2 30 116.3

...

 

0 Kudos
2 Replies
IRIX201110141
Champion
Champion

IMMHO the vCPUs are moved around on the pCores and that very, very quickly.  Also keep in mind that its not a VM which is bind to a pCPU, its each vCPU maps to a single pCore each.

If you dont use a Cluster... there was once an option which allows you to pin a VM to certain pCPUs/pCores (Configure a CPU Affinity). But in 14 years as an VM admin i never used it (we always have HA/DRS Clusters).

 

0 Kudos
zare_N0222
Enthusiast
Enthusiast

thanks for replay IRIX201110141

I suspected but wasn't sure. 

 

0 Kudos