ADCN MURI Tools for the Analysis and Design of Complex Multi-Scale Networks Review September 9, 2009 Protocols for Wireless Networks Libin Jiang, Jiwoong Lee and Jean Walrand Department of EECS University of California at Berkeley
ADCN Outline Three topics: CSMA Algorithms Basic Idea; Example 1; Example 2; Example 3 Future Work Algorithms for Stochastic Processing Networks (SPN) Cooperation with Incomplete Information 2/15
ADCN 1. CSMA Algorithms: Basic Idea Instead of Maximum Weight, use gradient algorithm to improve the schedule. The backpressure is the gradient with respect to the aggressiveness of a link: If the backpressure increases, the link should be more aggressive. This is the gradient of the distance between the stationary distribution of the independent sets and the distribution that supports the arrival rates. 2/15
ADCN 1. CSMA Algorithms: Example 1 2/15 Wireless Backpressure (Jiang-Walrand): Distributed protocols for scheduling, routing, and congestion control in ad hoc networks. THEOREM: Converges to optimal control with suitable step sizes. Extends to routing and to collisions in general ad hoc network.
ADCN 1. CSMA Algorithms: Example 2 2/15
ADCN 1. CSMA Algorithms: Example 3 Goal Maximize U(x) x = rate delivered to A and B Assume all 9 links interfere How? scheduling: who transmits when network coding congestion control: x
ADCN 1. CSMA Algorithms: Example 3 Solution HOL coding sum of BP rate control at input X Y Z = X + Y Z
ADCN 1. CSMA Algorithms: Example 3 Scheduling: L Link L: exponential waiting time with rate = exp of r(L)[ (9 – 5) + + (6 – 7) + ]
ADCN 1. CSMA Algorithms: Example 3 A “flow” is maintained for each destination in each session. Network coding performed among flows in the same multicast session Two-way interference Multipath routing allowed
ADCN 1. CSMA: Future Work Combine with Srikant’s shadow queues and per-hop penalty Combine LQF and CSMA Combine throughput/delay 11/15
ADCN 2. Stochastic Processing Networks General situation: tasks require parts and resources to produce new parts Examples: Military mission, assembly plant, service network, hospital,... Goal: Schedule tasks and ordering of parts to maximize the utility of the production
ADCN 2. SPN: Example
ADCN 2. SPN: Basic Problem Time 0Time 1- Time 1 Time 2- Task A requires a part from queue 1 Task B requires a part from all queues Task C requires a part from queue 3
ADCN 2. SPN: Basic Problem Time 2Time 3- Task A requires a part from queue 1 Task B requires a part from all queues Task C requires a part from queue 3 Maximum Backpressure Scheduling is not stable.
ADCN 2. SPN: Basic Problem Time 0 Time 2- Modified scheduling is stable. Task A requires a part from queue 1 Task B requires a part from all queues Task C requires a part from queue 3 Time 1: Do not serve
ADCN 2. SPN: Basic Problem Under a reasonable assumption on the arrival processes, one should be able to stabilize the network. For instance, assume that the arrival rates are in the convex hull of the service vectors. Moreover, assume that the distance between the arrivals and their averages in [0, t] is bounded. Then some scheme should stabilize the system. The goal is to find a scheme that automatically adjusts the schedule.
ADCN 2. SPN: Basic Problem Scheme: Deficit Maximum Weight. 1) “Augment State” with virtual backlog. 2) Schedule according to virtual backlog which may be negative, thus scheduling a “null activity”. Schedule with maximum weight. 3) Prove that the difference between actual and virtual is bounded. Thus, waste a finite amount of time. Extends to utility maximization.
ADCN 2. SPN: Basic Problem time q 1, Q 1 1, 10, 1 1, 20, 1 q 2, Q 2 1, 10, 1 1, 20, 1 q 3, Q 3 0, 0-1, 00, 1 -1, 0 ActivityArrivalB NoneArrivalB Note:VirtualActual q i = virtual backlog at queue i. Q i = actual backlog at queue i. Repeats forever
ADCN 2. SPN: DMW: Deficit Maximum Weight Actual queues Q(t), virtual queues q(t) Allow q(t) to be negative Queue dynamics If Q k “underflows”, then activate a “null SA” and use “fictitious parts” “Deficit” Activation of SA’s decided by MW
ADCN 2. SPN: DMW (Main properties) Prop. 1: If q(t) is bounded, then both Q(t) and D(t) are bounded. Only a finite number of null SA’s occur long-term throughput not affected. Prop. 2: If the arrival process is smooth enough, then q(t) is bounded For example, there exists T>0 so that (t=0, T, 2T, 3T…) is in the interior of the capacity region (uniformly) Mild condition More random arrivals System is still “rate-stable”, although Q(t) may slowly drift to infinity Can force Q(t) to be stable, at a cost of the throughput Tradeoff between queue lengths and throughput
ADCN 2. SPN: DMW + congestion control Congestion control Throughput: Flow 1: Flow 2: Close to the theoretical optimum 0.5, 0.5
ADCN 3. Cooperation with Incomplete Information General motivation: Robust protocols Initial idea: a protocol that achieves maxmin Problem: Nodes want to help, but their information is incomplete. Model? What type of result? 12/15
INCOMPLETE INFORMATION IN NETWORKS Relay network (Lee-Walrand): Sensitivity of optimal protocols w.r.t. lack of knowledge in network. FACT: Under conservative max-min algorithm, throughput may not converge. Optimal protocol: Limited updates.
ADCN Summary 1. CSMA Algorithms: Distributed control of wireless ad hoc networks; maximize utility 2. SPN: Deficit Maximum Weight: Stabilize SPN 3. Search for robust protocols.