[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

RE: ext3fs still uses sequential search of file names in directories?



Didn't hear back from anyone regarding if there is a way to determine if I
am running the ext3fs with htree.  Is there a way I can do it without
checking the src code since I am running the precompired redhat kernel with
8.0?  Perhaps an entry under /proc somewhere?

Pj

-----Original Message-----
From: Parker Johnson 
Sent: Tuesday, January 14, 2003 3:34 PM
To: 'Andreas Dilger'; Parker Johnson
Cc: 'ext3-users redhat com'; Ops
Subject: RE: ext3fs still uses sequential search of file names in
directories?



Andreas was kind enough to point out that not neccesarily all ext3fs have
htrees ready to go.  I am running redhat8.0 out of the box.  How can I check
if ext3fs with htrees is running?  I can download the kernel source, but I
don't know what options were used when it was built by redhat.

Thanks much for all of your help.
-Parker




-----Original Message-----
From: Andreas Dilger [mailto:adilger clusterfs com]
Sent: Tuesday, January 14, 2003 2:12 PM
To: Parker Johnson
Cc: 'ext3-users redhat com'; Ops
Subject: Re: ext3fs still uses sequential search of file names in
directories?


On Jan 14, 2003  13:43 -0800, Parker Johnson wrote:
> I am trying to determine the optimal filesystem for accessing large
numbers
> of files (25,000+) in a single directory.  I have read that ext3fs uses a
> sequential search algorithm and wanted to verify that this was still
indeed
> the case since this article was published a year ago.

Not necessarily (depends on kernel/filesystem config).  Please search for
"htree" and/or enable the indexed directory feature in the 2.5 or patched
2.4 kernel.

Cheers, Andreas
--
Andreas Dilger
http://sourceforge.net/projects/ext2resize/
http://www-mddsp.enel.ucalgary.ca/People/adilger/





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]