EXT2 vs. EXT3: mount w/sync or fdatasync

Andreas Dilger adilger at clusterfs.com
Sat Mar 24 21:25:02 UTC 2007


On Mar 24, 2007  08:19 -0700, brian stone wrote:
> File system configuration:
> - 100G ext3 file system
> - Used a 32M journal on a physically separate device

We normally run our servers with at least 256MB journals - under metadata
intensive loads (including truncates) this can really help.

> - used "ordered" mode for the journal
> - mounted with "noatime,nodiratime,noauto,noacl,nouser_xattr,dirsync"
> - used the mkfs.ext3 -E option to set stripes to 16
>    - RAID0 was using 64K stripes.
>    - fs was using 4K blocks
> - each file transaction did: open(),write(),fsync(),close() 
> - slammed 1024 1MB chucks at it
> 
> I got 36 MB/Sec consistently.  A good sign because with the proper hardware, this would perform really well.

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




More information about the Ext3-users mailing list