From owner-freebsd-questions Tue Jan 14 0:51:40 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 3C00B37B405 for ; Tue, 14 Jan 2003 00:51:39 -0800 (PST) Received: from apache.metrocom.ru (apache.metrocom.ru [195.5.128.150]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2117243F3F for ; Tue, 14 Jan 2003 00:51:38 -0800 (PST) (envelope-from alex@metrocom.ru) Received: from apache.metrocom.ru (localhost [127.0.0.1]) by apache.metrocom.ru (8.12.6/8.12.6) with ESMTP id h0E8pU8F016659; Tue, 14 Jan 2003 11:51:30 +0300 (MSK) Received: from localhost (alex@localhost) by apache.metrocom.ru (8.12.6/8.12.6/Submit) with ESMTP id h0E8pUDc016656; Tue, 14 Jan 2003 11:51:30 +0300 (MSK) X-Authentication-Warning: apache.metrocom.ru: alex owned process doing -bs Date: Tue, 14 Jan 2003 11:51:30 +0300 (MSK) From: Varshavchick Alexander To: Lowell Gilbert Cc: Subject: Re: Big directory size In-Reply-To: <44bs2kpwah.fsf@be-well.ilk.org> Message-ID: 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 Yes, the kernel has a dirhash option. Thank you for the answer. ---- Alexander Varshavchick, Metrocom Joint Stock Company Phone: (812)118-3322, 118-3115(fax) On 13 Jan 2003, Lowell Gilbert wrote: > Date: 13 Jan 2003 16:36:06 -0500 > From: Lowell Gilbert > To: freebsd-questions@FreeBSD.ORG > Subject: Re: Big directory size > > 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 > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message