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

BBR transmits too aggressively under throttled network #1180

Open
keytouch opened this issue Aug 10, 2024 · 3 comments
Open

BBR transmits too aggressively under throttled network #1180

keytouch opened this issue Aug 10, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@keytouch
Copy link

Describe the bug
With normal ISP broadband with 30Mbps up, speedtest utilize about 70Mbps with BBR. While effective bandwidth is of course within 30Mbps.
Aggressive transmiting behaviour might lead to latency increase and jitters... Maybe there is something odd with congestion window detection.

To Reproduce
Just run hysteria-linux-amd64-avx speedtest
To mitigate the issue, I have to lower maxStreamReceiveWindow or use brutal, which is not even a work around.
I am using 2.5.0.

Expected behavior
Transmit rate should not shoot much beyond 30Mbps.

@keytouch keytouch added the bug Something isn't working label Aug 10, 2024
@its0ka
Copy link

its0ka commented Aug 15, 2024

woah, really, it transmits at 38mbit/s to my 20mbit/s network, everything else on the network just dies

@its0ka
Copy link

its0ka commented Nov 13, 2024

and also kernel TCP BBR on linux works like 10 times better under the same network conditions, i tested on my local network with "tc qdisc replace dev enp2s14 root netem limit 999999999 delay 100ms 50ms loss random 10%" on the server and set network card to 10mbit/s on client and got
hysteria bbr: 700kbit/s iperf3 (network card was transfering at 1.4mbit/s)
kernel bbr: 8mbit/s iperf3 (network card was transfering at 8.5mbit/s)

but with "tc qdisc replace dev enp2s14 root netem limit 999999999 delay 100ms 00ms loss random 10%" i get much more similar results, seems like hysteria bbr hates jitter

on my isp the internet in the evening starts having up to 10% packet loss and 40ms jitter so that test was realistic

@BK8000L
Copy link

BK8000L commented Dec 5, 2024

brutal also seems to have issues, but kernel module with sing-box works much better
tc qdisc replace dev enp2s14 root netem limit 999999999 delay 100ms 50ms loss random 10% and brutal at 6mbit/s
sing-box: 712kb/s (network transfer at 6.4mbit/s)
hysteria2: 135kb/s (network transfer at 6.6mbit/s)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants