Skip to content

Avoid network traffic jam with BBR

Linux
2 2 670 1
  • From time to time, here or there, we see subjects flourish on an abnormally limited speed in FTP.
    To overcome this kind of slowdown, simply activate the TCP BBR protocol

    Without going into details, this protocol makes it possible to make better use of the bandwidth available during the exchange of TCP packets. Created by Google, you can find more information here.

    Integrated into the Linux Kernel since version 4.9, all you have to do to activate it is to edit the kernel parameters (/etc/sysctl.conf) and add :

    net.ipv4.tcp_congestion_control = bbr
    net.core.default_qdisc = fq
    

    A TCP command acting in both IPv4 and v6,

    save and load with :

    sudo sysctl -p
    

    And we go from a restricted FTP speed
    crazy 🙂

    If you are under Proxmox or ESXi, this must be done both on the host and in the VM/CT.

  • DownPWundefined DownPW marked this topic as a regular topic on
  • From time to time, here or there, we see subjects flourish on an abnormally limited speed in FTP.
    To overcome this kind of slowdown, simply activate the TCP BBR protocol

    Without going into details, this protocol makes it possible to make better use of the bandwidth available during the exchange of TCP packets. Created by Google, you can find more information here.

    Integrated into the Linux Kernel since version 4.9, all you have to do to activate it is to edit the kernel parameters (/etc/sysctl.conf) and add :

    net.ipv4.tcp_congestion_control = bbr
    net.core.default_qdisc = fq
    

    A TCP command acting in both IPv4 and v6,

    save and load with :

    sudo sysctl -p
    

    And we go from a restricted FTP speed
    crazy 🙂

    If you are under Proxmox or ESXi, this must be done both on the host and in the VM/CT.

    @DownPW interesting. Does this have any effect on data transfers over SCP


Related Topics
  • To the Window to the Linux . . .

    Pinned Linux arch linux windows endoflife
    18
    13 Votes
    18 Posts
    1k Views
    Just wanted to say that it has been fun making my mom learn Arch Linux by switching the church school computers over to it where she assists.
  • Arch Linux | Reflector

    Linux arch linux pacman reflector updates
    3
    3 Votes
    3 Posts
    933 Views
    I don’t know how I missed this, but I found out that there is a reflector.service and a reflector.timer service that should both be enabled and started. My understanding is that if you enable and start the reflector.timer service, that it will trigger the reflector.service to update the mirror list. I wanted to make sure I was covered either way and enabled and started them both. The commands are below to do this. sudo systemctl enable --now reflector.service sudo systemctl enable --now reflector.timer Of course you can find the source material here: https://wiki.archlinux.org/title/Reflector
  • Linux Certification

    Linux linux certs
    4
    2 Votes
    4 Posts
    612 Views
    @Madchatthew You might be sorry you asked This is the mentoring category below. Presently, it’s unused, but we have a dedicated area for it. https://sudonix.org/category/8/mentoring Other services https://sudonix.org/services
  • Arch Linux + Me = Crazy

    Linux arch linux web server vps
    10
    0 Votes
    10 Posts
    949 Views
    @Madchatthew hmm, yes, that might be problematic.
  • 3 Votes
    30 Posts
    4k Views
    @DownPW any update?
  • Error certification on virtualmin/Nginx

    Solved Linux cert virtualmin nginx
    17
    2
    0 Votes
    17 Posts
    2k Views
    @DownPW anytime
  • Ubuntu Upgrade All Packages

    Solved Linux mangodb sudonix
    3
    3 Votes
    3 Posts
    698 Views
    @phenomlab Upgraded, everything works
  • Testing out Webdock.io

    Moved Announcements webdock recovery speed
    2
    5
    5 Votes
    2 Posts
    904 Views
    Just coming back to this thread for review (as I often do), and it looks like Webdock have increased their available offerings - some are extremely powerful, yet very competitive from the pricing perspective. [image: 1692559685163-7cf9a928-ac21-44fe-99c6-90439030d631-image.png] 10 CPU cores, plus 20Gb RAM? Well worth a look (and the asking price) - there’s also a fixed IP which is hugely beneficial. Clearly, this is well beyond what most people will want to spend - it’s more of an example (but interestingly, Sudonix runs on something not too different from the above). However, not all that glitters is gold - just have a walk through the benchmark report I found below and you’ll see a huge difference between Heztner and Webdock https://www.vpsbenchmarks.com/compare/hetzner_vs_webdock That being said, the amount of HTTP requests that Webdock handles in relation to Hetzner is superior - @DownPW you might want to have a look at this - there’s a free 24 hour trial… [image: 1692560710486-5203639b-2f62-47e6-b87b-37580ce5deae-image.png]