当前位置:网站首页>Delay and jitter in network
Delay and jitter in network
2022-07-24 16:46:00 【SakamataZ】
Good news sharing
List of articles
Delay
The time a packet passes through one or more network segments is called latency . From the user's point of view , Delay is the time from the user sending the request to receiving the response from the remote application system . be based on TCP/IP Protocol network transmission includes the following processes : The router handles 、 User data unit transmission on the network and server processing , Accordingly, there will be routing delay and transmission delay of user data units on the network . Routing delay includes domain name request delay 、TCP Connection establishment and release delays and IP Pathfinding delay .
Classification of delays
In the process of data transmission , Generally speaking, delay is divided into : Transmission delay , Propagation delay , Processing delay and queuing delay , Packaging delay .
Transmission delay : The time required to transmit all the bits of all packets to the line , namely PDU The period of time from the end point to the line until the last bit leaves the end point .
Propagation delay : Every bit in a packet is pushed to the link , This bit propagates to the next hop router . The time required for transmission from the starting point of the link to the next hop router .
Processing delay : The sum of the time required for the sender and the destination to process data in the process of packet switching , Such as checking the header of the group and the time required to decide where to direct the Group .
Queue delay : Each packet switching will add data to the buffer queue , every last PDU There may be many packet queues at the destination output of .
Packaging delay : The protocol layer waits for the application layer to meet PDU Byte traffic of payload length , Then it can be packaged into protocol data units (PDU). This waiting time is the packaging delay .
shake
Jitter yes QOS A commonly used concept , It means the change degree of packet delay . If the network is congested , Queuing delay will affect the end-to-end delay , As a result, the packet delay transmitted over the same connection is different , And jitter , It is used to describe the degree of such a delay change .
The reason for the jitter : It is due to the change of various delays that the arrival rate of data packets in the network changes . Network transmission is a complex process , In the middle, it needs to go through routers and different links , The delay experienced by each packet is different . When a packet leaves the sender , Arrange evenly at regular intervals , After passing the network , This uniform interval is destroyed because packets experience different delay sizes , And then there's jitter .
Solution to jitter
1. The queue thread of the jitter cache pointer queue at the packet receiving end receives packets , After sorting the received packets, insert the received packets into the corresponding position of the jitter cache pointer queue .
2. The queued thread timer of the jitter cache pointer queue triggers the queued thread at a certain time interval , The outgoing thread determines whether the packet of the queue head of the jitter cache pointer queue should be out of the queue at the current trigger time , If it is , Then the packet will be sent out of the queue .
3. According to the relationship between the difference between the timestamp value of the tail packet and the head packet in the jitter cache pointer queue and the current jitter cache depth , And according to the relationship between the cache time of the packet in the jitter cache pointer queue and the minimum delay of the packet cached in the jitter cache pointer queue , Increase or decrease the current jitter cache depth .
边栏推荐
- Simple QQ? QT can also be achieved! (I)
- Educational codeforces round 100 (rated for Div. 2) B. find the array solution
- 工信安全中心牵头搭建数据流通平台 蚂蚁集团等厂商提供技术支持
- Simply use MySQL index
- What exactly is API?
- EMQ Yingyun technology was listed on the 2022 "cutting edge 100" list of Chinese entrepreneurs
- Comparison of array and object merging methods assign, merge, defaults, defaultsdeep in lodash
- ZCMU--5023: 家庭划分(C语言)
- EF combined with sqlbulkcopy batch insert data
- Getting started with arcpy
猜你喜欢

Small end format and big end format (little endian & big endian)

1184. 公交站间的距离

MODIS data WGet Download

Envi5.3 open GF-1 WFV data

TCP protocol debugging tool tcpengine v1.3.0 tutorial

1184. Distance between bus stops

MODIS 16 day data monthly / quarterly synthesis

Long awaited full platform support - Open Source im project uniapp update of openim

thinkphp3.2.5无法跳转到外部链接

Notebook computer purchase guide (specific brand and model are not recommended)
随机推荐
Using native JS to realize magnifying glass function
.NET 测试框架 xUnit,MSTest, Specflow 使用经验汇总
Jupyter uses tips
Interview question 01.02. determine whether it is character rearrangement
双指针滑动窗口法解析及LeetCode相关题解
简易版QQ?Qt也可以实现!(一)
期盼已久全平台支持-开源IM项目OpenIM之uniapp更新
SS-Paper【1】:Fully Convolutional Networks for Semantic Segmentation
[leetcode]38. counting - problem solving (execution time beat 91%, memory consumption beat 97%)
Zcmu--5023: family division (C language)
Wechat applet list (list rendering of data rendering)
Unity camera free movement control
小端格式和大端格式(Little-Endian&Big-Endian)
"Heaven and the world, self-respect" -- single case mode
[technology] chat room demo of uniapp
1163: SongGe's score splitting (C language)
自定义类型:枚举
Amd Ruilong 7000 is expected to be available on September 15, and the 3D cache version will have to wait
With regard to performance testing, dry goods hit "suggestions collection"
会议OA项目进度(二)