vortex-5 / ddwrt-bwmon

An Individual Bandwidth Monitor For DD-WRT
171 stars 37 forks source link

Incorrect BW speeds #39

Closed danmed closed 7 years ago

danmed commented 8 years ago

On recent firmwares, the speed in your script does not seem to be being reported correctly..

it seems to be reporting about a quarter of the speed that is actually being used.

vortex-5 commented 8 years ago

The last working DDWRT firmware is 30534 I'm waiting for them to resolve a bug in lighttpd before I can fix anything further there is an issue on their tracker.

Also if you are in lighttpd mode then the speeds will "catch up" to the actual speeds after 6 seconds after first startup this is a smoothing feature since without the smoothing the bandwidth speeds would spike too frequently to be readable.

As for non lighttpd versions I don't know what the BW discrepency is like since 30534 causes the lighttpd server to always deliver 500 errors so I'm waiting for that to be resolved before I can fix anything else.

danmed commented 8 years ago

Thanks for the explanation.. i'm not in lighttpd mode. I have gone back to 30534 to see if things improve.

vortex-5 commented 8 years ago

http://svn.dd-wrt.com/ticket/5573

gstrauss commented 7 years ago

@vortex-5: You updated http://svn.dd-wrt.com/ticket/5573 that this is working again. If you're still waiting on something to be fixed in lighttpd, please update with more details. Thx.

danmed commented 7 years ago

If anyone cares, i've just bumped from 30534 to 30949 and this problem still exists..I'm downloading at 660KiB/s and BWMon is reporting between 70 and 120KB/s

vortex-5 commented 7 years ago

Not entirely sure where you're seeing Kibibyte because the rates are given in Kilobytes.

That said accurate measurement of download rates is partially dependent on how well your router can keep up with the logging. Are you using lighttpd or the user www method of accessing the information?

danmed commented 7 years ago

I'm seeing KiB/s on syncthing.. the actual program that's download.. whereas your tool is reporting less than a quarter of that.. if i go back to 30534, then the numbers match.

vortex-5 commented 7 years ago

Could be a kong only thing I'll have to check if atheros units are affected.

danmed commented 7 years ago

kong? I'm running a Tp LInk WR1043ND V2

vortex-5 commented 7 years ago

I'm unable to reproduce this I just did a test on my WNDR4300 running atheros and 30949

danmed commented 7 years ago

I will test again once i am home later.

vortex-5 commented 7 years ago

Nothing has been updated code wise I'd expect the bug to still persist on your router however it's not something I can replicate.