Google Drive: Slowness in copy when encrypting files locally, but fast on Google Cloud Platform

What is the problem you are having with rclone?

Slow copy speeds when encrypting files, on my local computer. But I see much faster speeds on Google Cloud Platform's "f1-micro" instance.

  • Is this because the files are downloaded first to computer, encrypted and then re-uploaded to Google Drive?
  • In the case of Google Cloud Platform compute engine, is that much faster due to Google's ISP?

What is your rclone version (output from rclone version)

➜  ~ rclone version
rclone v1.52.3
- os/arch: darwin/amd64
- go version: go1.14.6

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

macOS 10.15.6 (19G2021), 64 bits.

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 copy drive-social:all/ encrypt-drive-social: -P --drive-server-side-across-configs

The rclone config contents with secrets removed.

[drive-social]
type = drive
scope = drive
token = redacted

[encrypt-drive-social]
type = crypt
remote = drive-social:all/
filename_encryption = standard
directory_name_encryption = true
password = redacted

A log from the command with the -vv flag

I am not sure I understand this part. Do you need the logs from the command rclone copy drive-social:all/ encrypt-drive-social: -P --drive-server-side-across-configs?

Yes, encryption requires a download/reupload as rclone does it so it uses your internet speed.

1 Like

Awesome, that explains why things are fast on GCP. Thank you!

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