←back to thread

360 points pjf | 5 comments | | HN request time: 0.235s | source
Show context
skyde ◴[] No.14300495[source]
How can we use it today! Is it in Linux code already and easy to enable ?
replies(4): >>14300654 #>>14300679 #>>14301568 #>>14306421 #
1. Scaevolus ◴[] No.14301568[source]
It's available in Ubuntu 17.04. Add these lines to /etc/sysctl.conf:

    net.core.default_qdisc=fq
    net.ipv4.tcp_congestion_control=bbr
I got 400Mbps (on a 1Gbps link) from Seattle to New York with a single TCP-BBR stream, vs ~50Mbps before :-).
replies(3): >>14305886 #>>14308410 #>>14309165 #
2. newman314 ◴[] No.14305886[source]
How are you measuring this?
3. otterley ◴[] No.14308410[source]
You could probably saturate that link with a single TCP stream -- even without BBR -- by simply choosing the correct send and receive buffer sizes in your test program. (I assume you're using iperf or a similar program to perform your tests.)

BBR and other congestion-control algorithms come into play when the underlying IP network is congested. To test them, you have to have control of the congestion rate of the underlying circuit, which you might not have if you're testing this on an ordinary public IP network.

4. assafmo ◴[] No.14309165[source]
Thank you! This is helpful also about fq vs fq_codel - https://groups.google.com/forum/m/#!topic/bbr-dev/4jL4ropdOV...
replies(1): >>14309272 #
5. assafmo ◴[] No.14309272[source]
https://groups.google.com/d/topic/bbr-dev/4jL4ropdOV8