windows上除了普通tcp之外,有一个CTCP。

据说可以提升长延时情况下的吞吐量。

win7可以方便的通过netsh int tcp set global congestionprovider=ctcp设置。

win10已经不能通过netsh设置了,只能通过power shell,ps设置。

ps里用的是NetTCPsetting,但根据下面链接,又说win10这种客户端操作系统不能修改NetTCPsetting 参数,因为是只读的。只能在服务器上设置。

https://docs.microsoft.com/en-us/powershell/module/nettcpip/set-nettcpsetting?view=win10-ps

The Set-NetTCPSetting cmdlet modifies a TCP setting. TCP settings are optimized for different network conditions including latency and congestion. To apply a TCP setting to a port number or destination IP address range, create a transport filter by using the New-NetTransportFilter cmdlet.

Note

  1. You can modify Custom and Non-Custom settings on windows server 2016 and 2019.
  2. You can modify only Custom settings, Internet and Datacenter settings Cannot be modified on windows 2012 or earlier versions.
  3. You cannot modify the NetTCPsetting on Client Operating systems(Windows 7, 8.1 and 10) as they are Read-Only.

-CongestionProvider

Specifies the congestion provider property that TCP uses. The acceptable values for this parameter are:

  • CTCP. Compound TCP increases the receive window and amount of data sent. CTCP can improve throughput on higher latency connections.
  • DCTCP. Data Center TCP adjusts the TCP window based on network congestion feedback based on Explicit Congestion Notification (ECN) signaling. DCTCP may improve throughput on low latency links.
  • Default. Servers use DCTCP by default. Client computers use NewReno. For information about NewReno, see RFC 3782.

好了,既然不能修改模板的参数。

那如何指定使用哪个模板呢?

说是win10无法修改使用的模板

https://stackoverflow.com/questions/34619815/how-does-windows-decide-which-setting-template-internet-vs-datacenter-is-appli

一个帖子

https://social.technet.microsoft.com/Forums/windows/en-US/f55027d7-f4cf-4681-96b5-b530c9dab7e0/cant-set-netsh-int-tcp-set-supplemental

最新文章

  1. MRPT笔记——MRPT在VS2013中的配置
  2. TensorFlow中max pooling层各参数的意义
  3. ASP.NET SignalR 与 LayIM2.0 配合轻松实现Web聊天室(九) 之 用 Redis 实现用户在线离线状态消息处理(一)
  4. 手机app测试框架
  5. PHP引用文件
  6. 【shell】if
  7. Hbase 学习笔记(一) Hbase的物理模型 Hbase为每个值维护了一个多级索引,即<key, column family, column name, timestamp>
  8. CentOS 6.x 下Postfix和dovecot邮件服务安装和基本配置
  9. java_重写与重载的区别
  10. Json.Net系列教程 2.Net类型与JSON的映射关系
  11. Appium元素定位
  12. JAVA 编码解码
  13. Codeforces Round #336 (Div. 2)-608A.水题 608B.前缀和
  14. arm ncnn
  15. ArrayList集合方法
  16. ##Truncated incorrect DOUBLE value: 'E#4' 的问题解决
  17. mysql 中int类型字段unsigned和signed的探索
  18. 构建你的长寿命的API第1部分:规范驱动的API开发
  19. 聚类:(K-means)算法
  20. ASP.NET Web Form 与 ASP.NET MVC 区别

热门文章

  1. Java多线程的创建(二)
  2. Nginx配置文件模板
  3. SpringSecurity 默认表单登录页展示流程源码
  4. 设计模式(Java语言)- 工厂方法模式
  5. [bzoj1005] [洛谷P2624] 明明的烦恼
  6. 创建dynamics CRM client-side (三) - Execution Context
  7. JS-08-对象
  8. GPU与CPU
  9. Docker基础学习相关网址
  10. docker 简单使用