Skip to content

blobfuse2 difference between --attr-cache-timeout and --attr-timeout #940

Answered by vibhansa-msft
Mmdixon asked this question in Q&A
Discussion options

You must be logged in to vote

--attr-timeout : how long kernel can cache attributes of a given file
--attr-cache-timeout : how long blobfuse attr-cache component can cache the attribute of a given file. If this timeout is greater than kernel timeout even when kernel asks us to refresh the attribute, we can still use our cache instead of asking the storage. This caching is little intelligent compared to kernel one as we keep updating the size and last modified time of a file in local cache as and when file operations are performed. This allows us to reduce GetProperties() call done to storage which are very frequently done by kernel to get metadata of a file.
Also, one major difference about blobfuse caching attribute …

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by vibhansa-msft
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
3 participants