Skip to content

Commit

Permalink
server/networking: unset tcp BBR and fq
Browse files Browse the repository at this point in the history
Appearantly TCP BBR is not a good idea without doing any performance
measurements: #556

fq is actually incorrect. It should be `fq_codel` and systemd already
applies this by default for us.
  • Loading branch information
Mic92 committed Dec 2, 2024
1 parent 239c82e commit 4c9772b
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions nixos/server/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -111,12 +111,6 @@
'';
};

# use TCP BBR has significantly increased throughput and reduced latency for connections
boot.kernel.sysctl = {
"net.core.default_qdisc" = "fq";
"net.ipv4.tcp_congestion_control" = "bbr";
};

# Make sure the serial console is visible in qemu when testing the server configuration
# with nixos-rebuild build-vm
virtualisation.vmVariant.virtualisation.graphics = lib.mkDefault false;
Expand Down

0 comments on commit 4c9772b

Please sign in to comment.