Try "atop" rather than top (sudo apt-get install atop) - it gives you more information on virtual memory and swap space, as it seems to me that your issue may be a lack of available memory causing excessive swapping.
Sean -- [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/
