←back to thread

360 points pjf | 10 comments | | HN request time: 0.759s | source | bottom
1. 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 #
2. metafnord ◴[] No.14300654[source]
The code is already in net-next. This means you currently have to build your own kernel if you want to use it. This should be enough to get you going: https://github.com/google/bbr/blob/master/Documentation/bbr-...
3. lossolo ◴[] No.14300679[source]
It's in kernel 4.9
replies(1): >>14301500 #
4. ymse ◴[] No.14301500[source]
https://github.com/torvalds/linux/commit/0f8782ea14974ce9926...
5. 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 #
6. newman314 ◴[] No.14305886[source]
How are you measuring this?
7. newman314 ◴[] No.14306421[source]
To get this on Ubuntu 16.04 LTS, get and install the following:

  wget kernel.ubuntu.com/~kernel-ppa/mainline/v4.9.26/linux-headers-4.9.26-040926_4.9.26-040926.201705031231_all.deb kernel.ubuntu.com/~kernel-ppa/mainline/v4.9.26/linux-image-4.9.26-040926-generic_4.9.26-040926.201705031231_i386.deb kernel.ubuntu.com/~kernel-ppa/mainline/v4.9.26/linux-image-4.9.26-040926-generic_4.9.26-040926.201705031231_amd64.deb
  sudo dpkg -i linux-headers-4.9*.deb linux-image-4.9*.deb
8. 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.

9. 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 #
10. assafmo ◴[] No.14309272{3}[source]
https://groups.google.com/d/topic/bbr-dev/4jL4ropdOV8