电子科技大学:《先进计算机网络技术》课程教学资源(课件讲稿)Unit 5 Buffer Management

Feng Gang National Laboratory of Communication,UESTC Aug 2017 Ver 1.4 Unit 5 Buffer Management 2616009:Network Traffic Engineering 5:Buffer Management Page.1
2616009: Network Traffic Engineering Feng Gang National Laboratory of Communication, UESTC Aug 2017 Ver 1.4 5: Buffer Management Page.1 Unit 5 Buffer Management

Feng Gang National Laboratory of Communication,UESTC Aug 2017 Ver 1.4 Outline Why packet drop 。 Classification of drop strategies 。】 IP Active Queue Management(AQM) RED FRED BLUE -RIO Case study:Performance of Selective Discard 2616009:Network Traffic Engineering 5:Buffer Management Page.2
2616009: Network Traffic Engineering Feng Gang National Laboratory of Communication, UESTC Aug 2017 Ver 1.4 5: Buffer Management Page.2 Outline • Why packet drop • Classification of drop strategies • IP Active Queue Management(AQM) - RED - FRED - BLUE - RIO • Case study: Performance of Selective Discard

Feng Gang National Laboratory of Communication,UESTC Aug 2017 Ver 1.4 Packet dropping 。 Packets that cannot be served immediately are buffered Full buffers =packet drop strategy Packet losses happen almost always from best-effort connections (why?) Shouldn't drop packets unless imperative packet drop wastes resources(why?) 2616009:Network Traffic Engineering 5:Buffer Management Page.3
2616009: Network Traffic Engineering Feng Gang National Laboratory of Communication, UESTC Aug 2017 Ver 1.4 5: Buffer Management Page.3 Packet dropping • Packets that cannot be served immediately are buffered • Full buffers => packet drop strategy • Packet losses happen almost always from best-effort connections (why?) • Shouldn’t drop packets unless imperative – packet drop wastes resources (why?)

Feng Gang National Laboratory of Communication,UESTC Aug 2017 Ver 1.4 Classification of drop strategies Degree of aggregation Drop priorities Early or late Drop position 2616009:Network Traffic Engineering 5:Buffer Management Page.4
2616009: Network Traffic Engineering Feng Gang National Laboratory of Communication, UESTC Aug 2017 Ver 1.4 5: Buffer Management Page.4 Classification of drop strategies • Degree of aggregation • Drop priorities • Early or late • Drop position

Feng Gang National Laboratory of Communication,UESTC Aug 2017 Ver 1.4 Degree of aggregation Degree of discrimination in selecting a packet to drop E.g.in vanilla FIFO,all packets are in the same class Instead,can classify packets and drop packets selectively The finer the classification the better the protection Max-min fair allocation of buffers to classes drop packet from class with the longest queue(why?) 2616009:Network Traffic Engineering 5:Buffer Management Page.5
2616009: Network Traffic Engineering Feng Gang National Laboratory of Communication, UESTC Aug 2017 Ver 1.4 5: Buffer Management Page.5 Degree of aggregation • Degree of discrimination in selecting a packet to drop • E.g. in vanilla FIFO, all packets are in the same class • Instead, can classify packets and drop packets selectively • The finer the classification the better the protection • Max-min fair allocation of buffers to classes - drop packet from class with the longest queue (why?)

Feng Gang National Laboratory of Communication,UESTC Aug 2017 Ver 1.4 Drop priorities Drop lower-priority packets first 。 How to choose? endpoint marks packets - regulator marks packets congestion loss priority(CLP)bit in packet header Marked packets Policer also Switch preferentially Discards Source marks marks packets marked packets some packets 2616009:Network Traffic Engineering 5:Buffer Management Page.6
2616009: Network Traffic Engineering Feng Gang National Laboratory of Communication, UESTC Aug 2017 Ver 1.4 5: Buffer Management Page.6 Drop priorities • Drop lower-priority packets first • How to choose? - endpoint marks packets - regulator marks packets - congestion loss priority (CLP) bit in packet header Source marks some packets Marked packets Policer also marks packets Switch preferentially Discards marked packets

