tech-kern archive

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

Re: Improve caching



On Wed, Nov 25, 2009 at 04:28:55PM +0100, Matthias Kretschmer wrote:
> Hi,
> 
> > There was some discussion about this [1]. And I have found this page  
> > [2] which describes optional page cache replacement algorithms in Linux.
> > 
> > [1] http://marc.info/?l=netbsd-tech-kern&m=111806501516943&w=2
> > [2] http://linux-mm.org/AdvancedPageReplacement
> 
> maybe it would be nice to exchange something like LRU/CLOCK by a
> randomized paging algorithm.

I think the first step should be stabilize CLOCKPRO and make it actually
possible to run busy servers with the alternate paging policies we already
have in the tree.  If CLOCKPRO didn't eat it fairly quickly on large
systems under load, from the literature it looks like it would be a better
alternative than the ad-hoc-modified CLOCK we have by default now.

Once we have the paging algorithms already in the tree stable and working,
then, it seems to me, would be the right time to add more.

Thor


Home | Main Index | Thread Index | Old Index