Increase EXT3 format speed.

Andreas Dilger adilger at dilger.ca
Mon Feb 28 15:25:03 UTC 2011


You can speed up mke2fs by reducing the inode count (-i or -N) if your average file size is over 8kB, reduce the journal size (-J size=4) and/or use the lazy_journal_init patch I posted recently, and/or use the lazy_itable_init option. I assume since format performance is important that you do it often and the risk of an uninitialized inode table is low. 

Or, you could use ext4, which is also faster at runtime, not just format time. 

Cheers, Andreas

On 2011-02-28, at 4:18, Stephane Cerveau <scerveau at awox.com> wrote:

> Dear all,
> 
>  
> 
> On certain USB MSC dongle, the mkfs.ext3 can take around 3 min for 4GB. It seems that the process is locked in sync function. Do you know how I could increase the speed of this process?
> 
> With mkfs.ext4 it’s about 1 min to format it …
> 
>  
> 
>  
> 
> Stéphane Cerveau
> Software Engineer
> 
> scerveau at awox.com
> 
> Phone: +33 4 99 53 27 39
> 
> 
> 93, Pierre Duhem
> 34000 Montpellier
> FRANCE
> Phone: +33 4 67 47 10 00 
> Fax:      +33 4 67 47 10 15
> 
> <image001.jpg>
> 
>  
> 
> 
> 
> __________ Information from ESET NOD32 Antivirus, version of virus signature database 5913 (20110228) __________
> 
> The message was checked by ESET NOD32 Antivirus.
> 
> http://www.eset.com
> _______________________________________________
> Ext3-users mailing list
> Ext3-users at redhat.com
> https://www.redhat.com/mailman/listinfo/ext3-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/ext3-users/attachments/20110228/fb895d2f/attachment.htm>


More information about the Ext3-users mailing list