SuperGouge / ChanThreadWatch

Fork of the original discontinued ChanThreadWatch.
90 stars 13 forks source link

CTW Speed limiter broken? #65

Closed 2mg closed 8 years ago

2mg commented 8 years ago

Limit at 100KBps, huge bandwidth spikes, see attached image.

ctw

2mg commented 8 years ago

Bump

SuperGouge commented 8 years ago

Hello, sorry for the late response.

The way this function works is it actually tries to reduce the speed when it sees values exceeding your limit to adjust. Unfortunately, due to the nature of the downloads and the way this throttling works, spikes are bound to happen. However you should see that the average over even a very short period of time should not exceed your limit.

As far as I know there is no way to achieve something more accurate without using some low level APIs and/or using a custom network adapter. But if someone knows a simpler way please let me know.

I realize these spikes can be annoying but this is the best solution I'm able to offer to the bandwidth throttling feature that was requested. Sorry for the inconvenience.

2mg commented 8 years ago

Thanks for responding!

I just saw this mail, and bumped my issue earlier so just close it.

I can live with spikes, I just set the limit lower, though I'd just thought it would be good to ask a dev. Keep it updated, glorious job.