Queueing in switched networks Damon Wischik, UCL thanks to Devavrat Shah, MIT TexPoint fonts used in EMF. Read the TexPoint manual before you delete this.

Slides:



Advertisements
Similar presentations
Mobility Increase the Capacity of Ad-hoc Wireless Network Matthias Gossglauser / David Tse Infocom 2001.
Advertisements

BY PAYEL BANDYOPADYAY WHAT AM I GOING TO DEAL ABOUT? WHAT IS AN AD-HOC NETWORK? That doesn't depend on any infrastructure (eg. Access points, routers)
Queuing Network Models for Delay Analysis of Multihop Wireless Ad Hoc Networks Nabhendra Bisnik and Alhussein Abouzeid Rensselaer Polytechnic Institute.
1 Message passing architectures and routing CEG 4131 Computer Architecture III Miodrag Bolic Material for these slides is taken from the book: W. Dally,
EE 685 presentation Optimal Control of Wireless Networks with Finite Buffers By Long Bao Le, Eytan Modiano and Ness B. Shroff.
DYNAMIC POWER ALLOCATION AND ROUTING FOR TIME-VARYING WIRELESS NETWORKS Michael J. Neely, Eytan Modiano and Charles E.Rohrs Presented by Ruogu Li Department.
Modeling the Interactions of Congestion Control and Switch Scheduling Alex Shpiner Joint work with Isaac Keslassy Faculty of Electrical Engineering Faculty.
Nick McKeown CS244 Lecture 6 Packet Switches. What you said The very premise of the paper was a bit of an eye- opener for me, for previously I had never.
Towards Simple, High-performance Input-Queued Switch Schedulers Devavrat Shah Stanford University Berkeley, Dec 5 Joint work with Paolo Giaccone and Balaji.
Algorithm Orals Algorithm Qualifying Examination Orals Achieving 100% Throughput in IQ/CIOQ Switches using Maximum Size and Maximal Matching Algorithms.
Fast Matching Algorithms for Repetitive Optimization Sanjay Shakkottai, UT Austin Joint work with Supratim Deb (Bell Labs) and Devavrat Shah (MIT)
1 Input Queued Switches: Cell Switching vs. Packet Switching Abtin Keshavarzian Joint work with Yashar Ganjali, Devavrat Shah Stanford University.
*Sponsored in part by the DARPA IT-MANET Program, NSF OCE Opportunistic Scheduling with Reliability Guarantees in Cognitive Radio Networks Rahul.
TCP Stability and Resource Allocation: Part I. References The Mathematics of Internet Congestion Control, Birkhauser, The web pages of –Kelly, Vinnicombe,
CS541 Advanced Networking 1 Dynamic Channel Assignment and Routing in Multi-Radio Wireless Mesh Networks Neil Tang 3/10/2009.
Scheduling Algorithms for Wireless Ad-Hoc Sensor Networks Department of Electrical Engineering California Institute of Technology. [Cedric Florens, Robert.
Analysis and Simulation of a Fair Queuing Algorithm
048866: Packet Switch Architectures Dr. Isaac Keslassy Electrical Engineering, Technion The.
Guaranteed Smooth Scheduling in Packet Switches Isaac Keslassy (Stanford University), Murali Kodialam, T.V. Lakshman, Dimitri Stiliadis (Bell-Labs)
EEC-484/584 Computer Networks Lecture 7 Wenbing Zhao
1 EE384Y: Packet Switch Architectures Part II Load-balanced Switches Nick McKeown Professor of Electrical Engineering and Computer Science, Stanford University.
ACN: Congestion Control1 Congestion Control and Resource Allocation.
Computer Networking Lecture 17 – Queue Management As usual: Thanks to Srini Seshan and Dave Anderson.
1 Netcomm 2005 Communication Networks Recitation 5.
048866: Packet Switch Architectures Dr. Isaac Keslassy Electrical Engineering, Technion Maximal.
Analysis of Input Queueing More complex system to analyze than output queueing case. In order to analyze it, we make a simplifying assumption of "heavy.
048866: Packet Switch Architectures Dr. Isaac Keslassy Electrical Engineering, Technion Scheduling.
Pipelined Two Step Iterative Matching Algorithms for CIOQ Crossbar Switches Deng Pan and Yuanyuan Yang State University of New York, Stony Brook.
Nick McKeown CS244 Lecture 7 Valiant Load Balancing.
Belgrade University Aleksandra Smiljanić: High-Capacity Switching Switches with Input Buffers (Cisco)
ATM SWITCHING. SWITCHING A Switch is a network element that transfer packet from Input port to output port. A Switch is a network element that transfer.
Message-Passing for Wireless Scheduling: an Experimental Study Paolo Giaccone (Politecnico di Torino) Devavrat Shah (MIT) ICCCN 2010 – Zurich August 2.
1 Mobility Increases the Capacity of Ad-hoc Wireless Networks Matthias Grossglauser, David Tse IEEE Infocom 2001 (Best paper award) Oct 21, 2004 Som C.
Sami Al-wakeel 1 Data Transmission and Computer Networks The Switching Networks.
1 Message passing architectures and routing CEG 4131 Computer Architecture III Miodrag Bolic Material for these slides is taken from the book: W. Dally,
Incentive-Oriented Downlink Scheduling for Wireless Networks with Real-Time and Non-Real-Time Flows I-Hong Hou, Jing Zhu, and Rath Vannithamby.
Routers. These high-end, carrier-grade 7600 models process up to 30 million packets per second (pps).
Computer Networks: Switching and Queuing Ivan Marsic Rutgers University Chapter 4 – Switching and Queuing Delay Models.
Packet Forwarding. A router has several input/output lines. From an input line, it receives a packet. It will check the header of the packet to determine.
Consider a network in which for any two nodes directly connected with a link, a message either reaches its destination within T time or gets lost. (a)
Providing End-to-End Delay Guarantees for Multi-hop Wireless Sensor Networks I-Hong Hou.
Stress Resistant Scheduling Algorithms for CIOQ Switches Prashanth Pappu Applied Research Laboratory Washington University in St Louis “Stress Resistant.
Interconnect simulation. Different levels for Evaluating an architecture Numerical models – Mathematic formulations to obtain performance characteristics.
DJW. Infocom 2006 optimal scheduling algorithms for input-queued switches Devavrat Shah, MIT Damon Wischik, UCL Note. The animations in these slides have.
Belgrade University Aleksandra Smiljanić: High-Capacity Switching Switches with Input Buffers (Cisco)
Network teleology Damon Wischik
Content caching and scheduling in wireless networks with elastic and inelastic traffic Group-VI 09CS CS CS30020 Performance Modelling in Computer.
Minimizing Delay in Shared Pipelines Ori Rottenstreich (Technion, Israel) Joint work with Isaac Keslassy (Technion, Israel) Yoram Revah, Aviran Kadosh.
Buffered Crossbars With Performance Guarantees Shang-Tse (Da) Chuang Cisco Systems EE384Y Thursday, April 27, 2006.
Topics in Internet Research: Project Scope Mehreen Alam
Optimization Problems in Wireless Coding Networks Alex Sprintson Computer Engineering Group Department of Electrical and Computer Engineering.
Fair and Efficient multihop Scheduling Algorithm for IEEE BWA Systems Daehyon Kim and Aura Ganz International Conference on Broadband Networks 2005.
1 Using Network Coding for Dependent Data Broadcasting in a Mobile Environment Chung-Hua Chu, De-Nian Yang and Ming-Syan Chen IEEE GLOBECOM 2007 Reporter.
Providing QoS in IP Networks
Chapter 10 Congestion Control in Data Networks and Internets 1 Chapter 10 Congestion Control in Data Networks and Internets.
scheduling for local-area networks”
Buffer Management in a Switch
Data Streaming in Computer Networking
Packet Forwarding.
Switching Techniques In large networks there might be multiple paths linking sender and receiver. Information may be switched as it travels through various.
Throughput-Optimal Broadcast in Dynamic Wireless Networks
Switching Techniques.
Stability Analysis of MNCM Class of Algorithms and two more problems !
EE 122: Lecture 7 Ion Stoica September 18, 2001.
Network Simulation NET441
Javad Ghaderi, Tianxiong Ji and R. Srikant
Internet congestion control
Horizon: Balancing TCP over multiple paths in wireless mesh networks
Satellite Packet Communications A UNIT -V Satellite Packet Communications.
Introduction to Packet Scheduling
Presentation transcript:

Queueing in switched networks Damon Wischik, UCL thanks to Devavrat Shah, MIT TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: A AAAAA A A A A AAA A A A A AA

2 Outline Applications and illustrations The static planning problem and its dual What we want to answer Examples of scheduling algorithms Analysis Designing practical algorithms

3 Roundabouts and crossroads There are twelve possible flows of traffic The road layout places constraints on which flows can use the roundabout simultaneously Traffic regulations, and maybe traffic lights, determine which flows get to move

4 Input-queued switches This is a model for the silicon fabric at the core of a high-speed Internet router Slotted time, fixed-size packets At each timeslot, the switch chooses a matching of inputs to outputs, and serves the corresponding queues

5 Wireless base-station A wireless base station, transmitting data to several users At each timeslot, the base station chooses what power to use to transmit to each of the users The resulting transmission rates depend on interference, distance, and channel state

6 Wireless ad-hoc network Each node has a stream of data to send to its neighbours Each node can broadcast to its neighbours; if a node receives more than one broadcast, both are lost Each node can choose a broadcast probability, and every timeslot it broadcasts with this probability These choices determine the throughput

7 Database concurrency control A system runs several databases, and it receives a stream of jobs –Each job may require write access to some of the databases, and read access to others –If a job is writing to one of the databases, no other jobs can read from that database at the same time The system chooses which jobs to run concurrently

8 Flow-level model of TCP Consider a set of routes through the Internet There may be a number of simultaneous TCP flows on each route TCP determines the transmission rate that each flow receives, given the numbers of jobs and the routes This has the effect of draining the queues of jobs

9 Routing and sequencing in a multihop network An abstract queueing network with routing and sequencing choice A DHT. A query arrives at a node, and is forwarded to a succession of other nodes until it finds an answer –nodes may choose to drop a request if they are overloaded –they also choose which queue to serve

10 Abstract model

11 The static planning problem

12 The static planning problem Interpret ® ¼ as the fraction of timeslots in which we should run schedule ¼. If the solution to this problem is · 1, then the optimal ® ¼ tell us how much time to dedicate to each schedule. We can simply run a static sequence of schedules, and the system will be stable. Interpret ® ¼ as the fraction of timeslots in which we should run schedule ¼. If the solution to this problem is · 1, then the optimal ® ¼ tell us how much time to dedicate to each schedule. We can simply run a static sequence of schedules, and the system will be stable. Imagine that each packet in queue n is worth an amount of money » n. Then » > ¸ is the total rate at which money arrives, and » > ¼ is the most money that action ¼ can take away. If the solution to this problem is >1, then the amount of money in the system will build up, i.e. the queue lengths will explode. Imagine that each packet in queue n is worth an amount of money » n. Then » > ¸ is the total rate at which money arrives, and » > ¼ is the most money that action ¼ can take away. If the solution to this problem is >1, then the amount of money in the system will build up, i.e. the queue lengths will explode. For ¸ 2 ¤, it is possible to schedule all incoming work and keep the system stable. Otherwise the system is unstable.

13 Interesting questions Given a scheduling algorithm, is it stable for all ¸ 2 ¤ ? (described as having 100% throughput) Is there an online algorithm, i.e. one whose action in timeslot t depends only on queue sizes at timeslot t, which has 100% throughput? –such an algorithm ought to be more responsive to transient conditions Even if an algorithm has 100% throughput, it may have terrible performance. What are the properties of an algorithm which lead to low average delay? If the network is overloaded, i.e. PRIMAL( ¸ )>1, does the algorithm work OK? –e.g. maximize net departure rate

14 Some scheduling algorithms BIGSTEP –Count arrivals over T slots. Compute a sequence of schedule which would serve them. Use these schedules for the next T slots. Greedy –Serve the biggest queues you can MaxSize –Pick any schedule which maximizes the number of departures MaxWeight –pick any schedule ¼ which maximizes ¼ > Q –or, pick any schedule ¼ which maximizes ¼ > (Q ® ), for some prespecified ® >0, where the exponent is componentwise

15 Analysis I. Foster-Lyapunov criteria

16 Applying the Foster-Lyapunov drift criterion

17 Analysis II. Fluid stability

18 Applying the fluid method

19 Analysis III. Heavy traffic For an input-queued switch running MaxWeight, simulations suggest that Q(t) ¼ ¢ (w(Q(t)) for suitably-chosen functions ¢ and w This is called state space collapse, and is a general feature of heavily-loaded systems –that is, systems where the solution to PRIMAL( ¸ ) is ¼ 1 It may help us understand queueing delay for scheduling algorithms output 1output 2output 3output 4 input workload input 1 input 2 input 3 input 4 output workloads measured queue sizes, from a simulation queue sizes inferred from the measured workloads

20 Practical algorithms: backpressure MaxWeight rule says To compute weights, each node needs to know its queue sizes and downstream queue sizes — nothing more Assume that you always have the option of idling. Then MaxWeight has 100% throughput.

21 Practical algorithms: randomized versions In an input-queued switch with N ports, MaxWeight can be computed in time O(N 3 ) N may be 30 to 300, so MaxWeight is impractical Randomized MaxWeight –Each timestep pick a new schedule at random –Use the last timestep's schedule, or this new schedule, whichever has larger weight This algorithm has 100% throughput and terrible delay performance. Tweaked versions do much better.

22 Practical algorithms: iSLIP Each port maintains a priority ring For a NxN switch, run log N iterations of the following: 1.Each input sends I have packets for you to all outputs for which there are packets waiting 2.Each output chooses no more than one of the inputs that it heard from, giving preference to the next input in its priority ring, and replies I want your packets 3.Each input chooses no more than one of the outputs that it heard from, giving preference to the next output in its priority ring, and replies OK, let's match 4.Any matched input-output pairs move their priority pointers to (port they matched to +1) mod N Figures from N.McKeown, 1999

23 Practical algorithms: the Chang method Suppose the traffic matrix is sub- uniform, ¸ m,n · 1/N for all m,n –Then we can use a static round- robin scheduling policy Chang's ingenious idea is to send incoming packets to a random destination, and then to switch them to the correct destination –the traffic matrix at each stage is sub-uniform, so a static round- robin scheduling policy works random