I used the GUI in 7.3 to assign CPU Affinity to a Windows 10 Gaming VM with 8 vCPUs and a GPU passed through that worked fine before but stuttered when playing game. With the affinity configured the system crashed hard (multiple times) simply downloading the latest update to a game. While it is a big download, point is the VM didn't last very long.
Yes I did align the CPU affinity to a CCX on my AMD EPYC 7282 16c/32t CPU. Or at least I think I did. Maybe I got that wrong and it caused the crash?
Here's the
Here's the
Why is my VM crashing?
Yes I did align the CPU affinity to a CCX on my AMD EPYC 7282 16c/32t CPU. Or at least I think I did. Maybe I got that wrong and it caused the crash?
Here's the
/etc/pve/qemu-server/<vmid>.conf
Code:
affinity: 12,13,14,15,28,29,30,31
agent: 1
bios: ovmf
boot: order=scsi0
cores: 8
cpu: EPYC-Rome
efidisk0: local-zfs:vm-201-disk-0,efitype=4m,pre-enrolled-keys=1,size=1M
hostpci0: 0000:c1:00,pcie=1
machine: pc-q35-7.1
memory: 12288
meta: creation-qemu=7.1.0,ctime=1672936369
name: GamerVM
net1: virtio=7E:2F:14:5D:F2:F6,bridge=vmbr1
numa: 0
onboot: 1
ostype: win10
scsi0: local-zfs:vm-201-disk-1,discard=on,iothread=1,size=250G,ssd=1
scsihw: virtio-scsi-single
smbios1: uuid=50cd3213-74fe-412f-a65b-316cb02568e0
sockets: 1
vmgenid: 67eb436f-f0ec-40ee-b7fe-1f2d918b950d
Here's the
lscpu -e
output with the CPUs I assigned in bold:CPU NODE SOCKET CORE L1d:L1i:L2:L3 ONLINE MAXMHZ MINMHZ
0 0 0 0 0:0:0:0 yes 2800.0000 1500.0000
1 0 0 1 1:1:1:0 yes 2800.0000 1500.0000
2 0 0 2 2:2:2:0 yes 2800.0000 1500.0000
3 0 0 3 3:3:3:0 yes 2800.0000 1500.0000
4 0 0 4 4:4:4:1 yes 2800.0000 1500.0000
5 0 0 5 5:5:5:1 yes 2800.0000 1500.0000
6 0 0 6 6:6:6:1 yes 2800.0000 1500.0000
7 0 0 7 7:7:7:1 yes 2800.0000 1500.0000
8 0 0 8 8:8:8:2 yes 2800.0000 1500.0000
9 0 0 9 9:9:9:2 yes 2800.0000 1500.0000
10 0 0 10 10:10:10:2 yes 2800.0000 1500.0000
11 0 0 11 11:11:11:2 yes 2800.0000 1500.0000
12 0 0 12 12:12:12:3 yes 2800.0000 1500.0000
13 0 0 13 13:13:13:3 yes 2800.0000 1500.0000
14 0 0 14 14:14:14:3 yes 2800.0000 1500.0000
15 0 0 15 15:15:15:3 yes 2800.0000 1500.0000
16 0 0 0 0:0:0:0 yes 2800.0000 1500.0000
17 0 0 1 1:1:1:0 yes 2800.0000 1500.0000
18 0 0 2 2:2:2:0 yes 2800.0000 1500.0000
19 0 0 3 3:3:3:0 yes 2800.0000 1500.0000
20 0 0 4 4:4:4:1 yes 2800.0000 1500.0000
21 0 0 5 5:5:5:1 yes 2800.0000 1500.0000
22 0 0 6 6:6:6:1 yes 2800.0000 1500.0000
23 0 0 7 7:7:7:1 yes 2800.0000 1500.0000
24 0 0 8 8:8:8:2 yes 2800.0000 1500.0000
25 0 0 9 9:9:9:2 yes 2800.0000 1500.0000
26 0 0 10 10:10:10:2 yes 2800.0000 1500.0000
27 0 0 11 11:11:11:2 yes 2800.0000 1500.0000
28 0 0 12 12:12:12:3 yes 2800.0000 1500.0000
29 0 0 13 13:13:13:3 yes 2800.0000 1500.0000
30 0 0 14 14:14:14:3 yes 2800.0000 1500.0000
31 0 0 15 15:15:15:3 yes 2800.0000 1500.0000
Why is my VM crashing?