From owner-freebsd-stable@FreeBSD.ORG Tue Aug 2 09:08:32 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9FDCA106566C for ; Tue, 2 Aug 2011 09:08:32 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from qmta11.emeryville.ca.mail.comcast.net (qmta11.emeryville.ca.mail.comcast.net [76.96.27.211]) by mx1.freebsd.org (Postfix) with ESMTP id 880808FC0C for ; Tue, 2 Aug 2011 09:08:32 +0000 (UTC) Received: from omta04.emeryville.ca.mail.comcast.net ([76.96.30.35]) by qmta11.emeryville.ca.mail.comcast.net with comcast id FM8U1h0070lTkoCABM8U1y; Tue, 02 Aug 2011 09:08:28 +0000 Received: from koitsu.dyndns.org ([67.180.84.87]) by omta04.emeryville.ca.mail.comcast.net with comcast id FM8W1h00W1t3BNj8QM8Xv2; Tue, 02 Aug 2011 09:08:31 +0000 Received: by icarus.home.lan (Postfix, from userid 1000) id 938AF102C36; Tue, 2 Aug 2011 02:08:30 -0700 (PDT) Date: Tue, 2 Aug 2011 02:08:30 -0700 From: Jeremy Chadwick To: "seanrees@gmail.com" Message-ID: <20110802090830.GA92646@icarus.home.lan> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-stable@freebsd.org Subject: Re: ZFS directory with a large number of files X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Aug 2011 09:08:32 -0000 On Tue, Aug 02, 2011 at 08:39:03AM +0100, seanrees@gmail.com wrote: > On my FreeBSD 8.2-S machine (built circa 12th June), I created a > directory and populated it over the course of 3 weeks with about 2 > million individual files. I'll keep this real simple: Why did you do this? I hope this was a stress test of some kind. If not: This is the 2nd or 3rd mail in recent months from people saying "I decided to do something utterly stupid with my filesystem[1] and now I'm asking why performance sucks". Why can people not create proper directory tree layouts to avoid this problem regardless of what filesystem is used? I just don't get it. [1]: Applies to any filesystem, not just ZFS. There was a UFS one a month or two ago too... -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, US | | Making life hard for others since 1977. PGP 4BD6C0CB |