Re: How do I make this thing stop laging? Reboot? Sounds like Windows!

From: Oliver Neukum (
Date: Wed Jun 18 2003 - 04:44:43 EST

> Swap prefetching? If you have >10% free physical ram and any used swap it
> will start swapping pages back into physical ram. Probably not of real
> benefit but many people like this idea. I have a soft spot for it and like
> using it.
> --
> The disadvantage is ofcourse that you will be using up more RAM than is
> really necessary.

No, free RAM is wasted RAM.
You will start wasting RAM once you refuse to free up
pages you just read from swap space for other more
important needs. But that's a general VM problem.

You'll waste IO bandwidth and CPU power to read in pages
that will be evicted unused, but you may get hits and save
page faults. It's just a matter of selecting pages to be preswapped.

But those preswapped pages are either clean and thus immediately
evictable or you were right to preswap them and saved a page fault.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Mon Jun 23 2003 - 22:00:23 EST