[Dovecot] Benchmarking

Timo Sirainen tss at iki.fi
Sat Jan 27 14:48:22 UTC 2007


On Fri, 2007-01-26 at 21:19 +0100, Axel Thimm wrote:
> On Thu, Jan 25, 2007 at 10:25:03PM +0200, Timo Sirainen wrote:
> > 4) Dovecot's mbox code kicks maildir's ass.
> 
> Perhaps this is just a filesystem issue, XFS is known for handling
> well large streaming-like data and is less optimized for many small
> files. Maybe reiserfs would give you the opposite relationship.

Ah, yes, I didn't think there would be that big of a difference.
Creating a 100MB file inside the XFS system and using it as reiserfs
gave these numbers:

mmap_disable:yes fsync_disable:no format:maildir reiserfs
Logi Sele Fetc Fet2 Stor Dele Expu Appe Disc 
3864 3864 3863 3863 1883 1038 1038 1243 3863 

mmap_disable:yes fsync_disable:no format:mbox reiserfs
Logi Sele Fetc Fet2 Stor Dele Expu Appe Disc 
2289 2289 2289 2289 1141  627  626  730 2288 

With ext3:

mmap_disable:yes fsync_disable:no format:maildir ext2
Logi Sele Fetc Fet2 Stor Dele Expu Appe Disc 
3987 3987 3986 3986 1934 1076 1076 1288 3986 

So ext3 is even faster than reiserfs..

I suppose all those benchmarks should be run again with ext3.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20070127/48c4f653/attachment.pgp 


More information about the dovecot mailing list