Feng Gang National Laboratory of Communication,UESTC Aug 2017 Ver 1.4 CLP bit:pros and cons Pros if network has spare capacity,all traffic is carried - during congestion,load is automatically shed Cons - separating priorities within a single connection is hard - what prevents all packets being marked as high priority? 2616009:Network Traffic Engineering 5:Buffer Management Page.7
2616009: Network Traffic Engineering Feng Gang National Laboratory of Communication, UESTC Aug 2017 Ver 1.4 5: Buffer Management Page.7 CLP bit: pros and cons • Pros - if network has spare capacity, all traffic is carried - during congestion, load is automatically shed • Cons - separating priorities within a single connection is hard - what prevents all packets being marked as high priority?

Feng Gang National Laboratory of Communication,UESTC Aug 2017 Ver 1.4 Drop Position Can drop a packet from head,tail,or random position in the queue Tail - easy default approach Head harder lets source detect loss earlier source destination Next packet dropped packet Previously served to arrive Creates "hole" packet ACKs 2616009:Network Traffic Engineering 5:Buffer Management Page.8
2616009: Network Traffic Engineering Feng Gang National Laboratory of Communication, UESTC Aug 2017 Ver 1.4 5: Buffer Management Page.8 Drop Position • Can drop a packet from head, tail, or random position in the queue • Tail - easy - default approach • Head - harder - lets source detect loss earlier . . . source destination Next packet to arrive dropped packet Creates “hole” Previously served packet ACKs

Feng Gang National Laboratory of Communication,UESTC Aug 2017 Ver 1.4 Drop Position (cont.) Random -hardest if no aggregation,hurts hogs most unlikely to make it to real routers 。 Drop entire longest queue easy almost as effective as drop tail from longest queue 2616009:Network Traffic Engineering 5:Buffer Management Page.9
2616009: Network Traffic Engineering Feng Gang National Laboratory of Communication, UESTC Aug 2017 Ver 1.4 5: Buffer Management Page.9 Drop Position (cont.) • Random - hardest - if no aggregation, hurts hogs most - unlikely to make it to real routers • Drop entire longest queue - easy - almost as effective as drop tail from longest queue

