Subject: Re: Limiting memory usage of bufcache?
To: Oleg Polianski <Oleg.Polianski@clear.co.nz>
From: Wojciech Puchar <wojtek@wojtek.3miasto.net>
List: netbsd-users
Date: 08/22/2001 08:26:14
>
> using 6574 buffers containing 26296 KB of memory
>
>  (these numbers are for machine with 0.5Gb of RAM). Please feel free to
>  correct me if I'm wrong - I'm not VM expert.
I think you are wrong. 26296KB of memory is statically allocated to keep
metadata (directories, inodes, bitmaps), while everything else is
allocated dynamically and competes with program data and text pages.
there are some tuning options which were mentioned in tech-kernel about
setting min and max of memory allocated to dynamic buffers in -current,
but i'm not tracking current now.