大佬教程收集整理的这篇文章主要介绍了powershell – Windows Server 2012 R2和TCP慢启动和Hyper-v主机,大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。
我看了这个文件:
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
我收到了错误:
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
问题是如何才能完成IISspeed文档所说的内容?如果我在Hyper-v机器上更改此功能我是否还需要在hypers-v主机上更改此功能以实际上有所不同?
我是否应该对SSL端口443进行相同的更改?
我运行了这个命令:
PS C:\Users\Administrator> Get-NetTCPSetTing SetTingName : Automatic MinRto(ms) : InitialCongestionWindow(MSS) : CongestionProvider : CwndRestart : DelayedAckTimeout(ms) : DelayedAckFrequency : MemoryPressureProtection : AutoTuningLevelLocal : AutoTuningLevelGroupPolicy : AutoTuningLevelEffective : EcnCapability : timestamps : InitialRto(ms) : ScalingHeuristics : DynamicPortRangeStartPort : DynamicPortRangenumberOfPorts : AutomaticUseCustom : NonSackRttResiliency : ForceWS : MaxSynRetransmissions : SetTingName : InternetCustom MinRto(ms) : 300 InitialCongestionWindow(MSS) : 4 CongestionProvider : CTCP CwndRestart : false DelayedAckTimeout(ms) : 50 DelayedAckFrequency : 2 MemoryPressureProtection : Enabled AutoTuningLevelLocal : Normal AutoTuningLevelGroupPolicy : NotConfigured AutoTuningLevelEffective : Local EcnCapability : Enabled timestamps : Disabled InitialRto(ms) : 3000 ScalingHeuristics : Disabled DynamicPortRangeStartPort : 49152 DynamicPortRangenumberOfPorts : 16384 AutomaticUseCustom : Disabled NonSackRttResiliency : Disabled ForceWS : Disabled MaxSynRetransmissions : 2 SetTingName : DatacenterCustom MinRto(ms) : 20 InitialCongestionWindow(MSS) : 4 CongestionProvider : DCTCP CwndRestart : True DelayedAckTimeout(ms) : 10 DelayedAckFrequency : 2 MemoryPressureProtection : Enabled AutoTuningLevelLocal : Normal AutoTuningLevelGroupPolicy : NotConfigured AutoTuningLevelEffective : Local EcnCapability : Enabled timestamps : Disabled InitialRto(ms) : 3000 ScalingHeuristics : Disabled DynamicPortRangeStartPort : 49152 DynamicPortRangenumberOfPorts : 16384 AutomaticUseCustom : Disabled NonSackRttResiliency : Disabled ForceWS : Disabled MaxSynRetransmissions : 2 SetTingName : Compat MinRto(ms) : 300 InitialCongestionWindow(MSS) : 2 CongestionProvider : Default CwndRestart : false DelayedAckTimeout(ms) : 200 DelayedAckFrequency : 2 MemoryPressureProtection : Enabled AutoTuningLevelLocal : Normal AutoTuningLevelGroupPolicy : NotConfigured AutoTuningLevelEffective : Local EcnCapability : Enabled timestamps : Disabled InitialRto(ms) : 3000 ScalingHeuristics : Disabled DynamicPortRangeStartPort : 49152 DynamicPortRangenumberOfPorts : 16384 AutomaticUseCustom : Disabled NonSackRttResiliency : Disabled ForceWS : Disabled MaxSynRetransmissions : 2 SetTingName : Datacenter MinRto(ms) : 20 InitialCongestionWindow(MSS) : 4 CongestionProvider : DCTCP CwndRestart : True DelayedAckTimeout(ms) : 10 DelayedAckFrequency : 2 MemoryPressureProtection : Enabled AutoTuningLevelLocal : Normal AutoTuningLevelGroupPolicy : NotConfigured AutoTuningLevelEffective : Local EcnCapability : Enabled timestamps : Disabled InitialRto(ms) : 3000 ScalingHeuristics : Disabled DynamicPortRangeStartPort : 49152 DynamicPortRangenumberOfPorts : 16384 AutomaticUseCustom : Disabled NonSackRttResiliency : Disabled ForceWS : Disabled MaxSynRetransmissions : 2 SetTingName : Internet MinRto(ms) : 300 InitialCongestionWindow(MSS) : 4 CongestionProvider : CTCP CwndRestart : false DelayedAckTimeout(ms) : 50 DelayedAckFrequency : 2 MemoryPressureProtection : Enabled AutoTuningLevelLocal : Normal AutoTuningLevelGroupPolicy : NotConfigured AutoTuningLevelEffective : Local EcnCapability : Enabled timestamps : Disabled InitialRto(ms) : 3000 ScalingHeuristics : Disabled DynamicPortRangeStartPort : 49152 DynamicPortRangenumberOfPorts : 16384 AutomaticUseCustom : Disabled NonSackRttResiliency : Disabled ForceWS : Disabled MaxSynRetransmissions : 2
New-NetTransportFilter -SetTingName Custom -LocalPortStart 80 -LocalPortEnd 80 -RemotePortStart 0 -RemotePortEnd 65535
当您要修改设置时,将使用Set-NetTCPSetTing命令行开关.因此,为什么您收到有关未找到的自定义对象的错误.创建传输过滤器后,您的原始命令可以修改设置.
Set-NetTCPSetTing -SetTingName Custom -InitialCongestionWindow 10 -CongestionProvider CTCP
以上是大佬教程为你收集整理的powershell – Windows Server 2012 R2和TCP慢启动和Hyper-v主机全部内容,希望文章能够帮你解决powershell – Windows Server 2012 R2和TCP慢启动和Hyper-v主机所遇到的程序开发问题。
如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。