当前位置:网站首页>[network counting] 1.4 network delay, packet loss and throughput
[network counting] 1.4 network delay, packet loss and throughput
2022-06-11 00:26:00 【ChuHao H】

This article is based on 《 computer network —— top-down approach 》
Type of delay
- Processing delay : Check the packet of the message (packet) The first part of and the time to decide where to direct the group is Processing delay Part of
- Queuing delay : In the queue , The time when a packet is ready for transmission on the link is called Queuing delay , The queuing delay of a particular packet depends on the number of packets that arrive in advance and are waiting for transmission over the incense link . If the queue is empty and no other packets are being transmitted , Then the packet delay is 0.
- Transmission delay : It refers to the delay when all packets are sent to the link , For example, a 10Mb The packet of is sent to a 100Mbps It takes time on the link 0.1 second , This is the transmission delay , Please be sure to distinguish from the propagation delay below .
- Propagation delay : Propagation delay refers to the time taken for a packet to propagate from its origin to its destination , The rate of transmission depends on the physical media of the link , Such as twisted pair 、 Optical fiber, etc .
The difference between transmission delay and propagation delay lies in , Transmission delay is the time taken by the router to upload packets to the link , It has nothing to do with the distance between two routers . The propagation delay is the time of packet propagation on the link , It is related to the distance between two routers .
The total delay is the sum of the above four delays
Queuing delay and packet loss
There is a problem about packet loss , First of all, we need to define a concept : Flow intensity
The traffic intensity is the ratio of the average packet arrival rate to the routing transmission rate . If the flow intensity is greater than 1, That is, the packet arrival rate is faster than the transmission rate , Then the sending speed will not catch up with the receiving speed , Thus, the waiting queue can be extended indefinitely , in other words , Queuing delay tends to infinity ! therefore , When designing the system, the flow intensity shall not be greater than 1.
In theory , At a flow intensity less than 1 In the system , If the packet arrives periodically , That is, if the arrival interval of the group is the same , In theory, there is no need to queue . But in fact, the arrival time of each packet is random , If multiple packets arrive at the same time , A large delay may occur . In the case of random arrival of groups , If the flow intensity is closer 1 The larger the average queuing delay , Because the less time the route is idle .
And the extension of queuing delay means that there are more packets waiting to be sent , But the packet cache that a link can hold is limited , If there are so many waiting packets that the cache is full , The next arriving packet will have no place to store , The router will discarded (drop), This is it. Packet loss
Packet loss ratio , That is, the proportion of packet loss increases with the increase of traffic intensity , Therefore, the performance of a node can be measured according to the delay , It can also be measured according to the packet loss probability .
throughput
Suppose there is a router connecting the server and the client , The rate of routing to clients is Rc, The rate of routing to the server is Rs, Because the maximum throughput of a whole link depends on the link with the lowest transmission rate ( Similar to water pipe ), Therefore, the maximum throughput on this link is min{Rc,Rs}. The promotion is , There is a problem between the server and the client N A network of links , Then the file transfer throughput from the server to the client is min{R1, R2, R3,…, RN}
边栏推荐
- f‘s‘f‘s‘f‘s‘d
- 测试下吧先
- Multipass中文文档-教程
- Detailed decomposition of the shortest path problem in Figure
- Wireshake introduction learning notes
- Website online customer service system Gofly source code development log - 5 Gin framework integration daemon
- Yii2 activerecord uses the ID associated with the table to automatically remove duplicates
- 【JVM】内存模型
- Things about Bluetooth development (1) -- starting with packet capturing data
- 第一章 总论-会计基础
猜你喜欢

Things about Bluetooth development (10) -- getting to know ble for the first time

Chapter I General introduction - Fundamentals of accounting

VTK例子--三个相交的平面
![[no title] 66666](/img/6c/df2ebb3e39d1e47b8dd74cfdddbb06.gif)
[no title] 66666

Go language channel understanding and use

VTK example -- three intersecting planes
![[pyGame] when the](/img/7e/d2cd2eb2fff2c1fb2b41f579d4f70e.png)
[pyGame] when the "coolest snake in history" arrives, fun will play it (no money for fun)

飞利浦 COO 人事变动,将临危受命解决“供应链和产品召回”双重危机

Leetcode-209 minimum length subarray

763. dividing alphabetic intervals
随机推荐
sql 语句--输入 月份 查日期(年月日),输出 月份
【无标题】4555
[pyGame collection] memory killing - "Childhood Games", how many shots did you get? (attach five source codes for self access)
Website online customer service system Gofly source code development log - 5 Gin framework integration daemon
[JVM] memory model
Go language channel understanding and use
【JVM】线程
CSDN daily practice - find the closest element and output the subscript
测试下吧先
Leetcode-713 subarray with product less than k
Detailed decomposition of the shortest path problem in Figure
基于华为云ECS的目标检测与识别的昇腾AI开发体验【华为云至简致远】
Word删除页眉横线的方法
mybaits merge into
【无标题】
飞利浦 COO 人事变动,将临危受命解决“供应链和产品召回”双重危机
MP框架基本操作(自用)
Multipass Chinese document - instructions for use (contents page)
[pyGame collection] please check the game guide through childhood: are there any games you have played? (attach five source codes for self access)
String time sorting, sorting time format strings