Skip site navigation (1)Skip section navigation (2)
Date:      14 Dec 2000 12:28:40 +0100
From:      Dag-Erling Smorgrav <des@ofug.org>
To:        Tony Finch <dot@dotat.at>
Cc:        Gustavo Vieira Goncalves Coelho Rios <gustavo@ifour.com.br>, hackers@FreeBSD.ORG
Subject:   Re: very big mail spool directory
Message-ID:  <xzpbsufz1g7.fsf@flood.ping.uio.no>
In-Reply-To: Tony Finch's message of "Wed, 13 Dec 2000 21:44:04 %2B0000"
References:  <3A368F8C.1918684F@ifour.com.br> <xzpsnns4jvx.fsf@flood.ping.uio.no> <20001213214404.P71002@hand.dotat.at>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

DES
-- 
Dag-Erling Smorgrav - des@ofug.org


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?xzpbsufz1g7.fsf>