0

I am running fully patched Windows 10 and have 64 GB RAM and a new AMD Ryzen 5 7600 6-Core CPU. Performance on the host is great. I've setup Hyper-V and creating VM's is fast and snappy.

I have created a single Windows 10 VM with 6 GB of RAM, and inside that, I run a configuration script (written by me, just to setup some apps and changes to the UI that I like in a system), the performance grinds almost to a halt while the script is running (I run this script from an elevated console inside the VM). I see the same behaviour with a single Windows 11 VM. The whole UI moves like a snail. Even just opening another console while this script is running (and the script is not doing anything special, some robocopy jobs, some registry key changes), in that new console, each keypress takes 4-5 seconds to be registered. Inside the script there is an operation choco install vim -y which should take about 5 seconds on my Host system, but I can watch the percentage of the download moving like a snail, 1%, 2%, 3%, each percent taking about 4-5 seconds).

I've tried completely rebuilding my Host OS. I've tried completely rebuilding the VMs, but every time, constantly, almost unimaginably bad performance when I run a PowerShell script.

Please, does anyone have any possibly changes that I can make to the configuration as it is really strange to me that the performance is so bad (only when running PowerShell scripts by the way, if I run choco install vim -y outside of the script, it runs fine). What causes these VM slowdowns as consistently and as repeatable as this?

Linking to this post, but the problem there seems to be about multiple VM's; I get this sluggish performance with a single VM.

YorSubs
  • 1,087

0 Answers0