Re: [PATCH] mm: Implement Swap Prefetching v23

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

 



Con Kolivas wrote:
On Friday 10 February 2006 14:25, Andrew Morton wrote:

Con Kolivas <[email protected]> wrote:

Here's a respin with Nick's suggestions and a modification to not cost us
extra slab on non-numa.

v23?  I'm sure we can do better than that.


:D


This patch implements swap prefetching when the vm is relatively idle and
there is free ram available.

I think "free ram available" is the critical thing here.  If it doesn't
evict anyhing else then OK, it basically uses unutilised disk bandwidth for
free.

But where does it put the pages?  If it was really "free", they'd go onto
the tail of the inactive list.


It puts them in swapcache. This seems to work nicely as a nowhere-land place where they don't have much affect on anything until we need them or need more ram. This has worked well, but I'm open to other suggestions.


Well they go on the head of the inactive list and will kick out file
backed pagecache. Which was my concern about reducing the usefulness
of useful swapping on desktop systems.

--
SUSE Labs, Novell Inc.
Send instant messages to your online friends http://au.messenger.yahoo.com -
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