From owner-freebsd-alpha Wed Sep 4 8:31:48 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 7B6BF37B400 for ; Wed, 4 Sep 2002 08:31:45 -0700 (PDT) Received: from mail.speakeasy.net (mail11.speakeasy.net [216.254.0.211]) by mx1.FreeBSD.org (Postfix) with ESMTP id 66D9443E72 for ; Wed, 4 Sep 2002 08:31:44 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Received: (qmail 17007 invoked from network); 4 Sep 2002 15:31:44 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail11.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 4 Sep 2002 15:31:44 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.5/8.12.5) with ESMTP id g84FVgBv007934; Wed, 4 Sep 2002 11:31:43 -0400 (EDT) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <15734.5236.873517.46531@grasshopper.cs.duke.edu> Date: Wed, 04 Sep 2002 11:31:42 -0400 (EDT) From: John Baldwin To: Andrew Gallatin Subject: Re: FYI: Buffer cache fix gave major speedup Cc: alpha@FreeBSD.ORG, peter@FreeBSD.ORG 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 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 <>< 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