Skip to content

Fix bwlimit bursting on downloads #2055

Closed

Description

@ncw

At the moment we have one bandwidth limiter on the output. but we have no bandwidth limiter before the async buffer which means downloads burst into the buffer at full speed. The average is correct but it produces big bursts.

To fix:

  • Add a separate bandwidth limiter before the async buffer as close to the source as possible
  • Add a new feature flag 'no-bwlimit' which is set for the local fs and use this to disable the input or output bwlimit depending on the src and dst Fs.
  • This can be disabled with --disable no-bwlimit for testing.

This should then make sure the input or the output bandwidth limit is never exceeded.

Activity

  1. added this to the v1.40 milestone on Feb 9, 2018
  2. self-assigned this
    on Feb 9, 2018
  3. seuffert commented on Feb 9, 2018

    @seuffert
    Contributor

    does this tackle the issue that locally cached content served by the cache-remote (rclone mount) is also bandwidth limited?

  4. ncw commented on Feb 10, 2018

    @ncw
    MemberAuthor

    @seuffert this doesn't fix that yet, but with a bit more work it could I think.

  5. modified the milestones: v1.40, v1.41 on Mar 19, 2018
  6. modified the milestones: v1.41, v1.42 on Apr 28, 2018
  7. modified the milestones: v1.42, v1.43 on Jun 17, 2018
  8. modified the milestones: v1.43, v1.44 on Sep 2, 2018
  9. modified the milestones: v1.44, v1.45 on Oct 19, 2018
  10. 10 remaining items

  11. added this to the v1.48 milestone on Apr 15, 2019
  12. modified the milestones: v1.48, v1.49 on Jun 19, 2019
  13. modified the milestones: v1.49, v1.50 on Aug 27, 2019
  14. modified the milestones: v1.50, Known Problem on Nov 14, 2019
  15. lopoki commented on Jan 25, 2020

    @lopoki

    https://forum.rclone.org/t/rclone-mount-bwlimit/14015/4

    if/when this burst is fixed, it will fix the issue of rclone using up all internet download speed during Plex/Jellyfin/Emby/any media server scan/analysis.

    bwlimit bursting issue currently causing rclone to not follow bwlimit number when file is accessed repeatedly, like Plex scan/analysis.

  16. vistalba commented on Dec 5, 2020

    @vistalba

    I run into this issue as well.
    I've 40 Mbit/s upload on my internet link so I've limited rclone to 3MB/s (24Mbit/s) so that my link shouldn't get saturated. So 16Mbit/s should be more thant enought for normal use.
    If rclone upload is running, it isn't possible to make a VoIP call and surfing in the internet is almost not possible.

  17. ivandeex commented on Feb 9, 2021

    @ivandeex
    Member

    @ncw I think this can be closed in favor of

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions