Optimizing vm's for epyc 7551p

ryang

New Member
May 18, 2023
4
1
1
I have a supermicro h11ssl-i rev 2.0 motherboard (https://www.supermicro.com/en/products/motherboard/H11SSL-i)

with 256gb ram and a AMD epyc 7551p CPU.

I'm running a pci-passthrough'd boot configuration of windows 11, passing the nvme boot drive and the host CPU to the VM to try to have that one particular VM as close to a physical machine as possible with 32 cores allocated.

I ran passmark CPU benchmark and the results are sub optimal. Passmark website shows the CPU in general gets a score of 40k(reports with full 32 cores/64 threads) I figured at 16 vcpu or 32 vcpu I would see something that represents the differential. When I ran at 16 vcpus, it came to 11k score. When I ran with 32 vcpus it came to 15k score. Seems far from what it should be. If i was to use full cores I feel like it would maybe get to 18-20k score, far from 40k. I noticed the single thread performance score online is 1800~ while mine was 1200-1300 any time i ran it.

I have ensured NUMA is enabled on my VM, which didn't seem to help increase the score at all.

Here is my config:

Code:
agent: 1
args: -cpu 'host,+kvm_pv_unhalt,+kvm_pv_eoi,hv_vendor_id=NV43FIX,kvm=off'
balloon: 0
bios: ovmf
boot: order=hostpci0;ide2;sata0;net0
cores: 32
cpu: host,hidden=1,flags=+pcid
hostpci0: 0000:21:00,pcie=1
ide2: none,media=cdrom
machine: pc-q35-7.2
memory: 65536
meta: creation-qemu=7.2.0,ctime=1682487998
name: Ryan-PC
net0: virtio=42:61:33:D6:6E:29,bridge=vmbr0,firewall=1
numa: 1
ostype: win11
sata0: none,media=cdrom
scsihw: virtio-scsi-pci
smbios1: uuid=145441bc-0976-4db8-a28b-b09fa609ad8a
sockets: 1
tpmstate0: local-lvm:vm-100-disk-0,size=4M,version=v2.0
vga: virtio
vmgenid: 6ed17591-01f9-4939-a46a-5dee5ec1a2f6

Should I be doing anything like CPU pinning via bios and or via proxmox? I read in general that pinning isn't necessary and can be counter productive and AUTO in bios should be used for most use cases. However pinning in proxmox I've found people saying mixed views.

Any tips would be appreciated if it seems to be a proxmox/bios issue or if it's maybe even a windows issue where I need to tweak some windows settings? OR passmark CPU score is inaccurate even though the website says the margin for error is low with the user submissions they've had for full CPU core/thread submissions. (I just can't imagine that if I use all cores/threads for the test, that it'll come anywhere close to 40k at this point or 1800 single thread vs the 1200-1300 that i'm getting...)

thanks!
 

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!