[Linux-cachefs] debian-testing packages for fscache

David Howells dhowells at redhat.com
Tue Sep 12 14:40:40 UTC 2006


Holger Kaelberer <hkaelber at math.uni-bielefeld.de> wrote:

> With this setting I get very bad performance when reading many small
> files. 

When you get a cache miss, you pay a penalty for doing a lookup in the cache,
as you then have to create various directories and a file and slap xattrs on
them.  Each time you look up a new file you pay this penalty again.  So if
you're dealing with a lot of small files it's going to hurt you more than a
few big files.

That's one of the tradeoffs you have to make.  You have to decide if the
overhead of using the cache is worth it with respect to your network latency
and bandwidth.

David




More information about the Linux-cachefs mailing list