VMware Cloud Community
cyberfed2727
Enthusiast
Enthusiast

ESXTOP and Power Policies

So I have been poking around the web trying to get a clear understanding to no avail...

Here is my question, when you run ESXTOP and switch to the power policy screen (p) how can you tell which power policy is configured for a host (High Performance, Balanced, Low Power)?

0 Kudos
4 Replies
brunofernandez1

with ESXTOP I don't know the anser.

But with vim-cmd:

vim-cmd hostsvc/hosthardware | grep -i policy

------------------------------------------------------------------------------- If you found this or any other answer helpful, please consider to award points. (use Correct or Helpful buttons) Regards from Switzerland, B. Fernandez http://vpxa.info/
0 Kudos
cyberfed2727
Enthusiast
Enthusiast

Thanks for the quick reply but I'm looking for ESXTOP specifically.

0 Kudos
fescaros
VMware Employee
VMware Employee

You can't see this in esxtop. Here is the fields you can activate.

* A:  PCPU = PCPU Id

* B:  CPU Usage = CPU Usage time: %USED and %UTIL

* C:  %CState = Percentage of time spent in a C-State

* 😧  %PState = Percentage of time spent in a P-State

  E:  %TState = Percentage of time spent in a T-State

The only good indicator you can get for high performance is to always see P0 being 100% active and no lower p-states. But the actual settings for the other possible configurations can not be seen from that screen.

Is there a specific reason as to why you need this from esxtop rather than any commandline or API call?

0 Kudos
cyberfed2727
Enthusiast
Enthusiast

Thanks I did some testing myself and noticed that the C2 state will always be zero for high performance along with what you said about P0 =100.

My reason for asking was for study purposes.

0 Kudos