Mount flags that can increase performance (speed up access to files)

What is the problem you are having with rclone?

I am seeking advice on how to increase playback performance for small media files, specifically to decrease the amount of time between when the file is opened and when the file starts to play.

With my current settings it takes 8-15 seconds to start playback of the file with the mount settings listed below.

I am attempting to cloudify several apps (UI front ends) with rclone mount as the data back end.

What is your rclone version (output from rclone version)

rclone v1.50.2

  • os/arch: linux/amd64
  • go version: go1.13.6

rclone v1.53.0-DEV

  • os/arch: android/arm
  • go version: g01.13.4

Which OS you are using and how many bits (eg Windows 7, 64 bit)

KDE Neon and Android 10

Which cloud storage system are you using? (eg Google Drive)


The command you were trying to run (eg rclone copy /tmp remote:tmp)

rclone mount \
    --config=rclone.conf \
    -vv \
    --fast-list \
    --stats=1h \
    --checkers=100 \
    --uid=1000 \
    --dir-perms=0777 \
    --gid=1000 \
    --attr-timeout=1s \
    --dir-cache-time=5m \
    --poll-interval=1m0s \
    --cache-db-purge \
    --cache-dir=/tmp/rclone \
    --vfs-cache-poll-interval=1m \
    --vfs-cache-max-age=1h0m0s \
    --vfs-cache-max-size=0 \
    --vfs-cache-mode=writes \
    --buffer-size=16M \
    --max-read-ahead=128k \
    --vfs-read-chunk-size=50K \
    --vfs-read-chunk-size-limit=128M \
remote:path /mount/path

I have tried increasing --vfs-read-chunk-size-limit from very small to very large values and it doesn't seem to have much of an effect.

  • Are there any other flags I can try to add to increase performance?
  • Are there any other values I might try for the flags I have listed above?

Missing the rclone.conf so it's hard to tell what you got going on fully.

Best to start with no flags, use vfs-cache-mode full and go from there.

as @Animosity022 mentioned, vfs-cache-mode full, but you need to update rclone.
and perhaps get rid of the cache backend.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.