当前位置:网站首页>Tcp/ip explanation (version 2) notes / 3 link layer / 3.3 full duplex, energy saving, automatic negotiation mechanism, 802.1x flow control / 3.3.3 link layer flow control
Tcp/ip explanation (version 2) notes / 3 link layer / 3.3 full duplex, energy saving, automatic negotiation mechanism, 802.1x flow control / 3.3.3 link layer flow control
2022-06-23 06:02:00 【M rookie M】
3.3.3 Link layer flow control
Run extended Ethernet in full duplex mode and span different speed segments , It may be necessary for the switch to buffer frames ( Storage ) A span
for example , When multiple sites are sent to the same destination ( Output port contention ), That's what happens
If the total traffic rate to a site exceeds the link rate of the site , Then the frame will start to be stored in the middle switch
If this continues for a long time , Some frames may be discarded
One way to alleviate this situation is to apply flow control (flow control)( namely : Slow them down )
Some Ethernet switches ( And interface ) Through the switch and Network interface card (NIC) Send special signal frames to realize flow control
Although the specification does not specify specific implementation details , But when the flow control sends a signal to the sender , The sender must reduce its transmission rate
Ethernet is used by 802.3x [802.3-2008] The specified is called PAUSE news (PAUSE messages)( Also known as PAUSE frame (PAUSE frames)) The realization of flow control based on
PAUSE The message is contained in MAC Control frame , By value 0x8808 And use MAC Control opcode 0x0001 Ethernet Length/Type Field to identify
It is recommended that stations receiving such signals reduce the transmission rate
PAUSE Frames are always sent to MAC Address 01:80:C2:00:00:01, And only for full duplex links
PAUSE The frame includes a Delay (hold-off) Time value ( With quantum (quantas) Appoint , be equal to 512 Bit time ), This value indicates how long the sender should pause before resuming transmission
MAC The frame format of the control frame is shown in figure 3-3 The conventional packaging method shown in , But in the Length/Type The field is followed by a 2 Bytes of opcode (opcode)
actually ,PAUSE Frames are the only ones used MAC Control the frame type of the frame
They include a coding delay time 2 Byte quantity
“ Whole ” MAC Control layer ( It's basically just 802.3x flow control ) The implementation of is optional
Because the Ethernet layer flow control may have a great negative impact , Therefore, it is generally not used
When multiple sites pass through an overloaded switch ( See the next section ) When sending data , The switch sends... To all hosts PAUSE frame
However, the memory usage ratio of the switch may be uneven for different sending hosts , Even though some hosts are not responsible for most of the traffic through the switch , But may still be punished ( flow control )
边栏推荐
- MDM data cleaning function development description
- Explanation of penetration test process and methodology (Introduction to web security 04)
- Oracle exception
- Visdom draws multiple dynamic loss curves
- Pat class B 1019 C language
- PAT 乙等 1020.月饼
- Opportunities and challenges of digital collections from the perspective of technology development team
- How can digital collections empower economic entities?
- PAT 乙等 1011 C语言
- Memory analysis and memory leak detection
猜你喜欢

Pyqt5 设置窗口左上角图标

jvm-01. Instruction rearrangement

Use of visdom

ssm项目搭建

Software design and Development Notes 2: serial port debugging tool based on QT design

True MySQL interview question (24) -- row column exchange

Addressing and addressing units

Ant Usage Summary (III): batch packaging apk

How to specify the output path of pig register Project Log

Heimdall database proxy scale out 20 times
随机推荐
Adnroid activity截屏 保存显示到相册 View显示图片 动画消失
数字藏品如何赋能经济实体?
[image fusion] sparse regularization based on non convex penalty to realize image fusion with matlab code
The traditional Internet like platform may no longer exist, and a new industry integrating industrial characteristics and Internet characteristics
Advanced Mathematics (Seventh Edition) Tongji University exercises 1-8 personal solutions
vant weapp日历组件性能优化 Calendar 日历添加min-date最小日期页面加载缓慢
PAT 乙等 1018 C语言
Work accumulation - judge whether GPS is on
Pyqt5 设置窗口左上角图标
Advanced Mathematics (Seventh Edition) Tongji University exercises 1-7 personal solutions
PAT 乙等 1026 程序运行时间
Opencv display image
Operating mongodb in node
HierarchyViewer工具找不到 HierarchyViewer位置
Real MySQL interview questions (25) -- common group comparison scenarios
金融科技之高效办公(一):自动生成信托计划说明书
【开源项目】excel导出lua配置表工具
Use of visdom
编址和编址单位
PAT 乙等 1009 C语言