Subject: Re: BUFCACHE
To: matthew green <mrg@eterna.com.au>
From: Antti Kantee <pooka@iki.fi>
List: port-sparc
Date: 12/13/1999 14:15:05
On Sun Dec 12 1999 at 10:34:38 +1100, matthew green wrote:

> it is the sparc port's fault.
> 
> due to several issues, the sparc port is by default limited to what
> you see above.  you can work around this by editing the sparc
> machdep.c to change the code that limits these values, and also
> decreasing MAXBSIZE so that kernel memory is not overused.  i
> personally use these values:
> 
> 	options         MAXBSIZE=16384
> 	options         NBUF=2048
> 	options         BUFPAGES=4096

Ah, would this be one of the issues:

esp0: DMA error; resetting
esp0: waiting for SCSI Bus Reset to happen
sd1: disk label read error
sd1(esp0:3:0): max sync rate 4.80Mb/s
cannot mount root, error = 6
root device (default sd1a):

I get that (and a bunch of DMA errors before that) as soon as I tweak
MAXBSIZE, NBUF and BUFPAGES. Will I just have to live with 512kb buffer
cache (and wait hard for UBC which will hopefully fix it...)?

-- 
  "Never underestimate the power of the Lite side of the \Source/"
 Antti Kantee   /       NetBSD        \  1973 <- draken   \    / o
<pooka@iki.fi> / http://www.netbsd.org \  platters -> 1999 \  /  |
______________/ Free Multiplatform UN*X \___________________\/__ |