课件大二上计算机网络l12network layer p2congestion_第1页
课件大二上计算机网络l12network layer p2congestion_第2页
课件大二上计算机网络l12network layer p2congestion_第3页
课件大二上计算机网络l12network layer p2congestion_第4页
课件大二上计算机网络l12network layer p2congestion_第5页
已阅读5页,还剩27页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、Introduction to ComputerNetworksTian Song (嵩天), Ph.D., Assoc. Prof.songtianIntroduction to ComputerNetworksCongestion Control and QoSTian Song (嵩天), Ph.D., Assoc. Prof.songtianOutline Congestion Control Quality of Service Interconnection3School of Computer Science and Technology, BIT,Congestion Cont

2、rolStoreandForward Packet Switching4School of Computer Science and Technology, BIT,Congestion ControlQuestion:When too many packets arrive, we got a serious problem.Congestion5cn/songtianCongestion Control53Question:52121312Why there is the congestion?Router Architecture6School of Computer Science a

3、nd Technology, BIT,Congestion ControlCongestion Control: (network & transport layer)Congestion control has to do with making sure the subnet is able to carry the offered traffic. It is a global issue, involving the behavior of all the hosts and all the routers.Flow Control: (data link layer)Flow

4、 control, in contrast, relates to the pointtopoint traffic between a given sender and a given receiver. Its job is tomake sure that a fasder cannot continually transmit datafaster than the receiver is able to absorb it.7School of Computer Science and Technology, BIT,Congestion ControlFlow ControlRRR

5、Flow ControlCongestion Control8School of Computer Science and Technology, BIT,Congestion ControlResources<=>Loads9School of Computer Science and Technology, BIT,Congestion Control(1) When and where congestion occurs The queue length The number of retransmitted packets The packet delay(2) Where

6、 and how to solve congestion Find the senders, or, collaborate with routers Increase resources or decrease the loads10School of Computer Science and Technology, BIT,Traffic aware RoutingRouting is aware of the traffic by adapting cost.c(x,x) = cost of link (x,x)cost= func( bandwith, delay, queue_len

7、, traffic)5v3vww522uzuz1y2x1y31x1221111School of Computer Science and Technology, BIT,Traffic aware RoutingRouting is aware of the traffic by adapting cost.12School of Computer Science and Technology, BIT,cost = func( bandwith, delay, queue_len)Traffic Throttling (流量调节)(1) Choke Packet (抑制包)Why is i

8、t not popular?(2) ECN (Explicit Congestion Notification)13School of Computer Science and Technology, BIT,Traffic Throttling(3) HopbyHop Backpressure (逐跳后压)14School of Computer Science and Technology, BIT,Load Shedding (负载脱落)(1) Wine Policy& Milk Policydrop new arrived packets or old packets in q

9、ueue(2) RED (Random Early Detection) (随机早期检测)MaxThresholdMinThreshold> max, drop all<min, no drop others, drop with pusually, p = 0.0002AvgLen15School of Computer Science and Technology, BIT,Quality of ServiceQuestion:How to measure the performance of network?QoS,what is QoS?bandwidth, delay,

10、jitter, and loss带宽、延迟、抖动、丢失16School of Computer Science and Technology, BIT,Quality of Service17School of Computer Science and Technology, BIT,Quality of ServicePSTN:FD, Connectionoriented, voice: 3kHzMobile Network:4G: FD and TD, voice and dataSatellite Network:long delay (DTN, delay tolerance netw

11、ork)Cable TV Network:TV deliveryQoS is critical to Internet!18School of Computer Science and Technology, BIT,Techniques for Good QoSOverprovisioning (过度配置) Buffer:Traffic Sha19School of Computer Science and Technology, BIT,Traffic ShaLeaky Bucket Algorithm: (漏桶)20School of Computer Science and Techn

12、ology, BIT,Traffic ShaLeaky Bucket Algorithm:RiRi = RRi > R, if actual(B)=0,Ri <= R21School of Computer Science and Technology, BIT,Traffic ShaToken Bucket Algorithm: (令牌桶)Tokens aded at a constant rate; as soon as enough tokenshave been saved, one or more packets can be sent.22School of Compu

13、ter Science and Technology, BIT,Packet SwitchingIf a router is handling multiple flows(1) fair queuing (2) weighted fair queuingBased on packets, or bytes with weighted and priority23School of Computer Science and Technology, BIT,Differentiated Services转发)Expedited Forwarding (Expedited packets expe

14、rience a trafficnetworkPriority queue and regular queueSchool of Computer Science and Technology, BIT,24InterconnectionQuestion:Now, we have networks with different protocols. How to connect them & let them talk to each other?Solutions:Build some gateways that can connect networks.Which layer sh

15、ould be applied to the gateway?25School of Computer Science and Technology, BIT,InterconnectionGateway:different data link layerIPX, SNA, AppleTalk26School of Computer Science and Technology, BIT,InterconnectionTunneling: (隧道)different network layer27School of Computer Science and Technology, BIT,InterconnectionAS: (自治域)different routing protocolsBGP:Border Gateway Protocol IGP:Interior Gateway Protocol28School of Computer Science and Technology, BIT,InterconnectionMTU um Transmission UnitpgypgInterconnecti

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论