What is the problem you are having with rclone?
I'm experiencing much slower speeds with rclone copy vs aws s3 cp. I'm doing a transfer between an EC2 node and S3 via an s3 endpoint. All within the same region.
Not 100% sure why this could be. I'm wondering if there are any flags I could set that would increase this speed? Or if it's natively an issue with rclone. Ideally I'll be mounting rclone, but I'm using copy to demonstrate the difference in transfer time.
I also notice that when rclone is transferring, it starts at the max bandwidth and then slowly decreases over time.
What is your rclone version (output from rclone version)
rclone v1.56.0
- os/version: Microsoft Windows Server 2019 Datacenter 1809 (64 bit)
- os/kernel: 10.0.17763.1757 (x86_64)
- os/type: windows
- os/arch: amd64
- go/version: go1.16.5
- go/linking: dynamic
- go/tags: cmount
Which cloud storage system are you using?
S3
The command you were trying to run
rclone copy remote:path dest:path --no-traverse --fast-list
The rclone config contents with secrets removed.
[remote]
type = s3
provider = AWS
env_auth = false
access_key_id = **
secret_access_key = **
region = us-east-2
acl = private
storage_class = STANDARD
server_side_encryption = aws:kms
A log
2021/11/04 19:11:16 DEBUG : rclone: Version "v1.56.0" starting with parameters ["C:\\ProgramData\\chocolatey\\lib\\rclone.portable\\tools\\rclone-v1.56.0-windows-amd64\\rclone.exe" "copy" "remote:bucket/file.test" "C:/Desktop" "--progress" "--verbose" "--no-traverse" "--fast-list" "-vv"]
2021/11/04 19:11:16 DEBUG : Creating backend with remote "remote:bucket/file.test"
2021/11/04 19:11:16 DEBUG : Using config file from "C:\\Users\\Administrator\\.config\\rclone\\rclone.conf"
2021/11/04 19:11:16 DEBUG : fs cache: adding new entry for parent of "remote:bucket/file.test", "remote:bucket/"
2021/11/04 19:11:16 DEBUG : Creating backend with remote "C:/Desktop"
2021/11/04 19:11:16 DEBUG : fs cache: renaming cache item "C:/Desktop" to be canonical "//?/C:/Desktop"
2021-11-04 19:11:16 DEBUG : file.test: Need to transfer - File not found at Destination
2021-11-04 19:11:16 INFO : Writing sparse files: use --local-no-sparse or --multi-thread-streams 0 to disable
2021-11-04 19:11:16 DEBUG : file.test: Starting multi-thread copy with 4 parts of size 308.750Mi
2021-11-04 19:11:16 DEBUG : file.test: multi-thread copy: stream 4/4 (971243520-1294845506) size 308.611Mi starting
2021-11-04 19:11:16 DEBUG : file.test: multi-thread copy: stream 1/4 (0-323747840) size 308.750Mi starting
2021-11-04 19:11:16 DEBUG : file.test: multi-thread copy: stream 2/4 (323747840-647495680) size 308.750Mi starting
2021-11-04 19:11:16 DEBUG : file.test: multi-thread copy: stream 3/4 (647495680-971243520) size 308.750Mi starting
2021-11-04 19:11:20 DEBUG : file.test: multi-thread copy: stream 4/4 (971243520-1294845506) size 308.611Mi finished
2021-11-04 19:11:20 DEBUG : file.test: multi-thread copy: stream 2/4 (323747840-647495680) size 308.750Mi finished
2021-11-04 19:11:20 DEBUG : file.test: multi-thread copy: stream 3/4 (647495680-971243520) size 308.750Mi finished
2021-11-04 19:11:20 DEBUG : file.test: multi-thread copy: stream 1/4 (0-323747840) size 308.750Mi finished
2021-11-04 19:11:20 DEBUG : file.test: Finished multi-thread copy with 4 parts of size 308.750Mi
2021-11-04 19:11:29 INFO : file.test: Multi-thread Copied (new)
Transferred: 1.206Gi / 1.206 GiByte, 100%, 102.893 MiByte/s, ETA 0s
Transferred: 1 / 1, 100%
Elapsed time: 12.5s
2021/11/04 19:11:29 INFO :
Transferred: 1.206Gi / 1.206 GiByte, 100%, 102.893 MiByte/s, ETA 0s
Transferred: 1 / 1, 100%
Elapsed time: 12.5s
2021/11/04 19:11:29 DEBUG : 11 go routines active
vs
Measure-Command {aws s3 cp s3://file.test C:/Desktop}
Seconds : 6
Milliseconds : 524
Ticks : 65248857
TotalDays : 7.55195104166667E-05
TotalHours : 0.00181246825
TotalMinutes : 0.108748095
TotalSeconds : 6.5248857
TotalMilliseconds : 6524.8857