Re: [PATCH] mm - implement swap prefetching

From: Jesper Juhl
Date: Mon Oct 10 2005 - 09:35:35 EST

On 10/10/05, Con Kolivas <kernel@xxxxxxxxxxx> wrote:
> Andrew could you please consider this for -mm
> Small changes to the style after suggestions from Pekka Enberg (thanks), and
> changed the default size of prefetch to gently increase with size of ram.
> Functionally this is the same code as vm-swap_prefetch-15 and I believe ready
> for a wider audience.

+ What this will do on workstations is slowly bring back applications
+ that have swapped out after memory intensive workloads back into
+ physical ram if you have free ram at a later stage and the machine
+ is relatively idle. This means that when you come back to your
+ computer after leaving it idle for a while, applications will come
+ to life faster. Note that your swap usage will appear to increase
+ but these are cached pages, can be dropped freely by the vm, and it
+ should stabilise around 50% swap usage.
+ Desktop users will most likely want to say Y.

How about a little note about the impact for server users as well?
You recommend that desktop users enable this, but you don't give any
recommendation for servers.

Jesper Juhl <jesper.juhl@xxxxxxxxx>
Don't top-post
Plain text mails only, please
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at