From owner-freebsd-questions Mon Mar 10 21:37:17 2003 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 23CAA37B401 for ; Mon, 10 Mar 2003 21:37:16 -0800 (PST) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5354E43F93 for ; Mon, 10 Mar 2003 21:37:15 -0800 (PST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.7/8.12.7) id h2B5bEEW093008; Mon, 10 Mar 2003 23:37:14 -0600 (CST) (envelope-from dan) Date: Mon, 10 Mar 2003 23:37:14 -0600 From: Dan Nelson To: Bill Moran Cc: questions@FreeBSD.ORG Subject: Re: What is a practical max nujmber of files in a directory Message-ID: <20030311053714.GG34011@dan.emsphone.com> References: <3E6D6A0F.5040704@potentialtech.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3E6D6A0F.5040704@potentialtech.com> X-OS: FreeBSD 5.0-CURRENT X-message-flag: Outlook Error User-Agent: Mutt/1.5.3i 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 In the last episode (Mar 10), Bill Moran said: > Question for the gurus or anyone who has done any test on filesystem > performance. > > Where is the point at which a directory has too many files in it? > Mainly with regard to performance degredation? It Depends http://www.cnri.dit.ie/Downloads/fsopt.pdf has a nice rundown of the performance benefits of softupdates, dirhash, dirpref, and vmiodir for different benchmarks (including tests on directories with up to 20000 files). vmiodir and dirpref are now on by default, but the results for softupdates and dirhash are still useful. -- Dan Nelson dnelson@allantgroup.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message