Abnormal CPU & RAM use with Windows 10 VM

Frigg

Active Member
Sep 4, 2016
63
2
28
52
Hello,
I'm testing Proxmox with windows 10 VM.
CPU usage is between 60% to 80%, and it uses 11GO RAM for only one VM without doing anything with the VM !
Ok, my host isn't a ferrari: Quad CPU Q6600 2.4ghz 16GO RAM, but when running windows 10 VM on ESXI, I don't encountered these problems.

2016-09-04_16h17_52.png
As I saw there has been problems with previous kernel, my config is up to date:
proxmox-ve: 4.2-58 (running kernel: 4.4.13-2-pve) pve-manager: 4.2-17 (running version: 4.2-17/e1400248) pve-kernel-4.4.6-1-pve: 4.4.6-48 pve-kernel-4.4.13-2-pve: 4.4.13-58 pve-kernel-4.2.8-1-pve: 4.2.8-41 lvm2: 2.02.116-pve2 corosync-pve: 2.3.5-2 libqb0: 1.0-1 pve-cluster: 4.0-43 qemu-server: 4.0-85 pve-firmware: 1.1-8 libpve-common-perl: 4.0-72 libpve-access-control: 4.0-18 libpve-storage-perl: 4.0-56 pve-libspice-server1: 0.12.8-1 vncterm: 1.2-1 pve-qemu-kvm: 2.6-1 pve-container: 1.0-71 pve-firewall: 2.0-29 pve-ha-manager: 1.0-32 ksm-control-daemon: 1.2-1 glusterfs-client: 3.5.2-2+deb8u2 lxc-pve: 1.1.5-7 lxcfs: 2.0.0-pve2 cgmanager: 0.39-pve1 criu: 1.6.0-1 zfsutils: 0.6.5.7-pve10~bpo80

What can I do to solve this problem ?
Thank for your help.

Hervé
 
For memory, windows fill the vm memory with zero at boot. (I don't known how much memory you have assign in the vm ?).
The ksm process on host should be able to aggregate this zero memory, when you reach around 80% memory usage on host.

For cpu, I don't known. Do you see same cpu usage inside your vm ? If not, it could be a process in vm doing lot of interrupts.
 
Hello,
Thank you for your answer.
For memory purpose, I allocated 10 GO. What surprised me is that Proxmox VE uses all the 10 GO as for a windows 10 new installation, without doing anything, it should use about 2GO.

Concerning CPU usage, it is about 5% inferior in the VM.
 
Hello,
Thank you for your answer.
For memory purpose, I allocated 10 GO. What surprised me is that Proxmox VE uses all the 10 GO as for a windows 10 new installation, without doing anything, it should use about 2GO.

Concerning CPU usage, it is about 5% inferior in the VM.

For memory, you can try to enable memory hotplug. I think that windows don't try to fill zero on hotplugged dimm.

For cpu, well if you have 5% less cpu in windows, it's normal (mainly related to interrupts, disk access,network access).But you should check in windows which process consume cpu.
 
Have you installed everything on virtio (disk|network) drivers and installed drivers for ballooning and qemu agent serial including qemu agent?
 
I have similar problem. But in VM Windows when i download data from NAS via local network i have < 20% CPU (in windows task manager) but via webinterface on this VM CPU is 103% , ( host in this time have 54% CPU ) , second VM is in idle . I have only two VM. The same in e1000 drivers or in virtio network. I use virtio disk driver. This is only if i download / upload via network. Proxmox is new from ISO.
 

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!