>   >
>   > id   Relative path to /var/qmail/mail
>   > 0 0/0/0/0/0/0/0/0
>   > 1 0/0/0/0/0/0/0/1
>   > . ....
>   > . ....
>   > 15        0/0/0/0/0/0/0/f
>   > 16        0/0/0/0/0/0/1/0
>   > 17        0/0/0/0/0/0/1/1
>   >
>   > Got the ideia ?

> The basic idea is good, but I think your directory tree is
> much deeper than neccesary. If you use NFS, I think it will have
> a performance impact.

I'm with Gjermund. Anything more than three levels deep is probably
excessive. I tend to use the letters of the user as sub-dirs, so
"john" ends up in /var/mail/j/o/john, or perhaps /var/mail/j/o/h/john,
which gives 26^3 directories. Assuming an even distribution (which
it's not), a server supporting 64K users would end up with just 3
entries per sub-dir!

In any event, any reasonable distribution alg will work and anything
more that 3 directory levels is probably excessive for all but the
most pathological of situations.


Regards.

Reply via email to