Slow speed while uploading

What is the problem you are having with rclone?

I'm having slow speed when doing a rclone copy on large files from my dedicated server (Online/Scaleway) to my Google Drive (with crypt)

What is your rclone version (output from rclone version)

rclone v1.53.1

  • os/arch: linux/amd64
  • go version: go1.15

Which OS you are using and how many bits (eg Windows 7, 64 bit)

Debian 10

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)

rclone -v copy  encrypted:/pathDestination --include "/$MY_DIR/**" "$REMUX_RCLONE/"  --drive-chunk-size 256M --log-file /home/myuser/bin/rclone.log  

The rclone config contents with secrets removed.

[gdrive]
type = drive
client_id = MYID
client_secret = MYSECRET
scope = drive
token = {"access_token":"TOKEN","token_type":"Bearer","refresh_token":"REFRESH_TOKEN","expiry":"20
20-10-11T20:08:49.929286407+02:00"}

[encrypted]
type = crypt
remote = gdrive:
filename_encryption = standard
directory_name_encryption = true
password = PASSWORD
password2 = PASSWORD2

A log from the command with the -vv flag

2020/10/12 09:32:34 DEBUG : rclone: Version "v1.53.1" starting with parameters ["rclone" "-v" "copy" "MYFILE" "encrypted:/DISKSTATION/TEST" "--drive-chunk-size" "256M" "--log-file" "/home/myuser/bin/rclone.log" "-vv"]
2020/10/12 09:32:34 DEBUG : Creating backend with remote "MYFILE"
2020/10/12 09:32:34 DEBUG : Using config file from "/home/myuser/.config/rclone/rclone.conf"
2020/10/12 09:32:34 DEBUG : fs cache: adding new entry for parent of "MYFILE", "/home/myuser/mydir/mydir2"
2020/10/12 09:32:34 DEBUG : Creating backend with remote "encrypted:/TEST"
2020/10/12 09:32:34 DEBUG : Creating backend with remote "gdrive:/bql75erk38418u5tnso9sspqv4/grq1ptobq57f5d9881q2vc27ig"
2020/10/12 09:32:35 DEBUG : Google drive root 'bql75erk38418u5tnso9sspqv4/grq1ptobq57f5d9881q2vc27ig': root_folder_id = "0AA9Zkok18wkfUk9PVA" - save this in the config to speed up startup
2020/10/12 09:32:37 DEBUG : fs cache: renaming cache item "gdrive:/bql75erk38418u5tnso9sspqv4/grq1ptobq57f5d9881q2vc27ig" to be canonical "gdrive:bql75erk38418u5tnso9sspqv4/grq1ptobq57f5d9881q2vc27ig"
2020/10/12 09:32:37 DEBUG : fs cache: switching user supplied name "gdrive:/bql75erk38418u5tnso9sspqv4/grq1ptobq57f5d9881q2vc27ig" for canonical name "gdrive:bql75erk38418u5tnso9sspqv4/grq1ptobq57f5d9881q2vc27ig"
2020/10/12 09:32:37 DEBUG : MYFILE: Need to transfer - File not found at Destination
2020/10/12 09:32:39 DEBUG : vmtb6lr067crd1kj7f4hq87nes70epu78udo5cfsb8v4cord0dnruu8993f4rs54mqrstr30n9fgmhh3llotuunek6ci0ao777uql8d81rpunanc3g232847d39ic1gf179er0bhjs83kb99nj2nmes67o: Sending chunk 0 length 268435456
2020/10/12 09:33:00 DEBUG : vmtb6lr067crd1kj7f4hq87nes70epu78udo5cfsb8v4cord0dnruu8993f4rs54mqrstr30n9fgmhh3llotuunek6ci0ao777uql8d81rpunanc3g232847d39ic1gf179er0bhjs83kb99nj2nmes67o: Sending chunk 268435456 length 268435456
2020/10/12 09:33:19 DEBUG : vmtb6lr067crd1kj7f4hq87nes70epu78udo5cfsb8v4cord0dnruu8993f4rs54mqrstr30n9fgmhh3llotuunek6ci0ao777uql8d81rpunanc3g232847d39ic1gf179er0bhjs83kb99nj2nmes67o: Sending chunk 536870912 length 268435456
2020/10/12 09:33:37 INFO  :
Transferred:      753.934M / 15.142 GBytes, 5%, 12.690 MBytes/s, ETA 19m22s
Transferred:            0 / 1, 0%
Elapsed time:       1m3.0s
Transferring:
 * MYFILE:  4% /15.142G, 13.342M/s, 18m25s

2020/10/12 09:33:38 DEBUG : vmtb6lr067crd1kj7f4hq87nes70epu78udo5cfsb8v4cord0dnruu8993f4rs54mqrstr30n9fgmhh3llotuunek6ci0ao777uql8d81rpunanc3g232847d39ic1gf179er0bhjs83kb99nj2nmes67o: Sending chunk 805306368 length 268435456
2020/10/12 09:33:57 DEBUG : vmtb6lr067crd1kj7f4hq87nes70epu78udo5cfsb8v4cord0dnruu8993f4rs54mqrstr30n9fgmhh3llotuunek6ci0ao777uql8d81rpunanc3g232847d39ic1gf179er0bhjs83kb99nj2nmes67o: Sending chunk 1073741824 length 268435456

Do you know why it is uploading at such speed ?
Thanks for your support !

What are you expecting? It's getting around 80-90Mb/s.

Hi @Animosity022,

Thanks for your answer.
I was expecting something like 30-50MB/s. The server has a Gigabit network and is powerful enough.
From home i'm uploading at 45MB/s with a not so good PC.

And the dedicated box you have is rated at gigabit traffic?

If you have the memory, you can increase the chunk size to something like 512M or 1G.

Other than that, you are stuck with the box can produce / peering to Google / /etc.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.