At a guess, it's something to do with your computer running out of memory, and hence having to use the hard drive as "swap", basically as extra memory, which is much slower. You can tell how much memory your computer is using (in megabytes) with free -m; the output on my system is:
Note that there is 0 swap used on my system, and I've actually got 231Mb of RAM free (the kernel likes to steal any spare real memory for cacheing to speed your system up, but will stop doing that if it's needed for real stuff). One other thing you can do is run top which shows the top processes by CPU usage, then press M (note the capital letter) to see this by memory usage instead. There's probably some GUI tool to do all this but I don't know what it is :)
Using swap shouldn't make your system unusable, unless something's happening which is causing your system to "thrash" (constantly loading stuff in and out of swap). If the problem is related to web browsing, could it be related to the websites you're viewing? Lots of Flash sites are pretty crappy at memory usage, and you might find helpful an extension like Flashblock which only loads the Flash you want.
Another cause of your slowdown might be a dodgy hard disk; the first thing you can do is run hdparm -d /dev/hda which should give output like this:
/dev/hda:
using_dma = 1 (on)
This tells you that your system is using Direct Memory Addressing, a much faster way of talking to hard drives. If it isn't, you can enable it with hdparm -d 1 /dev/hda.
It's probably worth checking whether your hard drive is reporting any failures itself, but I don't have time to write that up right now; see if the above gets you anywhere and make sure you have backups!
no subject
Date: Thursday, 7 February 2008 01:56 pm (UTC)free -m
; the output on my system is:Note that there is 0 swap used on my system, and I've actually got 231Mb of RAM free (the kernel likes to steal any spare real memory for cacheing to speed your system up, but will stop doing that if it's needed for real stuff). One other thing you can do is run
top
which shows the top processes by CPU usage, then press M (note the capital letter) to see this by memory usage instead. There's probably some GUI tool to do all this but I don't know what it is :)Using swap shouldn't make your system unusable, unless something's happening which is causing your system to "thrash" (constantly loading stuff in and out of swap). If the problem is related to web browsing, could it be related to the websites you're viewing? Lots of Flash sites are pretty crappy at memory usage, and you might find helpful an extension like Flashblock which only loads the Flash you want.
Another cause of your slowdown might be a dodgy hard disk; the first thing you can do is run
hdparm -d /dev/hda
which should give output like this:This tells you that your system is using Direct Memory Addressing, a much faster way of talking to hard drives. If it isn't, you can enable it with
hdparm -d 1 /dev/hda
.It's probably worth checking whether your hard drive is reporting any failures itself, but I don't have time to write that up right now; see if the above gets you anywhere and make sure you have backups!