[Gllug] lots of little files

Richard Jones rich at annexia.org
Sat Oct 15 08:23:20 UTC 2005


On Sat, Oct 15, 2005 at 01:46:40AM +0100, Minty wrote:
> I have a little script, the job of which is to create a lot of very
> small files (~1 million files, typically ~50-100bytes each).

I too would be seriously tempted to change to using a database.

> I'm running on a 500Mhz box PII box with a new 7,200rpm ATA disk.
> Debian Stable / Sarge. Ext3.  It's a old compaq desktop.

I hope the files aren't all in the same directory, or else ext3 is
going to behave very badly.  Limit yourself to max 10,000 files /
directory.

Rich.

-- 
Richard Jones, CTO Merjis Ltd.
Merjis - web marketing and technology - http://merjis.com
Team Notepad - intranets and extranets for business - http://team-notepad.com
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list