Slow Windows 11 Performance

Ashkaan4

Active Member
Feb 16, 2019
23
2
43
39
Hi there,


I've been searching for a week and can't find the answer. Why is my Windows 11 VM so slow??

I'm simply testing the UI via RDP between several machines (2x VMs and 2x bare metal computers). The 2x bare metal computers are snappy and HIGHLY responsive. The 2x VMs struggle just moving windows around.

I've tried building new VMs and installing windows fresh with latest virtio drivers with the exact results. I've read other posts here and people pointing to a lack of GPU, but as I understand it, RDP doesn't use GPU. Plus, I've tried all of the virtual GPU options.

What is it???

Code:
agent: 1
balloon: 0
bios: ovmf
boot: order=virtio0
cores: 32
cpu: x86-64-v2-AES
efidisk0: local-zfs:vm-500-disk-0,efitype=4m,pre-enrolled-keys=1,size=1M
machine: pc-q35-9.0
memory: 32768
meta: creation-qemu=8.0.2,ctime=1692374606
name: windows
net0: virtio=6a:f1:4f:7e:0f:72,bridge=vmbr0,firewall=1,mtu=9000
numa: 1
onboot: 1
ostype: win11
protection: 1
scsihw: virtio-scsi-single
smbios1: uuid=5474fbd5-289f-468b-940f-0917669f5ad0
sockets: 1
tablet: 1
tpmstate0: local-zfs:vm-500-disk-1,size=4M,version=v2.0
vga: virtio,memory=256
virtio0: local-zfs:vm-500-disk-2,iothread=1,size=128G
vmgenid: 437d21e6-6cd4-4e5c-a8cf-561a8d240781
 
1. you specified 32 cores. Do you have 32 cores? are they amd? try to keep to 8 or less to avoid numa traversal issues. Generally speaking, if your vm needs 32 cores you're probably better off installing it directly on the metal.
2. whats your zpool look like (disks type/organization.) My guess is this is your issue, but lets continue.
3. you set mtu 9000 for your nic. why? are your switches explicitly set to jumbo frames?
4. setting your cpu to host may help.
 
  • Like
Reactions: Ashkaan4
Thanks for the reply!
  1. Yes, the machine has 72x cores, but I did try 8x just to test NUMA issues and it's exactly the same.
  2. It's a RAID0 ZFS with 2x fast SSDs
  3. They are set to 9000. I tried 1500 with the same result.
  4. Makes my VMs crash (rarely), so I stopped using host.
 
Nothing. I started with Default and have tried each of the settings there.

I also moved the hdd to a 36x HDD ZFS System on 10G with excellent IOPS and low latency with the identical result.

It's like the VM is underwater. Even Terminal takes like 8 seconds to open.
 
As I mentioned above, I have been searching for weeks and haven't found any solutions yet.

It's been like this since Proxmox 7.0 so I don't think it's qemu/kernel version specific.
 
I have the same problem but haven't found a solution yet.(... and I've tried everything possible :))
Windows 11 is incredibly slow. Windows 10 runs absolutely smoothly and without problems.
(Proxmox version 8.2.4, VM settings are the same as for the Windows 10 installation)
Hope someone will find a solution to the problem at some point...:cool:
 
Thank you very much mac.linux.free, I tried it but it's still much too slow. For example, Explorer takes 11 seconds on Windows 11
to open a window :confused: . On the Windows 10 VM (without any adjustments, only Virtio installed) it takes 3 seconds.
 
I recently installed a fresh Win11 and with this tweaks it is superfast. Explorer 1 sec Windows Store 1 Sec Firefox 1 sec to open. Did you set the energy profile to high? We could also continue in german.
 
... war schon auf host.

Hier mal die .conf

agent: 1
bios: ovmf
boot: order=scsi0;ide0
cores: 8
cpu: host
efidisk0: local-zfs2:vm-201-disk-1,efitype=4m,pre-enrolled-keys=1,size=1M
ide0: none,media=cdrom
machine: pc-i440fx-7.2
memory: 32768
meta: creation-qemu=6.1.0,ctime=1655906442
name: Windows11
net0: virtio=3E:F6:46:03:4B:C7,bridge=vmbr0,firewall=1
numa: 0
onboot: 1
ostype: l26
scsi0: local-zfs2:vm-201-disk-0,aio=native,backup=0,discard=on,iothread=1,size=100G,ssd=1
scsihw: virtio-scsi-single
smbios1: uuid=46cf3f49-d913-47bc-8346-f57ec355b5c3
sockets: 2
tpmstate0: local-zfs2:vm-201-disk-2,size=4M,version=v2.0
vga: virtio,memory=512
vmgenid: 463f0ab4-699c-4979-8aa9-6c65d2d0b736
 
... hier noch die Info's zum Host...
Der ist nicht wirklich ausgelastet :)
und die anderen VM's laufen ja auch problemlos.
Nur eben Win 11 nicht.
 

Attachments

  • Host.jpg
    Host.jpg
    28.4 KB · Views: 15

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!