From 1983d5c66d135105f1e127ee159e2a947f2c2f77 Mon Sep 17 00:00:00 2001 From: Denis Denisov Date: Mon, 29 Oct 2018 09:17:46 +0200 Subject: [PATCH] Prioritization HTTP/2 with BBR & tcp_notsent_lowat --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.md b/README.md index 686635d..d7f3964 100644 --- a/README.md +++ b/README.md @@ -312,3 +312,19 @@ NGINX config formatter NGINX configuration tools ------------------------- * https://github.com/nginxinc/crossplane + +BBR (Linux 4.9+) +---------------- +* https://blog.cloudflare.com/http-2-prioritization-with-nginx/ +* Linux v4.13+ as no longer required FQ (`q_disc`) with BBR. +* https://github.com/google/bbr/blob/master/Documentation/bbr-quick-start.md +* https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git/commit/?id=218af599fa635b107cfe10acf3249c4dfe5e4123 +* https://github.com/systemd/systemd/issues/9725#issuecomment-413369212 +* If the latest Linux kernel distribution does not have `tcp_bbr` enabled by default: +```sh +modprobe tcp_bbr && echo 'tcp_bbr' >> /etc/modules-load.d/bbr.conf +echo 'net.ipv4.tcp_congestion_control=bbr' >> /etc/sysctl.d/99-tuning.conf +# Recommended for production, but with Linux v4.13rc1+ can be used not only in FQ (`q_disc') in BBR mode. +echo 'net.core.default_qdisc=fq' >> /etc/sysctl.conf +sysctl --system +```