I am using rclone with an encrypted GDrive mount in order to backup my source codes and binaries. It’s an enterprise GSuite account with my own API key on my server. The server has two interfaces, but I am using rclone on the second, only 100/100 mbps network, because it’s very reliable, stable. However the rclone operations from/to the cloud are often really slow and not even near to 100 mbps. I must state that’s probably not rclone’s fault, but if you know a possible workaround, experience the same issue or just have something to tell me, please don’t hesitate to share.
I did some benchmarks using the Vultr speedtest 1G binary (https://nj-us-ping.vultr.com/vultr.com.1000MB.bin) and the wget was really fine to my SSD:
vultr.com.1000MB 100%[==========>] 1000M 11.0MB/s in 94s
So the network should be okay on my end. Then I tried to upload this to GDrive using a simple
rclone copy -P command, but surprisingly that was even slower than using the mount function, having a fuse mount and using
rsync -aP to copy the file there. Here you can see the rsync test’s end:
sending incremental file list vultr.com.1000MB.bin 1,048,576,000 100% 4.14MB/s 0:04:01 (xfr#1, to-chk=0/1)
The 4.14 is actually rare, it’s usually about 3.6 MB/s but even goes down to 2.8 MB/s for a longer period too.
Then the download is a bit more satisfying, but still closer to the half than the full speed of the link:
sending incremental file list vultr.com.1000MB.bin 1,048,576,000 100% 5.42MB/s 0:03:04 (xfr#1, to-chk=0/1)
However sometimes, for days it works blazingly fast without any issues. I wonder what can cause this… Google’s bandwidth is this poor?