I’ve played around with moving the cache-chunk-size from 16M to 32M to super large values. I’ve played around with doing the same from the -buffer-size. I’ve tried move the cache-workers around a little. In the end, I can’t seem to figure out a combination that gives me playback that actually functions:
I’m on gigabit FIOS and my plexdrive config is almost defaults. I shared before that I use mergerfs over unionfs as that gives me a better ability to write locally first and keep my read/write mount for things as well.
I map a /data/local/movies or tv first in my path to write things to and my GDrive second:
My overall plexdrive setup has been working since Aug-2017. If I start a movie on GD, it almost feels if it was local. I can’t tell the difference. I’ve had ~6 streams going via my GDrive without an issue. My goal was to remove an extra layer from the puzzle to simplify things but haven’t been able to do that yet.
Hmm. It definitely does seem to play better via a direct mount, but can’t say I’m sure why that would be the case.
Is there anything obvious in the logs that show what might be misbehaving? I’m just confused as the same config runs with plexdrive so I’m not sure what the difference would be.
Hmm, seems to be something related back to the defaults:
defaults: a shortcut for FUSE's atomic_o_trunc, auto_cache, big_writes, default_permissions, splice_move, splice_read, and splice_write. These options seem to provide the best performance.
I flipped back to something a bit more specific for unionfs and I’m letting my scan finish now but some test plays really seemed be working better.
I think the option most likely to have made a difference here is sync_read
It would be interesting if you’ve got the time to narrow it down a bit.
I expect it will be some bad interaction with buffering which might be very difficult to spot in the log if you don’t already know what the problem is!
And everything is playing and streaming properly. I tested with small files and some 4K huge bitrate files as well. I can continue testing now with just rclone
Not sure. With my particular command, I couldn’t get anything to play for more than ~5 second without buffering and not working at all.
Once I made some tweaks, it worked fine.
I’ve removed the merger bit completely thought by using the cache upload with cache-writes so my whole config is just with rclone at the moment so no more mergerfs.