[Gllug] lots of little files

Daniel P. Berrange dan at berrange.com
Sat Oct 15 10:04:12 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'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'm massively limited by the disk IO.

How about re-remount the filesystem as ext2 to remove the extra IO required 
by the journal. When you're done, just tune2fs it to re-enable the journal.

Regards,
Dan.
-- 
|=-            GPG key: http://www.berrange.com/~dan/gpgkey.txt       -=|
|=-       Perl modules: http://search.cpan.org/~danberr/              -=|
|=-           Projects: http://freshmeat.net/~danielpb/               -=|
|=-   berrange at redhat.com  -  Daniel Berrange  -  dan at berrange.com    -=|
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 196 bytes
Desc: Digital signature
URL: <http://mailman.lug.org.uk/pipermail/gllug/attachments/20051015/24fda7b0/attachment.pgp>
-------------- next part --------------
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug


More information about the GLLUG mailing list