[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Using hash directories


On Fri, May 23, 2003 at 10:24:33AM +0200, Emmanuel Lacour wrote:

> I would like to understand why some softwares such as postfix or squid
> uses hash of directories like:
> a/a/
> b/a/
> c/a/
> d/a/darmond
> e/a/
> f/a/
> for their spools.
> I will set up a server for a lot of mail accounts (~20000) with
> postfix+ldap+maildrop+courier-imap, so is it better to put all Maildirs
> in /home/vmail/ directly or using hash directories? What are the
> benefits?

The benefit is a reduced number of entries per directory. 

A lot of filesystems experience severe degradations above certain entry



E-Advies - Emile van Bergen           emile@e-advies.nl      
tel. +31 (0)70 3906153           http://www.e-advies.nl    

Reply to: