Simulating Large Networks using Fluid Flow Model Yong Liu Joint work with Francesco LoPresti, Vishal Misra Don Towsley, Yu Gu.

Slides:



Advertisements
Similar presentations
WHITE – Achieving Fair Bandwidth Allocation with Priority Dropping Based on Round Trip Time Name : Choong-Soo Lee Advisors : Mark Claypool, Robert Kinicki.
Advertisements

CSIT560 Internet Infrastructure: Switches and Routers Active Queue Management Presented By: Gary Po, Henry Hui and Kenny Chong.
24-1 Chapter 24. Congestion Control and Quality of Service (part 1) 23.1 Data Traffic 23.2 Congestion 23.3 Congestion Control 23.4 Two Examples.
By Arjuna Sathiaseelan Tomasz Radzik Department of Computer Science King’s College London EPDN: Explicit Packet Drop Notification and its uses.
Active Queue Management: Theory, Experiment and Implementation Vishal Misra Dept. of Computer Science Columbia University in the City of New York.
Advanced Computer Networking Congestion Control for High Bandwidth-Delay Product Environments (XCP Algorithm) 1.
Modeling TCP Congestion Control Don Towsley UMass Amherst collaborators: T. Bu, W. Gong, C. Hollot, V. Misra.
XCP: Congestion Control for High Bandwidth-Delay Product Network Dina Katabi, Mark Handley and Charlie Rohrs Presented by Ao-Jan Su.
Receiver-driven Layered Multicast S. McCanne, V. Jacobsen and M. Vetterli SIGCOMM 1996.
1 Estimating Shared Congestion Among Internet Paths Weidong Cui, Sridhar Machiraju Randy H. Katz, Ion Stoica Electrical Engineering and Computer Science.
An Implementation and Experimental Study of the eXplicit Control Protocol (XCP) Yongguang Zhang and Tom Henderson INFOCOMM 2005 Presenter - Bob Kinicki.
The War Between Mice and Elephants Presented By Eric Wang Liang Guo and Ibrahim Matta Boston University ICNP
Explicit Congestion Notification ECN Tilo Hamann Technical University Hamburg-Harburg, Germany.
AQM for Congestion Control1 A Study of Active Queue Management for Congestion Control Victor Firoiu Marty Borden.
TCP Stability and Resource Allocation: Part I. References The Mathematics of Internet Congestion Control, Birkhauser, The web pages of –Kelly, Vinnicombe,
6/16/20151 On Designing Improved Controllers for AQM Routers Supporting TCP flows By C.V Hollot, Vishal Mishra, Don Towsley and Wei-Bo Gong Presented by.
Diffusion Mechanisms for Active Queue Management Department of Electrical and Computer Engineering University of Delaware May 19th / 2004 Rafael Nunez.
EE689 Lecture 5 Review of last lecture More on HPF RED.
RAP: An End-to-End Rate-Based Congestion Control Mechanism for Realtime Streams in the Internet Reza Rejai, Mark Handley, Deborah Estrin U of Southern.
1 Minseok Kwon and Sonia Fahmy Department of Computer Sciences Purdue University {kwonm, TCP Increase/Decrease.
Fluid-based Analysis of a Network of AQM Routers Supporting TCP Flows with an Application to RED Vishal Misra Wei-Bo Gong Don Towsley University of Massachusetts,
A Real-Time Video Multicast Architecture for Assured Forwarding Services Ashraf Matrawy, Ioannis Lambadaris IEEE TRANSACTIONS ON MULTIMEDIA, AUGUST 2005.
1 Emulating AQM from End Hosts Presenters: Syed Zaidi Ivor Rodrigues.
Active Queue Management Rong Pan Cisco System EE384y Spring Quarter 2006.
Semester Copyright USM EEE449 Computer Networks Congestion En. Mohd Nazri Mahmud MPhil (Cambridge, UK) BEng (Essex, UK) Room.
Lecture 5: Congestion Control l Challenge: how do we efficiently share network resources among billions of hosts? n Last time: TCP n This time: Alternative.
Congestion Control for High Bandwidth-delay Product Networks Dina Katabi, Mark Handley, Charlie Rohrs.
Core Stateless Fair Queueing Stoica, Shanker and Zhang - SIGCOMM 98 Rigorous fair Queueing requires per flow state: too costly in high speed core routers.
CS :: Fall 2003 TCP Friendly Streaming Ketan Mayer-Patel.
Diffusion Mechanisms for Active Queue Management Department of Electrical and Computer Engineering University of Delaware May 19th / 2004 Rafael Nunez.
Congestion Control for High Bandwidth-Delay Product Environments Dina Katabi Mark Handley Charlie Rohrs.
Ns Simulation Final presentation Stella Pantofel Igor Berman Michael Halperin
1 A State Feedback Control Approach to Stabilizing Queues for ECN- Enabled TCP Connections Yuan Gao and Jennifer Hou IEEE INFOCOM 2003, San Francisco,
Diffusion Early Marking Department of Electrical and Computer Engineering University of Delaware May / 2004 Rafael Nunez Gonzalo Arce.
Advanced Computer Networks : RED 1 Random Early Detection Gateways for Congestion Avoidance Sally Floyd and Van Jacobson, IEEE Transactions on Networking,
Buffer requirements for TCP: queueing theory & synchronization analysis Gaurav RainaDamon Wischik CambridgeUCL.
CS144 An Introduction to Computer Networks
TFRC: TCP Friendly Rate Control using TCP Equation Based Congestion Model CS 218 W 2003 Oct 29, 2003.
Fluid-based Analysis of a Network of AQM Routers Supporting TCP Flows with an Application to RED Vishal Misra Wei-Bo Gong Don Towsley University of Massachusetts,
Distance-Dependent RED Policy (DDRED)‏ Sébastien LINCK, Eugen Dedu and François Spies LIFC Montbéliard - France ICN07.
27th, Nov 2001 GLOBECOM /16 Analysis of Dynamic Behaviors of Many TCP Connections Sharing Tail-Drop / RED Routers Go Hasegawa Osaka University, Japan.
The Impact of Active Queue Management on Multimedia Congestion Control Wu-chi Feng Ohio State University.
AQM & TCP models Courtesy of Sally Floyd with ICIR Raj Jain with OSU.
TCP: Transmission Control Protocol Part II : Protocol Mechanisms Computer Network System Sirak Kaewjamnong Semester 1st, 2004.
1 CS 4396 Computer Networks Lab TCP – Part II. 2 Flow Control Congestion Control Retransmission Timeout TCP:
1 SIGCOMM ’ 03 Low-Rate TCP-Targeted Denial of Service Attacks A. Kuzmanovic and E. W. Knightly Rice University Reviewed by Haoyu Song 9/25/2003.
T. S. Eugene Ngeugeneng at cs.rice.edu Rice University1 COMP/ELEC 429/556 Introduction to Computer Networks Principles of Congestion Control Some slides.
We used ns-2 network simulator [5] to evaluate RED-DT and compare its performance to RED [1], FRED [2], LQD [3], and CHOKe [4]. All simulation scenarios.
1 Computer Networks Congestion Avoidance. 2 Recall TCP Sliding Window Operation.
Random Early Detection (RED) Router notifies source before congestion happens - just drop the packet (TCP will timeout and adjust its window) - could make.
TCP continued. Discussion – TCP Throughput TCP will most likely generate the saw tooth type of traffic. – A rough estimate is that the congestion window.
1 Advanced Transport Protocol Design Nguyen Multimedia Communications Laboratory March 23, 2005.
Analysis and Design of an Adaptive Virtual Queue (AVQ) Algorithm for AQM By Srisankar Kunniyur & R. Srikant Presented by Hareesh Pattipati.
Achievable Service Differentiation with Token Bucket Marking for TCP S. Sahu, D.Towsley University of Massachusetts P. Nain INRIA C. Diot Sprint Labs V.
Network Simulation via Hybrid System Modeling: A Time- Stepped Approach Network Simulation via Hybrid System Modeling: A Time- Stepped Approach Vanderbilt.
Other Methods of Dealing with Congestion
TCP - Part II Relates to Lab 5. This is an extended module that covers TCP flow control, congestion control, and error control in TCP.
Topics discussed in this section:
Chapter 6 Congestion Avoidance
Router-Assisted Congestion Control
Generalizing The Network Performance Interference Problem
Experimental Networking (ECSE 4963)
Columbia University in the city of New York
CONGESTION CONTROL.
Other Methods of Dealing with Congestion
FAST TCP : From Theory to Experiments
Other Methods of Dealing with Congestion
CSE 4213: Computer Networks II
Understanding Congestion Control Mohammad Alizadeh Fall 2018
TCP: Transmission Control Protocol Part II : Protocol Mechanisms
Presentation transcript:

Simulating Large Networks using Fluid Flow Model Yong Liu Joint work with Francesco LoPresti, Vishal Misra Don Towsley, Yu Gu

Outline Fluid Flow Model ODE solving Methods Account for Topology Computation Savings Model Adjustments Integration with Packet Level Simulators Open Issues

network TCP runs at the “edge” Routers within network drop/mark packets when buffers fill up Fluid Model of a Network of AQM Routers Supporting TCP Flows

TCP Congestion Control: window algorithm Window: can send W packets at a time increase window by one per RTT if no loss decrease window by half on detection of loss

TCP Congestion Control: window algorithm Window: can send W packets increase window by one per RTT if no loss decrease window by half on detection of loss sender receiver W

TCP Congestion Control: window algorithm Window: can send W packets increase window by one per RTT if no loss decrease window by half on detection of loss sender receiver W

Active Queue Management:RED RED: Random Early Detect proposed in 1993 Proactively mark/drop packets in a router queue probabilistically to –Prevent onset of congestion by reacting early –Remove synchronization between flows

The RED Mechanism RED: Marking/dropping based on average queue length x (t) (EWMA algorithm used for averaging) t min t max p max 1 2t max Marking probability p Average queue length x t -> - q (t) - x (t) x (t): smoothed, time averaged q (t)

Modeling RED: A Single Congested Router TCP flow i, prop. delay A i AQM router C, p One bottlenecked AQM router –service capacity {C (packets/sec) } –queue length q(t) – drop prob. p(t) N TCP flows –window sizes W i (t) –round trip time R i (t) = A i +q (t)/C –throughputs B i (t) = W i (t)/R i (t)

System of Differential Equations Window Size: All quantities are average values. Timeouts and slow start ignored Additive increase Loss arrival rate Mult. decrease Queue length: Outgoing traffic Incoming traffic

System of Differential Equations (cont.) Average queue length: Where  = averaging parameter of RED(w q )  = sampling interval ~ 1/C Loss probability: Where is obtained from the marking profile p x

Stepping back: Where are we? N+2 coupled equations solved numerically W=Window size, R = RTT, q = queue length, p = marking probability

Fluid Flow Model for a Network with Multiple Bottle-necks Scalable with link bandwidth and flow population within each class Network of M RED queues, K TCP classes, flows in class k

ODE Solving Methods Matlab ODE Solver Suit Error control, automatically adjusted step-size Cannot handle delayed differential equations Lack of flexibility of programming Computational Inefficiency Fixed Stepsize Runge-Kutta Method FFM: Time stepped numerical fluid model solver in C

Computation Cost: Matlab vs. FFM 80 TCP Classes x 20 RED Queues, Random Routing Matrix Matlab: 1572 seconds FFM: 5 seconds

Accuracy: FFM vs. NS Single Bottle Neck Network, 2 TCP Classes, Flows Per Class: 60  40  20

Account for Topology Fact: TCP sending rate will be reshaped in each queue it traverses C C Q1 Q2 Packet Loss Probability (I)Packet Loss Probability (II)

Account for Topology Keep track of each TCP class’s arrival rate and departure rate at each queue:

Account for Topology FFFM: Finer Fluid Flow Model Packet Loss Probability (I)Packet Loss Probability (II)

Refined Fluid Model Solver

Model Adjustment 1 In ns, actual packet drop/mark prob. is not equal to loss probability calculated from RED formula. Given a RED calculation value p, RED tries to make the interval between two drops/marks uniformly distributed in [1/p, 2/p] when “wait” option is on and [1, 1/p] when “wait” is off. Actual loss prob. is 2p/3 if “wait” on; 2p if “wait” off

Model Adjustment 1 With wait: Without wait:

Model Adjustment 2 NS won’t drop packet if the queue is empty Adjustment:

Other Adjustments TCP Newreno and SACK only backoff once for multiple losses within one window. Adjustment 1: Adjustment 2: At a given time, only TCP flows without packet loss will increase their congestion window.

{1,2}  {1}  {1,2,3} NS vs. FFFM

NS vs. FFFM (cont.) 3 TCP Classes, 8 RED Queues Scale bandwidth and flow population with k=1, 10, 50. Link Bandwidth: (black) 100M*k, (red) 10M*k Flows within each class: 40*k Class1 Class2 Class3

TCP Average Sending Rate, K=1 ClassNS Mean NS Std. FFF M Abs. Err Class1Class2 Class3

Queue Length, K=1 QueueNS MeanNS Std.FFFMAbs. Err Bottle-neck1 Bottle-neck2

TCP Average Sending Rate, K=10 ClassNS Mean NS Std. FFF M Abs. Err Class1 Class2 Class3

Queue Length, K=10 QueueNS MeanNS Std.FFFMAbs. Err Bottle-neck1Bottle-neck2

TCP Average Sending Rate, K=50 ClassNS Mean NS Std. FFF M Abs. Err Class1Class2 Class3

Queue Length, K=50 QueueNS MeanNS Std.FFFMAbs. Err Bottle-neck1 Bottle-neck2

TCP Average Sending Rate, K=100 ClassNS Mean NS Std. FFF M Abs. Err Class1Class2 Class3

Queue Length, K=100 QueueNS MeanNS Std.FFFMAbs. Err Bottle-neck1Bottle-neck2

Computation Savings

Net 0 Net 1 Net Net 3 Topology of a Large IP Network

Computation Cost

Integration with Packet Level Simulators Fluid flow model can provide delay and loss information for packets passing fluid network segments. If traffic from packet segments is negligible to fluid segment, fluid model can be solved independently. Simulated by FFFM Packet Level

Integration into NS FFFM has been integrated into NS by constructing Fluid Link and Fluid Network objects. Access Ns node Access Ns node Fluid Network Segment Fluid Network Topology of Hybrid NS Simulation Packet Network Segment

Hybrid NS Simulation Link Bandwidth: (black) 100M, (red) 15M 3 Background TCP Classes, 40 Flows per Class 3 Foreground TCP Sessions Class1 Session3 Session1 Class3 Class2 Session2 Fluid Network Segment Packet Level Nodes

Background TCP Average Window Size Class1 Class2Class3 hybrid packet

Foreground TCP Sample Path Session1 Session3 Session2

Bottle-neck Queue Evolution Bottle-neck1 Bottle-neck2 Simulation time: Hybrid: 8.4s, Packet: 29.7s CPU: 800MHz, Memory: 256M

Open Issues Time-out, Slow Start Finite duration flows, unresponsive flows High interaction between packet network segments and fluid network segments Limitations of mean value fluid model Verify results for large networks