Windows11开启BBR2教程附实测效果和恢复默认设置

在Linux系列操作系统中,我们通常会安装Google的BBR网络拥塞控制软件。而现在,Windows 11(22H2)也可以开启BBR2版本。

BBRv2是一种基于模型的拥塞控制算法,旨在减少队列、降低丢包和与Reno/CUBIC算法的协作。它维护一个模型网络路径,利用带宽和往返时间的测量值,以及(如果发生)数据包丢失和/或DCTCP/L4S样式的ECN信号。

与BBR相比,BBR2更加”公平”,在延迟和丢包较高的情况下,其速度会慢于BBR,有时甚至比默认的CUBIC算法还要慢。因此,在开启BBR2之前,需要根据自己的网络链路进行测试,它可能只是提升效果微不足道的东西。

开启教程

要求Windows 11是22h2版本及以上。我看了很多其他博客写的Windows11开启BBR2的教程,大部分都没有写恢复方法,有的恢复方法也没写全,主要也是给自己备用的。

1.打开powershell并右键管理员权限运行。

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

2.验证是否开启成功,也可以用这个查看默认设置。

Get-NetTCPSetting | Select SettingName, CongestionProvider

恢复教程

netsh int tcp set supplemental template=Compat congestionprovider=NewReno
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

测试结果

以下是在我电脑上测试的结果,速度更快的是Windows11开启BBR2的。

其它

Credis和Phpredis的区别:适合多PHP环境的Redis客户端

2023-5-7 23:48:28

其它

抖音新的黑科技[小爆发]自动回复卡片引流跳微信

2023-6-15 15:24:41

0 条回复 A文章作者 M管理员
    暂无讨论,说说你的看法吧
个人中心
今日签到
有新私信 私信列表
搜索