I don't want this to turn into one of those ext3 vs xfs conversations.
I want to know which filesystem is a better choice for having lots (>4billion) directories. The dirs will be in tree format, so at the root will be 256 dirs, each with 256 sub-dirs, each with 256 sub-dirs. This will go on for 8 to 12 levels deep (I don't know yet) Then each dir will have one small file in it (<32bytes). How would I tune ext3 for this? What about XFS, I read that some of it's features might be useful to me for this project. Any good links? I don't even know what phrases to Google for this one, my results have been unhelpful.
ReiserFS does deal with billions of tiny files better than almost all other file systems. You're going to run into inode issues with ext3 as well. However what you're doing sounds like it belongs in a database instead of creating weird data structures within your filesystem.
kashani
-- [email protected] mailing list
