VMware Communities
vmskydave
Contributor
Contributor

vmx CPU on Mac constantly 20%+

I'm looking in Activity Monitor and two vmware-vmx processes are constantly using around 20% CPU (with thousands of Idle Wake Ups), and a third typically less than 1% when idle (with just dozens of Idle Wake Ups), however when I ssh into the servers and run the `top` command, their CPUs are typically 0% when idle.

I'm not seeing what's going on; I'm not seeing anything in VMWare (8.x or 10.x for us) that's causing this.

What do I look for or do at this point? We're using Macs anywhere from Sierra to Mojave, same behavior for these two servers.

0 Kudos
6 Replies
wila
Immortal
Immortal

Hi,

Do your VMs have more than 1 virtual CPU assigned?

If so try dropping the amount of CPUs on your VM configuration.

--

Wil

| Author of Vimalin. The virtual machine Backup app for VMware Fusion, VMware Workstation and Player |
| More info at vimalin.com | Twitter @wilva
0 Kudos
ColoradoMarmot
Champion
Champion

Seeing something similar - vmware-vmx on the host is at 55-75%, but the guest shows only 15% utilization.

Haven't updated, so this is new behavior from an old VM.  Very strange.

0 Kudos
vmskydave
Contributor
Contributor

One of them is using 2 processors, the other isn't. I shut down all of them and set it to 1 processor.

Of the 4 VMs I use, they're all now using 1 processor. Of the 4 VMs I use, they're all at 1 processor, but 1 of the vmware-vmx processes is using around 25% CPU constantly, another (the one I changed to 1 CPU) is using about 10% constantly, and the others are as idle as anything.

pastedImage_0.png

I'm just not sure what to try or think at this point. I'd really like my Mac to not have 1/4th of its CPU on an idle VMWare VM.

0 Kudos
wila
Immortal
Immortal

Hi,

Those wake ups are really high.

This is my current load:

pastedImage_0.png

with all VMs idle as well.

The VM at the top has 1 vCPU, the other 2 VMs have 2 vCPUs.  I see the CPU% go anywhere between 20% and 40%, averaging about 30% with idles wake ups around 100 to 200.

It certainly seems higher as it used to be.

Note though that you are seeing percentages of a single core, not of your whole CPU.

Another thing to try to get the VM to use less CPU is to disable 3D as your GPU gets offloaded to the CPU.

For the idle wake ups. In the past I have seen antivirus statusbar icon to cause that by overriding a system timer and setting it to 1ms.

Assuming that your VM runs windows, try running the following command from an elevated prompt in your VM.

powercfg -energy duration 5

and have a look at the report it runs for any hints.

If OTOH your guest is running linux, then look at top (which I think you did already), but also take a look at the intel powertop tools.

--

Wil

| Author of Vimalin. The virtual machine Backup app for VMware Fusion, VMware Workstation and Player |
| More info at vimalin.com | Twitter @wilva
0 Kudos
redevill
Contributor
Contributor

Hey folks,

Any update on this?

Got the same issue with Vmware 8.5.10 hosting windows 10 machine on my Mac Pro Mojave.

More like 25%+

Please advise

Thanks

0 Kudos
ColoradoMarmot
Champion
Champion

I'd try upgrading to Fusion 11.5 and see if that fixes it.  Bonus is that it'll be a supported combination.

0 Kudos