> > 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/