小编Tim*_*o77的帖子

Windows Server 2012 R2 和 TCP 慢启动和 Hyper-v 主机

我需要更改 TCP InitialCongestionWindow 的默认值

我阅读了这个文件:https : //www.iispeed.com/blog/windows-server-2012-and-tcp-slow-start

我在我们的 hyper-v 托管虚拟服务器 2012 R2 上进行了尝试。

PS C:\>Set-NetTCPSetting -SettingName Custom -InitialCongestionWindow 10 -CongestionProvider CTCP
Run Code Online (Sandbox Code Playgroud)

我有错误:

Set-NetTCPSetting : No MSFT_NetTCPSetting objects found with property 'SettingName' equal to 'Custom'.  Verify the valu
e of the property and retry.
At line:1 char:1
+ Set-NetTCPSetting -SettingName Custom -InitialCongestionWindow 10 -CongestionPro ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (Custom:String) [Set-NetTCPSetting], CimJobException
    + FullyQualifiedErrorId : CmdletizationQuery_NotFound_SettingName,Set-NetTCPSetting
Run Code Online (Sandbox Code Playgroud)

问题是我如何才能完成 IISspeed 文档所讲述的内容?如果我在 Hyper-v 机器上更改此设置,我是否也需要在 hypers-v 主机上更改此设置才能真正发挥作用?

我也应该对 SSL 端口 443 进行相同的更改吗? …

powershell hyper-v-server-2012 windows-server-2012-r2

5
推荐指数
1
解决办法
3002
查看次数