From owner-freebsd-questions Mon Jan 13 13:36: 9 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 8768337B401 for ; Mon, 13 Jan 2003 13:36:08 -0800 (PST) Received: from rwcrmhc53.attbi.com (rwcrmhc53.attbi.com [204.127.198.39]) by mx1.FreeBSD.org (Postfix) with ESMTP id 022C543ED8 for ; Mon, 13 Jan 2003 13:36:08 -0800 (PST) (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 rwcrmhc53.attbi.com (rwcrmhc53) with ESMTP id <20030113213607053009jjq4e>; Mon, 13 Jan 2003 21:36:07 +0000 Received: from be-well.ilk.org (lowellg.ne.client2.attbi.com [24.147.188.198] (may be forged)) by be-well.ilk.org (8.12.6/8.12.6) with ESMTP id h0DLa68O019231 for ; Mon, 13 Jan 2003 16:36:06 -0500 (EST) (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 h0DLa62g019228; Mon, 13 Jan 2003 16:36:06 -0500 (EST) X-Authentication-Warning: be-well.ilk.org: lowell set sender to freebsd-questions-local@be-well.ilk.org using -f To: freebsd-questions@freebsd.org Subject: Re: Big directory size References: From: Lowell Gilbert Date: 13 Jan 2003 16:36:06 -0500 In-Reply-To: Message-ID: <44bs2kpwah.fsf@be-well.ilk.org> Lines: 15 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 Varshavchick Alexander writes: > I had a directory with a lot of files (about 100 000), and naturally, the > size of the directory entry itself was big enough (about 1M). Now I've > split all these files to different subdirectories, to increase the system > performance. The major directory entry size didn't change, however such a > big value is not needed now. > > Now here is a question - can an unnessesary big value of a directory > entry size harm the system performance? I guess it does not, is it > correct? If the files were created without the dirhash code in your kernel, it certainly could. It still could with the dirhash, but shouldn't be noticeable at the 100,000-file level. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message