I set up an host Linux system with KVM and I installed another Linux as a guest (Debian 6). I nside the guest I launch a vncserver and I access it from the host using vncviewer. It works fine for my simple needs.
I've got a few related questions and, overall, I was wondering if anyone had tips as to how I could speed up my KVM (Debian Linux) guest a bit. VNC isn't an issue: graphically the guest is responding fine.
For example are there specific things I could do on the guest side to speed it up, like installing some specific drivers?
I'm doing the experiments on a 64-bit capable system with 4 GB of RAM but both the host and guest are 32 bit. Would the perfs go up if I were to switch one (or both) of them to 64-bit?
Any other tips to speed up virtualization using KVM from other KVM users?
Here's the output of the free command as suggested by Paul:
total used free shared buffers cached
Mem: 513828 465796 48032 0 7552 140624
-/+ buffers/cache: 317620 196208
Swap: 0 0 0
Apparently I don't have any swap file setup and maybe 512 MB is a bit short.
Here's top -c 's output but I don't know how to read it:
1006 cedric 20 0 23584 16m 1524 S 2.0 3.4 35:13.52 Xvnc4 :1 -desktop d
5801 cedric 20 0 132m 32m 16m S 1.3 6.4 1:16.10 /opt/google/chrome/
5689 cedric 20 0 405m 71m 29m S 0.3 14.3 1:29.06 /opt/google/chrome/
5830 cedric 20 0 251m 120m 21m S 0.3 24.0 0:30.14 /opt/google/chrome/
That's with 3 Chrome tabs.
If memory is an issue, how can I add a swap file to the guest and does it make sense to add swap memory to a guest?
