Re: [patch] vm early reclaim orphaned pages

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

 



On Thu, 2005-06-16 at 20:34 -0700, Andrew Morton wrote:
> Nick Piggin <[email protected]> wrote:
> >
> >  We have workloads where orphaned pages build up and appear to slow
> >  the system down when it starts reclaiming memory.
> > 
> >  Stripping the referenced bit from orphaned pages and putting them
> >  on the end of the inactive list should help improve reclaim.
> 
> Presumably if do_invalidatepage() failed, there's some reason why this page
> is not reclaimable (eg, JBD is still dinking with it).  Hence there's a
> very good chance that kswapd won't be able to reclaim it either.
> 

Yeah that is a problem I was worried about. Perhaps just stripping
PageReferenced and putting it on the *front* of the inactive list
would be better?

> Adding some instrumentation would be useful: set some new page flag on
> these pages and then accumulate the success/failure stats in vmscan.c, see
> what they say.
> 

OK.

[snip patch]

> A standalone function in swap.c would be nicer.

Will do. Thanks.


-- 
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