> For the complete documentation index, see [llms.txt](https://ekuwiki.gitbook.io/ekuwiki/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ekuwiki.gitbook.io/ekuwiki/wenti/tcp.md).

# 修改tcp配置参数来提升酸酸乳打开youtube的速度

本文转自hostloc论坛baodl大佬分享。辽宁联通100M宽带，前几日访问油管connection speed一直在2000K上下，换一台电脑马上速度飙到几万。另有人说跟本地网络有关。

![](https://3862329388-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M-GH5UUDGQ-eCM4KRO-%2F-M2nRiR0VpHouEM15YnI%2F-M2nT_zywk88p_wVysrj%2F007X8olVly1g6nx57u7esj30zq0k77wh.jpg?alt=media\&token=f9c86f81-184a-4de1-a390-f1f4fc2df324)

经过1天多的各种尝试，终于找到解决方案，就是调节了TCP 全局参数 ，现在的速度已经到56000K左右。现提供方法给大家参考。

### 修改 tcp配置参数来提升酸酸乳打开youtube的速度教程

#### 1、管理员方式运行cmd命令，在cmd窗口输入以下命令，查看当前 TCP 全局参数

`netsh int tcp show global`

<div align="left"><img src="https://3862329388-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M-GH5UUDGQ-eCM4KRO-%2F-M2nRiR0VpHouEM15YnI%2F-M2nSoE6p1s3t1QMxzje%2F007X8olVly1g6nwztaehoj30ek08oq36.jpg?alt=media&amp;token=b428c44e-210b-47f6-8b37-5fa57839f1de" alt=""></div>

#### 2、修改TCP 全局参数。以下4个都要改

**2.1直接缓存访问(DCA)**`netsh int tcp set global dca=enabled`

**2.2接收窗口自动调谐级别**`netsh int tcp set global autotuninglevel=normal`

**2.3附加拥塞控制提供程序**

Win7用此命令

`netsh interface tcp set global congestionprovider=ctcp`<br>

Win10用此命令 `netsh int tcp set supplemental template=internet congestionprovider=ctcp`<br>

**2.4RFC 1323 时间戳**`netsh int tcp set global timestamps=enabled`

![](https://3862329388-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M-GH5UUDGQ-eCM4KRO-%2F-M2nRiR0VpHouEM15YnI%2F-M2nT0hedqjJHveo-lI2%2F007X8olVly1g6nx29ro56j30j305p3yk.jpg?alt=media\&token=038e3cc1-a3f4-4bd3-a38f-e57f898291ba)

3、重启电脑
