Weird lag before downloading file

This isn't too huge of a problem so I decided to skip out on the template/scaffold to keep things brief. When performing a download from google drive for a ~7MiB file, it takes less than 1 second on a 80 Mbit down connection which I'm currently on, which is evident in both the log below and via the web browser. My question is why it takes 9 seconds before it starts uploading, and if there's any way to speed it up or skip some of the steps if it's unnecessary

2024/05/06 22:51:24 DEBUG : rclone: Version "v1.63.1" starting with parameters ["./rclone" "copy" "googledrive:storj/examplefile.txt" "examplefile.txt" "--progress" "--log-file=log.txt" "--log-level=DEBUG"]
2024/05/06 22:51:24 DEBUG : Creating backend with remote "googledrive/examplefile.txt"
2024/05/06 22:51:24 DEBUG : Using config file from "/path/to/user/.config/rclone/rclone.conf"
2024/05/06 22:51:25 DEBUG : Google drive root 'googledrive/examplefile.txt': 'root_folder_id = (placeholder)' - save this in the config to speed up startup
2024/05/06 22:51:26 DEBUG : fs cache: adding new entry for parent of "googledrive:/examplefile.txt", "googledrive:/examplefile.txt"
2024/05/06 22:51:26 DEBUG : Creating backend with remote "examplefile.txt"
2024/05/06 22:51:26 DEBUG : fs cache: renaming cache item "examplefile.txt" to be canonical "/path/to/rclone-v1.63.1-osx-arm64/examplefile.txt"
2024/05/06 22:51:27 DEBUG : examplefile.txt: Need to transfer - File not found at Destination
2024/05/06 22:51:33 DEBUG : examplefile.txt: md5 = 4cb924a50d5e0a7be1c34e2c4a691ea0 OK
2024/05/06 22:51:33 DEBUG : examplefile.txt.lakiciz6.partial: renamed to: examplefile.txt
2024/05/06 22:51:33 INFO : examplefile.txt: Copied (new)
2024/05/06 22:51:33 INFO :
Transferred: 7.031 MiB / 7.031 MiB, 100%, 511.353 KiB/s, ETA 0s
Transferred: 1 / 1, 100%
Elapsed time: 9.0s

2024/05/06 22:51:33 DEBUG : 9 go routines active

the command you posted, is downloading from gdrive, correct?

from the log, save this in the config to speed up startup

can update by running rclone selfupdate

Yes. This is download from gdrive, I managed to cut it down to 4.5 seconds by adding --ignore-checksum, --fast-list and adding the root_folder_id to my rclone.conf file. Still unsure what happens between "examplefile.txt: Need to transfer - File not found at Destination" and "examplefile.txt: md5 = 4cb924a50d5e0a7be1c34e2c4a691ea0 OK" that takes 3 seconds, of which testing with the above makes no difference.

rclone is downloading the file.

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