当前位置:网站首页>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 )
边栏推荐
- JS面试题----防抖函数
- Pat class B 1026 program running time
- 工作积累-判断GPS是否打开
- 数字藏品如何赋能经济实体?
- True MySQL interview question (XXII) -- condition screening and grouping screening after table connection
- Centos7 installation of postgresql8.2.15 and creation of stored procedures
- [database backup] complete the backup of MySQL database through scheduled tasks
- Dolphin scheduler dolphin scheduling upgrade code transformation -upgradedolphin scheduler
- Deploy docker and install MySQL in centos7
- Leetcode topic analysis: factorial training zeroes
猜你喜欢

Real MySQL interview questions (XXVI) -- didi 2020 written examination questions

Digital collections - new investment opportunities

技术开发团队视角看到的数字藏品机遇与挑战

jvm-05. garbage collection

Redis cache penetration solution - bloom filter

数字藏品到底有什么魔力?目前有哪些靠谱的团队在开发

三项最高级认证,两项创新技术、两大优秀案例,阿里云亮相云原生产业大会

【开源项目】excel导出lua配置表工具
![[cocos2d-x] screenshot sharing function](/img/fc/e3d7e5ba164638e2c48bc4a52a7f13.png)
[cocos2d-x] screenshot sharing function

The hierarchyviewer tool cannot find the hierarchyviewer location
随机推荐
MySQL character set
Deploy docker and install MySQL in centos7
Pyqt5 设置窗口左上角图标
Kotlin Android simple activity jump, simple combination of handler and thread
[OWT] OWT client native P2P E2E test vs2017 build 6: modify script automatic generation vs Project
node中操作mongoDB
Pat class B 1014 C language
A bit of knowledge - folding forging and Damascus steel
Visdom draws multiple dynamic loss curves
Wireshark TS | video app cannot play
Pat class B 1012 C language
jvm-01. Instruction rearrangement
PAT 乙等 1013 C语言
Advanced Mathematics (Seventh Edition) Tongji University exercises 1-8 personal solutions
AHA C language Chapter 7 you can do more with it (talks 27-28)
Cloud native database is the future
最优传输理论下对抗攻击可解释性
【数据库备份】通过定时任务完成MySQL数据库的备份
Real MySQL interview questions (25) -- common group comparison scenarios
pyinstaller 打包exe设置图标不显示