Subject: Re: "failed to map ubc_object" panic on CATS (Re: IDE Breakage in 1.5: false alarm? )
To: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
From: Chuck Silvers <chuq@chuq.com>
List: port-arm32
Date: 02/09/2001 09:10:14
On Sat, Feb 10, 2001 at 01:40:50AM +0900, Izumi Tsutsui wrote:
> NetBSD 1.5R (DIAMANTE) #230: Sat Feb 10 00:26:59 JST 2001
>     tsutsui@diamante:/usr/src/sys/arch/arm32/compile/DIAMANTE
> total memory = 98304 KB
> avail memory = 87588 KB
> using 307 buffers containing 5016 KB of memory
> ---
> 
> BTW, how many buffers are recommended on UBC?

oh!  the problem here is that each buffer is using MAXBSIZE (ie. 64K)
of virtual space, so the 307 buffers are using 19MB of KVA.
UBCified filesystems don't need big buffer-cache buffers to do
i/o clustering, so you could just reduce MAXBSIZE to 8192 if you
don't have any filesystems with a blocksize larger than that.
the only filesystem not UBCified yet is LFS, so if you're using
LFS then you probably want to reduce the number of buffers
by half instead.


-Chuck