Re: Backup from huge Maildirs
Craig Sanders <email@example.com> wrote:
> not every filesystem has abysmal performance when you have many
> thousands of files in one directory. ext2 and ext3 perform quite badly
> in this situation.
> two file systems that perform well are reiserfs and XFS.
In the past, i had reiserfs for big Maildirs. After a power outage,
reiserfsck ran for about 24 hours... No data loss, but that's very long.
I then did some testing with ext3 and reiserfs on a typical Maildir, on
the same hardware and same disk. I don't have the numbers anymore, but
ext3 with dir_index was slightly faster. I just have all my mail servers
now running ext3 without performance penalty.
Just make sure you have dir_index parameter enabled on your ext3
partition (use tune2fs).