On Sun, Oct 23, 2011 at 08:42:35PM +1100, matthew green wrote: > > > matthew green <m...@eterna.com.au> 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 <bou...@antioche.eu.org> NetBSD: 26 ans d'experience feront toujours la difference --