如何在 Windows 7 中设置最大 TCP 接收窗口大小?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/17319026/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-09 10:38:18  来源:igfitidea点击:

How to set the maximum TCP receive window size in Windows 7?

windowstcp

提问by Jonas

I already tried to set the following registry keys:

我已经尝试设置以下注册表项:

  • GlobalMaxTcpWindowSize to 2KB (MSDN)
  • TcpWindowSize for each interface to 2KB (MSDN)
  • GlobalMaxTcpWindowSize 到 2KB ( MSDN)
  • 每个接口的 TcpWindowSize 为 2KB ( MSDN)

Unfortunately, I seems that these registry keys have no effect (also after a reboot). I tried testing using iperf which prints the default TCP window size on startup. In my case it printed 8KB before these modifications and 8KB afterwards...

不幸的是,我似乎这些注册表项不起作用(重启后也是如此)。我尝试使用 iperf 进行测试,它在启动时打印默认的 TCP 窗口大小。就我而言,它在这些修改之前打印了 8KB,之后打印了 8KB……

Any hints, ideas are welcome! Thanks in advance, Jonas

欢迎任何提示,想法!提前致谢,乔纳斯