Problem with CPU Units

virtux

New Member
Sep 8, 2011
11
0
1
Hello,

I have doubts about the proper allocation of CPU Units from my server.



I'm 22 VM operating, yet the following command sees only 7!

root@prox02:~# vzcpucheck -v
VEID CPUUNITS
-------------------------
0 1000
100 1000
101 1000
106 1000
112 1000
104 1000
102 1000
105 1000
Current CPU utilization: 8000
Power of the node: 2879970



what the Problem ?

thank you in advance

My VM and configurations :

machine.pngcpuunits.png

Informations :

root@prox02:~# pveversion -v
pve-manager: 2.2-26 (pve-manager/2.2/c1614c8c)
running kernel: 2.6.32-16-pve
proxmox-ve-2.6.32: 2.2-80
pve-kernel-2.6.32-16-pve: 2.6.32-80
lvm2: 2.02.95-1pve2
clvm: 2.02.95-1pve2
corosync-pve: 1.4.4-1
openais-pve: 1.1.4-2
libqb: 0.10.1-2
redhat-cluster-pve: 3.1.93-1
resource-agents-pve: 3.9.2-3
fence-agents-pve: 3.1.9-1
pve-cluster: 1.0-28
qemu-server: 2.0-64
pve-firmware: 1.0-21
libpve-common-perl: 1.0-37
libpve-access-control: 1.0-25
libpve-storage-perl: 2.0-34
vncterm: 1.0-3
vzctl: 4.0-1pve2
vzprocps: 2.0.11-2
vzquota: 3.1-1
pve-qemu-kvm: 1.2-7
ksm-control-daemon: 1.1-1

stat_configuration.png
 
ahhhhhh !!!!!!!!! OK !!!!!

What is the real occupation of CPU Units ?


Try this (copy/pasted from man qm):

-cpuunits integer (0 - 500000) (default=1000)

CPU weight for a VM. Argument is used in the kernel fair
scheduler. The larger the number is, the more CPU time this VM
gets. Number is relative to weights of all the other running
VMs.


NOTE: You can disable fair-scheduler configuration by setting
this to 0.