I couldn’t get these to work (unraid rclone plugin user), maybe because I’m still using a unionfs mount??? I think I’m going to stay with my offline rclone upload job anyway as 1 failed/lost upload will probably be my most vital file!
Yeah, I made a few changes as I was updating based on the better clarification.
I have a gigabit pipe so I was doing a bit more testing and 16MB chunks seemed to be a better spot for an all around number for folks that might not be lucky enough for gigabit FIOS to their house
Since I have plenty of memory, I adjusted the caps out for max size and buffer to match.
I was running plexdrive with no encryption. Start times took aprox 5-10 secs.
My new setup is rclone with all data is encrypted on Googledrive - testet this morning after my plex libraries where done.
A normal movie started instantly
With my set up, I keep files younger than 30 days local until a disk usage threshold is met then an rclone move script uploads older files so I don’t need to write to my gdrive mount. Can this still be used as read only? If not, what need to be changed?
Damn somehow this made my start times 3-4x slower lol
16mbps movie Plexdrive: 3sec Rclone: 12sec
Tested various movies with same pattern.On second playback it load instantly pretty much but meh, I guess I’ll just stick to plexdrive 5.
plex is pointed to unionfs folder, used the script exactly as you posted. I can see it works fine lots of people here, no idea why it doesn’t for me. I don’t have an SSD so that might be a thing.
As I like to understand what’s different, could you share your plexdrive command to mount and exact rlcone mount?
Can you do a quick test of mediainfo and let me know your results? Basically pick one movie that has some size to it and you can run on your plexdrive and rclone mount directly. Just skip unionfs so we can start as simple as possible.
For me on rclone /GD is my mount and I have a 25GB test movie I was using without any auto_cache so it grabs the chunks each time for the compare:
felix@gemini:/GD/Radarr_Movies/Unsane (2018)$ time mediainfo Unsane\ \(2018\).mkv | grep blah
real 0m2.631s
user 0m0.097s
sys 0m0.029s
felix@gemini:/GD/Radarr_Movies/Unsane (2018)$ time mediainfo Unsane\ \(2018\).mkv | grep blah
real 0m2.445s
user 0m0.078s
sys 0m0.056s
felix@gemini:/GD/Radarr_Movies/Unsane (2018)$ time mediainfo Unsane\ \(2018\).mkv | grep blah
real 0m2.443s
user 0m0.100s
sys 0m0.033s
Those times should be fairly consistent and repeatable barring any huge jumps in your internet traffic or things like that.
With Plexdrive, I see:
root@gemini:/PDDecrypt/Radarr_Movies/Unsane (2018)# time mediainfo Unsane\ \(2018\).mkv | grep blah
real 0m2.912s
user 0m0.059s
sys 0m0.053s
root@gemini:/PDDecrypt/Radarr_Movies/Unsane (2018)# time mediainfo Unsane\ \(2018\).mkv | grep blah
real 0m3.173s
user 0m0.098s
sys 0m0.051s
root@gemini:/PDDecrypt/Radarr_Movies/Unsane (2018)# time mediainfo Unsane\ \(2018\).mkv | grep blah
real 0m3.434s
user 0m0.105s
sys 0m0.058s
So generally slower, but not really that noticeable.
If you can capture a slow start time and run the rclone mount with debug, I’d love to see that log file as it should be very apparent why it’s slower.