WMWARE in MAc Book Pro use more than 100% CPU

SAM2009
SAM2009 used Ask the Experts™
on
Hi,

I have a Macbook Pro and I run VMWare Fusion 11.1.1.

When I checked CPU in "Activity Monitor" for VMAWARE, this is what I saw:

vmware-vmx      190.5

How a CPU can be used more than 100%? Now we see 190.5% but sometimes I see over 200%.

What is that? Is it really more than 100%

Thanks
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Jackie Man IT Manager
Top Expert 2010

Commented:
"Solution is to use OpenGL, since Metal API uses both OpenGL and OpenCL. There are two entries that have to be added in the .vmx file (configuration file) for the virtual machine. The steps are as follows :

1. First, the virtual machine should be shut down (not suspended or in sleep mode).

2. Then go the concerned virtual machine and click on show package contents (by doing a right click or using a single tap with two fingers).

3. Open the .vmx file with a Textedit, then from the top Apple menu bar go to Edit > Substitutions and make sure that Smart quotes are not enabled.

Add these lines at the end of the vmx file -

mks.enableMTLRenderer = "FALSE"
mks.enableGLRenderer = "TRUE"

Save the changes and power up the virtual machine. These changes will enable the graphics rendering using OpenGL."

Source: https://communities.vmware.com/thread/591962
David FavorFractional CTO
Distinguished Expert 2018
Commented:
Any multi-treaded code will show 100%+.

For example, running an ffmpeg transcode using libx264 or libx265 will show using all cores, so if you have an 8x core machine, then usage will approach 800%.

This is just one example.

Best way to debug this is get into the container then use the OS tools for guest instance to determine CPU or Disk hogs.

For example, with a Linux guest instance you'll use top + ps + iotop + many other tools.
How many cores does your MacBook Pro have?  How many CPUs did you allocate to your VM?
Fundamentals of JavaScript

Learn the fundamentals of the popular programming language JavaScript so that you can explore the realm of web development.

Author

Commented:
My MacBook pro has:

  Number of Processors:      1
  Total Number of Cores:      4


2 core are assigned to VM
That's why. ^

There's overhead in managing the threads, so you'll never actually get 200%

Author

Commented:
Thanks
David FavorFractional CTO
Distinguished Expert 2018

Commented:
You're welcome!

Good luck!

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial