5 ms·
How can we use it today! Is it in Linux code already and easy to enable ?
by skyde 9y ago
How can we use it today! Is it in Linux code already and easy to enable ?
- metafnord 9y agoThe 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-quick-start.md https://github.com/google/bbr/blob/master/Documentation/bbr-...
- lossolo 9y agoIt's in kernel 4.9
- ymse 9y agohttps://github.com/torvalds/linux/commit/0f8782ea14974ce992618b55f0c041ef43ed0b78 https://github.com/torvalds/linux/commit/0f8782ea14974ce9926...
- Scaevolus 9y agoIt'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 :-).
- newman314 9y agoHow are you measuring this?
- otterley 9y agoYou 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.
- assafmo 9y agoThank you! This is helpful also about fq vs fq_codel - https://groups.google.com/forum/m/#!topic/bbr-dev/4jL4ropdOV8 https://groups.google.com/forum/m/#!topic/bbr-dev/4jL4ropdOV...
- assafmo 9y agohttps://groups.google.com/d/topic/bbr-dev/4jL4ropdOV8 https://groups.google.com/d/topic/bbr-dev/4jL4ropdOV8
- newman314 9y agoTo 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