clumsy
clumsy copied to clipboard
New feature interest, bandwidth limiting effect ("cap")
I am interested in a simple bandwidth limiting effect. I have uncommented a section of Clumsy that contained a "cap" effect. This effect seems to have the correct logic. One issue that I see is a packet is always pushed from the local "cap" buffer. There is a comment in the "cap" process loop indicating that the local buffer packet will get stuck if a packet is not pushed during a process cycle. This seems to be the case if the code is modified to not output a packet every cap::process cycle.
Any insight into this "cap" effect effort / removal would be appreciated. Thanks, Bob
Hi Bob, the 'Cap' function on master is broken atm. I'll need some time to implement it, but it won't happen soon as I get stuck on my day job :( Pull requests is always welcomed. You can look up the other issue that has a reference implementation if I remembered correctly.
Meanwhile you can always use Lag to simulate a capped bandwidth. It worked for me previously.
I created a PR for this:
https://github.com/jagt/clumsy/pull/70
wish it could be included.