跳转到主内容

千兆位以太网流量控制如何工作?

Views:
102
Visibility:
Public
Votes:
0
Category:
data-ontap-7
Specialty:
core
Last Updated:

可不使用  

适用场景

Data ONTAP 7

问题解答

千兆位以太网流量控制的工作原理

接收数据包且几乎不在接收缓冲区的接口将向其链接伙伴发送 (Xoff) 帧。 pause on (Xoff) frame to its link partner.链路伙伴将停止传输数据包,直到收到pause off( XON )帧或超时到期。启用流量控制可以降低一个接口超限另一个接口的可能性。  暂停帧会影响连接到该接口的所有主机。  最好使用上层协议(如 TCP )来控制数据流、而不是流量控制。

暂停帧只能在两个直接连接的链接伙伴之间交换;即在交换机和终端之间交换帧、或在两个端点之间交换帧(当它们背对背连接时)交换帧。暂停帧不能在通过交换机连接的两个终端站点之间交换。

某些设备具有一个配置选项、可让设备同时发送和接收流控制帧。其它设备有单独的发送和接收选项。sendtransmit启用(或)后、表示设备将发送暂停帧。receive启用后、表示设备将响应收到的暂停帧。

虽然建议使用流控制无(禁用),但仍可通过在连接到网络的终端设备上启用发送流控制来实现一些优势。  现代交换机硬件通常能够以高于标准 NIC 的速度运行、并提供额外的排队和缓冲。  通过将交换机设置为receive onsend off、并将客户端设置为receive offsend on、终端设备可以暂停流量流并在交换机上产生背压。 

当千兆位接口发送到 100 Mb 客户端且传输大小非常大时,流控制不会消除问题。线路速度和较大传输大小的差异会导致交换机出站的 100-Mbit 端口上排队的数据包太多、交换机丢弃数据包。交换机无法将暂停帧发送到千兆位接口、因为该接口也可能发送到其他接口,这会对它们的性能产生负面影响。

追加信息

TR-3802 :以太网存储最佳实践

 

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.