Re: [Dovecot] The docs a re a bit weird on "Directory hashing"

2013-08-11 Thread Jan-Frode Myklebust
On Fri, Aug 09, 2013 at 12:02:34AM +0300, Eliezer Croitoru wrote: > > > > I use: > > > > mail_home = /srv/mailstore/%256LRHu/%Ld/%Ln > "R" what for?? > I do understand a Lower case on the names and have seen the effect but > how would R be helpful?? > According to http://wiki2.dovecot.org/V

Re: [Dovecot] The docs a re a bit weird on "Directory hashing"

2013-08-08 Thread Eliezer Croitoru
Hey, On 08/08/2013 10:29 AM, Jan-Frode Myklebust wrote: > On Thu, Aug 08, 2013 at 01:42:43AM +0300, Eliezer Croitoru wrote: >> >> And means a two layers cache of max 16 directories on the first layer >> and 256 directories on the second layer. >> The above allows millions of files storage and can

Re: [Dovecot] The docs a re a bit weird on "Directory hashing"

2013-08-08 Thread Timo Sirainen
BTW. If you're using v2.2.3+ %N hash works better than the old %H hash. I updated http://wiki2.dovecot.org/Variables for it also. On 8.8.2013, at 1.42, Eliezer Croitoru wrote: > In squid we use a double layer of hashed directories on the FS to allow > storage of millions of files. > I was readi

Re: [Dovecot] The docs a re a bit weird on "Directory hashing"

2013-08-08 Thread Jan-Frode Myklebust
On Thu, Aug 08, 2013 at 01:42:43AM +0300, Eliezer Croitoru wrote: > > And means a two layers cache of max 16 directories on the first layer > and 256 directories on the second layer. > The above allows millions of files storage and can benefit from all ext4 > lower kernel levels of compatibly rath

[Dovecot] The docs a re a bit weird on "Directory hashing"

2013-08-07 Thread Eliezer Croitoru
In squid we use a double layer of hashed directories on the FS to allow storage of millions of files. I was reading the "Directory hashing" section but never understood it.. since it's written.. in a way I could not understand. I am using this line: mail_location = maildir:/home/vmail/%d/%n/Maildir