Messages in this thread | | | From | Bernd Eckenfels <> | Subject | Re: why swap at all? | Date | Tue, 01 Jun 2004 01:30:05 +0200 |
| |
In article <40BBB5F7.1010407@yahoo.com.au> you wrote: > Well, at the "expense" of paging out unused memory. I don't see > any swapin.
On a slow system with small memory you quite often see swapped out applications like for example a kopete messenger windows. Once you click on it, it takes 10sec or more to get responsive again. Of course its a slow system, but gradually paging out and forgetting image pages has that effecct on faster systems too, makes the desktop sluggish.
> Well yes, but if I had another 57MB of physical memory then I would > still turn on swap so that other 57MB of unused memory isn't wasted.
Actually the number of totally unused memory is quite small. Therefore the pages get swapped in sooner or later anyway. And even if you turn of fswap completely, the image pages backed up by binaries on disk get still freeded, if the code is unused. So on my multimedia system I prefer to have no swap (1GB ram) and make sure the pages are not freeded so aggressivley to keep the system smooth and responsive (and allow spin down of the disk).
Bernd -- eckes privat - http://www.eckes.org/ Project Freefire - http://www.freefire.org/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |