Re: [Linux-cachefs] debian-testing packages for fscache

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Holger Kaelberer <hkaelber@xxxxxxxxxxxxxxxxxxxxx> 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


[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]
  Powered by Linux