[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?



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]