[SOLVED] LXC container :: How to enable TCP BBR?

Giovanni

Renowned Member
Apr 1, 2009
113
12
83
hi,

after setting the option in /etc/sysctl.conf of your PVE host and running sysctl -p, restart the container: pct reboot CTID

then go inside and check:
Code:
pct enter CTID
sysctl -a 2>/dev/null | grep congestion

and you should see it
 
  • Like
Reactions: Giovanni
sysctl net.ipv4.tcp_congestion_control=bbr or via /proc/sys//proc/sys/net/ipv4/tcp_congestion_control
 
i tried the same as the link you've sent and it worked.

Code:
echo "" >> /etc/sysctl.conf
echo "net.core.default_qdisc=fq" >> /etc/sysctl.conf
echo "net.ipv4.tcp_congestion_control=bbr" >> /etc/sysctl.conf
sysctl -p
 
hi,

after setting the option in /etc/sysctl.conf of your PVE host and running sysctl -p, restart the container: pct reboot CTID

then go inside and check:
Code:
pct enter CTID
sysctl -a 2>/dev/null | grep congestion

and you should see it
thank you! this worked great. I guess I as missing the rebooting the containers. I had wrongly assumed I had to change the settings on each LXC container but looks like it inherits the sysctl settings from the PVE host :)
 
great! please mark the thread as [SOLVED] so others know what to expect :)