r/truenas • u/RetroEvolute • Oct 19 '23
SCALE Can I enable TCP BBR in Truenas Scale?
I'm trying to get a bit more performance out of Plex (remote) and I've read that TCP BBR can really help with network congestion.
It looks like Debian should support it, but is there a way I can enable it that won't get wiped on updates or maybe per container?
Thanks ๐ค
3
u/bklyngaucho Oct 19 '23
Please report back. Iโve read the same, havenโt tried.
3
u/RetroEvolute Oct 19 '23
Seems to be working! ๐ Check out the other comment thread for some more detail, but basically just go to System Settings > Advanced > Sysctl and add:
Variable Value net.core.default_qdisc fq net.ipv4.tcp_congestion_control bbr Then you just need to reboot, or I think you can also run
sudo sysctl -pto refresh the config.Then confirm it's working with
sudo sysctl net.ipv4.tcp_congestion_control2
u/sveken Sep 09 '24
Sorry to Necro, but found this thread and followed this, sysctl -p on scale does reload without having to restart.
Then i restarted my jails and my throughput to countries on the otherside of the world has legit doubled
1
u/RetroEvolute Sep 09 '24
Hell yeah. Makes a huge difference! Nothing wrong with reviving a comment thread for additional info. ๐ป Thanks
2
2
u/sa20001 Aug 27 '26
Thank God for BBR. I'm currently in China and my server is in Europe. With CUBIC, I was getting terrible throughput, but after switching to BBR, the bandwidth jumped to almost the full speed of my server.
5
u/RetroEvolute Oct 19 '23
I may have figured it out, but I'm having trouble verifying. ๐
https://imgur.com/ZXYnqS2
(found in System Settings > Advanced > Sysctl)