Windows 11 在 22H2 版本更新中支持了TCP BBR2拥塞控制算法,只需要以管理员权限运行PowerShell,然后运行以下命令
1 2 3 4 5
netsh int tcp set supplemental Template=Internet CongestionProvider=bbr2 netsh int tcp set supplemental Template=Datacenter CongestionProvider=bbr2 netsh int tcp set supplemental Template=Compat CongestionProvider=bbr2 netsh int tcp set supplemental Template=DatacenterCustom CongestionProvider=bbr2 netsh int tcp set supplemental Template=InternetCustom CongestionProvider=bbr2
netsh int tcp set supplemental template=internet congestionprovider=CUBIC netsh int tcp set supplemental template=internetcustom congestionprovider=CUBIC netsh int tcp set supplemental template=Compat congestionprovider=NewReno netsh int tcp set supplemental template=Datacenter congestionprovider=CUBIC netsh int tcp set supplemental template=Datacentercustom congestionprovider=CUBIC