Proxmox Windows FiveM CPU performance

marciglesias17

Active Member
Feb 12, 2020
45
0
26
26
Dark fiber
Hello,

I have some doubts to see if someone has presented with this problem. I have installed a Proxmox cluster with 384GB DDR4, E5-2690v4 and 4TB SSD ZFS servers for a client, on it, it virtualizes Windows machines to launch FiveM servers, a GTA V mod, when it has many users the game console complains of performance problems in the CPU, which can really come from the problem of any site, disk, ram, cpu, etc ... the configuration of Windows Server 2019, with the exact configuration recommended in Best Windows Server 2019 practices, the same machine , reinstall it with VMWare, and virtualize Windows and it works correctly, what could it be?
 
Can you post your VM config ('qm config <vmid>')? For best CPU performance, CPU model "host" is recommended (this *can* break live-migration, but in a homogenous cluster (so all same hardware) it usually works fine). You can also attempt to configure hugepages, for slightly better memory performance ('qm set <vmid> -hugepages 2').
 
qm config 103
agent: 1
bootdisk: scsi0
cores: 4
ide0: local-zfs:vm-103-cloudinit,media=cdrom,size=4M
ide2: local:iso/17763.737.190906-2324.rs5_release_svc_refresh_SERVER_EVAL_x64FRE_es-es_1.iso,media=cdrom
ide3: local:iso/virtio-win-0.1.185.iso,media=cdrom,size=402812K
ipconfig0: ip XXXXXXXX/24,gw=XXXXXXXX
memory: 32768
name: XXXXXXXXXX
nameserver: 1.1.1.1
net0: virtio=82:C5:12:68:A3:4E,bridge=vmbr0,firewall=1,queues=8,tag=500
numa: 0
ostype: win10
scsi0: local-zfs:vm-103-disk-0,size=400G
scsihw: virtio-scsi-pci
searchdomain: 8.8.8.8
smbios1: uuid=2354de7a-b0c5-4c5e-a520-dcb9f68fd76a
sockets: 2
vmgenid: ffaa9ad4-17ee-4a6f-94b4-714123ce9e24
 
Last edited:
i would recommend, since you have esxi too.
make a benchmark off memory speed/cpu/ssd (in the guest) and compare the results with proxmox.
then post it here.

that would be somehow more straightforward, to nail down where the handbrake is and figure out the problem then.
just an idea, because right now its more like guessing what it could be....

cheers
 
qm config 103
agent: 1
bootdisk: scsi0
cores: 4
ide0: local-zfs:vm-103-cloudinit,media=cdrom,size=4M
ide2: local:iso/17763.737.190906-2324.rs5_release_svc_refresh_SERVER_EVAL_x64FRE_es-es_1.iso,media=cdrom
ide3: local:iso/virtio-win-0.1.185.iso,media=cdrom,size=402812K
ipconfig0: ip XXXXXXXX/24,gw=XXXXXXXX
memory: 32768
name: XXXXXXXXXX
nameserver: 1.1.1.1
net0: virtio=82:C5:12:68:A3:4E,bridge=vmbr0,firewall=1,queues=8,tag=500
numa: 0
ostype: win10
scsi0: local-zfs:vm-103-disk-0,size=400G
scsihw: virtio-scsi-pci
searchdomain: 8.8.8.8
smbios1: uuid=2354de7a-b0c5-4c5e-a520-dcb9f68fd76a
sockets: 2
vmgenid: ffaa9ad4-17ee-4a6f-94b4-714123ce9e24
You don't have a CPU model configured. The default, 'kvm64', is optimized for compatibility, not speed. As I said in my first post, switch to 'host', and potentially enable hugepages, that should improve performance a lot.
 
  • Like
Reactions: Ramalama
Better option to increase performance in VM with Windows is disable tablet mode with qm set 100 —tablet 0
"Better option" compared to what? If disabling the virtual USB table gives you more performance benefit than switching the CPU model to "host" I'd be very surprised. I know we still recommend it on our "Performance Tweaks" wiki page, but the impact of this should be minimal.

Do you have some benchmarks to indicate that unsetting this option actually helps a lot? If so, this might be a bug.
 
The first thing I did was activate hugepages and change the cpu model to host, the problem persisted, once I deactivated the tablet mode, the machine started to use less CPU and it seems that the response speed to the CPU was faster, I was surprised
 

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!