Skip to content

Enabling rate limit drastically reduces network performance #8630

Closed

Description

@marsch1975

Hi,

I was wondering about this:

SyncThing without limitation reaches a transfer speed of 119MiB/s

SyncThing with limitation of 112MiB/s reaches only 58MiB/s as max.

50 unlimited

51 limited

Activity

  1. added
    bug
    needs-triage
    on Oct 31, 2022
  2. calmh commented on Oct 31, 2022

    @calmh
    Member

    So for what it's worth this doesn't reproduce easily for me, with two devices on the same machine talking over localhost. That just means the limiting isn't conceptually broken, I guess there may be timing effects or fragmentation or something that makes it perform less well over a real network with latency etc. If I remember correctly we will tend to do smaller writes when limiting is in effect, to smooth out the rate (when the limit is much lower than in these examples) and that could be an issue.

    Screenshot 2022-10-31 at 12 36 37

    Screenshot 2022-10-31 at 12 37 55

  3. tomasz1986 commented on Oct 31, 2022

    @tomasz1986
    Member

    I've personally observed that if upload rate is limited with the limit maxed out, then download rate will drop too even though there should still be enough download bandwidth available. Judging by the screenshots, this doesn't seem to be the case here, but I'm putting this information just in case.

  4. changed the title [-]Limiting on internal LAN doesn't seam to be correct[/-] [+]Enabling rate limit drastically reduces network performance[/+] on Oct 31, 2022
  5. added a commit that references this issue on Oct 31, 2022
    344f482
  6. calmh commented on Oct 31, 2022

    @calmh
    Member

    @marsch1975 I filed a potential fix/improvement you could test ^

  7. marsch1975 commented on Nov 3, 2022

    @marsch1975
    Author

    @calmh Where is this fix? Where do I get it from?

  8. marsch1975 commented on Nov 4, 2022

    @marsch1975
    Author

    What does that mean? I'm not a programmer...

  9. tomasz1986 commented on Nov 4, 2022

    @tomasz1986
    Member

    What does that mean? I'm not a programmer...

    The fix has been merged. Now you just need to wait for a new version to be released 🙂 (which should be in the beginning of December when it comes to stable releases).

  10. marsch1975 commented on Nov 4, 2022

    @marsch1975
    Author

    Ah, ok, that's fab! I thought I had to do something with the code provided...
    Thanks for all your help guys! :)

  11. calmh commented on Nov 4, 2022

    @calmh
    Member
  12. added a commit that references this issue on Nov 8, 2022
    db49472
  13. added this to the v1.22.2 milestone on Nov 9, 2022
  14. added a commit that references this issue on Nov 22, 2022
    4ee1015
  15. added
    frozen-due-to-age
    on Nov 3, 2023
  16. locked and limited conversation to collaborators on Nov 3, 2023
  17. added a commit that references this issue on Jan 30, 2024
    413c8cf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugfrozen-due-to-ageneeds-triage

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions