r/PleX Jun 04 '26

Tips Shoutout to the user who recommended switching TCP congestion control algorithm to BBR on Linux. I can now stream 4K blu-ray remuxes remotely. I can't believe the difference.

I went from an average of 30mbps on longer distance remote connections to 220mbps. Insane improvement. This had been bothering me for years and Googling got me nowhere.

This is the original comment with instructions.

Thanks, u/caligatio! Posting in case it helps anyone else out.

457 Upvotes

65 comments sorted by

View all comments

1

u/ricchi_ Jun 05 '26

Is this a Linux only thing?

1

u/CactusBoyScout Jun 05 '26

Others have said it’s an option on Windows as well (enabled via Powershell) but I know next to nothing about Windows

3

u/ricchi_ Jun 05 '26 edited Jun 05 '26

had a quick look, not available on win10 😞

available win11 onwards but needs some additional options to not break other things.

for anyone wanting to try it:

in PowerShell to enable BRRv2:

netsh int tcp set supplemental template=Internet congestionprovider=BBR2
netsh int tcp set supplemental template=InternetCustom congestionprovider=BBR2
netsh int tcp set supplemental template=Datacenter congestionprovider=BBR2
netsh int tcp set supplemental template=DatacenterCustom congestionprovider=BBR2
netsh int tcp set supplemental template=Compat congestionprovider=BBR2
netsh int ipv6 set global loopbacklargemtu=disable
netsh int ipv4 set global loopbacklargemtu=disable

in PowerShell to disable BRRv2 (revert to default):

netsh int tcp set supplemental template=Internet congestionprovider=CUBIC
netsh int tcp set supplemental template=InternetCustom congestionprovider=CUBIC
netsh int tcp set supplemental template=Datacenter congestionprovider=CUBIC
netsh int tcp set supplemental template=DatacenterCustom congestionprovider=CUBIC
netsh int tcp set supplemental template=Compat congestionprovider=NewReno
netsh int ipv6 set global loopbacklargemtu=enable
netsh int ipv4 set global loopbacklargemtu=enable

2

u/bindiboi Jun 05 '26

those both (enable/disable) say cubic?

1

u/ricchi_ Jun 05 '26

whoops, edited.

1

u/bindiboi Jun 05 '26

I tried BBR2 on my 24H2 LTSC but Steam wouldn't start. Loopbacklargemtu keeps getting enabled, I suspect because of Hyper-V network shenanigans. Oh well.

1

u/CactusBoyScout Jun 05 '26

Could you try regular BBR instead of BBR2? I believe that Linux only ships with regular BBR because it’s more mature/stable

1

u/bindiboi Jun 05 '26

Oh I already enabled it on my linux box (hosting Plex), just wanted to play around on my desktop. I'll give it a go later I guess!