From owner-freebsd-current@FreeBSD.ORG Sat Sep 4 16:56:22 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E433116A4CF; Sat, 4 Sep 2004 16:56:22 +0000 (GMT) Received: from ganymede.hub.org (blk-222-46-91.eastlink.ca [24.222.46.91]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8FC6943D2F; Sat, 4 Sep 2004 16:56:22 +0000 (GMT) (envelope-from scrappy@hub.org) Received: by ganymede.hub.org (Postfix, from userid 1000) id A205D3964B; Sat, 4 Sep 2004 13:32:50 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by ganymede.hub.org (Postfix) with ESMTP id A0EA6395FF; Sat, 4 Sep 2004 13:32:50 -0300 (ADT) Date: Sat, 4 Sep 2004 13:32:50 -0300 (ADT) From: "Marc G. Fournier" To: Don Lewis In-Reply-To: <200409040659.i846x4nM031021@gw.catspoiler.org> Message-ID: <20040904133128.I812@ganymede.hub.org> References: <200409040659.i846x4nM031021@gw.catspoiler.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed cc: freebsd-current@FreeBSD.org Subject: Re: what is fsck's "slowdown"? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Sep 2004 16:56:23 -0000 On Fri, 3 Sep 2004, Don Lewis wrote: > On 4 Sep, Marc G. Fournier wrote: >> On Fri, 3 Sep 2004, Don Lewis wrote: > >>> Would the file system in question happen to be full of UNREF files that >>> fsck is deleting? >> >> mostly 'ZERO LENGTH DIRECTORY' ... > > Hmn, this may be something else then, possibly the buffer lookup in > getdatablk(). It would be very interesting to compile/link a profiled > version of fsck and see what shows up as the hot spot. Are you using > the default value for MAXBUFSPACE (defined in fsck.h). Everything *should* be default ... I've never modified fsck.h myself, but do have a -D flag set in /etc/make.conf to increase KMEM_SIZE so that we're able to increase our # of vnodes, so unless it somehow uses that to change teh default value ... ? ---- Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email: scrappy@hub.org Yahoo!: yscrappy ICQ: 7615664