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