I use mount with cache mode full, and it works well. However, I have a question: if the remote file has already been buffered to disk, when reading the mounted file, will the pages be cached separately by both FUSE and the local file system? In other words, will the kernel have two identical page caches? If so, is enabling direct_io a good idea? The read operations are passed to rclone, which should hit the local file system's page cache. Besides this, will there be any other performance impacts if direct_io is enabled?
Run the command 'rclone version' and share the full output of the command.
rclone v1.67.0
- os/version: ubuntu 22.04 (64 bit)
- os/kernel: 5.15.0-112-generic (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.22.4
- go/linking: static
- go/tags: none
Which cloud storage system are you using? (eg Google Drive)
Google Drive
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
rclone mount2 gd: /cloud -o direct_io --vfs-cache-mode full