Hi,
I am having quite slow performance on both Windows and Linux VMs. It's even worse on Linux, which is weird. The performance is comparable than what it was on my Proxmox test machine (10yo 2-core Laptop!). Dragging windows is slow, hovering over a dock with icons is slow, opening file managers display slowly, etc. I spent close to 20 hours trying countless settings, driver installs, etc. and nothing improved nor got worse. It's either it runs slow or it doesn't boot at all.
The machine is not that old, high-level it's:
I have read a lot of web pages, here are a few I followed as much as it could apply to my setup:
https://dannyda.com/2020/10/25/how-...ite-performance-speed-on-non-high-end-system/
https://pve.proxmox.com/wiki/Performance_Tweaks
https://linuxhint.com/install_virtio_drivers_kvm_qemu_windows_vm/
https://core.dpdk.org/download/
https://davejansen.com/recommended-settings-windows-10-2016-2018-2019-vm-proxmox/
https://dannyda.com/2021/10/08/how-to-install-windows-11-on-proxmox-ve-pve-without-workarounds/
https://www.youtube.com/watch?v=6c-6xBkD2J4
https://pve.proxmox.com/wiki/Windows_10_guest_best_practices
https://www.spice-space.org/download/windows/spice-guest-tools/spice-guest-tools-latest.exe
https://pve.proxmox.com/wiki/Qemu/KVM_Virtual_Machines
https://forum.proxmox.com/threads/proxmox-performance.91683/#post-399764
https://forum.proxmox.com/threads/super-vm-very-slow.98648/
https://forum.proxmox.com/threads/cpu-host-enables-nested-virutalization…-but-is-way-slower-than-cpu-kvm64…-forum-and-wiki-are-contradictory.100110/#post-437939
These are some info from my host and guest (let's start with Windows10):
I have the QXL installed and all VirtIO drivers as I have asked the installer software to install all of them.
There is no Warning notification in the Device Manager.
I have tried a lot of settings as I said. CPU type, NUMA, Ballooning, Display, Machine, Controllers, Bus Device, Cache, RAM amount, CPU cores amount and even some CPU flags, but that went bad so I left all to default.
Also slow when using RDP to the VM, but it seems a little bit faster and I mean "a little".
I really don't know what else to check!
I bought this machine specifically to use Proxmox on it.
Since it's slow also with Linux VMs, something tells me it's either a major config setting my eyes are unable to see after 20 hours looking for, or the host machine hardware is not intended to work well with Proxmox-type hypervisors and I made a bad choice...
Last info: when I type say in the command line of a VM, it lags before the characters display. I wonder if it's grafx related. The processing seems quick, I was able to see the verbose update process in an Arch-based Linux distro and it was processing faster than it could display the lines.
Does anyone know what I could try to fix this?
Or at least what to do to troubleshoot. Sometimes it's better to identify the issue first, but sometimes it's better to try out various things until one works.
Thanks in advance!
I am having quite slow performance on both Windows and Linux VMs. It's even worse on Linux, which is weird. The performance is comparable than what it was on my Proxmox test machine (10yo 2-core Laptop!). Dragging windows is slow, hovering over a dock with icons is slow, opening file managers display slowly, etc. I spent close to 20 hours trying countless settings, driver installs, etc. and nothing improved nor got worse. It's either it runs slow or it doesn't boot at all.
The machine is not that old, high-level it's:
- AMD Ryzen 9 4900H
- Integrated AMD GPU Vega 8
- 16Gigs RAM
- WD Black SN750SE NVMe (supposed to be a gaming drive)
I have read a lot of web pages, here are a few I followed as much as it could apply to my setup:
https://dannyda.com/2020/10/25/how-...ite-performance-speed-on-non-high-end-system/
https://pve.proxmox.com/wiki/Performance_Tweaks
https://linuxhint.com/install_virtio_drivers_kvm_qemu_windows_vm/
https://core.dpdk.org/download/
https://davejansen.com/recommended-settings-windows-10-2016-2018-2019-vm-proxmox/
https://dannyda.com/2021/10/08/how-to-install-windows-11-on-proxmox-ve-pve-without-workarounds/
https://www.youtube.com/watch?v=6c-6xBkD2J4
https://pve.proxmox.com/wiki/Windows_10_guest_best_practices
https://www.spice-space.org/download/windows/spice-guest-tools/spice-guest-tools-latest.exe
https://pve.proxmox.com/wiki/Qemu/KVM_Virtual_Machines
https://forum.proxmox.com/threads/proxmox-performance.91683/#post-399764
https://forum.proxmox.com/threads/super-vm-very-slow.98648/
https://forum.proxmox.com/threads/cpu-host-enables-nested-virutalization…-but-is-way-slower-than-cpu-kvm64…-forum-and-wiki-are-contradictory.100110/#post-437939
These are some info from my host and guest (let's start with Windows10):
Code:
# pveversion -v
proxmox-ve: 7.1-1 (running kernel: 5.15.12-1-pve)
pve-manager: 7.1-10 (running version: 7.1-10/6ddebafe)
pve-kernel-5.15: 7.1-8
pve-kernel-helper: 7.1-8
pve-kernel-5.13: 7.1-6
pve-kernel-5.15.12-1-pve: 5.15.12-3
pve-kernel-5.13.19-3-pve: 5.13.19-7
pve-kernel-5.13.19-2-pve: 5.13.19-4
ceph-fuse: 15.2.15-pve1
corosync: 3.1.5-pve2
criu: 3.15-1+pve-1
glusterfs-client: 9.2-1
ifupdown2: 3.1.0-1+pmx3
ksm-control-daemon: 1.4-1
libjs-extjs: 7.0.0-1
libknet1: 1.22-pve2
libproxmox-acme-perl: 1.4.1
libproxmox-backup-qemu0: 1.2.0-1
libpve-access-control: 7.1-6
libpve-apiclient-perl: 3.2-1
libpve-common-perl: 7.1-2
libpve-guest-common-perl: 4.0-3
libpve-http-server-perl: 4.1-1
libpve-storage-perl: 7.0-15
libspice-server1: 0.14.3-2.1
lvm2: 2.03.11-2.1
lxc-pve: 4.0.11-1
lxcfs: 4.0.11-pve1
novnc-pve: 1.3.0-1
proxmox-backup-client: 2.1.4-1
proxmox-backup-file-restore: 2.1.4-1
proxmox-mini-journalreader: 1.3-1
proxmox-widget-toolkit: 3.4-5
pve-cluster: 7.1-3
pve-container: 4.1-3
pve-docs: 7.1-2
pve-edk2-firmware: 3.20210831-2
pve-firewall: 4.2-5
pve-firmware: 3.3-4
pve-ha-manager: 3.3-3
pve-i18n: 2.6-2
pve-qemu-kvm: 6.1.0-3
pve-xtermjs: 4.12.0-1
qemu-server: 7.1-4
smartmontools: 7.2-1
spiceterm: 3.2-2
swtpm: 0.7.0~rc1+2
vncterm: 1.7-1
zfsutils-linux: 2.1.2-pve1
Code:
# qm config 100
agent: 1
balloon: 0
bios: seabios
boot: order=virtio0
cores: 4
cpu: kvm64
efidisk0: VM_Images:vm-100-disk-1,efitype=4m,pre-enrolled-keys=1,size=4M
machine: pc-q35-6.1
memory: 5000
meta: creation-qemu=6.1.0,ctime=1643243513
name: Windows
net0: virtio=12:EF:B7:00:A0:B2,bridge=vmbr0,firewall=1
numa: 0
ostype: win11
scsihw: virtio-scsi-single
smbios1: uuid=584a678c-96da-46cf-b992-fb4f0ca64005
sockets: 1
spice_enhancements: videostreaming=all
tpmstate0: VM_Images:vm-100-disk-2,size=4M,version=v2.0
vga: qxl,memory=64
virtio0: VM_Images:vm-100-disk-0,cache=unsafe,discard=on,size=65G
vmgenid: c87cdcd1-f353-4f63-bc76-e6c2fc7bd397
Code:
# numactl --hardware
available: 1 nodes (0)
node 0 cpus: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
node 0 size: 15410 MB
node 0 free: 12153 MB
node distances:
node 0
0: 10
Code:
# lscpu
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
Address sizes: 48 bits physical, 48 bits virtual
CPU(s): 16
On-line CPU(s) list: 0-15
Thread(s) per core: 2
Core(s) per socket: 8
Socket(s): 1
NUMA node(s): 1
Vendor ID: AuthenticAMD
CPU family: 23
Model: 96
Model name: AMD Ryzen 9 4900H with Radeon Graphi
cs
Stepping: 1
Frequency boost: disabled
CPU MHz: 2735.628
CPU max MHz: 3300.0000
CPU min MHz: 1400.0000
BogoMIPS: 6587.55
Virtualization: AMD-V
L1d cache: 256 KiB
L1i cache: 256 KiB
L2 cache: 4 MiB
L3 cache: 8 MiB
NUMA node0 CPU(s): 0-15
Vulnerability Itlb multihit: Not affected
Vulnerability L1tf: Not affected
Vulnerability Mds: Not affected
Vulnerability Meltdown: Not affected
Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass
disabled via prctl and seccomp
Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers
and __user pointer sanitization
Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB
conditional, IBRS_FW, STIBP conditi
onal, RSB filling
Vulnerability Srbds: Not affected
Vulnerability Tsx async abort: Not affected
Flags: fpu vme de pse tsc msr pae mce cx8 a
pic sep mtrr pge mca cmov pat pse36
clflush mmx fxsr sse sse2 ht syscall
nx mmxext fxsr_opt pdpe1gb rdtscp l
m constant_tsc rep_good nopl nonstop
_tsc cpuid extd_apicid aperfmperf ra
pl pni pclmulqdq monitor ssse3 fma c
x16 sse4_1 sse4_2 movbe popcnt aes x
save avx f16c rdrand lahf_lm cmp_leg
acy svm extapic cr8_legacy abm sse4a
misalignsse 3dnowprefetch osvw ibs
skinit wdt tce topoext perfctr_core
perfctr_nb bpext perfctr_llc mwaitx
cpb cat_l3 cdp_l3 hw_pstate ssbd mba
ibrs ibpb stibp vmmcall fsgsbase bm
i1 avx2 smep bmi2 cqm rdt_a rdseed a
dx smap clflushopt clwb sha_ni xsave
opt xsavec xgetbv1 xsaves cqm_llc cq
m_occup_llc cqm_mbm_total cqm_mbm_lo
cal clzero irperf xsaveerptr rdpru w
bnoinvd arat npt lbrv svm_lock nrip_
save tsc_scale vmcb_clean flushbyasi
d decodeassists pausefilter pfthresh
old avic v_vmsave_vmload vgif v_spec
_ctrl umip rdpid overflow_recov succ
or smca
I have the QXL installed and all VirtIO drivers as I have asked the installer software to install all of them.
There is no Warning notification in the Device Manager.
I have tried a lot of settings as I said. CPU type, NUMA, Ballooning, Display, Machine, Controllers, Bus Device, Cache, RAM amount, CPU cores amount and even some CPU flags, but that went bad so I left all to default.
Also slow when using RDP to the VM, but it seems a little bit faster and I mean "a little".
I really don't know what else to check!
I bought this machine specifically to use Proxmox on it.
Since it's slow also with Linux VMs, something tells me it's either a major config setting my eyes are unable to see after 20 hours looking for, or the host machine hardware is not intended to work well with Proxmox-type hypervisors and I made a bad choice...
Last info: when I type say in the command line of a VM, it lags before the characters display. I wonder if it's grafx related. The processing seems quick, I was able to see the verbose update process in an Arch-based Linux distro and it was processing faster than it could display the lines.
Does anyone know what I could try to fix this?
Or at least what to do to troubleshoot. Sometimes it's better to identify the issue first, but sometimes it's better to try out various things until one works.
Thanks in advance!
Last edited: