Source-Changes-D archive

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

Re: CVS commit: src/lib/libperfuse



On Sun, Oct 23, 2011 at 08:42:35PM +1100, matthew green wrote:
> 
> > matthew green <mrg%eterna.com.au@localhost> wrote:
> > 
> > > this seems like the wrong answer.  if rlimits aren't enough, then the
> > > *user* should be increasing them, not the system.
> > 
> > The problem is that we have no way to pass that as a mount option, and
> > no way to evaluate how much memory will b e required.
> 
> a cache should have _no_ requirement.  just a benefit.

From what I've seen, it has to keep some data structure for every
vnode cached in the kernel. It can't just decide by itself how much
memory to use for its cache.
To make things worse, kern.maxvnodes can be changed after perfused has
been started.

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index