sapeur3873
Contributor
Contributor

SOLVED : VMware workstation 17 low performance compare to hyper-V

i just change my computer

my old computer was a I7-1165G7 in dell xps13 windows 11 

my new computer is a I7-12700H  in yoga pro 14'' windows 11

i transfer my vm from one pc to the new one, transfer my workstation V17 pro license, and start.

i put some new parameter inside i upgrade my number of processor (2) and 8 cores by processor.

the result is very slow!

i check and disable the hyper-v on my host computer but is not difference (i use a online benchmark)

https://silver.urih.com/ 

i try to check everything, and i m not able to run it very well and i'm disapointe about this.

i copy my vmdk disk, and create an hyer-v (from windows) machine.

i start it with hyper-V, and the result is very good!

why my vmware is so slow, comparing to hyper-v, should i change all my vmware to hyper-V?

i can share with you some print screen about the result of the benchmark result. but is simple to double, and really visible when i run some software.

 

thanks for your help , for have vmware working fast enough than hyper-V

 

0 Kudos
6 Replies
sapeur3873
Contributor
Contributor

nobody can help me to find a solution about improve VMWARE workstation?

 

the result is nearly double fast o hyper-V...

i would like to understand.

 

0 Kudos
wila
Immortal
Immortal

Attach a vmware.log file from the slow VM and maybe we can see a reason for why it is slow.

--
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
sapeur3873
Contributor
Contributor

hello wila, 

 

thanks for can have a look

i already know that i have "vmx Monitor Mode: ULM",

but i tried also to remove hyper, to do the bcdedit, and the result is nearly same each time, with or without hyper-v.

i remember it was already samewith workstation 16. 

but where i am very surprising, it is that hyperV  can go 3 time faster!

i use to run vmware, i'm pretty sure, that it could be very faster than this.

 

thank for your help

0 Kudos
wila
Immortal
Immortal

Hi,

So you're running VMware Workstation with the Hyper-V engine... not VMware's native hypervisor.

The question on why that doesn't perform as well as Hyper-V native is a question for VMware & Microsoft I'm afraid.

Especially if the configuration of the VM is comparable.

I'll copy & paste the standard answer I have for Hyper-V below, but I get the idea you already seen that elsewhere. Note that there are other settings in Windows that turn on the Hyper-V engine behind your back, such as Memory Integrity and IIRC VBS and also WSL2.

 

Your log file has this line:

2023-01-22T09:26:16.952Z In(05) vmx Monitor Mode: ULM

There can be reasons to keep it like that (see the KB article below), but it is also known for causing issues.

monitor mode ULM

means that you are running in User Level Mode and thus Workstation cannot use VMware's hypervisor, but instead it has to go through the Hypervisor API that Microsoft provides.

Only when Monitor mode returns CPL0 it is running in ring 0, a.k.a. no hypervisor.

Monitor mode CPL0 (Current Privilege Level 0) is required for VMware Workstation to be able to use their own hypervisor.

See also:

https://communities.vmware.com/t5/VMware-Workstation-Pro/MikroTik-RouterOS-boot-speed-is-drastically...

In order to turn off ULM/Hyper-V mode, run the following command at the host in windows command-line with Administrator privileges:

bcdedit /set hypervisorlaunchtype off

Reboot the system to activate your changes.

If you want to go back to Hyper-V mode again, then you can enable it like this:

bcdedit /set hypervisorlaunchtype auto


See also:

Note that you also might have to disable Memory Integrity.

Windows Security -> Device Security -> Core Isolation details

Don't forget to reboot the host after making any of these changes.

 

--
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
sapeur3873
Contributor
Contributor

thanks for you re answer,

 

but i write before, that i already know all of this.

and i already try it.

i arleady before doing this post, 

uninstal hyper-V,  do the 

bcdedit /set hypervisorlaunchtype off

and restart my computer.

 

and the result was the same.

my vmware was not so responsive.

 

when i do the benchmark on vmware, i have a result around P11000

when i do the same benchmark on hyper-v , the result is P32000

 

(SilverBench · Online multi-core CPU benchmark & stress test · 100% JavaScript (urih.com))

i would like to understand why.

i try this benchmark on vmware, with hyper-v / without hyper-V, with memory integrity and without also...

the result is between P8000 to P12800

 

thank to you

0 Kudos
sapeur3873
Contributor
Contributor

finally i did some test again.

remove hyper-v, 

bcdedit /set hypervisorlaunchtype off

and restart the computer...

the vmware was almost slow, and the vmx monitor mod : in ULM, like before.

i remove the memory integrity, restart again, and the vmware was faster !!!! YES!!!

but if in the parameter of vmware i check, virtualize intel vx, the vmware is more faster....

 

finally i got it!!!!!

0 Kudos