Как заставить windows вести себя как iperf -w
У меня 2 клиента с междугородней связью 10 Гбит. Когда я запускаю iperf3 -c xxxx -w 3m на клиенте, мне удается приблизиться к полной пропускной способности 10 Гбит.
Когда я, с другой стороны, просто использую iper3 -c xxxx (не указывая размер окна), я получаю только около 1 Гбит. Итак, теперь мне интересно, как заставить моего клиента использовать размер окна 3 м по умолчанию?
Клиент, который я использую, является Windows Server 2012 R2. Я включил автоматическое масштабирование
PS C:\Users\Administrator> netsh int tcp show heuristics
TCP Window Scaling heuristics Parameters
----------------------------------------------
Window Scaling heuristics : disabled
Qualifying Destination Threshold : 3
Profile type unknown : normal
Profile type public : normal
Profile type private : normal
Profile type domain : normal
PS C:\Users\Administrator> netsh int tcp show global
Querying active state...
TCP Global Parameters
----------------------------------------------
Receive-Side Scaling State : enabled
Chimney Offload State : disabled
NetDMA State : disabled
Direct Cache Access (DCA) : disabled
Receive Window Auto-Tuning Level : normal
Add-On Congestion Control Provider : none
ECN Capability : enabled
RFC 1323 Timestamps : disabled
Initial RTO : 3000
Receive Segment Coalescing State : enabled
Non Sack Rtt Resiliency : disabled
Max SYN Retransmissions : 2
Сервер убунту 14.04. Я использовал sysctl для установки следующих параметров:
net.core.wmem_max=12582912
net.core.rmem_max=12582912
net.ipv4.tcp_wmem=10240 87380 12582912
net.ipv4.tcp_rmem=10240 87380 12582912