From owner-freebsd-stable@FreeBSD.ORG Tue Aug 2 09:58:39 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 281A71065773 for ; Tue, 2 Aug 2011 09:58:39 +0000 (UTC) (envelope-from doconnor@gsoft.com.au) Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) by mx1.freebsd.org (Postfix) with ESMTP id 6D4E38FC0A for ; Tue, 2 Aug 2011 09:58:37 +0000 (UTC) Received: from ur.gsoft.com.au (Ur.gsoft.com.au [203.31.81.44]) (authenticated bits=0) by cain.gsoft.com.au (8.14.4/8.14.3) with ESMTP id p729k2Se052713 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Tue, 2 Aug 2011 19:16:08 +0930 (CST) (envelope-from doconnor@gsoft.com.au) Mime-Version: 1.0 (Apple Message framework v1244.3) Content-Type: text/plain; charset=us-ascii From: "Daniel O'Connor" In-Reply-To: <20110802094226.GA93114@icarus.home.lan> Date: Tue, 2 Aug 2011 19:16:02 +0930 Content-Transfer-Encoding: quoted-printable Message-Id: <42039B84-D6CE-4780-AA70-8500B1B32036@gsoft.com.au> References: <20110802090830.GA92646@icarus.home.lan> <20110802094226.GA93114@icarus.home.lan> To: Jeremy Chadwick X-Mailer: Apple Mail (2.1244.3) X-Spam-Score: -4.164 () ALL_TRUSTED,BAYES_00,RP_MATCHES_RCVD X-Scanned-By: MIMEDefang 2.67 on 203.31.81.10 Cc: freebsd-stable@freebsd.org, "seanrees@gmail.com" 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:58:39 -0000 On 02/08/2011, at 19:12, Jeremy Chadwick wrote: > When I was being taught the ropes of system administration at Oregon > State, the team of crotchety UNIX admins there made it quite clear = that > there were things you just Did Not Do(tm) to computer systems. = Shoving > thousands of files into a single directory with no hierarchy was one = of > them. Sounds like a terminal case of Stockholm syndrome ;) It might be avoidable by the user being nice to the computer, but come = on.. The computer is supposed to do tedious crap that humans don't like. I am pretty sure UFS does not have this problem. i.e. once you = delete/move the files out of the directory its performance would be good = again. If it is a limitation in ZFS it would be nice to know that, perhaps it = truly, really is a bug that can be avoided (or it's inherent in the way = ZFS handles such things) -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C