Timetabled bandwidth limit does not seem to work with VFS-cached mount

What is the problem you are having with rclone?

Bandwidth limit via a timetable is set, yet VFS uploads are uploading at full speed.

What is your rclone version (output from rclone version)

rclone v1.53.2
- os/arch: linux/arm
- go version: go1.15.3

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

Raspberry Pi OS Buster

Which cloud storage system are you using? (eg Google Drive)

Google Drive

Rclone mount excerpt

--bwlimit "00:30,10.6M 19:00,9.4M 22:20,10M 23:00,9.4M"

The rclone config contents with secrets removed.

N/A

A log from the command with the -vv flag

2020/11/13 11:06:08 INFO  : Starting bandwidth limiter at 10.600MBytes/s

(An average is shown below, which is not representative of the actual transfer rate, which was ~11.75MB/s)

2020/11/13 14:02:10 INFO  : vfs cache: cleaned: objects 1 (was 443) in use 1, to upload 0, uploading 1, total size 27.289G (was 27.289G)
2020/11/13 14:02:38 INFO  :   914.398M / 27.631 GBytes, 3%, 9.508 MBytes/s, ETA 47m59s
2020/11/13 14:03:08 INFO  :     1.201G / 27.631 GBytes, 4%, 9.749 MBytes/s, ETA 46m16s
2020/11/13 14:03:10 INFO  : vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 1, total size 27.289G (was 27.289G)
2020/11/13 14:03:38 INFO  :     1.512G / 27.631 GBytes, 5%, 9.911 MBytes/s, ETA 44m58s
2020/11/13 14:04:08 INFO  :     1.820G / 27.631 GBytes, 7%, 10.012 MBytes/s, ETA 43m59s
2020/11/13 14:04:10 INFO  : vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 1, total size 27.289G (was 27.289G)
2020/11/13 14:04:38 INFO  :     2.129G / 27.631 GBytes, 8%, 10.085 MBytes/s, ETA 43m9s
2020/11/13 14:05:08 INFO  :     2.436G / 27.631 GBytes, 9%, 10.131 MBytes/s, ETA 42m26s
2020/11/13 14:05:10 INFO  : vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 1, total size 27.289G (was 27.289G)
2020/11/13 14:05:38 INFO  :     2.748G / 27.631 GBytes, 10%, 10.188 MBytes/s, ETA 41m41s
2020/11/13 14:06:08 INFO  :     3.051G / 27.631 GBytes, 11%, 10.204 MBytes/s, ETA 41m6s
2020/11/13 14:06:10 INFO  : vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 1, total size 27.289G (was 27.289G)
2020/11/13 14:06:38 INFO  :     3.361G / 27.631 GBytes, 12%, 10.237 MBytes/s, ETA 40m27s
2020/11/13 14:07:08 INFO  :     3.668G / 27.631 GBytes, 13%, 10.259 MBytes/s, ETA 39m51s
2020/11/13 14:07:10 INFO  : vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 1, total size 27.289G (was 27.289G)
2020/11/13 14:07:38 INFO  :     3.936G / 27.631 GBytes, 14%, 10.172 MBytes/s, ETA 39m45s
2020/11/13 14:08:08 INFO  :     4.228G / 27.631 GBytes, 15%, 10.159 MBytes/s, ETA 39m19s
2020/11/13 14:08:10 INFO  : vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 1, total size 27.289G (was 27.289G)
2020/11/13 14:08:38 INFO  :     4.536G / 27.631 GBytes, 16%, 10.182 MBytes/s, ETA 38m42s
2020/11/13 14:09:08 INFO  :     4.844G / 27.631 GBytes, 18%, 10.204 MBytes/s, ETA 38m6s
2020/11/13 14:09:10 INFO  : vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 1, total size 27.289G (was 27.289G)
2020/11/13 14:09:38 INFO  :     5.154G / 27.631 GBytes, 19%, 10.225 MBytes/s, ETA 37m30s
2020/11/13 14:10:08 INFO  :     5.464G / 27.631 GBytes, 20%, 10.245 MBytes/s, ETA 36m55s
2020/11/13 14:10:10 INFO  : vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 1, total size 27.289G (was 27.289G)
2020/11/13 14:10:38 INFO  :     5.774G / 27.631 GBytes, 21%, 10.262 MBytes/s, ETA 36m20s
2020/11/13 14:11:08 INFO  :     6.083G / 27.631 GBytes, 22%, 10.276 MBytes/s, ETA 35m47s
2020/11/13 14:11:10 INFO  : vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 1, total size 27.289G (was 27.289G)
2020/11/13 14:11:38 INFO  :     6.392G / 27.631 GBytes, 23%, 10.289 MBytes/s, ETA 35m13s
2020/11/13 14:12:08 INFO  :     6.699G / 27.631 GBytes, 24%, 10.298 MBytes/s, ETA 34m41s
2020/11/13 14:12:10 INFO  : vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 1, total size 27.289G (was 27.289G)
2020/11/13 14:12:38 INFO  :     7.008G / 27.631 GBytes, 25%, 10.308 MBytes/s, ETA 34m8s
2020/11/13 14:13:08 INFO  :     7.316G / 27.631 GBytes, 26%, 10.317 MBytes/s, ETA 33m36s
2020/11/13 14:13:10 INFO  : vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 1, total size 27.289G (was 27.289G)
2020/11/13 14:13:38 INFO  :     7.624G / 27.631 GBytes, 28%, 10.325 MBytes/s, ETA 33m4s
2020/11/13 14:14:08 INFO  :     7.936G / 27.631 GBytes, 29%, 10.336 MBytes/s, ETA 32m31s
2020/11/13 14:14:10 INFO  : vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 1, total size 27.289G (was 27.289G)
2020/11/13 14:14:38 INFO  :     8.246G / 27.631 GBytes, 30%, 10.346 MBytes/s, ETA 31m58s
2020/11/13 14:15:08 INFO  :     8.554G / 27.631 GBytes, 31%, 10.351 MBytes/s, ETA 31m27s
2020/11/13 14:15:10 INFO  : vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 1, total size 27.289G (was 27.289G)
2020/11/13 14:15:38 INFO  :     8.863G / 27.631 GBytes, 32%, 10.359 MBytes/s, ETA 30m55s
2020/11/13 14:16:08 INFO  :     9.172G / 27.631 GBytes, 33%, 10.365 MBytes/s, ETA 30m23s
2020/11/13 14:16:10 INFO  : vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 1, total size 27.289G (was 27.289G)
2020/11/13 14:16:38 INFO  :     9.482G / 27.631 GBytes, 34%, 10.371 MBytes/s, ETA 29m51s
2020/11/13 14:17:08 INFO  :     9.789G / 27.631 GBytes, 35%, 10.375 MBytes/s, ETA 29m20s
2020/11/13 14:17:10 INFO  : vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 1, total size 27.289G (was 27.289G)
2020/11/13 14:17:38 INFO  :    10.097G / 27.631 GBytes, 37%, 10.379 MBytes/s, ETA 28m49s
2020/11/13 14:18:08 INFO  :    10.405G / 27.631 GBytes, 38%, 10.383 MBytes/s, ETA 28m18s
2020/11/13 14:18:10 INFO  : vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 1, total size 27.289G (was 27.289G)
2020/11/13 14:18:38 INFO  :    10.717G / 27.631 GBytes, 39%, 10.390 MBytes/s, ETA 27m46s
2020/11/13 14:19:08 INFO  :    11.026G / 27.631 GBytes, 40%, 10.395 MBytes/s, ETA 27m15s
2020/11/13 14:19:10 INFO  : vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 1, total size 27.289G (was 27.289G)
2020/11/13 14:19:38 INFO  :    11.335G / 27.631 GBytes, 41%, 10.399 MBytes/s, ETA 26m44s
2020/11/13 14:20:08 INFO  :    11.645G / 27.631 GBytes, 42%, 10.404 MBytes/s, ETA 26m13s
2020/11/13 14:20:10 INFO  : vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 1, total size 27.289G (was 27.289G)
2020/11/13 14:20:38 INFO  :    11.955G / 27.631 GBytes, 43%, 10.408 MBytes/s, ETA 25m42s
2020/11/13 14:21:08 INFO  :    12.262G / 27.631 GBytes, 44%, 10.410 MBytes/s, ETA 25m11s
2020/11/13 14:21:10 INFO  : vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 1, total size 27.289G (was 27.289G)
2020/11/13 14:21:38 INFO  :    12.572G / 27.631 GBytes, 46%, 10.414 MBytes/s, ETA 24m40s
2020/11/13 14:22:08 INFO  :    12.879G / 27.631 GBytes, 47%, 10.416 MBytes/s, ETA 24m10s
2020/11/13 14:22:10 INFO  : vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 1, total size 27.289G (was 27.289G)
2020/11/13 14:22:38 INFO  :    13.186G / 27.631 GBytes, 48%, 10.417 MBytes/s, ETA 23m39s
2020/11/13 14:23:08 INFO  :    13.498G / 27.631 GBytes, 49%, 10.423 MBytes/s, ETA 23m8s
2020/11/13 14:23:10 INFO  : vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 1, total size 27.289G (was 27.289G)
2020/11/13 14:23:38 INFO  :    13.809G / 27.631 GBytes, 50%, 10.426 MBytes/s, ETA 22m37s
2020/11/13 14:24:08 INFO  :    14.119G / 27.631 GBytes, 51%, 10.430 MBytes/s, ETA 22m6s
2020/11/13 14:24:10 INFO  : vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 1, total size 27.289G (was 27.289G)
2020/11/13 14:24:38 INFO  :    14.428G / 27.631 GBytes, 52%, 10.433 MBytes/s, ETA 21m35s
2020/11/13 14:25:08 INFO  :    14.737G / 27.631 GBytes, 53%, 10.435 MBytes/s, ETA 21m5s
2020/11/13 14:25:10 INFO  : vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 1, total size 27.289G (was 27.289G)
2020/11/13 14:25:38 INFO  :    15.045G / 27.631 GBytes, 54%, 10.437 MBytes/s, ETA 20m34s
2020/11/13 14:26:08 INFO  :    15.354G / 27.631 GBytes, 56%, 10.438 MBytes/s, ETA 20m4s
2020/11/13 14:26:10 INFO  : vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 1, total size 27.289G (was 27.289G)
2020/11/13 14:26:38 INFO  :    15.662G / 27.631 GBytes, 57%, 10.440 MBytes/s, ETA 19m33s
2020/11/13 14:27:08 INFO  :    15.972G / 27.631 GBytes, 58%, 10.443 MBytes/s, ETA 19m3s
2020/11/13 14:27:10 INFO  : vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 1, total size 27.289G (was 27.289G)
2020/11/13 14:27:38 INFO  :    16.279G / 27.631 GBytes, 59%, 10.444 MBytes/s, ETA 18m33s
2020/11/13 14:28:08 INFO  :    16.592G / 27.631 GBytes, 60%, 10.448 MBytes/s, ETA 18m1s
2020/11/13 14:28:10 INFO  : vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 1, total size 27.289G (was 27.289G)
2020/11/13 14:28:38 INFO  :    16.902G / 27.631 GBytes, 61%, 10.450 MBytes/s, ETA 17m31s
2020/11/13 14:29:08 INFO  :    17.211G / 27.631 GBytes, 62%, 10.452 MBytes/s, ETA 17m
2020/11/13 14:29:10 INFO  : vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 1, total size 27.289G (was 27.289G)
2020/11/13 14:29:38 INFO  :    17.520G / 27.631 GBytes, 63%, 10.454 MBytes/s, ETA 16m30s
2020/11/13 14:30:08 INFO  :    17.829G / 27.631 GBytes, 65%, 10.456 MBytes/s, ETA 15m59s
2020/11/13 14:30:10 INFO  : vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 1, total size 27.289G (was 27.289G)
2020/11/13 14:30:38 INFO  :    18.137G / 27.631 GBytes, 66%, 10.456 MBytes/s, ETA 15m29s
2020/11/13 14:31:08 INFO  :    18.448G / 27.631 GBytes, 67%, 10.459 MBytes/s, ETA 14m59s
2020/11/13 14:31:10 INFO  : vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 1, total size 27.289G (was 27.289G)
2020/11/13 14:31:38 INFO  :    18.711G / 27.631 GBytes, 68%, 10.435 MBytes/s, ETA 14m35s
2020/11/13 14:32:08 INFO  :    18.998G / 27.631 GBytes, 69%, 10.424 MBytes/s, ETA 14m8s
2020/11/13 14:32:10 INFO  : vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 1, total size 27.289G (was 27.289G)

I can reproduce that :slight_smile:

Can you please make a new issue on github so we can fix.

Thanks

1 Like

Sure. #4768.

Aside @ncw, do you think there should two separate types of arguments in a mount for upload and download??

E.g. with drive-chunk-size set to 64M, I can upload at great speeds, however Plex doesn't play well with a value that high.

Thanks

Yes, and I have a plan for this :wink:

1 Like

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