Slow Win10 VM CPU performance

thanatos2k

Renowned Member
Oct 19, 2016
2
0
66
45
I'm pretty new to proxmox, so I suspect the error lies between the keyboard and the chair.

I just did a fresh install of 4.3, followed the PCI Passthrough (and USB Port Mapping) instructions to virtualize my GTX 1060 for a Folding VM. I installed Windows 10 on the VM but CPU performance is very slow. I've tried with 2, 4, and 8 cores assigned to the VM.

Basic hardware specs are:
Supermicro X10SLM-F
16 GB DDR3
E3-1275L v3 CPU
480gb 845 DC Evo SSD

Code:
proxmox-ve: 4.3-66 (running kernel: 4.4.19-1-pve)
pve-manager: 4.3-1 (running version: 4.3-1/e7cdc165)
pve-kernel-4.4.19-1-pve: 4.4.19-66
lvm2: 2.02.116-pve3
corosync-pve: 2.4.0-1
libqb0: 1.0-1
pve-cluster: 4.0-46
qemu-server: 4.0-88
pve-firmware: 1.1-9
libpve-common-perl: 4.0-73
libpve-access-control: 4.0-19
libpve-storage-perl: 4.0-61
pve-libspice-server1: 0.12.8-1
vncterm: 1.2-1
pve-qemu-kvm: 2.6.1-6
pve-container: 1.0-75
pve-firewall: 2.0-29
pve-ha-manager: 1.0-35
ksm-control-daemon: 1.2-1
glusterfs-client: 3.5.2-2+deb8u2
lxc-pve: 2.0.4-1
lxcfs: 2.0.3-pve1
criu: 1.6.0-1
novnc-pve: 0.5-8
zfsutils: 0.6.5.7-pve10~bpo80

Code:
bios: ovmf
boot: c
bootdisk: virtio0
cores: 4
cpu: host,hidden=1
hostpci0: 01:00,x-vga=on
hotplug: disk,network,usb
machine: q35
memory: 6144
name: folding
net0: virtio=8E:CB:3E:05:D6:59,bridge=vmbr0
numa: 0
ostype: win8
scsihw: virtio-scsi-pci
smbios1: uuid=5b0c1afc-cdfb-4cd9-b6ef-33e072af66e6
sockets: 1
usb0: host=3-3
usb1: host=3-6
virtio0: local-lvm:vm-100-disk-2,cache=writeback,size=50G
I've tried with hidden=1 removed from the config file also, same result.

On the console I see errors like:
Code:
[  168.683565] kvm [1546]: vcpu0 unhandled rdmsr: 0x1fc
[  168.684051] kvm [1546]: vcpu1 unhandled rdmsr: 0x1fc
[  168.684136] kvm [1546]: vcpu2 unhandled rdmsr: 0x1fc
[  168.684200] kvm [1546]: vcpu3 unhandled rdmsr: 0x1fc
[  168.811599] kvm [1546]: vcpu0 unhandled rdmsr: 0xce
[  168.850576] kvm [1546]: vcpu0 unhandled rdmsr: 0xce
[  168.880897] kvm [1546]: vcpu0 unhandled rdmsr: 0xce
[  168.943674] kvm [1546]: vcpu0 unhandled rdmsr: 0x35
[  168.943925] kvm [1546]: vcpu1 unhandled rdmsr: 0x35
[  168.944139] kvm [1546]: vcpu2 unhandled rdmsr: 0x35
[  173.968673] kvm_get_msr_common: 7 callbacks suppressed
[  173.968678] kvm [1546]: vcpu0 unhandled rdmsr: 0xce
[  174.111483] kvm [1546]: vcpu0 unhandled rdmsr: 0x621
[  175.130745] kvm [1546]: vcpu0 unhandled rdmsr: 0xce
[  175.267848] kvm [1546]: vcpu0 unhandled rdmsr: 0x621
Not sure if that's related, but I've tried with kvm ignore_msrs=1 set in /etc/modprobe.d/kvm.conf, same result and still get the console errors.
 
I installed Windows 10 on the VM but CPU performance is very slow. I've tried with 2, 4, and 8 cores assigned to the VM.
what exactly do you mean slow? did you check the cpu usage on the host?
do you have energy savings activated in the bios?

Not sure if that's related, but I've tried with kvm ignore_msrs=1 set in /etc/modprobe.d/kvm.conf, same result and still get the console errors.
normally these are more warnings than errors, but did you reboot/reload the kernel module after setting it?
 
I had the energy saving options (C-states?) on when I installed proxmox, but shut them off after having trouble and reading another forum post that suggested that.

I originally set the bit in /etc/modprobe.d/kvm.conf and then tried shutting it off and rebooting after having trouble.

First I tried to use folding@home with CPU, it took >12 hours to complete 1 work unit which usually takes <2 hours. Suspicious, I installed AIDA64 and ran some of those benchmarks, it's getting similar performance numbers to a single Sempron 2500+ and reports the CPU as 8x Xeon (240 Mhz), in device manager it shows up as E3-1275L x 8. During benchmarking, the CPU usage meter for the host in the web interface shows near/at 100% CPU usage, depending on how many "cores" the benchmark is testing. CPU temp doesn't pass 41 deg C.

Going to install a Windows 7 VM with SeaBIOS and passthrough for comparison.
 
Last edited:

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!