Proxmox VE 7.4 extremely poor performance

Richw

Member
Jun 6, 2023
42
4
8
Hello,

I'm having trouble with an install of proxmox where the majority of the VMs running on it are a combination of Windows servers and virtual workstations running Windows 10. This was initially up and running on Hyper-V and according to the customer it is operating up to 20x slower (their words) . The difference between how it is now and how it was is that with Hyper-V all the VMs data existed locally on the host that the VM was running on. They were running on Dell R510 servers with Perc 700 raid controllers with 12x 3TB spinning 7200 RPM SAS drives running in RAID 5 configuration.

The current setup is that the "compute" hardware are two HP DL380 Gen 9 servers with 128GB of ram with a couple of mirrored 1TB hard disks for booting the OS (the servers came with the drives so we just used what we had - overkill but whatever). The storage they are connected to is a TrueNAS machine running on one of the Dell R510s with a Perc H200 in IT mode with a ZFS Raid Z1 with 10x 3TB drives and a Cache VDEV on a 120GB SSD. They are connected Via HP 10GE ethernet controllers to a 10GE unmanaged switch using Twinax cables. Same adapter is in the Truenas that is in the HP machine. There should be plenty of bandwidth over the storage network for whatever we want to throw at it.

The second HP "compute" server is identical to the first and is in a cluster with the first one. There is a separate 1G card for the cluster network set up on a VLAN on their main cisco switches and no issues with communication there.

The shared storage is an NFS share provided by TrueNAS over the 10GE network and all the VMs disks are in RAW format.

The way this customer works is everyone connects to a virtual Windows 10 machine with 4 monitors and they operate that way. Then they can remote in and have the same desktop they do at the office.

My gut feeling is that the disk channel is the bottleneck but I'm not sure how to confirm this theory. Just the fact that they are 3TB 7200 RPM spinning drives and I don't even think they are dual channel makes me point the finger heavily in that direction. I know that when I kick off a backup (using proxmox backup server running on another Dell R510) over a 1GE link (which I think is the same as the management network) the system grinds to a halt.

I have a similar install elsewhere that is running much like their Hyper-V was with everything local using HPs 10,000 RPM 6G dual port SAS drives and that system screams in comparison.

Any help would be greatly appreciated. I'm going there tomorrow to see what I can do to help speed things up but not sure where to go from here. Thought about moving the owner's vm storage to one of the local proxmox servers and have him run that way and test... figured that would tell us if we eliminate the shared storage and run it on the higher speed HP drives for testing.

Rich
 
UPDATE: I moved one of the VMs to the local storage eliminating the shared storage and it is still very slow so now I'm at a loss - Windows 10 VM running on the HP hardware and local RAID 10 and very slow.
 
So it seems you were able to eliminate storage from the equation. You might want to confirm that you are passing through the host CPU capabilities to the VM (VM>hardware>cpu>type>host).
Additionally, adding virtio drivers can be beneficial. However, I would recommend either trying it on a test cloned VM first, or taking a snapshot prior to installing drivers, or both.


Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
 
The main VM that I'm having trouble with is a migrated VM from Hyper-V - I've added the Virtio drivers and switched the boot drive over to Virtio-Block . I've eliminated all the Hyper-V hardware by going into device manager with set_devmgr_show_nonpresent_devices=1 and removing all "dimmed" hardware.

Is switching this CPU type something that should be done on all or maybe just Windows VMs? I wonder if that is the issue. Right now it's on kvm64.
 
I just did it on a test vm that is a fresh install of Windows 10 and it was a huge increase in performance. That machine also was using local storage. Now onto the owner's VM :)

Thank you for the tip - I hadn't run across that yet.

Rich
 
  • Like
Reactions: bbgeek17
Well we went through and changed all the Windows hosts to "host" and had to reboot everything and it's still running quite slow. Looking at the host it shows almost 70% swap usage where the second host is almost no swap. Logging into and out of machines over remote desktop is painfully slow.
 
Man... something is not right. I compare this to another system that is running on older HP hardware and there is no delay at all hardly. These VMs take 30 seconds to a minute to even get to a login page over RDP. ... my other one is instant. Only difference I can see is in the proxmox versions. The fast one is 7.3-3 and the slower one is 7.4-3.

Is there anything else I can check?
 
Man... something is not right. I compare this to another system that is running on older HP hardware and there is no delay at all hardly. These VMs take 30 seconds to a minute to even get to a login page over RDP. ... my other one is instant. Only difference I can see is in the proxmox versions. The fast one is 7.3-3 and the slower one is 7.4-3.

Is there anything else I can check?
Can you do some kind of bare metal backup of your 7.3 node and update it it 7.4 and see if the VMs are also slow then?
 
Is KVM Hardware Acceleration disabled in the VM Options? That slows down thing a lot.
EDIT: My mistake, it should be: KVM Hardware Virtualization. And you already found it and it was not the problem.
 
Last edited:
Can you do some kind of bare metal backup of your 7.3 node and update it it 7.4 and see if the VMs are also slow then?
Well it's not a node here it's a completely different install at a different client location. That one is running 20 or 30 VMs with no speed issues whatsoever. I could back up the host configuration and then test yes. I'd rather not mess with the one that is working though :)
 
Is KVM Hardware Acceleration disabled in the VM Options? That slows down thing a lot.
Not sure where to find that - I have KVM Virtualization - don't see one for acceleration in options. Also these VMs were migrated over and I used mostly default settings on the VMs when setting them up.
 
Seems like if it was a 7.3 vs 7.4 thing others would be all over the forums with the same types of problems.
 

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!