Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

--channel-bandwidth-downstream affects sender #44

Open
timofey-barmin opened this issue May 12, 2017 · 0 comments
Open

--channel-bandwidth-downstream affects sender #44

timofey-barmin opened this issue May 12, 2017 · 0 comments

Comments

@timofey-barmin
Copy link
Contributor

When I add --channel-bandwidth-downstream option not only receiving side gets blocked but the sender as well.
Example:

server side

$ tcpkali -l 8839  -T '15m' --dump-all --listen-mode=active -m "**********" -r 1
Listen on: [0.0.0.0]:8839
Snd(233, 10): [**********]
Rcv(233, 10): [@@@@@@@@@@]
Snd(233, 10): [**********]
Rcv(233, 10): [@@@@@@@@@@]
Snd(233, 10): [**********]
Rcv(233, 10): [@@@@@@@@@@]
Snd(233, 10): [**********]
Snd(233, 10): [**********]
Snd(233, 10): [**********]
Snd(233, 10): [**********]
Snd(233, 10): [**********]
Snd(233, 10): [**********]
Snd(233, 10): [**********]
Snd(233, 10): [**********]
Snd(233, 10): [**********]
Snd(233, 10): [**********]
Snd(233, 10): [**********]
Snd(233, 10): [**********]
Snd(233, 10): [**********]
Snd(233, 10): [**********]
Snd(233, 10): [**********]
Snd(233, 10): [**********]
Snd(233, 10): [**********]
//... keeps sending ...

client side

tcpkali -m "@@@@@@@@@@"  -c 1 -T '15m' -r 1 --dump-all  --channel-bandwidth-downstream '5Bps' localhost:8839 --nagle=on
Destination: [127.0.0.1]:8839
Destination: [127.0.0.1]:8839
Interface lo address [127.0.0.1]:0
Using interface lo to connect to [127.0.0.1]:8839
Using interface lo to connect to [127.0.0.1]:8839
Ramped up to 1 connections.
Rcv(12, 10): [**********]
Snd(12, 10): [@@@@@@@@@@]
Snd(12, 10): [@@@@@@@@@@]
Rcv(12, 20): [********************]
Snd(12, 10): [@@@@@@@@@@]
🕐  Traffic 0.000↓, 0.000↑ Mbps (conns 0↓ 1↑ 0⇡; seen 1)

//... sends nothing more (but it should)...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant