Hi @all,
For a couple of days I am observing a certain behavior which I would like to share an get some help on it from you to figure out what is causing it:
I am running 3 KVM's (1x Linux, 1x SBS 2008, 1 Windows 7). When I start the system my swapfile starts with 64MB in use. After a week or so it reaches 1 GB. After a a weekly Backup the Swap-Size increases to 1.7 GB. The problem I have is that the responsiveness of my Windows machines starts to decrease. Everything is still running but it looks to me that the the VM's using swap memory instead of RAM. When I shutdown the Windows VM's and restart again swapfile starts at 64 Mb again and the VM's are working fast again.
Even if I only run the Linux VM and the SBS 2008 VM swapsize starts to increase and eventually responsivness of the SBS Machine goes down.
After doing some research I changed the vm.swapiness from 60 to 40 which actually reduced the swap increase a little but it does not stop.
So my question is, since I am not very linux savvy, where can I see in more detail what process/program/vm is causing the swapfile to increase?
What can I do to stop swapfile to increase?
If this is a normal behavior - how can I optimize the speed/responsiveness of the Windows VM's?
Any help or suggestions are welcome.
If you need more information please let me know.
Kind regards
B
System:
CPU: Intel Q9400
RAM 8 GB (shows at 7.8 GB)
Swap partition: 7 GB
Raid 10 - 1 TB
Memory allocated to KVM's:
Linux - 1024 MB
SBS 2008 - 5120
Windows 7 - 1024
Backup
Method: Snapshot, compressed
Fileformat of VM's : raw
pveversion -v
pveperf
current free (after I restarted it on Saturday/Sunday)
This is how it looks as of now:
For a couple of days I am observing a certain behavior which I would like to share an get some help on it from you to figure out what is causing it:
I am running 3 KVM's (1x Linux, 1x SBS 2008, 1 Windows 7). When I start the system my swapfile starts with 64MB in use. After a week or so it reaches 1 GB. After a a weekly Backup the Swap-Size increases to 1.7 GB. The problem I have is that the responsiveness of my Windows machines starts to decrease. Everything is still running but it looks to me that the the VM's using swap memory instead of RAM. When I shutdown the Windows VM's and restart again swapfile starts at 64 Mb again and the VM's are working fast again.
Even if I only run the Linux VM and the SBS 2008 VM swapsize starts to increase and eventually responsivness of the SBS Machine goes down.
After doing some research I changed the vm.swapiness from 60 to 40 which actually reduced the swap increase a little but it does not stop.
So my question is, since I am not very linux savvy, where can I see in more detail what process/program/vm is causing the swapfile to increase?
What can I do to stop swapfile to increase?
If this is a normal behavior - how can I optimize the speed/responsiveness of the Windows VM's?
Any help or suggestions are welcome.
If you need more information please let me know.
Kind regards
B
System:
CPU: Intel Q9400
RAM 8 GB (shows at 7.8 GB)
Swap partition: 7 GB
Raid 10 - 1 TB
Memory allocated to KVM's:
Linux - 1024 MB
SBS 2008 - 5120
Windows 7 - 1024
Backup
Method: Snapshot, compressed
Fileformat of VM's : raw
pveversion -v
Code:
pve-manager: 1.5-8 (pve-manager/1.5/4674)
running kernel: 2.6.32-1-pve
proxmox-ve-2.6.32: 1.5-4
pve-kernel-2.6.24-8-pve: 2.6.24-16
pve-kernel-2.6.32-1-pve: 2.6.32-4
qemu-server: 1.1-11
pve-firmware: 1.0-3
libpve-storage-perl: 1.0-10
vncterm: 0.9-2
vzctl: 3.0.23-1pve8
vzdump: 1.2-5
vzprocps: 2.0.11-1dso2
vzquota: 3.0.11-1
pve-qemu-kvm: 0.11.1-2
ksm-control-daemon: 1.0-3
Code:
CPU BOGOMIPS: 21333.13
REGEX/SECOND: 793061
HD SIZE: 49.22 GB (/dev/mapper/pve-root)
BUFFERED READS: 188.98 MB/sec
AVERAGE SEEK TIME: 7.94 ms
FSYNCS/SECOND: 2836.63
DNS EXT: 1085.73 ms
DNS INT: 1047.83 ms (local)
Code:
total used free shared buffers cached
Mem: 8179160 5687548 2491612 0 65148 12904
-/+ buffers/cache: 5609496 2569664
Swap: 7340024 556604 6783420
This is how it looks as of now:
Last edited: