Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Dec 2000 19:33:05 +0000
From:      Tony Finch <dot@dotat.at>
To:        Dag-Erling Smorgrav <des@ofug.org>
Cc:        Gustavo Vieira Goncalves Coelho Rios <gustavo@ifour.com.br>, hackers@FreeBSD.ORG
Subject:   Re: very big mail spool directory
Message-ID:  <20001214193305.D92196@hand.dotat.at>
In-Reply-To: <xzpbsufz1g7.fsf@flood.ping.uio.no>
References:  <3A368F8C.1918684F@ifour.com.br> <xzpsnns4jvx.fsf@flood.ping.uio.no> <20001213214404.P71002@hand.dotat.at> <xzpbsufz1g7.fsf@flood.ping.uio.no>

next in thread | previous in thread | raw e-mail | index | archive | help
Dag-Erling Smorgrav <des@ofug.org> wrote:
>Tony Finch <dot@dotat.at> 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 an odd (and
>preferably prime) stripe size on RAIDs to (amongst other reasons)
>avoid having all the superblock backups end up on the same disk.

That's another situation in which the collision rate is very low.
I still think any number of about the right size will do.

Tony.
-- 
f.a.n.finch    fanf@covalent.net    dot@dotat.at
" ``Well, let's go down and find out who's grave it is.''
``How?''  ``By going down and finding out!'' "


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001214193305.D92196>