Max Files Per Directory
Matthew Miller
mattdm at mattdm.org
Sun Jul 17 03:11:24 UTC 2005
On Sat, Jul 16, 2005 at 02:22:51PM -0400, Tony Nelson wrote:
> I didn't want to try a million files. Creation and listing seem to be
> linear with the number of files, but rm seems quadratic. I think this
> indicates that in my current 2.6.12 FC3 kernel using Ext3 the directory
> data structure is still a list and not a tree.
I get similar results with your script. But try "dumpe2fs | grep features"
on your filesystem and look for dir_index. (Mine has it.) Then, if you want,
try using tune2fs to turn it off and retry the test....
--
Matthew Miller mattdm at mattdm.org <http://www.mattdm.org/>
Boston University Linux ------> <http://linux.bu.edu/>
Current office temperature: 77 degrees Fahrenheit.
More information about the fedora-list
mailing list