1.2计算机网络性能指标

目录

1、速率(Speed)

2、带宽(bandwidth)

3、延迟/ 时延(delay 或latency)

4、时延带宽积

5、分组丢失(丢包)

6、吞吐量/ 率(Throughput)


本文总结一下计算机网络常用的性能指标。性能指标从不同方面衡量计算机网络的性能。

注:计算机中单位B和b的区别:b是bit的缩写,称“位”,为一位二进制数,是计算机表示中最小单位,称为"信息基本单位"。
B是byte的缩写,称“字节”,字节是信息存储中最常用的单位,是计算机中存储信息的“基本单位”。(1B=8b)

1、速率(Speed)

网络中的速率是指连接在计算机网络上的主机在数字信道(链路)上传送数据的速率,也称为数据率(data rate)或称数据传输速率或比特率(bit rate),即单位时间(秒)传输信息(比特)量。单位:b/s(或bps)、kb/s、Mb/s、Gb/s ,其中k=10^{^{3}}、M=10^{6} 、G=10^{9}

2、带宽(bandwidth)

网络的“带宽”通常是数字信道所能传送的“最高数据率”,单位:b/s (bps),区别于通信中的带宽,原本指信号具有的频带宽度,即最高频率与最低频率之差,单位是赫兹(Hz)。

3、延迟/ 时延(delay 或latency)

Q:分组交换为什么会发生丢包和时延?A:分组在路由器中排队,等待输出链路可用产生延迟。分组在路由器缓存中排队,  如果缓存满,到达分组被丢弃 - 丢包(loss)。

四种分组延迟:

  • 结点处理延迟(nodal processing delay):数据在交换结点未存储转发而进行的一些处理所花费的时间,比如分析分组的首部、从分组中提取数据部分、进行差错检验或直拽适当的路由等。
  • 排队延迟(queueing delay):分组在进入路由器后要先在输入队列中排队等待处理。 在路由器确定了转发端口后,还要在输出队列中排队等待转发。这就产生了排队时延。
  • 传输延迟(transmission delay):结点将分组的所有比特推(传输)向链路所衢的时间,也就是从发送分组的第一个比特算起到该分组的最后一个比特发送完毕所需的时间,因此也称为发送时延。计算公式:传输时延=分组长度/链路带宽
  • 传播延迟(propagation delay):电磁波在信道(链路)中传播一定的距离需要花费的时间, 也就是一个比特从链路一端到另一端传播所需的时间。计算公式:传播时延=物理链路长度/电磁波在链路上的传播速率

4、时延带宽积

若发送端连续发送数据,在发送的第一个比特即将到达终点时,表示发送端已经发出的比特数。即,时延带宽积=传播时延x信道带宽。如图1.1所示,考虑一个代表链路的圆柱形管道,其长度表示链路的传播时延,横截面积表示链路带宽,则时延带宽积表示该管道可以容纳的比特数量。所以链路的时延带宽积又称为以比特为单位的链路长度。

图1.1 时延带宽积示意图

5、分组丢失(丢包)

交换结点的缓存容量有限,分组到达已满队列将被丢弃 (即丢包),丢弃分组可能由前序结点或源主机重发(也可能不重发)。丢包率=丢包数/已发分组总数。

6、吞吐量/ 率(Throughput)

指在发送端与接收端之间传送数据速率 (b/s)。吞吐量受网络的带宽或网络的额定速率的限制。即时吞吐量: 给定时刻的速率;平均吞吐量 : 一段时间的平均速率。

如下图所示,吞吐量取决于传输速率小的链路。也可以叫瓶颈链路( bottleneck link ):端到端路径上,限制端到端吞吐量的链路。

 

经典计算机网络教材 Computer Networks, Fourth Edition By Andrew S. Tanenbaum Table of Contents Chapter 1. Introduction Section 1.1. Uses of Computer Networks Section 1.2. Network Hardware Section 1.3. Network Software Section 1.4. Reference Models Section 1.5. Example Networks Section 1.6. Network Standardization Section 1.7. Metric Units Section 1.8. Outline of the Rest of the Book Section 1.9. Summary Chapter 2. The Physical Layer Section 2.1. The Theoretical Basis for Data Communication Section 2.2. Guided Transmission Media Section 2.3. Wireless Transmission Section 2.4. Communication Satellites Section 2.5. The Public Switched Telephone Network Section 2.6. The Mobile Telephone System Section 2.7. Cable Television Section 2.8. Summary Chapter 3. The Data Link Layer Section 3.1. Data Link Layer Design Issues Section 3.2. Error Detection and Correction Section 3.3. Elementary Data Link Protocols Section 3.4. Sliding Window Protocols Section 3.5. Protocol Verification Section 3.6. Example Data Link Protocols Section 3.7. Summary Chapter 4. The Medium Access Control Sublayer Section 4.1. The Channel Allocation Problem Section 4.2. Multiple Access Protocols Section 4.3. Ethernet Section 4.4. Wireless LANs Section 4.5. Broadband Wireless Section 4.6. Bluetooth Section 4.7. Data Link Layer Switching Section 4.8. Summary Chapter 5. The Network Layer Section 5.1. Network Layer Design Issues Section 5.2. Routing Algorithms Section 5.3. Congestion Control Algorithms Section 5.4. Quality of Service Section 5.5. Internetworking Section 5.6. The Network Layer in the Internet Section 5.7. Summary Chapter 6. The Transport Layer Section 6.1. The Transport Service Section 6.2. Elements of Transport Protocols Section 6.3. A Simple Transport Protocol Section 6.4. The Internet Transport Protocols: UDP Section 6.5. The Internet Transport Protocols: TCP Section 6.6. Performance Issues Section 6.7. Summary Chapter 7. The Application Layer Section 7.1. DNS—The Domain Name System Section 7.2. Electronic Mail Section 7.3. The World Wide Web Section 7.4. Multimedia Section 7.5. Summary Chapter 8. Network Security Section 8.1. Cryptography Section 8.2. Symmetric-Key Algorithms Section 8.3. Public-Key Algorithms Section 8.4. Digital Signatures Section 8.5. Management of Public Keys Section 8.6. Communication Security Section 8.7. Authentication Protocols Section 8.8. E-Mail Security Section 8.9. Web Security Section 8.10. Social Issues Section 8.11. Summary Chapter 9. Reading List and Bibliography Section 9.1. Suggestions for Further Reading Section 9.1.1. Introduction and General Works Section 9.2. Alphabetical Bibliography
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值