Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Sep 2002 17:50:59 +0200
From:      Bernd Walter <ticso@cicely5.cicely.de>
To:        John Baldwin <jhb@FreeBSD.org>
Cc:        Andrew Gallatin <gallatin@cs.duke.edu>, alpha@FreeBSD.org, peter@FreeBSD.org
Subject:   Re: FYI: Buffer cache fix gave major speedup
Message-ID:  <20020904155059.GB87724@cicely5.cicely.de>
In-Reply-To: <XFMail.20020904113142.jhb@FreeBSD.org>
References:  <15734.5236.873517.46531@grasshopper.cs.duke.edu> <XFMail.20020904113142.jhb@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Sep 04, 2002 at 11:31:42AM -0400, John Baldwin wrote:
> 
> 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.

This is on cvsup.de.freebsd.org:
[93]srv1.cosmo-project.de# uname -a
FreeBSD srv1.cosmo-project.de 4.6-STABLE FreeBSD 4.6-STABLE #2: Fri Aug  2 17:38:22 CEST 2002     bernd@srv1.cosmo-project.de:/var/d1/FreeBSD-2002-07-31/src/sys/compile/SRV1  alpha
[94]srv1.cosmo-project.de# top | grep Mem
Mem: 64M Active, 5688K Inact, 37M Wired, 12M Cache, 22M Buf, 680K Free

-- 
B.Walter              COSMO-Project         http://www.cosmo-project.de
ticso@cicely.de         Usergroup           info@cosmo-project.de


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?20020904155059.GB87724>