Skip to contentSkip to conversation

Ext3: changes to increase the speed?

DISCUSSION Eriberto 3 participants 4 messages Apr 1, 2007 – Apr 2, 2007 VFS

lore
Share & tools
lore

Eriberto

author
#0 lore raw

Hello all,

I tested ext3 performance recently and the results were very good. I used a script to create 40.000 files into ext3 partition and the speed was 4 seconds. One year before, the result was 55 seconds. Which the cause of this speed increase?

PS: I used Debian Etch.

Thanks in advance!

Eriberto - Brazil

#1 lore raw
Quoted 4 lines · Eriberto

I tested ext3 performance recently and the results were very good. I used a script to create 40.000 files into ext3 partition and the speed was 4 seconds. One year before, the result was 55 seconds. Which the cause of this speed increase?

Likely the mke2fs is enabling the "dir_index" feature by default now. This shows dramatic performance improvements with > 10000 files per directory.

Cheers, Andreas
--
Andreas Dilger
Principal Software Engineer
Cluster File Systems, Inc.

#2 lore raw
In reply to Eriberto

Eriberto:

Which mode do you use for mount (data=writeback, data=ordered, or data=journal) ? I tested to create 1000,000 files in a directory mounted with data=journal option, on a 24GB 7200rpm IDE harddisk, it spent me more then 7 hours.

Best regards.

Coly

Quoted 9 lines · 在 2007-04-01日的 12:11 -0300,Eriberto写道:

Hello all,

I tested ext3 performance recently and the results were very good. I used a script to create 40.000 files into ext3 partition and the speed was 4 seconds. One year before, the result was 55 seconds. Which the cause of this speed increase?

PS: I used Debian Etch.

Quoted 8 lines

Thanks in advance!

Eriberto - Brazil

-
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

-
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

author
#3 lore raw

Hi! I used ordered mode on a Sempron 3000+ / 5400 rpm.

Regards,

Eriberto - Brazil

coly escreveu:

Quoted 4 lines

Which mode do you use for mount (data=writeback, data=ordered, or data=journal) ? I tested to create 1000,000 files in a directory mounted with data=journal option, on a 24GB 7200rpm IDE harddisk, it spent me more then 7 hours.