跳转到主内容

为什么网络速度不匹配会导致较浅缓冲交换机出现问题?

Views:
78
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
nas
Last Updated:

适用场景

  • 所有NetApp产品
  • TCP通信
  • CIFS、NFS和iSCSI

问题解答

  • 通常作为"直通"或"超低延迟"交换机进行营销的交换机具有较浅的端口/ASIC缓冲区。
  • 如果缓冲区小于带宽延迟产品(BDEP),则将浅缓冲区交换机视为浅缓冲区。
  • 将速度从较快的介质转换为较慢的介质(例如、从100 Gb/秒转换为10 Gb/秒、或者从10 Gb/秒转换为1 Gb/秒)时、需要缓冲、但不足以处理这些链路速度转换。
  • 由于TCP的运行方式、数据包丢失会降低性能。
  • 要解决此问题、请执行以下操作:
    • 确保发送方和接收方的速度相同、如果绑定到LACP绑定中、则绑定中的端口数量相同。
    • 此外、请确保网络路径不比发送方或接收方慢。
    • 如果多个发送器馈送到一个接收器(例如、多个客户端馈送到一个存储系统)、则连接交换机之间可能需要更多绑定链路。
    • 如果需要更多帮助来解决问题描述、请向网络供应商开一个TT。

追加信息

  • 带宽延迟产品
    • 数据链路容量(以每秒位数为单位)及其往返延迟时间(以秒为单位)的乘积。结果是、以位(或字节)为单位的数据量等于任何给定时间网络电路上的最大数据量、即已传输但尚未确认的数据。
    • 带宽延迟乘积可通过将端口链路速度(以每秒位数为单位)除以10来估算、并将交换机负载下的往返时间(通常约为1秒): 40 Gbps / 10 ~= 4 Gb/秒* 0.001秒= 4.2 MB缓冲区内存。往返时间不仅包括线缆传播延迟和交换机延迟、还包括交换流量时交换机、主机或存储系统内的任何缓冲。在不同链路速度之间切换的交换机应在参与端口上提供此范围内的缓冲区内存。
  • 在Cisco交换机中,该 show interface 命令将设计为 input discardsoutput discards。例如:
    • Ethernet1/15 is up
       Dedicated Interface

        Hardware: 1000/10000 Ethernet, address: (ommitted)
        Description: Cluster Node 15
        MTU 1500 bytes, BW 10000000 Kbit,, BW 10000000 Kbit, DLY 10 usec
        reliability 255/255, txload 1/255, rxload 1/255
        Encapsulation ARPA, medium is broadcast
        Port mode is access
        full-duplex, 10 Gb/s, media type is 10G
        Beacon is turned off
        Input flow-control is off, output flow-control is off
        Rate mode is dedicated
        Switchport monitor is off
        EtherType is 0x8100
       Last link flapped 1week(s) 4day(s)
       Last clearing of "show interface" counters 00:48:16

        42 interface resets
        30 seconds input rate 1028568 bits/sec, 504 packets/sec
        30 seconds output rate 6245824 bits/sec, 856 packets/sec
        Load-Interval #2: 5 minute (300 seconds)
          input rate 919.41 Kbps, 417 pps; output rate 5.89 Mbps, 742 pps
        RX
          137789441038 unicast packets  1137881 multicast packets  168522 broadcast packets
          137790747441 input packets  398042347738746 bytes
          44682377059 jumbo packets  0 storm suppression bytes
          0 runts  0 giants  0 CRC  0 no buffer
          0 input error  0 short frame  0 overrun   0 underrun  0 ignored
          0 watchdog  0 bad etype drop  0 bad proto drop  0 if down drop
          0 input with dribble 465262 input discard
      <-------- 在48分16秒内丢弃465 k次、或平均每秒~161次
          0 Rx pause
        TX
          181286566439 unicast packets  59885021 multicast packets  3752105 broadcast packets
          181350203565 output packets  534820871246236 bytes
          54004919525 jumbo packets
          0 output error  0 collision  0 deferred  0 late collision
          0 lost carrier  0 no carrier  0 babble 0 output discard
          0 Tx pause

       

 

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.