I'm using an encrypted rclone mount on Debian 9 on a AMD Phenom II X4 955 CPUI and 8GB of ram. The Linux server has a 1Gbit wired connection.
I'm running Plex Server on a Windows 10 with a Ryzen 2700 @ 4.1Ghz and 16GB ram. This machine is also used for playback. The mediaplayer is usually Kodi Dsplayer (Kodi 17.6 with native madvr support).
This machine is connected via wifi, wich is good for a constant 40MB/s.
While start times, playback and seeking is normally very good, it all goes to shit as soon as Plex starts a library scan.
Playback through Plex while scanning is also very slow to start and seek, but seems to not buffer when it get's going. I'm guessing this is because it's downloading a decent buffer before starting playback? DIsregard this, plex playback is also buffering
I have tried countless mount settings for rclone, but none really seem to make a difference with my problems. Right now I'm just using --vfs-cache-mode writes --allow-other.
Any ideas where my bottleneck lies? I can check wifi, but it should be good enough.
The AMD cpu is getting old, but I never see all 4 cores under full load on it.
I can't find much about this problem on google, but then again most people use Plex as their media player.
I'll supply any logs that are needed.
Cheers and thanks.
Edit: CPU load on Linux server is 2-10% and RAM usage 2-3GB while scanning and playing a 1080p file. Stll buffering.
I'm not going to promise this will help, but I found it to be sufficient on a 35TB library.
/usr/bin/rclone mount GCrypt: /mnt/GCrypt --allow-other --buffer-size 256M --dir-cache-time 12h --drive-chunk-size 128M --vfs-read-chunk-size 128M --vfs-read-chunk-size-limit off --use-mmap --cache-db-purge
Worth a shot? My dir cache time was only 12h because I scanned the library every 6. I'm speaking in past tense because currently I've had an insane number of issues with database locks (unrelated to rclone) and I might be ditching Plex, but this mount command served me well for a while now.
Like you I too use my own client id and secret for oauth access into the drive.
I can verify this. I have a paid GSuite for Business, and I've asked them on the phone if there is any sort of ban, and there is not. They're just limiting you, but they'll never block your client. I specifically asked if it was okay to leave a recursive job continually hitting their API and they said that's totally fine to do.
I seemed to have fixed the problem by moving Plex Server to the much weaker Debian machine...
It's not happy doing too much transcoding, but I'm using direct play 99% of the time.
@Animosity022, can you try to make sense why this would work better than having Plex running on a considerable faster Ryzen 2700? Having rclone and plex on different machines shouldn't matter.
I tried using an ethernet cable instead of wifi before moving Plex, but I had the same problems.
I thought it made sense to run Plex server on a much, much faster Ryzen 2700 compared to a 10 year old AMD Phenom. For myself with direct play, it doesn't matter, but I don't think it will hold up transcoding for the 2-3 buddies that use my Plex.