Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 04 Sep 2002 11:31:42 -0400 (EDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Andrew Gallatin <gallatin@cs.duke.edu>
Cc:        alpha@FreeBSD.ORG, peter@FreeBSD.ORG
Subject:   Re: FYI: Buffer cache fix gave major speedup
Message-ID:  <XFMail.20020904113142.jhb@FreeBSD.org>
In-Reply-To: <15734.5236.873517.46531@grasshopper.cs.duke.edu>

next in thread | previous in thread | raw e-mail | index | archive | help

On 04-Sep-2002 Andrew Gallatin wrote:
> 
> John Baldwin writes:
>  > >  > 
>  > >  > If this bug exists in 4.x we should really fix it there as well.
>  > >  > 
>  > > 
>  > > Are you talking about btoc()?  I think stable is immune.  A simple
>  > > test shows the buffer cache is working just fine there.
>  > 
>  > Ah, right.
> 
> Maybe not..  The same simple test on a mid-july -current shows the
> buffer cache works there too, I assume:
> 
> <10:07am>monet/gallatin:tmp>du -hs zot
> 200M                         zot
> <10:07am>monet/gallatin:tmp>dd if=zot of=/dev/null bs=64k
> 3200+0 records in
> 3200+0 records out
> 209715200 bytes transferred in 1.871934 secs (112031304 bytes/sec)
> 
> (and iostat shows no disk activity)
> 
> I guess I'm confused..

Hmm, using top, I have 0 cache during a cvs up.

Mem: 17M Active, 10M Inact, 46M Wired, 51M Buf, 929M Free

Hmm, maybe that is ok then?  stable has vm.iodirenable on so
maybe that's why I don't have any 'cache' and a large 'buf'
instead.
 
> Drew

-- 

John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-alpha" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.20020904113142.jhb>