Date: Wed, 24 Oct 2001 18:35:32 -0500 (CDT) From: Chris Dillon <cdillon@wolves.k12.mo.us> To: Juha Saarinen <juha@saarinen.org> Cc: David Malone <dwmalone@maths.tcd.ie>, Anatoliy Dmytriyev <tolid@plab.ku.dk>, "freebsd-stable@freebsd.org" <freebsd-stable@FreeBSD.ORG> Subject: Re: UFS_DIRHASH - your opinion Message-ID: <Pine.BSF.4.32.0110241830320.88834-100000@mail.wolves.k12.mo.us> In-Reply-To: <Pine.LNX.4.33.0110251045210.1929-100000@vimfuego.saarinen.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 25 Oct 2001, Juha Saarinen wrote: > On Wed, 24 Oct 2001, David Malone wrote: > > > If you have directories which contains lots of files which are > > accessed repeatedly then it may be a win for you. > > So it'd be good for a Squid volume, e.g? No, it could in fact hurt performance, if I understand correctly. Squid is smart enough to spread the thousands or millions of files it keeps under lots and lots of sub-directories. Each individual directory shouldn't have more than about 255 entries if you set things up right. Besides, even if Squid didn't spread things out, it doesn't need to get a listing of all the files in a directory (except in the event of a dirty cache that needs to be rebuilt) since it keeps its own metadata. -- Chris Dillon - cdillon@wolves.k12.mo.us - cdillon@inter-linc.net FreeBSD: The fastest and most stable server OS on the planet - Available for IA32 (Intel x86) and Alpha architectures - IA64, PowerPC, UltraSPARC, and ARM architectures under development - http://www.freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.32.0110241830320.88834-100000>