[lkml]   [1997]   [Dec]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Filesystem optimization..
> The change should dramatically improve path lookups (the inode for the
> next directory segment is inline with the name, so saves you a seek
> per segment), random open()'s (saves you a seek per open), find(1)'s
> all over, etc etc.

If you have plenty of memory the odds of the directory not being in
memory when you fetch the inodes are pretty low IMHO, especially as the
directory will be readahead.

> Comments?? (people dying to implement such a beast? :)

Are you sure its not in fact the time taken to walk directories that is
doing the damage, especially if they are big directories. If so then a
btree directory format makes more sense.


 \ /
  Last update: 2005-03-22 13:40    [W:0.070 / U:18.768 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site