high cpu usage

loikk

Renowned Member
Aug 7, 2015
8
0
66
Hi,
I am currently testing proxmox and I first install multiple VMs (Windows XP / 7 / 2008R2 / Debian ...)
and I notice that the CPU load went from 3~4/ to 40~30% without doing anything (sessions closed and almost nothing installed)
I also notice an increase in network traffic as you can see in the following screen capture,
is that problem could come from hardware configurations of my VM ?
feel free to ask
thanx



81963930pm.png

http://img11.hostingpics.net/pics/81963930pm.png
 
Hi,
can it be that the 2 Win boxes check updates?
if this happen again you can check with top or htop where the load come from!
 
What do you use for Network?
OpenVSwitch or linux bridge?
What Network type in the VM?
 
hi wolfgang,

for the server :
873660hote.png




for the vm :
953445deb.png
 

Attachments

  • 873660hote.png
    873660hote.png
    59.1 KB · Views: 19
it is better to use the virtio types for disk and network.
with the outer types the are emulated devices.
virtio is paravirtualization and much faster by less resource consumption.

here are the link for Windows. they need a extra driver.
https://fedorapeople.org/groups/virt/virtio-win/repo/stable/
Linux kernel > 2.6.25 should be OK.

you can not easily change the disk type on windows boxes.
 
thanx for your reply Wolfgang,
I going to reinstall vm with virtio and I will come back for feedback
 
you have only to install the windows boxes new.
linux you can change with out.
 
thanx for your reply Wolfgang,
I going to reinstall vm with virtio and I will come back for feedback

Also, if you want, into of your VM, you can change the devices of:
IDE Hard Disk to Virtio-Block
e1000 network to Virtio-net

At first, the procedure of change isn't easy to understand, but after, you will see that is much more quick compared a one reinstallation of OS.

For my Windows VMs, i always do my installation in IDE mode, this is by strategy... if in some future i have problems with virtio-block (that so far it has not happened), i have the option of turn off the VM for change the device from virtio to IDE.

The procedure to change from ide and e1000 to virtio drivers:

- Download the latest stable version of the Virtio drivers here (
Stable virtio-win iso):
http://fedoraproject.org/wiki/Windows_Virtio_Drivers

- Upload this iso file to your PVE host by the PVE Web GUI
-
Shutdown the VM
- From the PVE Web GUI, for the cd-rom device of the VM, configure it for that use the ISO file recently uploaded
-
From the PVE Web GUI, add to this VM a VIRTIO disk of 1GB (not virtio-scsi)
-
Start the VM
- Into the VM, from the CD, add the driver
when you be requested (not virtio-scsi)
- Verification (only see): Into the VM, in Management computers, you should see that exist a new disk
- Shutdown the VM gracefully
- In the PVE Web GUI, deleted completely the VIRTIO disk of 1 GB. (deleting 2 times)
- Be very careful: In the PVE Web GUI, deleted the IDE disk (after, it must appear in the GUI as that not used)
- Add this same hard disk as VIRTIO: In the PVE Web GUI, double click of mouse in this disk not used, and select "Virtio" (not VIRTIO-SCSI)
- For the e1000 net device: from the PVE Web GUI, delete this device and add a Virtio net device
- Start the VM (Should start without problems)
- Into the VM, from the CD, add the net driver when you be requested
- Into the VM, Surely, you want to change the IP address, DNS, etc. for this device
- Finally, from the PVE Web GUI, for this VM, change the use of cd-rom to none (+/- equivalent to eject in the VM).

- ENJOY THE BEST SPEED that QEMU and KVM CAN OFFER !!!
 
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!