I am using the rclone mount command with Plex, and it takes on average 8-10 seconds for playback to start. I am not transcoding, only direct playing. The server is a Hetzner dedicated server with a 1Gbps line, and I have tried multiple clients, all on a 1Gbps line. So bandwidth should not be an issue.
What is your rclone version (output from rclone version)
rclone v1.57.0-beta.5786.f589dbc07
Which cloud storage system are you using? (eg Google Drive)
Google Drive
The command you were trying to run (eg rclone copy /tmp remote:tmp)
Note, I changed the log to DEBUG only for this test... I usually have it set to INFO.
Also, in this test, I was trying to play Dune, which you can see near the end of the log file. I do see entries for "present = true" which I understand means that it should be reading from the local cache. But even still, it took over 10 seconds to start playback.
Hi @asdffdsa, thanks for your reply. In my initial message I did say that the client is also on a 1Gbps line. Sorry if that was not clear.
I only recently added the --bwlimit-file 15M to see if I could track down the problem. Previously that line wasn't there, and it makes no difference with my problem whether the line is present or not.
As for the debug log, I thought that's what I posted in the initial post, the gist link. Is that not the debug log that is required? If I need to post some other log, please let me know how to retrieve that, so I can provide it. Thanks!
Direct play only... and it doesn't seem to matter what resolution or file size it is, it always takes the same amount of time (at least 10 seconds) to start playing.
I only switched to the beta last night to see if that would help the situation... I was speaking to someone else that has a similar setup to me, and he said his playback starts almost instantly, and he mentioned he was using the beta, so I thought I would give it a try. But before then, I was using the stable version and the results were the same.
I also just asked some other users who also use my server, and they all said they see a 10-15 second delay before playback starts.
Interesting ... I'm definitely not transcoding (both Tautulli and Plex show direct play). As far as internet latency, that's very unlikely because like I said, my home internet has 1Gbps down. A quick speediest shows 9ms ping and 937 Mbps download speeds, which is the speed I get consistently, every time I do a speed test.
The server is a Hetzner server, based in their Finland datacenter. The client is in Florida. I've tried multiple clients: Apple TV (both native Plex app and Infuse). Also tried iOS Plex app, and iOS Infuse app, as well as a Shield. All with the same results.
Also, I've had other users report the same thing, I'm not sure of all their locations or clients used... but it seems pretty consistent for everyone on the server. So it seems likely to be a server issue.
Oof. Yeah, that's pretty far away which is why I asked about latency as you can fix how fast a packet takes to get from FL to Finland as it only travels so fast.
My example ping to Finland Hetzner.
PING hel.icmp.hetzner.com (95.217.255.81) 56(84) bytes of data.
64 bytes from hel1-speed.hetzner.com (95.217.255.81): icmp_seq=1 ttl=50 time=109 ms
64 bytes from hel1-speed.hetzner.com (95.217.255.81): icmp_seq=2 ttl=50 time=109 ms
64 bytes from hel1-speed.hetzner.com (95.217.255.81): icmp_seq=3 ttl=50 time=109 ms
64 bytes from hel1-speed.hetzner.com (95.217.255.81): icmp_seq=4 ttl=50 time=108 ms
64 bytes from hel1-speed.hetzner.com (95.217.255.81): icmp_seq=5 ttl=50 time=108 ms
64 bytes from hel1-speed.hetzner.com (95.217.255.81): icmp_seq=6 ttl=50 time=109 ms
64 bytes from hel1-speed.hetzner.com (95.217.255.81): icmp_seq=7 ttl=50 time=109 ms
64 bytes from hel1-speed.hetzner.com (95.217.255.81): icmp_seq=8 ttl=50 time=110 ms
64 bytes from hel1-speed.hetzner.com (95.217.255.81): icmp_seq=9 ttl=50 time=110 ms
64 bytes from hel1-speed.hetzner.com (95.217.255.81): icmp_seq=10 ttl=50 time=108 ms
64 bytes from hel1-speed.hetzner.com (95.217.255.81): icmp_seq=11 ttl=50 time=109 ms
64 bytes from hel1-speed.hetzner.com (95.217.255.81): icmp_seq=12 ttl=50 time=109 ms
64 bytes from hel1-speed.hetzner.com (95.217.255.81): icmp_seq=13 ttl=50 time=109 ms
The lag is most likely caused by that if I had to guess and you can't tune around latency. You might want to try something in the US.
100% latency. My server with OVH is located near Montreal, Canada, and I'm in Los Angeles. I'm on a 500/500 fiber connection with highly consistent speeds, but my ISP's peering isn't the best and can change from one day to the next. Most days, latency between my house and the datacenter is in the high 70s to low 80s. Playback takes about 3 to 5 seconds, so your 8 to 10 with a latency that's likely higher than mine is perfectly normal. I'm surprised that you don't have more issues, because whenever my latency spikes into the 100s, I can't direct play anything anymore. Thankfully, that doesn't happen very often.
EDIT: Since you're in Florida, your ISP is likely Frontier, no? That would explain a lot, as I'm with them as well