Windows Server 2019 高往返时间低传输带宽

Windows Server 2019 高往返时间低传输带宽

我有两台 Windows Server 2019,它们之间的往返时间为 88 毫秒。当我尝试使用 iperf3 测量带宽时,在单个流的情况下,两个方向的带宽仅约为 16 Mbits/sec。要获得分配的实际带宽 1 Gbits/s,我需要将窗口大小增加到 1M,并使用 -w 1M -P 10 在 10 个并行流中运行它。当我在它们之间复制文件时,我也获得了良好的性能。

我可以做些什么来提高单流性能?问题是:Windows Server Backup 受此数字限制。简单备份需要大约 2-4 小时才能完成(复制相同大小的文件需要 15 分钟)。

以下是两台服务器上的设置:

netsh int tcp 显示全局

TCP Global Parameters
----------------------------------------------
Receive-Side Scaling State          : enabled
Receive Window Auto-Tuning Level    : normal
Add-On Congestion Control Provider  : default
ECN Capability                      : enabled
RFC 1323 Timestamps                 : disabled
Initial RTO                         : 3000
Receive Segment Coalescing State    : enabled
Non Sack Rtt Resiliency             : disabled
Max SYN Retransmissions             : 2
Fast Open                           : disabled
Fast Open Fallback                  : enabled
HyStart                             : enabled
Pacing Profile                      : off

获取 NetTCPSetting -SettingName Internet

SettingName                     : Internet
MinRto(ms)                      : 300
InitialCongestionWindow(MSS)    : 10
CongestionProvider              : CUBIC
CwndRestart                     : False
DelayedAckTimeout(ms)           : 40
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                         : Enabled
MaxSynRetransmissions           : 2
AutoReusePortRangeStartPort     : 0
AutoReusePortRangeNumberOfPorts : 0

获取 NetAdapterAdvancedProperty -名称外部|格式表-自动调整大小

Name     DisplayName                       DisplayValue                   RegistryKeyword                     RegistryValue
----     -----------                       ------------                   ---------------                     -------------
External Encapsulation Overhead            0                              *EncapOverhead                      {0}
External Encapsulated Task Offload         Enabled                        *EncapsulatedPacketTaskOffload      {1}
External NVGRE Encapsulated Task Offload   Enabled                        *EncapsulatedPacketTaskOffloadNvgre {1}
External VXLAN Encapsulated Task Offload   Enabled                        *EncapsulatedPacketTaskOffloadVxlan {1}
External Flow Control                      Rx & Tx Enabled                *FlowControl                        {3}
External Header Data Split                 Disabled                       *HeaderDataSplit                    {0}
External Interrupt Moderation              Enabled                        *InterruptModeration                {1}
External IPv4 Checksum Offload             Rx & Tx Enabled                *IPChecksumOffloadIPv4              {3}
External Jumbo Packet                      Disabled                       *JumboPacket                        {1514}
External Large Send Offload V2 (IPv4)      Enabled                        *LsoV2IPv4                          {1}
External Large Send Offload V2 (IPv6)      Enabled                        *LsoV2IPv6                          {1}
External Maximum Number of RSS Processors  16                             *MaxRssProcessors                   {16}
External Preferred NUMA node               65535                          *NumaNodeId                         {65535}
External Maximum Number of RSS Queues      2 Queues                       *NumRssQueues                       {2}
External Packet Priority & VLAN            Packet Priority & VLAN Enabled *PriorityVLANTag                    {3}
External Receive Buffers                   512                            *ReceiveBuffers                     {512}
External Recv Segment Coalescing (IPv4)    Enabled                        *RSCIPv4                            {1}
External Recv Segment Coalescing (IPv6)    Enabled                        *RSCIPv6                            {1}
External Receive Side Scaling              Enabled                        *RSS                                {1}
External Starting RSS CPU                  0                              *RssBaseProcNumber                  {0}
External Virtual Switch RSS                Enabled                        *RssOnHostVPorts                    {1}
External RSS load balancing profile        ClosestProcessor               *RSSProfile                         {1}
External Speed & Duplex                    Auto Negotiation               *SpeedDuplex                        {0}
External SR-IOV                            Enabled                        *SRIOV                              {1}
External TCP Checksum Offload (IPv4)       Rx & Tx Enabled                *TCPChecksumOffloadIPv4             {3}
External TCP Checksum Offload (IPv6)       Rx & Tx Enabled                *TCPChecksumOffloadIPv6             {3}
External Transmit Buffers                  512                            *TransmitBuffers                    {512}
External UDP Checksum Offload (IPv4)       Rx & Tx Enabled                *UDPChecksumOffloadIPv4             {3}
External UDP Checksum Offload (IPv6)       Rx & Tx Enabled                *UDPChecksumOffloadIPv6             {3}
External Virtual Machine Queues            Enabled                        *VMQ                                {1}
External VXLAN UDP Destination Port Number 4789                           *VxlanUDPPortNumber                 {4789}
External Wake on Magic Packet              Enabled                        *WakeOnMagicPacket                  {1}
External Wake on Pattern Match             Enabled                        *WakeOnPattern                      {1}
External DMA Coalescing                    Disabled                       DMACoalescing                       {0}
External Enable PME                        Disabled                       EnablePME                           {0}
External Interrupt Moderation Rate         Adaptive                       ITR                                 {65535}
External Log Link State Event              Enabled                        LogLinkStateEvent                   {51}
External Locally Administered Address                                     NetworkAddress                      {--}
External VLAN ID                           0                              VlanId                              {0}
External Wake on Link Settings             Disabled                       WakeOnLink                          {0}

