[Dovecot] Directory Layout Performance

Seth Mattinen sethm at rollernet.us
Wed Jul 1 21:48:04 EEST 2009


Mario Antonio Garcia wrote:
> From a performance perspective:
> Which Directory layout is better:
> 1. All mailboxes are stored in a single directory and prefixed with a dot
> or
> 2. Maildirs using physical directories, such as: Maildir/folder/subfolder/
> 
> It looks like the second option -- File Sytem Layout (LAYOUT=fs) --
> could spread the load in a better way ......
> I do not expect a user  reaching maximum number of subfolders in linux ,
> but what about those heavy users with a lot of sub-folders:
> Is there a significant performance gain by choosing a specific 
> Directory Layout ...
> 
> Any Comments?
> 

I use a filesystem that handles this better than ext3 such as XFS or Reiser.

~Seth


More information about the dovecot mailing list