On Tue, Dec 12, 2000 at 08:50:20PM +, Gustavo Vieira Goncalves Coelho Rios
scribbled:
| i am planning a very big email server, currently i am planning for about
| 8*2^16 users.
[snip]
| What you wizard have to say about my approach?
Why would you not want to have a distributed server in
Tony Finch [EMAIL PROTECTED] writes:
Why a prime number? All you need is an even spread, and given that
user IDs are usually allocated sequentially any modulus will do.
Because a prime number is less likely to cause an imbalance in where
files are actually stored on disk - just like you want
Dag-Erling Smorgrav [EMAIL PROTECTED] wrote:
Tony Finch [EMAIL PROTECTED] writes:
Why a prime number? All you need is an even spread, and given that
user IDs are usually allocated sequentially any modulus will do.
Because a prime number is less likely to cause an imbalance in where
files are
Gustavo Vieira Goncalves Coelho Rios [EMAIL PROTECTED] writes:
The functions that will hash the id, accepts an id as input and returns
a string for the user dir, like:
IdString returned
0 0/0/0/0/0/0/0/0
[..]
That gives you 2^32 leaf directories plus approximately
In message [EMAIL PROTECTED] Tony Finch writes:
: Dag-Erling Smorgrav [EMAIL PROTECTED] wrote:
:
: If you only have half a million users, pick a prime number K close to
: the square root of the expected number of users (724 in your case -
: closest primes are 719 and 727), create that many
Warner Losh [EMAIL PROTECTED] wrote:
In message [EMAIL PROTECTED] Tony Finch writes:
: Dag-Erling Smorgrav [EMAIL PROTECTED] wrote:
:
: If you only have half a million users, pick a prime number K close to
: the square root of the expected number of users (724 in your case -
: closest primes are
Hi folks,
i am planning a very big email server, currently i am planning for about
8*2^16 users.
I known that ufs has not good performance for very big directories,
i.e., using a single directory to hold too many entries may lead to a
low level performance.Since, my approach is to hash the
]]
Sent: Tuesday, December 12, 2000 12:50 PM
To: [EMAIL PROTECTED]
Subject: very big mail spool directory
Hi folks,
i am planning a very big email server, currently i am
planning for about
8*2^16 users.
I known that ufs has not good performance for very big directories,
i.e., using
Matt Simerson wrote:
I do it a little bit differently for my million user mail server. Rather
than perform any (more) hackery on my MTA/MDA than necessary, I set up each
mail domain as it's own UID/GID on the system. This approach has some limits
but so far it's working great for me. With
Gustavo Vieira Goncalves Coelho Rios wrote:
The functions that will hash the id, accepts an id as input and returns
a string for the user dir, like:
Id String returned
0 0/0/0/0/0/0/0/0
1 0/0/0/0/0/0/0/1
. ./././././././.
15
10 matches
Mail list logo