Parker Johnson
2003-Jan-14 21:43 UTC
ext3fs still uses sequential search of file names in directories?
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. http://bulmalug.net/body.phtml?nIdNoticia=1154 <http://bulmalug.net/body.phtml?nIdNoticia=1154&nIdPage=7> &nIdPage=7 Thanks for the help. -Parker
Ricardo Galli
2003-Jan-14 21:56 UTC
Re: ext3fs still uses sequential search of file names in directories?
On Tuesday 14 January 2003 22:43, Parker Johnson shaped the electrons to shout:> 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. > > http://bulmalug.net/body.phtml?nIdNoticia=1154 > <http://bulmalug.net/body.phtml?nIdNoticia=1154&nIdPage=7> &nIdPage=7I'm the author of the article, so I should answer first :-) Now you have HTREE. Yes, it's "backward compatible". Regards, -- ricardo galli GPG id C8114D34
Ricardo Galli
2003-Jan-14 22:00 UTC
Re: ext3fs still uses sequential search of file names in directories?
On Tuesday 14 January 2003 22:43, Parker Johnson shaped the electrons to shout:> 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. > > http://bulmalug.net/body.phtml?nIdNoticia=1154 > <http://bulmalug.net/body.phtml?nIdNoticia=1154&nIdPage=7> &nIdPage=7I'm the author of the article, so I should answer first :-) Now you have HTREE. Yes, it's "backward compatible". Regards, PS: sorry administrators, second try, the first one was sent with wrong identity. -- ricardo galli GPG id C8114D34
Andreas Dilger
2003-Jan-14 22:11 UTC
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/
Seemingly Similar Threads
- ext3 fs: no userspace writes == no disk writes ?
- Filesystem for Samba server
- RE: ext3fs still uses sequential search of file names in director ies?
- to compare journalised file systems with Linux.
- RE: ext3fs still uses sequential search of file names in director