Date: Thu, 02 Jan 2003 09:55:30 -0500 From: "MikeM" <myraq@mgm51.com> To: freebsd-questions@FreeBSD.ORG Subject: Re: Lots of files in a directory Message-ID: <200301020955300340.09F341B4@home.24cl.com> In-Reply-To: <20030102141322.GH348@freepuppy.bellavista.cz> References: <200301020901270548.09C1C68B@sentry.24cl.com> <20030102141322.GH348@freepuppy.bellavista.cz>
next in thread | previous in thread | raw e-mail | index | archive | help
On 1/2/03 at 3:13 PM Roman Neuhauser wrote: |# MyRaQ@mgm51.com / 2003-01-02 09:01:27 -0500: |> I'm considering setting up my server as a mirror site for the freedb.org |> lookup database. Unfortunately, I've seem to have run into a stumbling |> block. The server app requires over 250,000 files in a single directory. |> Each file is about 2k in size. |> |> It was a surprise to me (but probably not to those on this list) that the |> file system does not handle that many files in an expeditious manner (I'm |> being kind here). |> | | would this help? (I don't know if this was available in 4.5, look in | your /sys/i386/conf/LINT) | | roman@freepuppy ~ 1003:0 > grep -B2 DIRHASH /sys/i386/conf/LINT | # Directory hashing improves the speed of operations on very large | # directories at the expense of some memory. | options UFS_DIRHASH ============= Thanks for the quick reply. I already have UFS_DIRHASH specified in my kernel config file. :-( To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200301020955300340.09F341B4>