What process needs 1.8% CPU? (ps auxww)
Thanks very much for your reply.
That was just the KVM process itself (the rest of the processes are all showing zero).
Sorry, I made a mistake before it was not 1.8%, it was actually 4% with 2.6.24 and 2.6.32 kernels (compared with 1% of 2.6.18)
You can see very clearly when we were using 2.6.18 (1% CPU Usage) and when we were using 2.6.32 (4% CPU Usage) from the graph below. Note the higher "CPU Usage" also affected the "Load Average".
View attachment 254
In terms of "ps auxww" outputs, I have attached the 2 relevant outputs (highlighting the differences):
2.6.18:
root 8892
1.0 6.1 4363632 500880 ? Sl 16:30 0:47 /usr/bin/kvm -monitor unix:/var/run/qemu-server/401.mon,server,nowait -vnc unix:/var/run/qemu-server/401.vnc,password -pidfile /var/run/qemu-server/401.pid -daemonize -usbdevice tablet -name test
-smp 2 -boot c -vga cirrus -tdf -k en-us -drive if=ide,index=2,media=cdrom -drive file=/dev/drbdvg0/vm-401-disk-1,if=virtio,index=0,boot=on -drive file=/dev/drbdvg2/vm-401-disk-1,if=virtio,index=1 -m 4096 -net tap,vlan=1,ifname=vmtab401i1,script=/var/lib/qemu-server/bridge-vlan -net nic,vlan=1,model=virtio,macaddr=3E:5D:17:69:22:91
2.6.32:
root 3295
3.9 6.1 4423064 501540 ? Sl 17:58 10:12 /usr/bin/kvm -monitor unix:/var/run/qemu-server/401.mon,server,nowait -vnc unix:/var/run/qemu-server/401.vnc,password -pidfile /var/run/qemu-server/401.pid -daemonize -usbdevice tablet -name test
-smp sockets=1,cores=2 -nodefaults -boot menu=on,order=c -vga cirrus -tdf -k en-us -drive if=ide,index=2,media=cdrom -drive file=/dev/drbdvg0/vm-401-disk-1,if=virtio,index=0,boot=on -drive file=/dev/drbdvg2/vm-401-disk-1,if=virtio,index=1 -m 4096 -net tap,vlan=1,ifname=vmtab401i1,script=/var/lib/qemu-server/bridge-vlan -net nic,vlan=1,model=virtio,macaddr=3E:5D:17:69:22:91
For all 3 kernels, we are running the another copy of Proxmox 1.5 (with 2.6.24 kernel) inside that KVM. When we run "ps auxww" inside the KVM, all the processes have %CPU value of 0.0 for all 3 kernels. So the 1% to 4% CPU Usage difference does not seemed to be contributed by processes inside the KVM, but by the KVM process itself.
I can post the full output of the "ps auxww" commands ran from the host and from inside the KVM, if they are of interest.
Thanks again for your help.