Feng Gang National Laboratory of Communication,UESTC Aug 2017 Ver 1.4 Router Support For Congestion Management Traditional Internet Congestion control mechanisms at end-systems, mainly implemented in TCP Routers play little role ·Traditional routers FIFO -Tail drop 2616009:Network Traffic Engineering 5:Buffer Management Page.10
2616009: Network Traffic Engineering Feng Gang National Laboratory of Communication, UESTC Aug 2017 Ver 1.4 5: Buffer Management Page.10 Router Support For Congestion Management • Traditional Internet - Congestion control mechanisms at end-systems, mainly implemented in TCP - Routers play little role • Traditional routers - FIFO - Tail drop
按次数下载不扣除下载券;
注册用户24小时内重复下载只扣除一次;
顺序:VIP每日次数-->可用次数-->下载券;
- 电子科技大学:《先进计算机网络技术》课程教学资源(课件讲稿)Unit 4 TCP Traffic Control.pdf
- 电子科技大学:《先进计算机网络技术》课程教学资源(课件讲稿)Unit 3 Traffic Policing and Shaping.pdf
- 电子科技大学:《先进计算机网络技术》课程教学资源(课件讲稿)Unit 2 Call-level Models and Admission Control.pdf
- 电子科技大学:《先进计算机网络技术》课程教学资源(课件讲稿)Unit 1 Overview - A big Picture on Traffic Control and QoS in IP networks.pdf
- 电子科技大学:《先进计算机网络技术》课程教学资源(课件讲稿)Introduction(冯钢).pdf
- 电子科技大学:《大数据分析与挖掘 Big Data Analysis and Mining》课程教学资源(课件讲稿)Lecture 7 Hadoop-Spark.pdf
- 电子科技大学:《大数据分析与挖掘 Big Data Analysis and Mining》课程教学资源(课件讲稿)Lecture 6 Graph Mining.pdf
- 电子科技大学:《大数据分析与挖掘 Big Data Analysis and Mining》课程教学资源(课件讲稿)Lecture 5 Data Stream Mining.pdf
- 电子科技大学:《大数据分析与挖掘 Big Data Analysis and Mining》课程教学资源(课件讲稿)Lecture 4 Sampling for Big Data.pdf
- 电子科技大学:《大数据分析与挖掘 Big Data Analysis and Mining》课程教学资源(课件讲稿)Lecture 3 Hashing.pdf
- 电子科技大学:《大数据分析与挖掘 Big Data Analysis and Mining》课程教学资源(课件讲稿)Lecture 2 BasicConcepts(Foundations of Data Mining).pdf
- 电子科技大学:《大数据分析与挖掘 Big Data Analysis and Mining》课程教学资源(课件讲稿)Lecture 1 Intro(主讲:邵俊明).pdf
- 计算机科学与技术(PPT讲稿)Unlock with Your Heart - Heartbeat-based Authentication on Commercial Mobile Phones.pptx
- 计算机科学与技术(参考文献)VECTOR - Velocity Based Temperature-field Monitoring with Distributed Acoustic Devices.pdf
- 计算机科学与技术(参考文献)VSkin - Sensing Touch Gestures on Surfaces of Mobile Devices Using Acoustic Signals.pdf
- 计算机科学与技术(参考文献)RespTracker - Multi-user Room-scale Respiration Tracking with Commercial Acoustic Devices.pdf
- 计算机科学与技术(参考文献)Dynamic Speed Warping - Similarity-Based One-shot Learning for Device-free Gesture Signals.pdf
- 计算机科学与技术(参考文献)SpiderMon - Towards Using Cell Towers as Illuminating Sources for Keystroke Monitoring.pdf
- 计算机科学与技术(参考文献)Unlock with Your Heart:Heartbeat-based Authentication on Commercial Mobile Phones.pdf
- 计算机科学与技术(参考文献)QGesture - Quantifying Gesture Distance and Direction with WiFi Signals.pdf
- 电子科技大学:《先进计算机网络技术》课程教学资源(课件讲稿)Unit 6 Packet Scheduling.pdf
- 电子科技大学:《先进计算机网络技术》课程教学资源(课件讲稿)Unit 7 IntServ/RSVP and DiffServ.pdf
- 电子科技大学:《先进计算机网络技术》课程教学资源(课件讲稿)Unit 8 Traffic Management and Modeling.pdf
- 电子科技大学:《先进计算机网络技术》课程教学资源(课件讲稿)Unit 9 Network Traffic Engineering.pdf
- 电子科技大学:《先进计算机网络技术》课程教学资源(课件讲稿)Unit 10 Network Coding and Traffic Balancing.pdf
- 电子科技大学:《先进计算机网络技术》课程教学资源(课件讲稿)Unit 11 AI Enabled Wireless Access Control and Handoff.pdf
- 《机器学习 Machine Learning》课程教学资源(实践资料)华为Atlas人工智能计算解决方案产品彩页.pdf
- 《机器学习 Machine Learning》课程教学资源(实践资料)Xshell远程登陆开发板方法(华为atlas800 - 910).pdf
- 《机器学习 Machine Learning》课程教学资源(实践资料)MNIST手写体识别实验.pdf
- 《机器学习 Machine Learning》课程教学资源(实践资料)MNIST手写数字识别的Atlas 200DK推理应用.pdf
- 《机器学习 Machine Learning》课程教学资源(实践资料)ModelArts花卉识别(基于MindSpore的图像识别全流程代码实战).pdf
- 《机器学习 Machine Learning》课程教学资源(书籍文献)[德] Andreas C. Müller [美] Sarah Guido《Python机器学习基础教程 Introduction to Machine Learning with Python》.pdf
- 《机器学习 Machine Learning》课程教学资源(书籍文献)[美] 弗朗索瓦·肖莱《Python深度学习 Deep Learning with Python》.pdf
- 《机器学习 Machine Learning》课程教学资源(书籍文献)Finding Structure in Time.pdf
- 《机器学习 Machine Learning》课程教学资源(书籍文献)Learning representations by back-propagating errors.pdf
- 《机器学习 Machine Learning》课程教学资源(书籍文献)Attention Is All You Need.pdf
- 《机器学习 Machine Learning》课程教学资源(书籍文献)Gradient-Based Learning Applied to Document Recognition.pdf
- 《机器学习 Machine Learning》课程教学资源(书籍文献)Handwritten Digit Recognition with a Back-Propagation Network.pdf
- 《机器学习 Machine Learning》课程教学资源(书籍文献)An introduction to neural networks for beginners.pdf
- 《机器学习 Machine Learning》课程教学资源(书籍文献)An introduction to neural networks.pdf