VMware Cloud Community
skumflum42
Contributor
Contributor
Jump to solution

Poor CPU performance on VM

I have a 4vCPU VM that sometimes performs poorly but I have a hard time finding out why. Every night it run some CPU intensive operations.

I have attached some screenshots of CPU and Disk performance graph. There is a big gap between the CPU Demand and Usage but negligible Ready and Co-Stop. I don’t see any disk bottlenecks either.

How can this gap and the occasional poor performance be explained.

Reply
0 Kudos
1 Solution

Accepted Solutions
Linjo
Leadership
Leadership
Jump to solution

You also have to check your bios performance settings.

Best regards, Linjo Please follow me on twitter: @viewgeek If you find this information useful, please award points for "correct" or "helpful".

View solution in original post

Reply
0 Kudos
15 Replies
rsicilia
Expert
Expert
Jump to solution

Hi, can you post a screenshot of CPU utilization of the host in the same time interval?

--

Rocco Sicilia

Rocco Sicilia [aka: BrC] - http://www.roccosicilia.it - VTSP 4-5, VCP 4-5, vExpert 2013/2014
Reply
0 Kudos
skumflum42
Contributor
Contributor
Jump to solution

Sure Smiley Happy

host.jpg

Reply
0 Kudos
rsicilia
Expert
Expert
Jump to solution

Well, I don't see particular issues in this graphs. Host's CPU ready-time is high but vCPU responce with low ready-time when VM demand CPU time.

Can you set CPU reservation and retake the tests?

--

Rocco Sicilia

Rocco Sicilia [aka: BrC] - http://www.roccosicilia.it - VTSP 4-5, VCP 4-5, vExpert 2013/2014
Reply
0 Kudos
skumflum42
Contributor
Contributor
Jump to solution

Yes, I will try that!

Do you think ready-time is high? I was under impression that it was very low but I may misinterpreted the data?

Past Day: CPU summation value / 3000

Maximum Ready 434ms = 0,14%

Reply
0 Kudos
TryMi
Contributor
Contributor
Jump to solution

What power management profile are you running?  I've seen something similar while running a balanced profile vs high performance.

Reply
0 Kudos
skumflum42
Contributor
Contributor
Jump to solution

High performance

Reply
0 Kudos
Linjo
Leadership
Leadership
Jump to solution

You also have to check your bios performance settings.

Best regards, Linjo Please follow me on twitter: @viewgeek If you find this information useful, please award points for "correct" or "helpful".
Reply
0 Kudos
skumflum42
Contributor
Contributor
Jump to solution

The result while CPU reservation enabled. The result is pretty much the same.

Am I correct in my understanding of the values? The Demand value is the speed the CPU would have run if there were no constraints.

In this example the CPU would have run 2x the speed???

CPU_reservation.jpg

Reply
0 Kudos
Paltelkalpesh
Enthusiast
Enthusiast
Jump to solution

1. Is there any other Virtual machines are hosted on this particular host, if yes then try to monitor secondary virtual machine CPU performance 

2. Is there any backup job are running on this period of times.

3. Disable power management and check.

Reply
0 Kudos
skumflum42
Contributor
Contributor
Jump to solution

1. yes but not many

2. no

3.i will try

Reply
0 Kudos
beckham007fifa
Jump to solution

On which hardware your ESXi is sitting, Can you post esxtop output when the performance get worse.

Regards, ABFS
Reply
0 Kudos
skumflum42
Contributor
Contributor
Jump to solution

By the way, my hardware is HP BL460c Gen8 Intel E5-2600 V2 gen.

The problem was related to power management. I changed all power management settings from “balanced” to “performance/max” in the bios. Now the demand and usage values is virtually the same and the nightly operation almost cut in half! :smileyshocked:

The Power Management Button in the host setting is now grayed out and stuck on “High Performance”.

I was under the impression that setting a power policy from vSphere was enough. Isn’t that how it is supposed to work?

Reply
0 Kudos
Linjo
Leadership
Leadership
Jump to solution

Great news! The bios setting is mandating the power setting, vSphere can only change it if its set to "OS Controlled" or similar.

// Linjo

Best regards, Linjo Please follow me on twitter: @viewgeek If you find this information useful, please award points for "correct" or "helpful".
Reply
0 Kudos
skumflum42
Contributor
Contributor
Jump to solution

I would think the default setting is OS controlled since the button no longer is active.

Reply
0 Kudos