You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bugA problem with current functionality, as opposed to missing functionality (enhancement)frozen-due-to-ageIssues closed and untouched for a long time, together with being locked for discussionneeds-triageNew issues needed to be validated
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.
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.
changed the title [-]Limiting on internal LAN doesn't seam to be correct[/-][+]Enabling rate limit drastically reduces network performance[/+]on Oct 31, 2022
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).
bugA problem with current functionality, as opposed to missing functionality (enhancement)frozen-due-to-ageIssues closed and untouched for a long time, together with being locked for discussionneeds-triageNew issues needed to be validated
Activity
calmh commentedon Oct 31, 2022
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.
tomasz1986 commentedon Oct 31, 2022
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.
[-]Limiting on internal LAN doesn't seam to be correct[/-][+]Enabling rate limit drastically reduces network performance[/+]lib/connections: Use adaptive write size for rate limited connections (…
calmh commentedon Oct 31, 2022
@marsch1975 I filed a potential fix/improvement you could test ^
marsch1975 commentedon Nov 3, 2022
@calmh Where is this fix? Where do I get it from?
marsch1975 commentedon Nov 4, 2022
What does that mean? I'm not a programmer...
tomasz1986 commentedon Nov 4, 2022
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).
marsch1975 commentedon Nov 4, 2022
Ah, ok, that's fab! I thought I had to do something with the code provided...
Thanks for all your help guys! :)
calmh commentedon Nov 4, 2022
Or use the nightly build which will have it now
https://docs.syncthing.net/users/releases.html#nightly-builds
Merge branch 'main' into fix-8556
Merge branch 'main' into linuxbuild
lib/connections: Use adaptive write size for rate limited connections (…