码迷,mamicode.com
首页 > 其他好文 > 详细

lecture 2

时间:2020-02-21 14:53:33      阅读:71      评论:0      收藏:0      [点我收藏+]

标签:eve   message   pat   for   ssi   出现   use   ade   receiver   

1. circuit switching

技术图片

 

对于FDM而言,资源不会共享,如何分配取决于frequency,frequency越大,占用的资源越多(need to divided into small number of frequency)

对于TDM而言,资源归一个user所有,其他user需要排队等待

2. circuit switching的优点是no lost problem, no delay problem during transform; 缺点是need to set up以及not feasible

not feasible体现在:

a) inefficient

计算机通信突发状态很多(bursty);in periods of silence不能使用或共享专用电路;无法采用网络动态

b) fixed data rate

计算机通信速度不同,如观看视频与浏览网页时;fixed data rate不实用

c) connection state maintenance

每个通信状态都需要维持,开销大;不可扩展

3. packet switching

packet是独立的,不需要提前set up;包含payload+header,payload包含所携带data,header包含对packet的处理方法

4. switches有三种转发模式

a) cut through

switch will start transmitting as soon as it has processed the header

延迟最小,但是无法进行错误检测

b) FragmentFree(课上没有涉及)

switches将读至collision window,几乎没有延迟的进行error checking

c) store and forward

switch will processes a packet after it has received entirely

主流交换机首选方案,交换机将整个帧拷贝到板载缓存中,进行CRC校验;包含CRC error以及帧太长太短都会被丢掉

5. packet switching事先没有预留链接资源,switches将对其统计复用(statistical multiplexing)

统计复用依赖于并非所有流都同时爆发的假设(可类比为保险,有失败风险,出现overload) 

6. Transient Overload瞬态过载:通过一个,别的进入buffer中等待 (delay problem)

Persistent Overload 持续过载:buffer出现overload,会开始drop packets(lose problem)

7. packet switching的优点是多个用户可同时使用且没有set up; 缺点是可能出现delay以及lost problem

8. 多个用户同时使用的证明用到probability计算公式,计算多个user时overload可能性

9. packet也可以使用circuit switch,set up时就决定了使用哪一个circuit,如quiz:

A message from device A to B consists of packet X and packet Y. In a circuit switched network, packet Y’s path___________________packet X’s path

A. is the same
B. is independent
C. is always different from

answer:A

10. end systems connect to Internet via access ISPs(Internet Service Providers)

因为两两互连太过复杂,只跟global ISPs连接可能出现经济问题;同时如果出现多个ISps可能出现竞争问题;目前的解决方案是不同地区有自己的regional ISP,各个公司有自己的ISP并与对应地区的ISP连接

11. 四种packet delay的来源

技术图片

 

 技术图片

progation delay: progation time to travel along the link

12. queueing delay is the most important one

技术图片

 

N packet arrives simultaneously every LN/R seconds

arrive rate: a = N/(LN/R) = R/L(packet/second)

traffic intensity = aL/R = (R/L)(L/R) = 1

Average queueing delay (queue is empty at time 0) :

{0 + L/R + 2L/R + … + (N-1)L/R}/N = L/(RN){1+2+…+(N-1)} =L(N-1)/(2R)

第一个为0是因为queue最开始为空故而没有delay

13. Consider a packet that has just arrived at a router. What is the correct order of the delays encountered bythe packet until itreachesthe next-hop router?

A. Transmission, processing,propagation,queuing
B. Propagation, processing,transmission, queuing
C. Processing, queuing, transmission, propagation
D. Queuing, processing,propagation,transmission

answer: C

14. throughput: rate(bits/time unit) at which bits transferred between sender/receiver

即最终的传输量

instananeous: rate at given point in time

average: rate over longer period of time

 

lecture 2

标签:eve   message   pat   for   ssi   出现   use   ade   receiver   

原文地址:https://www.cnblogs.com/eleni/p/12340867.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!