From owner-freebsd-questions Wed Sep 25 6:31:32 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A06E237B401 for ; Wed, 25 Sep 2002 06:31:31 -0700 (PDT) Received: from be-well.ilk.org (lowellg.ne.client2.attbi.com [24.147.188.198]) by mx1.FreeBSD.org (Postfix) with ESMTP id DD09843E3B for ; Wed, 25 Sep 2002 06:31:30 -0700 (PDT) (envelope-from freebsd-questions-local@be-well.no-ip.com) Received: from be-well.ilk.org (lowellg.ne.client2.attbi.com [24.147.188.198]) by be-well.ilk.org (8.12.6/8.12.5) with ESMTP id g8PDVULm029311; Wed, 25 Sep 2002 09:31:30 -0400 (EDT) (envelope-from freebsd-questions-local@be-well.no-ip.com) Received: (from lowell@localhost) by be-well.ilk.org (8.12.6/8.12.6/Submit) id g8PDVTY5029308; Wed, 25 Sep 2002 09:31:29 -0400 (EDT) X-Authentication-Warning: be-well.ilk.org: lowell set sender to freebsd-questions-local@be-well.ilk.org using -f To: trevarthan@wingnet.net Cc: freebsd-questions@FreeBSD.ORG Subject: Re: 4.6.2 filesystem efficiency References: <200209241542.44221.trevarthan@wingnet.net> From: Lowell Gilbert Date: 25 Sep 2002 09:31:29 -0400 In-Reply-To: <200209241542.44221.trevarthan@wingnet.net> Message-ID: <443cryxkjy.fsf@be-well.ilk.org> Lines: 27 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Matthias Trevarthan writes: > Hi. > > My company runs FreeBSD 4.6.2 on three different servers. Two of these servers > handle a good bit of mail. Currently we use sendmail, but we're moving > towards a switch to qmail and maildir. > > I think maildir will significantly increase the number of files on our disk. > We may have to increase inodes. But... > > Just out of curiousity, at what point does FreeBSD's filesystem become > inefficient for large numbers of files in a single directory? > > 300 files? > > 1000 files? > > 10000 files? > > 100000 files? > > more? DIRHASH was standard in the GENERIC kernel by 4.6.2, so you should be fine with hundreds of thousands of files. Just make sure that you have "options UFS_DIRHASH" in your kernel configuration. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message