Slow media start times with mount cache

After lots of testing i’ve been unable to reduce the load times.

I’ve tried using

--vfs-read-chunk-size 10M \
--vfs-read-chunk-size-limit 512M \

The full mount is now:

/usr/bin/rclone mount cache:MyMedia/Movies-Remux /mnt/plexdrive \
--allow-other \
--dir-cache-time 48h \
--cache-dir /data/rclone \
--vfs-read-chunk-size 10M \
--vfs-read-chunk-size-limit 512M \
--buffer-size 100M \
--umask 002 \
--read-only \
--rc \
--log-level DEBUG \
--log-file=/home/user/.config/rclone/cache/cache.log

which was taken from Guide to replaceing plexdrive/unionfs with rclone cache

The whole mount has already had find . ran beforehand to populate the cache.

15:47:48 - Clicked Play
15:48:19 - Plex loaded data (Showed total time of video in player)
15:48:25 - Plex started playing video

That resulted in a 37 second start time.

Here’s a DEBUG log of the mount when I try and play a movie that is already scanned into and analysed by Plex.

https://pastebin.com/4uA5x3ta

Also just to mention, I am trying to play the files directly from the mount without using unionfs and this server has been tested with a <5 second Plexdrive start time.

Version of rclone is rclone v1.42-013-g6b424213β.

One thing I can see in the logs and also when I run ls -l in the mount dir are some errors. Could they be from displaying non-english characters, i.e Japanese?

2018/06/29 15:59:16 DEBUG : /: >Lookup: node=<nil>, err=no such file or directory
2018/06/29 15:59:16 DEBUG : /: Lookup: name=".git"
2018/06/29 15:59:16 DEBUG : /: >Lookup: node=<nil>, err=no such file or directory
2018/06/29 15:59:16 DEBUG : /: Lookup: name="HEAD"
2018/06/29 15:59:16 DEBUG : /: >Lookup: node=<nil>, err=no such file or directory
2018/06/29 15:59:16 DEBUG : /: Lookup: name=".git"
2018/06/29 15:59:16 DEBUG : /: >Lookup: node=<nil>, err=no such file or directory
2018/06/29 15:59:16 DEBUG : /: Lookup: name=".git"
2018/06/29 15:59:16 DEBUG : /: >Lookup: node=<nil>, err=no such file or directory
2018/06/29 15:59:16 DEBUG : /: Lookup: name=".git"
2018/06/29 15:59:16 DEBUG : /: >Lookup: node=<nil>, err=no such file or directory
2018/06/29 15:59:16 DEBUG : /: Lookup: name=".git"
2018/06/29 15:59:16 DEBUG : /: >Lookup: node=<nil>, err=no such file or directory
2018/06/29 15:59:16 DEBUG : /: Lookup: name=".git"
2018/06/29 15:59:16 DEBUG : /: >Lookup: node=<nil>, err=no such file or directory
2018/06/29 15:59:16 DEBUG : /: Lookup: name=".git"
2018/06/29 15:59:16 DEBUG : /: >Lookup: node=<nil>, err=no such file or directory
2018/06/29 15:59:16 DEBUG : /: Lookup: name="HEAD"
2018/06/29 15:59:16 DEBUG : /: >Lookup: node=<nil>, err=no such file or directory
2018/06/29 15:59:16 DEBUG : /: Lookup: name=".git"
2018/06/29 15:59:16 DEBUG : /: >Lookup: node=<nil>, err=no such file or directory
2018/06/29 15:59:16 DEBUG : /: Lookup: name=".git"
2018/06/29 15:59:16 DEBUG : /: >Lookup: node=<nil>, err=no such file or directory
2018/06/29 15:59:16 DEBUG : /: Lookup: name="HEAD"
2018/06/29 15:59:16 DEBUG : /: >Lookup: node=<nil>, err=no such file or directory