I am not a proxmox expert so I would really appreciate if someone could shed some light on this "enigme" I am facing.
A Client our product running on a Proxmox installation
Now the (not so) funny thing is that the machine has swapped even if it has never allocated all the ram, and in particular it swaps out our virtual machine even if it has not even allocated all of the alotted ram.
Top from proxmox
top - 15:14:40 up 12 days, 5:55, 1 user, load average: 13.30, 14.06, 12.39
Tasks: 286 total, 3 running, 283 sleeping, 0 stopped, 0 zombie
Cpu(s): 60.0%us, 8.0%sy, 0.0%ni, 29.2%id, 0.4%wa, 0.0%hi, 2.4%si, 0.0%st
Mem: 82473852k total, 54500412k used, 27973440k free, 20396k buffers
Swap: 7340024k total, 5678132k used, 1661892k free, 21080k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ SWAP nFLT COMMAND
493736 root 20 0 57.3g 50g 844 S 346 64.3 1603:48 6.7g 217k /usr/bin/kvm -monitor unix:/var/run/qemu-server/116.mon,server,nowait -vnc unix:/var/run/qemu-server/116.vnc,password -pidfile /var/run/qemu-server/116.pid -daemonize -usbdevice tablet -name ...
488657 root 20 0 8811m 8.1g 768 S 176 10.2 347:25.08 562m 28k /usr/bin/kvm -monitor unix:/var/run/qemu-server/105.mon,server,nowait -vnc unix:/var/run/qemu-server/105.vnc,password -pidfile /var/run/qemu-server/105.pid -daemonize -usbdevice tablet -name ...
4200 root 20 0 1373m 1.0g 732 S 17 1.3 3971:28 314m 4377 /usr/bin/kvm -monitor unix:/var/run/qemu-server/104.mon,server,nowait -vnc unix:/var/run/qemu-server/104.vnc,password -pidfile /var/run/qemu-server/104.pid -daemonize -usbdevice tablet -name ...
488666 root 20 0 0 0 0 S 16 0.0 25:01.08 0 101 [vhost-488657]
.
.
.
Would any one be able to explain why the virtual machine 116 has been swapped even though there are in the order of 26g ram free.
Name: VMID: 116
Guest Type: Other
Cluster Node: proxmox (192.168.10.3)
Memory (MB): 57344
CPU Sockets: 2
Cores/Socket: 3
Start at boot: Yes
Has it got to do with the fact that the machine has been allowed to use 3 (out of 4) processors on each of 2 sockets?
Any information welcome
Thanks in advance
Hans-Chr. Jehg
A Client our product running on a Proxmox installation
Uptime | 14:58:12 up 12 days 05:38, load average: 14.11, 9.96, 9.82 |
CPU(s) | 8 x Intel(R) Xeon(R) CPU E5606 @ 2.13GHz |
CPU Utilization | 97.20% |
IO Delays | 0.04% |
Physical Memory (78.65GB/51.47GB) | 51.47GB |
Swap Space (7.00GB/5.61GB) | 5.61GB |
HD Space root (57.09GB/1.39GB) | 2.57% |
Version (package/version/build) | pve-manager/1.9/6567 |
Kernel Version | Linux 2.6.32-6-pve #1 SMP Fri Nov 4 06:54:05 CET 2011 |
Now the (not so) funny thing is that the machine has swapped even if it has never allocated all the ram, and in particular it swaps out our virtual machine even if it has not even allocated all of the alotted ram.
Top from proxmox
top - 15:14:40 up 12 days, 5:55, 1 user, load average: 13.30, 14.06, 12.39
Tasks: 286 total, 3 running, 283 sleeping, 0 stopped, 0 zombie
Cpu(s): 60.0%us, 8.0%sy, 0.0%ni, 29.2%id, 0.4%wa, 0.0%hi, 2.4%si, 0.0%st
Mem: 82473852k total, 54500412k used, 27973440k free, 20396k buffers
Swap: 7340024k total, 5678132k used, 1661892k free, 21080k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ SWAP nFLT COMMAND
493736 root 20 0 57.3g 50g 844 S 346 64.3 1603:48 6.7g 217k /usr/bin/kvm -monitor unix:/var/run/qemu-server/116.mon,server,nowait -vnc unix:/var/run/qemu-server/116.vnc,password -pidfile /var/run/qemu-server/116.pid -daemonize -usbdevice tablet -name ...
488657 root 20 0 8811m 8.1g 768 S 176 10.2 347:25.08 562m 28k /usr/bin/kvm -monitor unix:/var/run/qemu-server/105.mon,server,nowait -vnc unix:/var/run/qemu-server/105.vnc,password -pidfile /var/run/qemu-server/105.pid -daemonize -usbdevice tablet -name ...
4200 root 20 0 1373m 1.0g 732 S 17 1.3 3971:28 314m 4377 /usr/bin/kvm -monitor unix:/var/run/qemu-server/104.mon,server,nowait -vnc unix:/var/run/qemu-server/104.vnc,password -pidfile /var/run/qemu-server/104.pid -daemonize -usbdevice tablet -name ...
488666 root 20 0 0 0 0 S 16 0.0 25:01.08 0 101 [vhost-488657]
.
.
.
Would any one be able to explain why the virtual machine 116 has been swapped even though there are in the order of 26g ram free.
Name: VMID: 116
Guest Type: Other
Cluster Node: proxmox (192.168.10.3)
Memory (MB): 57344
CPU Sockets: 2
Cores/Socket: 3
Start at boot: Yes
Has it got to do with the fact that the machine has been allowed to use 3 (out of 4) processors on each of 2 sockets?
Any information welcome
Thanks in advance
Hans-Chr. Jehg