Re: [PATCH] mm - implement swap prefetching

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 11 Oct 2005 00:35, Jesper Juhl wrote:
> On 10/10/05, Con Kolivas <[email protected]> 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.

Your guess is as good as mine. I can easily demonstrate a benefit when using 
it with desktop workloads but a server? It's not expensive to run but I don't 
really know if it's advantageous either. If I had to take a guess, a server 
that had multiple user logins running applications would benefit, but 
database, web servers etc I doubt would benefit.

Cheers,
Con
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux