Presentation is loading. Please wait.

Presentation is loading. Please wait.

Title Page An Application of Market Equilibrium in Distributed Load Balancing in Wireless Networking Algorithms and Economics of Networks UW CSE-599m.

Similar presentations


Presentation on theme: "Title Page An Application of Market Equilibrium in Distributed Load Balancing in Wireless Networking Algorithms and Economics of Networks UW CSE-599m."— Presentation transcript:

1 Title Page An Application of Market Equilibrium in Distributed Load Balancing in Wireless Networking Algorithms and Economics of Networks UW CSE-599m

2 Reference Cell-Breathing in Wireless Networks, by Victor Bahl, MohammadTaghi Hajiaghayi, Kamal Jain, Vahab Mirrokni, Lili Qiu, Amin Saberi

3 Wireless Devices  Cell-phones, laptops with WiFi cards  Referred as clients or users interchangeably Demand Connections  Uniform for cell-phones (voice connection)  Non-uniform for laptops (application dependent)

4 Access Points (APs) Access Points  Cell-towers, Wireless routers Capacities  Total traffic they can serve  Integer for Cell-towers Variable Transmission Power  Capable of operating at various power levels  Assume levels are continuous real numbers

5 Clients to APs assignment Assign clients to APs in an efficient way  No over-loading of APs  Assigning the maximum number of clients  Satisfying the maximum demand

6 One Heuristic Solution A client connects to the AP with the best signal and the lightest load  Requires support both from AP and Clients  APs have to communicate their current load  Clients have WiFi cards from various vendors running legacy software  Limited benefit in practice

7 We would like … A Client connects to the AP with the best received signal strength An AP j transmitting at power level P j then a client i at distance d ij receives signal with strength P ij = a.P j.d ij -α where a and α are constants  Captures various models of power attenuation

8 Cell Breathing Heuristic An overloaded AP decreases its communication radius by decreasing power A lightly loaded AP increases its communication radius by increasing power Hopefully an equilibrium would be reached  Will show that an equilibrium exist  Can be computed in polynomial time  Can be reached by a tatonement process

9 Market Equilibrium – A distributed load balancing mechanism. Demand = Supply No Production  Static Supply  Analogous to Capacities of APs Prices  Analogous to Powers at APs Utilities  Analogous to Received Signal Strength function

10 Analogousness is Inspirational Our situation is analogous to Fisher setting with Linear Utilities

11 Fisher Setting Linear Utilities Buyers Goods

12 Clients assignment to APs Clients APs

13 Analogousness is Inspirational Our situation is analogous to Fisher setting with Linear Utilities Get inspiration from various algorithms for the Fisher setting and develop algorithms for our setting We do not know any reduction – in fact there are some key differences

14 Differences from the Market Equilibrium setting Demand  Price dependent in Market equilibrium setting  Power independent in our setting Is demand splittable?  Yes for the Market equilibrium setting  No for our setting Under mild assumptions, market equilibrium clears both sides but our solution requires clearance on either one side  Either all clients are served  Or all APs are saturated This also means two separate linear programs for these two separate cases

15 Three Approaches for Market Equilibrium Convex Programming Based  Eisenberg, Gale 1957 Primal-Dual Based  Devanur, Papadimitriou, Saberi, Vazirani 2004 Auction Based  Garg, Kapoor 2003

16 Three Approaches for Load Balancing Linear Programming  Minimum weight complete matching Primal-Dual  Uses properties of bipartite graph matching  No loop invariant! Auction  Useful in dynamically changing situation

17 Another Application of Market Equilibria in Networking Fleisher, Jain, Mahdian 2004 used market equilibrium inspiration to obtain Toll-Taxes in Multi-commodity Selfish Routing Problem  This is essentially a distributed load balancing i.e., distributed congestion control problem

18 Linear Programming Based Solution Create a complete bipartite graph One side is the set of all clients The other side is the set of all APs, conceptually each AP is repeated as many times as its capacity The weight between client i and AP j is w ij = α.ln(d ij ) – ln(a) Find the minimum weight complete matching

19 Theorem Minimum weight matching is supported by a power assignment to APs Power assignment are the dual variables Two cases for the primal program  Solution can satisfy all clients  Solution can saturate all APs

20 Case 1 – Complete matching covers all clients

21 Case 1 – Pick Dual Variables

22 Write Dual Program

23 Optimize the dual program Choose P j = e π j Using the complementary slackness condition we will show that the minimum weight complete matching is supported by these power levels

24 Proof Dual feasibility gives: -λ i ≥ π j – w ij = ln(P j ) – α.ln(d ij ) + ln(a) = ln(a.P j.d ij -α ) Complementary slackness gives: x ij =1 implies -λ i = ln(a.P j.d ij -α ) Together they imply that i is connected to the AP with the strongest received signal strength

