I am trying to discover where the bottleneck is when I run rclone copy. I currently have a 1 gbps uplink a Intel(R) Core(TM) i5-8400 CPU @ 2.80GHz and 16GB DDR4 RAM.
My cpu when running rclone hardly sweats hitting around 10% my RAM is at about 7GB and my network is hardly used. But it all seems to be running all be it very slowly.
What is your rclone version (output from rclone version)
rclone v1.52.0-008-g8774381e-beta
- os/arch: linux/amd64
- go version: go1.14.3
Which OS you are using and how many bits (eg Windows 7, 64 bit)
Ubuntu 20
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)
Hey! Thanks! Just the fact that there is still data left to be transferred - I would therefore expect my bandwidth to be at full utilisation and if that wasn't the case there to be another bottleneck in the RAM or the CPU or I/O but none are being fully utilised!
2020-06-03 13:55:18 DEBUG : pacer: Reducing sleep to 763.261472ms
2020-06-03 13:55:19 DEBUG : pacer: Reducing sleep to 760.005356ms
2020-06-03 13:55:19 DEBUG : pacer: Reducing sleep to 814.512576ms
2020-06-03 13:55:19 DEBUG : pacer: Reducing sleep to 912.345455ms
2020-06-03 13:55:19 DEBUG : pacer: Reducing sleep to 1.000867115s
2020-06-03 13:55:19 DEBUG : pacer: Reducing sleep to 1.060017735s
2020-06-03 13:55:19 DEBUG : pacer: Reducing sleep to 1.111338361s
2020-06-03 13:55:19 DEBUG : pacer: Reducing sleep to 1.083539915s
2020-06-03 13:55:19 DEBUG : pacer: Reducing sleep to 1.042045758s
2020-06-03 13:55:19 DEBUG : pacer: low level retry 1/10 (error googleapi: Error 403: User Rate Limit Exceeded. Rate of requests for user exceed configured project quota. You may consider re-evaluating expected per-user traffic to the API and adjust project quota limits accordingly. You may monitor aggregate quota usage and adjust limits in the API Console: https://console.developers.google.com/apis/api/drive.googleapis.com/quotas?project=878044099763, userRateLimitExceeded)
2020-06-03 13:55:19 DEBUG : pacer: Rate limited, increasing sleep to 1.329489994s
2020-06-03 13:55:19 DEBUG : pacer: Reducing sleep to 983.715974ms
2020-06-03 13:55:20 DEBUG : pacer: low level retry 2/10 (error googleapi: Error 403: User Rate Limit Exceeded. Rate of requests for user exceed configured project quota. You may consider re-evaluating expected per-user traffic to the API and adjust project quota limits accordingly. You may monitor aggregate quota usage and adjust limits in the API Console: https://console.developers.google.com/apis/api/drive.googleapis.com/quotas?project=878044099763, userRateLimitExceeded)
2020-06-03 13:55:20 DEBUG : pacer: Rate limited, increasing sleep to 1.682467879s
2020-06-03 13:55:21 DEBUG : pacer: low level retry 2/10 (error googleapi: Error 403: User Rate Limit Exceeded. Rate of requests for user exceed configured project quota. You may consider re-evaluating expected per-user traffic to the API and adjust project quota limits accordingly. You may monitor aggregate quota usage and adjust limits in the API Console: https://console.developers.google.com/apis/api/drive.googleapis.com/quotas?project=878044099763, userRateLimitExceeded)
2020-06-03 13:55:21 DEBUG : pacer: Rate limited, increasing sleep to 2.368680878s
2020-06-03 13:55:23 DEBUG : pacer: low level retry 2/10 (error googleapi: Error 403: User Rate Limit Exceeded. Rate of requests for user exceed configured project quota. You may consider re-evaluating expected per-user traffic to the API and adjust project quota limits accordingly. You may monitor aggregate quota usage and adjust limits in the API Console: https://console.developers.google.com/apis/api/drive.googleapis.com/quotas?project=878044099763, userRateLimitExceeded)
2020-06-03 13:55:23 DEBUG : pacer: Rate limited, increasing sleep to 4.842511624s
2020-06-03 13:55:26 DEBUG : pacer: Reducing sleep to 0s
2020-06-03 13:55:33 DEBUG : pacer: low level retry 1/10 (error googleapi: Error 403: User Rate Limit Exceeded. Rate of requests for user exceed configured project quota. You may consider re-evaluating expected per-user traffic to the API and adjust project quota limits accordingly. You may monitor aggregate quota usage and adjust limits in the API Console: https://console.developers.google.com/apis/api/drive.googleapis.com/quotas?project=878044099763, userRateLimitExceeded)
2020-06-03 13:55:33 DEBUG : pacer: Rate limited, increasing sleep to 1.915599099s
2020-06-03 13:55:33 DEBUG : pacer: Reducing sleep to 0s
2020-06-03 13:55:34 DEBUG : pacer: low level retry 2/10 (error googleapi: Error 403: User Rate Limit Exceeded. Rate of requests for user exceed configured project quota. You may consider re-evaluating expected per-user traffic to the API and adjust project quota limits accordingly. You may monitor aggregate quota usage and adjust limits in the API Console: https://console.developers.google.com/apis/api/drive.googleapis.com/quotas?project=878044099763, userRateLimitExceeded)
2020-06-03 13:55:34 DEBUG : pacer: Rate limited, increasing sleep to 1.705471844s
With Google Drive, you won't ever get great performance with small files as it's best to zip / compress them up if it makes sense. If not, you can't do much other than bear with the speed as you can only make / upload about 2-3 files per second.