Best mount settings for streaming ( Plex )

Iam currently using

rclone mount
--read-only
--allow-other
--acd-templink-threshold 0
--stats 10s
--buffer-size 1G
-v
--log-file=/home/plex/logs/mountacdcrypt.log
acdcrypt: $MPOINT &
Did not notice any difference with or without -v and logging the advantage with this info log is that you can tail with what speed if file getting transferred. eg
tail -f /home/plex/logs/mountacdcrypt.log | grep ETA

and for unionfs

unionfs-fuse \
        -o cow,allow_other,direct_io,auto_cache,sync_read \
        /storage/local=RW:/mnt/acdcrypt=RO \
        $MPOINT

@toomuchio the max read ahead and checkers wont do anything so you can drop them.

With current unionfs mount its a bit contradictory the direct_io and auto_cache together since

auto_cache
This option enables automatic flushing of the data cache on
open(2). The cache will only be flushed if the modification time
or the size of the file has changed.

while direct_io disables page cache

1 Like