From owner-freebsd-current@FreeBSD.ORG Thu Aug 25 22:39:18 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org 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 C144216A41F for ; Thu, 25 Aug 2005 22:39:18 +0000 (GMT) (envelope-from kometen@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4C5E243D49 for ; Thu, 25 Aug 2005 22:39:18 +0000 (GMT) (envelope-from kometen@gmail.com) Received: by wproxy.gmail.com with SMTP id i21so107089wra for ; Thu, 25 Aug 2005 15:39:17 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=V0r8gf/TP3Z3AUsB38BPPt7QX1rJI4DxfhFsXvPh1cEjmxBcHdvoysIxmxTDLStMxZ594XGuOyDstbHSY/0/xSOEyrfxAGIGBF1NDbJHQBHf9iOkCJ7QelmjaM/vCHTgbRBsET0yT6/vccPb2T64GdHeocsDpyJmdGIrlRqqwDA= Received: by 10.54.50.74 with SMTP id x74mr2579234wrx; Thu, 25 Aug 2005 15:39:17 -0700 (PDT) Received: by 10.54.107.9 with HTTP; Thu, 25 Aug 2005 15:39:17 -0700 (PDT) Message-ID: Date: Fri, 26 Aug 2005 00:39:17 +0200 From: Claus Guttesen To: Marian Hettwer In-Reply-To: <430E3743.3030108@kernel32.de> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <430E06AA.2000907@kernel32.de> <6.2.3.4.0.20050825135916.07a19ac8@64.7.153.2> <430E3743.3030108@kernel32.de> Cc: freebsd-current@freebsd.org, Mike Tancsa Subject: Re: filesystem performance with lots of small files X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Thu, 25 Aug 2005 22:39:18 -0000 > I didn't changed anything from the defaults... it looks like that: > mhettwer@submaster-test$ sysctl vfs.ufs.dirhash_maxmem > vfs.ufs.dirhash_maxmem: 2097152 > mhettwer@submaster-test$ sysctl vfs.ufs.dirhash_mem > vfs.ufs.dirhash_mem: 368622 You could try the following change: sysctl vfs.ufs.dirhash_maxmem=3D8388608 Did you use the GENERIC-kernel? If so, remember that witness, invariants etc. are a part of the RELENG_6-branch. You should disable these settings with a custom-build kernel. You may also want to read /usr/src/UPDATING. regards Claus