[LUNI] file system limitations

Martin Maney maney at pobox.com
Mon Nov 18 14:45:04 CST 2002


On Mon, Nov 18, 2002 at 12:06:26PM -0600, Erik Lickerman wrote:
> You mention that the problem is that a directory is sequentially searched.
> Does this mean that the performance hit is on a program finding a file
> initially, and that as long as it keeps the file open, there is no
> performance penalty for subsequent reads and writes?

Right.  Also, not all filesystems have that linear search issue. 
Reiserfs comes immediately to mind, perhaps because it has long used
the subtitle "trees are fast!"  :-)  I'm not very familar with other
non-ext2/3 filesystems, but I wouldn't be at all surprised if XFS
handled this well, too.  And isn't there a change along these lines
coming to the ext2/3 line too?

-- 
The Internet discourages reflection and deep thought. It
encourages just glossing over, as quick as possible. The
Internet is a terrific way to look up facts and a terrible
way to get a story.  -- Clifford Stoll
                                          



More information about the luni mailing list