Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
base: 91a20dac08ff
Choose a base ref
...
head repository: NixOS/nixpkgs
compare: 50913242abf4
Choose a head ref
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on Mar 2, 2020

  1. linux config: Set TCP_CONG_CUBIC=yes to restore the default

    This will switch the default TCP congestion control algorithm from
    new Reno to CUBIC. CUBIC is the default since Linux kernel 2.6.19
    (see 597811ec167fa) and most (all?) distributions keep this default
    (e.g. Debian and Ubuntu). On NixOS the default was still new Reno
    because generate-config.pl changes TCP_CONG_CUBIC from y to m (since we
    try to build everything as a module by default).
    
    To check the active and available algorithms:
    $ sysctl net.ipv4.tcp_congestion_control
    net.ipv4.tcp_congestion_control = cubic
    $ sysctl net.ipv4.tcp_available_congestion_control
    net.ipv4.tcp_available_congestion_control = cubic reno
    
    Note: E.g. x86_64_defconfig sets TCP_CONG_CUBIC=y indirectly via
    CONFIG_TCP_CONG_ADVANCED=y (but CUBIC is also the default if set to no,
    see net/ipv4/Kconfig).
    primeos committed Mar 2, 2020
    Copy the full SHA
    60f4345 View commit details
    Browse the repository at this point in the history

Commits on Apr 6, 2020

  1. Merge pull request #81500 from primeos/tcp-cong-switch-to-cubic

    linux config: Set TCP_CONG_CUBIC=yes to restore the default
    edolstra committed Apr 6, 2020
    Copy the full SHA
    5091324 View commit details
    Browse the repository at this point in the history