Messages in this thread | | | Subject | Re: Open by inode? (was Re: knfsd) | From | Magnus Ahltorp <> | Date | 16 Jan 1999 18:33:56 +0100 |
| |
(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/
| |