Windows 2019 CPU issues

giuppy

Member
Dec 10, 2020
29
0
6
47
Hi,
With Windows 2019 (looks like with 2016 is the same) I have CPU almost 100% when creating a VM with just 4 cores and 128GB ram.
The macnhine is configured as below:
Code:
boot: order=scsi0;ide2;net0
cores: 4
ide2: none,media=cdrom
machine: pc-i440fx-5.2
memory: 128000
name: SQL12A
net0: virtio=32:A1:38:0C:48:0E,bridge=vmbr0,firewall=1
numa: 0
ostype: win10
scsi0: MAIN:vm-191-disk-0,size=50G
scsi1: NVME:vm-191-disk-0,size=500G
scsi2: MAIN:vm-191-disk-1,size=500G
scsihw: virtio-scsi-pci
smbios1: uuid=4398efba-fb84-4b99-a875-b0...
sockets: 1
tablet: 0
With 8GB ram the machines goes like a rocket.

Any idea or suggestion?
THANKS!
 
maybe the ram initialization? you could try to enable hugepages to reduce that time
 
  • Like
Reactions: TorqueWrench
try it with 'qm set ID -hugepages 2 -numa 1' (numa needs to be enabled too for hugepages)
 
I did it but now I have error and it prevents from booting up

Code:
TASK ERROR: start failed: hugepage allocation failed at /usr/share/perl5/PVE/QemuServer/Memory.pm line 542.
 
ok, so it can happen that there are not enough free hugepages, (e.g. due to memory fragmentation), you could try to set the hugepages to '1024' (use less bigger ones) or reboot the host, so that the memory is not fragmented yet
 
with 'qm set ID -delete hugepages'
 
Are you sure with a reboot I will have it fixed? Because actually on this machine RAM usage is 581.07 GiB out of 1007.78 GiB
 

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!