[Dovecot] XFS vs EXT4 for mail storage

Luigi Rosa lists at luigirosa.com
Thu May 2 14:54:10 EEST 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Charles Marcus said the following on 02/05/2013 13:16:

> So, anyone (Stan?) have any suggestions? Should I go with EXT4? Or XFS with
> just the defaults? Or XFS with one or more tuned parameters?

Expecially when you are working in virtual environments, keep in mind the
concept of "I/O cascading"

The bottleneck of virtual environment are often IOPS (I/O per second), so a VM
that has a light footprint of IOPS will have a better performance.

The I/O cascading is in essence the muptiplying factor of each disk write at
application level. Consider a SQL UPDATE statement: you have date written on
database and trasaction log. Each file will have its mtime updated. If the
underlying file system is transactional you will have double writes for actual
file and transaction log... And so on.

The first and obvious advice (quite a default nowdays with SSD storage) is to
mount the FS with noatime. But I think that is obvius as "do backups".





Ciao,
luigi

- -- 
/
+--[Luigi Rosa]--
\

If one morning I walked on top of the water across the Potomac River,
the headline that afternoon would read "President Can't Swim".
       --Lyndon B. Johnson
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iEYEARECAAYFAlGCU+IACgkQ3kWu7Tfl6ZSLjwCgt2MJu5wqXOj4Mt3UdsvmaFc1
cO0AnAmxKtsJ0evmrVXUlnY6e06WtLIL
=Rf7R
-----END PGP SIGNATURE-----


More information about the dovecot mailing list