lkml.org 
[lkml]   [1997]   [Dec]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Filesystem optimization..
Date
> 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.

Alan


\
 
 \ /
  Last update: 2005-03-22 13:40    [W:2.243 / U:0.080 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site