cberni
(Cristiano Albiero Berni)
May 19, 2021, 9:50pm
1
rclone v1.55.1
ubuntu 20.04 lts server
google cloud storage
command:
rclone mount gcloud:test /gcloud -vv
whats is the difference between --attr-timeout and --dir-cache-time ?
what is the largest value for --attr-timeout ?
(the files are just with one instance of rclone)
Attributes is documented here:
https://rclone.org/commands/rclone_mount/#attribute-caching
Directory cache is documented here:
https://rclone.org/commands/rclone_mount/#vfs-directory-cache
You can set either to as large or as small as you want depending on what you are trying to accomplish. The backend matters as a polling backend usually means a larger directory cache time.
cberni
(Cristiano Albiero Berni)
May 19, 2021, 11:24pm
3
with --dir-cache-time 6h would be sad --attr-timeout set to 1h?
It's really up to you one what you want to configure as I use the default of 1 second and since I use Google Drive, I use 1000h for my dir-cache time.
There isn't a set 'time' for any of this as it depends what backend you are using and what the use case is.
cberni
(Cristiano Albiero Berni)
May 20, 2021, 1:29am
5
and witch --attr-timeout do you use in this case?
I use the default of 1 second so no parameter.
1 Like
ncw
(Nick Craig-Wood)
May 21, 2021, 8:44am
7
That is what I'd recommend. --attr-timeout
controls caching in the kernel - it doesn't cost much for the kernel to ask rclone and it makes sure that the kernel is never out of data with respect to rclone.
1 Like
system
(system)
Closed
July 21, 2021, 4:45am
8
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.