Presentation is loading. Please wait.

Presentation is loading. Please wait.

Ken Wong Jon Turner and Prashanth Pappu Washington University Distributed Queueing Gigabit Kits (June 2002)

Similar presentations


Presentation on theme: "Ken Wong Jon Turner and Prashanth Pappu Washington University Distributed Queueing Gigabit Kits (June 2002)"— Presentation transcript:

1 Ken Wong Jon Turner and Prashanth Pappu Washington University kenw@arl.wustl.edu Distributed Queueing Gigabit Kits (June 2002)

2 2 -Ken Wong, June 2002 Distributed Queueing Switch Fabric TI IOIOIO IO IO IO Control Processor Routing Sched. Routing Sched. Routing Sched. Routing Sched. Routing Sched. Routing Sched. queue per output periodic queue length reports Scheduler paces each queue according to backlog share

3 3 -Ken Wong, June 2002 What is Distributed Queueing? Performs like an output queueing system »I.e., Maximize output link utilization »Without the need for a switch with speed-up of N Goals of the DQ Algorithm »Avoid switch fabric congestion (and therefore cell loss) »Avoid output underflow (maximize output link utilization) Topics »The STRESS experiment »Discrete-event simulation results »SPC-only prototype measurements »Current work

4 4 -Ken Wong, June 2002 Stress Test can vary number of inputs and outputs used, and length of “phases” K = 4 Sources R = 5 Phases 70 Mbps S x L = 2 x 70 = 140 Mbps L = 70 Mbps

5 5 -Ken Wong, June 2002 Stress Test Simulation - Backlog

6 6 -Ken Wong, June 2002 Basic Ideas To Avoid Output Underflow »Input-side backlog B(i,j) indicates need for switch bandwidth »Output-side backlog B(j) indicates less need for switch bandwidth (back pressure) Apportion switch capacity based on relative input- side backlogs to avoid switch congestion and output underflow

7 7 -Ken Wong, June 2002 Basic DQ Algorithm Goal: Avoid switch congestion and output queue underflow. Let hi(i,j) be input i’s share of input-side backlog to output j. »Avoid switch congestion by sending from input i to output j at rate  L  S  hi(i,j) »where L is external link rate and S is switch speedup Let lo(i,j) be input i’s share of total backlog for output j. »Avoid underflow of queue at output j by sending from input i to output j at rate  L  lo(i,j) »This works if L  (lo(i,1)+···+lo(i,n))  L  S for all i Let wt(i,j) be the ratio of lo(i,j) to lo(i,1)+···+lo(i,n). Let rate(i,j)=L  S  min ( wt(i,j), hi(i,j) ). Note: Algorithm avoids congestion and output underflow for large enough S.

8 8 -Ken Wong, June 2002 Stress Test Simulation - Backlog

9 9 -Ken Wong, June 2002 Stress Test Simulation - Min Rates

10 10 -Ken Wong, June 2002 Stress Test Simulation - Actual Rates

11 11 -Ken Wong, June 2002 SPC Code DQ cell (40 of 48 bytes for N=8 ports) »Port number »Output backlog B(i) »N input backlogs B(i,j) SPC kernel at each port (Every D = 500 usec) »Multicast 1 DQ cell containing its backlogs to all ports using vpi/vci 0/61 »Read incoming DQ cells from all ports »Call dq_set_pace() dq_set_pace »Compute rate(i,j) for all j »Set APIC pacing rates for each j

12 12 -Ken Wong, June 2002 Stress Test Measurement Results

13 13 -Ken Wong, June 2002 Improving Basic Algorithm Allocated rates will oscillate when backlogs are near 0 »Use artificial minimum backlog in hi(i,j) and artificial minimum rate in lo(i,j) Does not always make full use of available input bandwidth »Does not reallocate bandwidth that is lost when queues are “output limited” »Extend algorithm to reallocate “excess” rate Allocate rates in decreasing order of largest lo(i,j)/hi(i,j) I.e., rate(i,j) can “donate” excess rate to remaining rates

14 14 -Ken Wong, June 2002 Current/Future Work “Design and Evaluation of a High-Performance Dynamically Extensible Router,” DANCE Conference, May 2002. FCFS property across input streams SPC »Output-limited rate redistribution algorithm »Dynamic configuration of DQ parameters and algorithm INFOCOM 2003 paper (Pappu, Turner, Wong) »Handles unequal link speed case FPGA implementation Extension to fair queueing Extension to reserved bandwidth flows

15 15 -Ken Wong, June 2002 Summary Fluid model simulator (C++) Discrete-event simulator (C++) »Study alternative DQ algorithms »Understand operating characteristics in controlled environment »Pre-testing of SPC (integer) algorithm SPC-only prototype »Basically works »Great monitoring tools (Java GUI, DQ-cell capture, Other utilities) »Great traffic generator (AAL5Generator) FPX version coming Lots of fun

16 16 -Ken Wong, June 2002 Backlog Shares Let hi(i,j) be input i’s share of input-side backlog to output j: Let lo(i,j) be input i’s share of total backlog for output j:

17 17 -Ken Wong, June 2002 Allocated Rates r(i,j) where

18 18 -Ken Wong, June 2002 Artificial Backlogs & Rates Let hi(i,j) be input i’s share of input-side backlog to output j: Let lo(i,j) be input i’s share of total backlog for output j:

19 19 -Ken Wong, June 2002 Rate Redistribution Algorithm Revised rate allocation at input i: R = S  L repeat n times Let j be unassigned queue with largest ratio lo(i,j)/hi(i,j) Let wt(i,j) = lo(i,j)/(sum of lo(i,q) for unassigned queues q) rate(i,j) = min{R  wt(i,j), S  L  hi(i,j)} R = R - rate(i,j)


Download ppt "Ken Wong Jon Turner and Prashanth Pappu Washington University Distributed Queueing Gigabit Kits (June 2002)"

Similar presentations


Ads by Google