25 Case 2 – Complete matching saturates all APs

26 Case 2 – The rest of the proof is similar

27 Optimizing Dual Program Once the primal is optimized the dual can be optimized with the Dijkstra algorithm for the shortest path

28 Primal-Dual-Type Algorithm Previous algorithm needs the input upfront In practice, we need a tatonement process The received signal strength formula does not work in case there are obstructions A weaker assumption is that the received signal strength is directly proportional to the transmitted power – true even in the presence of obstructions

29 Cell-phones Cell-towers

30 Start with arbitrary non-zero powers 10 40 10 30

31 Powers and Received Signal Strength 10 40 10 30 8 8 4 7 RSS

32 Equality Edges 10 40 10 30 8 8 Max RSS

33 Equality Graph Desirable APs for each Client 10 40 10 30

34 Maximum Matching Maximum Matching, Deficiency = 1 10 40 10 30

35 Neighborhood Set 10 40 10 30 S T

36 Deficiency of a Set Deficiency of S = Capacities on T - |S| 10 40 10 30 S T

37 Simple Observation Deficiency of a Set S ≤ Deficiency of the Maximum Matching Maximum Deficiency over Sets ≤ Minimum Deficiency over Matching

38 Generalization of Hall’s Theorem Maximum Deficiency over Sets = Minimum Deficiency over Matching Maximum Deficiency over Sets = Deficiency of the Maximum Matching

39 Maximum Matching Maximum Matching, Deficiency = 1 10 40 10 30

40 Most Deficient Sets Two Most Deficient Sets 10 40 10 30

41 Smallest Most Deficient Set Pick the smallest. Use Super-modularity! 10 40 10 30 S

42 Neighborhood Set 10 40 10 30 S T

43 Complement of the Neighborhood Set 10 40 10 30 S TcTc

44 Initialize r. Initialize r = 1 10 40 10r 30r S TcTc

45 About to start raising r. Start Raising r 10 40 10r 30r S TcTc

46 Equality edges about to be lost. Equality edge which will be lost 10 40 10r 30r S TcTc

47 Useless equality edges. Did not belong to any maximum matching 10 40 10r 30r S TcTc

48 Equality edges deleted. Let it go 10 40 10r 30r S TcTc

49 All other equality edges remain. All other equality edges are preserved! 10 40 10r 30r S TcTc

50 A new equality edge added At some point a new equality appears. r =2 10 40 20 60 S TcTc

51 Subcase A – Deficiency Decreases New equality edge gives an augmenting path 10 40 20 60 S TcTc

52 Subcase B – Deficiency does not decrease New edge does not create any augmenting path 10 40 20 60 S TcTc

53 Smallest most deficient set increases New S is a strict super set of old S! 10 40 20 60 S

54 Eventually Subcase A will happen Eventually the size of the matching increases 10 40 20 60 S

55 Case 1 – Deficiency Reaches Zero All Clients are served! 10 40 20 60 S

56 All APs are saturated Or the algorithm will prove that none exist! S 10 40 20

57 Unsplittable Demand Solve the splittable case by solving the minimum weight matching linear program

58 Unsplittable Demand

59 Solve the splittable case by solving the minimum weight matching linear program In fact compute a basic feasible solution Assume that the number of clients is much larger than the number of APs – a realistic assumption

60 Approximate Solution All x ij ’s but a small number of x ij ’s are integral

61 Analysis of Basic Feasible Solution

62 Approximate Solution All x ij ’s but a small number of x ij ’s are integral Number of x ij which are not integral is at most the number of APs Most clients are served unsplittably Clients which are served splittably – do not serve them The algorithm is still almost optimal

63 Discrete Power Levels Over the shelf APs have only fixed number of discrete power levels Equilibrium may not exist  In fact it is NP-hard to test whether it exist or not If every client has a deterministic tie breaking rule then we can compute the equilibrium – if exist under the tie breaking rule

64 Discrete Power Levels Start with the maximum power levels for each AP Take any overloaded AP and decrease its power level by one notch If an equilibrium exist then it will be computed in time mk, where m is the number of APs and k is the number of power levels This is a distributed tatonement process!

65 Proof. Suppose P j is an equilibrium power level for the j th AP. Inductively prove that when j reaches the power level P j then it will not be overloaded again.  Here we use the deterministic tie breaking rule.

66 Conclusion. Theory of market equilibrium is a good way of synchronizing independent entity’s to do distributed load balancing. We simulated these algorithm. Observed meaningful results. Thanks Kamal Jain for the main part of slides.


Download ppt "Title Page An Application of Market Equilibrium in Distributed Load Balancing in Wireless Networking Algorithms and Economics of Networks UW CSE-599m."

Similar presentations


Ads by Google