iperf3 -c 地址

Connecting to host address, port 5201
[  4] local address port 57162 connected to address port 5201
[ ID] Interval           Transfer     Bandwidth
[  4]   0.00-1.00   sec   768 KBytes  6.28 Mbits/sec
[  4]   1.00-2.00   sec  2.00 MBytes  16.8 Mbits/sec
[  4]   2.00-3.00   sec  2.12 MBytes  17.8 Mbits/sec
[  4]   3.00-4.00   sec  2.00 MBytes  16.8 Mbits/sec
[  4]   4.00-5.00   sec  2.00 MBytes  16.8 Mbits/sec
[  4]   5.00-6.00   sec  2.00 MBytes  16.8 Mbits/sec
[  4]   6.00-7.00   sec  2.00 MBytes  16.8 Mbits/sec
[  4]   7.00-8.00   sec  2.12 MBytes  17.8 Mbits/sec
[  4]   8.00-9.00   sec  2.00 MBytes  16.8 Mbits/sec
[  4]   9.00-10.00  sec  2.12 MBytes  17.9 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth
[  4]   0.00-10.00  sec  19.1 MBytes  16.0 Mbits/sec                  sender
[  4]   0.00-10.00  sec  19.1 MBytes  16.0 Mbits/sec                  receiver

iperf3 -c 地址 -w 1M -P 10 | 选择字符串'SUM'

[SUM]   0.00-1.00   sec  16.1 MBytes   135 Mbits/sec
[SUM]   1.00-2.00   sec  44.1 MBytes   371 Mbits/sec
[SUM]   2.00-3.00   sec   105 MBytes   879 Mbits/sec
[SUM]   3.00-4.00   sec   109 MBytes   913 Mbits/sec
[SUM]   4.00-5.00   sec   110 MBytes   922 Mbits/sec
[SUM]   5.00-6.00   sec  93.1 MBytes   781 Mbits/sec
[SUM]   6.00-7.00   sec  96.0 MBytes   805 Mbits/sec
[SUM]   7.00-8.00   sec  98.2 MBytes   824 Mbits/sec
[SUM]   8.00-9.00   sec   101 MBytes   847 Mbits/sec
[SUM]   9.00-10.00  sec   102 MBytes   858 Mbits/sec
[SUM]   0.00-10.00  sec   874 MBytes   733 Mbits/sec                  sender
[SUM]   0.00-10.00  sec   874 MBytes   733 Mbits/sec                  receiver

相关内容