New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
(help) Awful performance on Windows 2022 via Proxmox
DeadlyChemist
Member
in Help
finally managed to migrate my server to proxmox as seen here https://lowendtalk.com/discussion/202212/need-help-move-windows-vps-to-proxmox#latest
anyways, same hardware but now proxmox is in the way, i expect slightly worse performance....
but it's terrible
i just booted windows and cpu usage is like 50%
will send configs (windows vm) and proxmox so you can see hardware/allocation later when im home
opening browser takes forever, doing anthing takes forever
feels like intel pentium
please let me know what i could adjust/send here

Comments
I'm not sure if you have enabled full cpu pass through but try disabling it - Windows seems to automagically enable spectre/meltdown (etc.) mitigations which can result in poor performance. Of course it's just a hunch that may help you.
first guess would be vm config not properly set for windows os. it also could be simply windows update or anti malware due to rebooting. check resource monitor and the vm config. the virtio drivers will perform better but require the the drivers to be installed in the guest first. it matters for disk mostly but could result in cpu
vm config
root@hbrr-proxmox:/etc/pve/qemu-server# ls
100000.conf
root@hbrr-proxmox:/etc/pve/qemu-server# cat 100000.conf
boot: order=ide2;scsi0
cores: 7
cpu: qemu64
ide2: none,media=cdrom
memory: 18048
meta: creation-qemu=8.1.5,ctime=1740547915
name: Windows-Server-22
net0: virtio=BC:24:11:BD:A4:A8,bridge=vmbr1,firewall=1
numa: 0
ostype: l26
scsi0: local-lvm:vm-100000-disk-0,iothread=1,size=230G
scsihw: virtio-scsi-single
smbios1: uuid=b0f3b2ee-707f-4c03-a7a9-db9dd04fc83d
sockets: 1
vmgenid: baecca52-76db-4da2-a924-1e558469b6c5
i tried the CPU type as HOST but then it does not want to boot.....
idk why
ideas?
https://pve.proxmox.com/wiki/Windows_2022_guest_best_practices rtfm
double click the start task in the bottom bar. see why it doesnt boot. is VT enabled in BIOS?
double click the start task in the bottom bar. see why it doesnt boot. is VT enabled in BIOS?
will check the link, tho i still require help, you guys know more
VT should be enabled and the VT-passthru thing...im on a VPS, not bare metal
it does start, just after entering bios password, it shows windows symbol (no loading thing!) and after 10mins or so it restarts, can try again later today
implemented some tipps from the link
performance still awful
Can you peek into task manager (within Windows) and see WHAT is hogging CPU (or IO)?
Hopefully you can figure out why it doesn't boot when you do pass through the CPU and fix it to boot - then see if that helps.
im desperate for a fix, and frustrated
Do I understand correctly that you're using ProxMox on an already virtualized environment?
If so (I wouldn't do it, especially with Windows, but OK), what are the specs of the VPS you're running on? Dedicated specs or shared?
yupp
so proxmox is virtualised and windows would be nested
shared
ryzen 9 5950X (8 cores) proxmox says 8 sockets
20gb ram
So is it LET on Firefox - how ironic!
It may help to shutdown Firefox and just let the VM (i.e. Windows) to finish it's bookkeeping (esp. if you just did an upgrade etc.) and then after things quieten down, see if things are back to the usual.
Don't have anything concrete right now... but let's see if patience pays to restore normalcy.
already been an half an hour or so
yeah, i'll see when i come home in 2h if it's better.....
but without proxmox i had WAY better performance
still need tipps
will try to get type as HOST, but idk why it does not boot
Is this Proxmox in Proxmox or Proxmox on bare metal?
If Bare Metal:
On the Drive:
drop IOTHREAD.
Enable SSD Emulation
I would definitely drop LVM. I would use a directory mount with a file system ( preferably xfs not ext4 ) and a raw image file for the VPS
If not, disregard the above.
Eitehr the case, on CPU:
CPU: HOST
enable 1 GB Pages - mandatory
enable AES - mandatory
You definitely need nested virtualization to have a chance of a usable KVM. According to ProxMox themselves (https://pve.proxmox.com/wiki/Nested_Virtualization):
some hypervisor (hostbrr) running my proxmox and my windows 2022
CPU: HOST - not yet enabled
enable 1 GB Pages - mandatory - enabled (gotta restart)
enable AES - mandatory - enabled (gotta restart)
i used WSL on windows 2022 before so i assume nester virtualisation is enabled, i did get good performance...
i know he had it enabled
according to your task manager its actually updating or malware scanning. figure out with your host why passthrough doesnt boot windows. qemu64 is slower. nested virt does suffer more but its enabled otherwise you wouldnt be able to boot. perhaps virtio drivers help here. you will want to set the disk in proxmox ask described in my prev link. but for starters pass it less cores and memory to ensure your not overcommitting
i have windows drivers installed
im definetly not overcomitting
6-7/8 cores is fair and 15-17gb/20 is fair too
thats how my other servers run, without issues (they are more loaded actually)
did more testing:
works:
cpu: qemu64,flags=+pdpe1gb;+aes
does not work:
cpu: host,flags=+pdpe1gb;+aes
cpu: host
+pdpe1gb;+aes defiently speeds up
now trying to get host working...
ideas? it's stuck like this for a while....
so i turned it off before i get in trouble
Emulation is Q35 or 440fx??
Try q35, but sincerely that is interesting to see that it does not boot
Try q35, but sincerely that is interesting to see that it does not boot

will try, right now i have set cpu to 6 cores and like 3, so it maxes out 50%
the laoding symbol on windows 2022 is spinning
fuck knows why it does not boot
bitlocker (i always have to enter a key which is fine)? licenses?
will give it an hour longer and then will try your q35
you are a great help, thanks, i hope we can solve it (ok i beg at this point)
@DeadlyChemist
So, the proxmox run on a Shared VPS
Can you share yabs from the VPS itself?
enable BIOS VT-x VT-d, q35 platform, CPU at x86-v2-AES,if host harddrive is not SSD will very slow.
so, it loaded? and i ended up in a black screen with high cpu usage
i can move and see my cursor, but it's black screen and RDP does not work
tried your settings
does not boot
but cpu usage seems lower (weird, but not muvh, could be margin of error)
yes partial (check below)
i dont have access to bios as it's shared
x86-v2-AES is slow
it's all SSD with good speed
here is some info:
yabs:
storage:
root@hbrr-proxmox:/etc/pve/qemu-server# df -h
Filesystem Size Used Avail Use% Mounted on
udev 9.8G 0 9.8G 0% /dev
tmpfs 2.0G 1.5M 2.0G 1% /run
/dev/mapper/pve-root 35G 3.8G 29G 12% /
tmpfs 9.8G 43M 9.8G 1% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
/dev/fuse 128M 16K 128M 1% /etc/pve
tmpfs 2.0G 0 2.0G 0% /run/user/0
root@hbrr-proxmox:/etc/pve/qemu-server# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
sda 8:0 0 368K 1 disk
sr0 11:0 1 2K 0 rom
vda 253:0 0 300G 0 disk
├─vda1 253:1 0 1007K 0 part
├─vda2 253:2 0 1G 0 part
└─vda3 253:3 0 299G 0 part
├─pve-swap 252:0 0 8G 0 lvm [SWAP]
├─pve-root 252:1 0 35G 0 lvm /
├─pve-data_tmeta 252:2 0 2.4G 0 lvm
│ └─pve-data-tpool 252:4 0 235.2G 0 lvm
│ ├─pve-data 252:5 0 235.2G 1 lvm
│ └─pve-vm--100000--disk--0 252:6 0 230G 0 lvm
└─pve-data_tdata 252:3 0 235.2G 0 lvm
└─pve-data-tpool 252:4 0 235.2G 0 lvm
├─pve-data 252:5 0 235.2G 1 lvm
└─pve-vm--100000--disk--0 252:6 0 230G 0 lvm
root@hbrr-proxmox:/etc/pve/qemu-server#
Nice YABS, nothing worked, very helpful :-D
Yabs please
Yabs: no
Try this:
ACPI Support: YES ( windows needs this ) - by the way, without that it usually does not work at all.
already enabled...
I have nothing,
I can just best guess it has something to do with storage, and not CPU.
Can you benchmark the LVM in that proxmox?
and take off use tablet for pointer, tr to take off also hot plug for like disk, lan and usb.
To confirm, you're running a Hostbrr VPS, not a dedicated server, right?