From owner-freebsd-alpha Wed Sep 4 8:51:42 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4169837B400; Wed, 4 Sep 2002 08:51:39 -0700 (PDT) Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id CFD2F43E72; Wed, 4 Sep 2002 08:51:15 -0700 (PDT) (envelope-from ticso@cicely5.cicely.de) Received: from cicely5.cicely.de (cicely5.cicely.de [IPv6:3ffe:400:8d0:301:200:92ff:fe9b:20e7]) by srv1.cosmo-project.de (8.12.5/8.12.5) with ESMTP id g84Fp06i058937 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Wed, 4 Sep 2002 17:51:02 +0200 (CEST) (envelope-from ticso@cicely5.cicely.de) Received: from cicely5.cicely.de (localhost [IPv6:::1]) by cicely5.cicely.de (8.12.1/8.12.1) with ESMTP id g84Fp0UV088002 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Wed, 4 Sep 2002 17:51:00 +0200 (CEST)?g (envelope-from ticso@cicely5.cicely.de) Received: (from ticso@localhost) by cicely5.cicely.de (8.12.1/8.12.1/Submit) id g84Fp0b7088001; Wed, 4 Sep 2002 17:51:00 +0200 (CEST)?g (envelope-from ticso) Date: Wed, 4 Sep 2002 17:50:59 +0200 From: Bernd Walter To: John Baldwin Cc: Andrew Gallatin , alpha@FreeBSD.org, peter@FreeBSD.org Subject: Re: FYI: Buffer cache fix gave major speedup Message-ID: <20020904155059.GB87724@cicely5.cicely.de> Reply-To: ticso@cicely.de References: <15734.5236.873517.46531@grasshopper.cs.duke.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD cicely5.cicely.de 5.0-CURRENT i386 User-Agent: Mutt/1.5.1i Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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