I found some vm's are using more threads than expected:
PID USER PRI NI VIRT RES SHR S CPU% MEM% TIME+ Command
2741 root 20 0 930M 710M 2432 R 71.6 3.5 12:54.27 /usr/bin/kvm -monitor unix:/var/run/qemu-server/110.mon,server,nowait -vnc unix:/var/run/qemu-server/110.vnc,password -pidfile /v
2716 root 20 0 863M 248M 2168 S 3.1 1.2 1:36.93 /usr/bin/kvm -monitor unix:/var/run/qemu-server/120.mon,server,nowait -vnc unix:/var/run/qemu-server/120.vnc,password -pidfile /v
2882 www-data 20 0 256M 36504 4240 S 1.0 0.2 0:00.20 /usr/sbin/apache2 -k start
2848 root 20 0 19484 1524 992 R 0.5 0.0 0:01.10 htop
2519 root 20 0 94944 24912 2348 S 0.5 0.1 0:00.40 pvedaemon
2832 root 20 0 930M 710M 2432 S 0.0 3.5 0:01.30 /usr/bin/kvm -monitor unix:/var/run/qemu-server/110.mon,server,nowait -vnc unix:/var/run/qemu-server/110.vnc,password -pidfile /v
This is a printout from htop, where the vm 110 uses 2 threads (its an win XP system w 1 cpu attached), the other one (debian, also 1 cpu) just one thread
qm list shows one pid:
proxmox-01:~# qm list
VMID NAME STATUS MEM(MB) BOOTDISK(GB) PID
102 Win2008-test stopped 12000 160.00 0
110 XP-USBHost running 512 32.00 2741
120 Deb-SSH running 512 32.00 2716
System is fresh installed:
proxmox-01:~# pveversion -v
pve-manager: 1.8-18 (pve-manager/1.8/6070)
running kernel: 2.6.32-4-pve
proxmox-ve-2.6.32: 1.8-33
pve-kernel-2.6.32-4-pve: 2.6.32-33
qemu-server: 1.1-30
pve-firmware: 1.0-11
libpve-storage-perl: 1.0-17
vncterm: 0.9-2
vzctl: 3.0.27-1pve1
vzdump: 1.2-13
vzprocps: 2.0.11-2
vzquota: 3.0.11-1
pve-qemu-kvm: 0.14.1-1
ksm-control-daemon: 1.0-6
Is there any explanation?
Best regards, Holger
PID USER PRI NI VIRT RES SHR S CPU% MEM% TIME+ Command
2741 root 20 0 930M 710M 2432 R 71.6 3.5 12:54.27 /usr/bin/kvm -monitor unix:/var/run/qemu-server/110.mon,server,nowait -vnc unix:/var/run/qemu-server/110.vnc,password -pidfile /v
2716 root 20 0 863M 248M 2168 S 3.1 1.2 1:36.93 /usr/bin/kvm -monitor unix:/var/run/qemu-server/120.mon,server,nowait -vnc unix:/var/run/qemu-server/120.vnc,password -pidfile /v
2882 www-data 20 0 256M 36504 4240 S 1.0 0.2 0:00.20 /usr/sbin/apache2 -k start
2848 root 20 0 19484 1524 992 R 0.5 0.0 0:01.10 htop
2519 root 20 0 94944 24912 2348 S 0.5 0.1 0:00.40 pvedaemon
2832 root 20 0 930M 710M 2432 S 0.0 3.5 0:01.30 /usr/bin/kvm -monitor unix:/var/run/qemu-server/110.mon,server,nowait -vnc unix:/var/run/qemu-server/110.vnc,password -pidfile /v
This is a printout from htop, where the vm 110 uses 2 threads (its an win XP system w 1 cpu attached), the other one (debian, also 1 cpu) just one thread
qm list shows one pid:
proxmox-01:~# qm list
VMID NAME STATUS MEM(MB) BOOTDISK(GB) PID
102 Win2008-test stopped 12000 160.00 0
110 XP-USBHost running 512 32.00 2741
120 Deb-SSH running 512 32.00 2716
System is fresh installed:
proxmox-01:~# pveversion -v
pve-manager: 1.8-18 (pve-manager/1.8/6070)
running kernel: 2.6.32-4-pve
proxmox-ve-2.6.32: 1.8-33
pve-kernel-2.6.32-4-pve: 2.6.32-33
qemu-server: 1.1-30
pve-firmware: 1.0-11
libpve-storage-perl: 1.0-17
vncterm: 0.9-2
vzctl: 3.0.27-1pve1
vzdump: 1.2-13
vzprocps: 2.0.11-2
vzquota: 3.0.11-1
pve-qemu-kvm: 0.14.1-1
ksm-control-daemon: 1.0-6
Is there any explanation?
Best regards, Holger