Tune TCP: enable BBR

Switch to Google's BBR congestion control for better throughput.

sysctl -w net.core.default_qdisc=fq net.ipv4.tcp_congestion_control=bbr

tool
linux133 commands
tags
linuxnetworkkernelperformance

More linux commands

  • ss -ulnp

    List all listening UDP sockets with process info.

  • taskset -cp 0,1 <pid>

    Pin a running process to CPU cores 0 and 1.

  • watch -n1 'cat /proc/interrupts | head -30'

    Show interrupt counts per CPU, updated every second.

  • cat /proc/<pid>/limits

    Show hard and soft resource limits of a running process.

  • ulimit -n 1048576 && echo '* soft nofile 1048576 * hard nofile 1048576' >> /etc/security/limits.conf

    Set a high FD limit for the current session and save it in limits.conf for future logins.

all 133 linux commands