lkml.org 
[lkml]   [1999]   [Jan]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Open by inode? (was Re: knfsd)
From
Date
(please cc answers to the author, mail sorting is hard otherwise)

> > In arla (a free AFS implementation), we manage a lot of files in a
> > cache directory. If normal lookups are used, this is very slow, since
> > lots of files lie in the same directory. This is speeded up somewhat
> > by the directory cache, but this is not very effective if the file is
> > not used for long and then suddenly used.
>
> Why aren't you using a multilevel cache directory??

Because open-by-handle is even faster (O(1) directory operations) than
multilevel directories (O(log n) directory operations).

/Magnus
map@stacken.kth.se

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

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