From owner-freebsd-fs Mon Jul 31 12:47:14 2000 Delivered-To: freebsd-fs@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id 7064437BBFB for ; Mon, 31 Jul 2000 12:47:04 -0700 (PDT) (envelope-from bright@fw.wintelcom.net) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id e6VJkxZ27690; Mon, 31 Jul 2000 12:46:59 -0700 (PDT) Date: Mon, 31 Jul 2000 12:46:59 -0700 From: Alfred Perlstein To: Steve Carlson Cc: freebsd-fs@FreeBSD.ORG Subject: Re: FFS performance for large directories? Message-ID: <20000731124658.G4854@fw.wintelcom.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.4i In-Reply-To: ; from stevec@nbci.com on Mon, Jul 31, 2000 at 12:32:39PM -0700 Sender: owner-freebsd-fs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org * Steve Carlson [000731 12:33] wrote: > First off, my apologies in advance if this is not the type of technical > question expected in this forum - I checked the charter and archives to get > a feel for the theme, but still wasn't sure if this would be inappropriate. > -questions was no help, either... > I'm trying to figure out at what point I can expect performance issues > with an FFS filesystem if I have directories with a massive number of small > files or symlinks. As far as I understand it, there are a number of inodes > located within a cylinder group, and the inodes for files are ideally placed > in the same cylinder group as their parent directory. But if I were to have > a massive number of small files or symlinks in a directory, wouldn't I run > out of local inodes and thus start to see a performance issue when working > in that directory? How can I determine the maximum number of files I should > safely place in a directory without my performance suffering? I've been > unable to find commentary on this in print or on the web - everything I've > read centers only on performance issues when the disk becomes full.