Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Jan 2003 06:45:38 +0200
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        MikeM <MyRaQ@mgm51.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Lots of files in a directory
Message-ID:  <20030103044538.GB3132@gothmog.gr>
In-Reply-To: <200301021213290839.0A719772@home.24cl.com> <200301020901270548.09C1C68B@sentry.24cl.com>
References:  <20030102084356.R18514-100000@atlas.home> <200301021213290839.0A719772@home.24cl.com> <200301020901270548.09C1C68B@sentry.24cl.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2003-01-02 09:01, MikeM <MyRaQ@mgm51.com> wrote:
> 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.

On 2003-01-02 12:13, MikeM <myraq@mgm51.com> wrote:
> On 1/2/03 at 8:58 AM Mikko Ty?l?j?rvi wrote:
> > It can be argued that the application is poorly designed...
>
> There's no arguing.  It *is* poorly designed.   I would have used a
> hash to spread the files across multiple directories.
> Unfortunately, I didn't design it.

You are probably hitting the limit of fragments that are allowed on a
filesystem and "time optimization" becomes "space optimization".  Are
you getting entries in your system logs like the following?

	optimization changed from TIME to SPACE

- Giorgos

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?20030103044538.GB3132>