Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: peter@abbnm.com (Peter da Silva)
Subject: Re: No of files in a directory (performance)
Date: Fri, 27 Feb 2004 17:17:32 +0000 (UTC)	[thread overview]
Message-ID: <c1nu3c$1q6l$2@jeeves.eng.abbnm.com> (raw)
In-Reply-To: ff81d3b0.0402270129.205a3e@posting.google.com

In article <ff81d3b0.0402270129.205a3e@posting.google.com>,
Fredrik <paltskallen@hotmail.com> wrote:
> These files are splitted on 100 dirs. Currently there are ~70 000 files
> in each dir.

Name lookup is a linear search. You are likely to see performance problems
with this. I recommend adding two more directory levels.

-- 
I've seen things you people can't imagine. Chimneysweeps on fire over the roofs
of London. I've watched kite-strings glitter in the sun at Hyde Park Gate.  All
these things will be lost in time, like chalk-paintings in the rain.   `-_-'
Time for your nap.  | Peter da Silva | Har du kramat din varg, idag?    'U`


  parent reply	other threads:[~2004-02-27 17:17 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-27  9:29 No of files in a directory (performance) Fredrik
2004-02-27  9:38 ` TyBreaker
2004-02-27 17:17 ` Peter da Silva [this message]
2004-02-28  1:41 ` Bob Harris
2004-03-03 15:26   ` Fredrik
2004-03-03 16:03     ` Bob Harris
2004-03-04  7:57       ` Fredrik
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox