[Top][All Lists]

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

Re: Review of Thomas's >2GB ext2fs proposal

From: Neal H. Walfield
Subject: Re: Review of Thomas's >2GB ext2fs proposal
Date: Tue, 17 Aug 2004 06:46:40 -0400
User-agent: Wanderlust/2.8.1 (Something) SEMI/1.14.3 (Ushinoya) FLIM/1.14.3 (Unebigoryƍmae) APEL/10.6 Emacs/21.2 (i386-debian-linux-gnu) MULE/5.0 (SAKAKI)

> > The hashes and an array consisting of the reference count, a bit
> > indicating if the page is in the kernel and another bit indicating if
> > the page is allocated.
> I could perfectly well adopt exactly the same strategy, and use a
> cheaper but less precise policy for dropping cached mappings, if there
> is really concern about the memory consumption of two extra pointers
> per mapping.
> Because mappings are cheaper, it is much less important to have
> excellent long-term behavior.  It is really the near-term things that
> are important; the many successive operations on the same inode, for
> example.  In such a case, it is very unlikely that the drop random
> mapping strategy will drop something actually in active use.

I am interested in the following detail of your plan: when do you
drain the cache?  When it is full?  If we set the cache size to 2GB
then you have a lot of mappings to manage.  The hashes that I have are
proportional to the size of the kernel cache.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]