3 ms·
It uses FUSE and there's three types of Kernel cache you could use with FUSE (although, it seems like gcsfuse is exposing only one): 1. Cache of file attribute
by plicense 3y ago
It uses FUSE and there's three types of Kernel cache you could use with FUSE (although, it seems like gcsfuse is exposing only one):
1. Cache of file attributes in the Kernel (this is controlled by "stat-cache-ttl" value - https://github.com/GoogleCloudPlatform/gcsfuse/blob/7dc5c7ff1c54419cb3224012e29a8803e9d6ed8e/docs/semantics.md?plain=1#L46 https://github.com/GoogleCloudPlatform/gcsfuse/blob/7dc5c7ff...)
2. Cache of directory listings
3. Cache of file contents
It should be possible to use (2) and (3) for a better performance but might need changes to the underlying fuse library they use to expose those options.
- jarym 3y agoThanks so much - this sort of info absolutely should be in the docs (and easy to find)