Rclone => MergerFS => Plex. Slow speeds. Better configuration?

Hey! So I'm using MergerFS for streaming to Plex.

In the end, I can't even do that because of the slow speed. The server has 2xNVMe SSD's in RAID-0.

Maybe I'm using the wrong configuration?

Rclone:

--allow-other \
--buffer-size 1G \
--dir-cache-time 72h \
--drive-chunk-size 128M \
--umask 002 \
--vfs-read-chunk-size 512M \
--vfs-read-chunk-size-limit off \
--gid 1000 \
--uid 1000

MergerFS:

async_read=false,use_ino,allow_other,auto_cache,func.getattr=newest,category.action=all,category.create=ff

Some tests

dd if=/dev/zero of=/home/marshy/rclone/gmedia/benchmark ibs=1M obs=512 count=1024 iflag=dsync,nocache oflag=dsync,nocache conv=fdatasync status=progress
1070596096 bytes (1.1 GB, 1021 MiB) copied, 241 s, 4.4 MB/s
1024+0 records in
2097152+0 records out
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 241.663 s, 4.4 MB/s

dd if=/dev/zero of=/home/marshy/rclone/gmedia/benchmark ibs=1M obs=1M count=1024 iflag=dsync,nocache oflag=dsync,nocache conv=fdatasync status=progress
840957952 bytes (841 MB, 802 MiB) copied, 1 s, 840 MB/s
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 1.28396 s, 836 MB/s

dd if=/home/marshy/rclone/gmedia/benchmark of=/dev/md2 bs=512 count=102400 iflag=dsync,nocache oflag=dsync,nocache conv=fdatasync status=progress
35447296 bytes (35 MB, 34 MiB) copied, 2 s, 17.7 MB/s
102400+0 records in
102400+0 records out
52428800 bytes (52 MB, 50 MiB) copied, 2.80136 s, 18.7 MB/s


dd if=/home/marshy/rclone/gmedia/benchmark of=/dev/md2 bs=1M count=1024 iflag=dsync,nocache oflag=dsync,nocache conv=fdatasync status=progress
1004535808 bytes (1.0 GB, 958 MiB) copied, 3 s, 335 MB/s
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 3.24833 s, 331 MB/s

MergerFS version

mergerfs version: 2.28.3
FUSE library version: 2.9.7-mergerfs_2.29.0
fusermount version: 2.9.9
using FUSE kernel interface version 7.29

What rclone version are you running?

Can you share a debug log of the issue when you are seeing slow speeds?

I use mergerfs and rclone and it works quite well.

Hey! Sure. With debug log you wanna see?

I'm asking for the mount in debug log and reproduce the issue.

Per my tests, all is fine now.

I think it was due kernel issue. Used custom one (xanmod).

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