Presentation is loading. Please wait.

Presentation is loading. Please wait.

Placement of Integration Points in Multi-hop Community Networks Ranveer Chandra (Cornell University) Lili Qiu, Kamal Jain and Mohammad Mahdian (Microsoft.

Similar presentations


Presentation on theme: "Placement of Integration Points in Multi-hop Community Networks Ranveer Chandra (Cornell University) Lili Qiu, Kamal Jain and Mohammad Mahdian (Microsoft."— Presentation transcript:

1 Placement of Integration Points in Multi-hop Community Networks Ranveer Chandra (Cornell University) Lili Qiu, Kamal Jain and Mohammad Mahdian (Microsoft Research)

2 2 Motivation Community networks (Houses cooperate in multi-hop network for Internet access) Internet ITAP (Expensive!) How many ITAPs will satisfy demands of a neighborhood?

3 3 Related Work Placement of server replicas, proxies –Web servers, internet measurement, file servers –Facility location problem Handles locality without link capacity constraints Does not consider impact of wireless interference Clustering Approach (Bejerano ’02) Only works for a TDMA MAC

4 4 Our Contributions We propose placement algorithms that: –Are close to optimal –Work with a general MAC –Take wireless interference into account –Are optimized for changing workload –Provide fault tolerance to ITAP and link failures

5 5 Outline Motivation and Related Work Problem Formulation –Three link models with increasing realism Placement Algorithms Advanced Features

6 6 Mapping to a Graph Nodes: houses and possible ITAP locations Edges determined by either: –A connectivity graph given by Internet provider –Supplied signal and propagation characteristics –Simplified wireless connectivity model  edge (i, j) if and only if distance (i, j)  CR, where CR is the communication range

7 7 Reducing Search Space The entire search space for ITAPs is intractable Our Approach: Form equivalence classes – Locations covering the same houses are equivalent Prune redundant classes – Prune class if another class covers all its houses H1H2 H3 E1 E2 E3 E4 E5 E6 E7 Since E7 covers all the houses, prune all other equivalence classes Use a node for each remaining equivalence class

8 8 Problem Formulation Given: –A community with N houses –House demand: d h  h –Link capacity : Cap e  e –House capacity: Cap h  h –ITAP capacity : Cap i  i Goal: Minimize num ITAPs to serve all demands A B C Cap A Cap B Cap AC Cap BC Cap CD Cap C ITAP X Cap X Internet

9 9 Simple Interference Models Ideal link model: –Throughput unaffected by path length (# hops) –Possible by using smart antennas, multiple radios 1234 Flow from 1 to 4, f bps < Cap 12 fff

10 10 General link model: –Throughput depends path length (# hops) –Simplifications of current day radios –Bounded Hop-count Model Throughput unaffected if path length < thresh, else 0 Simple Interference Models Ideal link model: –Throughput unaffected by path length (# hops) –Possible by using smart antennas, multiple radios 1234 Flow from 1 to 4, f bps < Cap 12 and thresh = 4 fff 1234 Flow from 1 to 4, f bps < Cap 12 and thresh = 2 000

11 11 General link model: –Throughput depends path length (# hops) –Simplifications of current day radios –Bounded Hop-count Model Throughput unaffected if path length < thresh, else 0 Simple Interference Models Ideal link model: –Throughput unaffected by path length (# hops) –Possible by using smart antennas, multiple radios – Smooth Degradation Model Throughput degrades by 1/k for path of length k 1234 Flow from 1 to 4, f bps < Cap 12 f/3

12 12 Outline Motivation and Related Work Problem Formulation Placement Algorithms –Placement algorithms: Ideal Link Model –Placement algorithms: General Link Model Advanced Features

13 13 Ideal Link Model Goal Find minimum number of ITAPs that satisfies all demands Results The above problem is NP-hard The best polynomial approximation algorithm –ln(N) worst-case unless P=NP

14 14 Greedy Algorithm A B C Set of houses 121 1 2 Opened ITAP locations All possible ITAP locations Main Idea 1.Initial set of opened ITAPs is null 2.Iterate over all ITAPs, and apply greedy step – Select ITAP satisfying the greatest demand 3.Add selected ITAP to set of opened ITAPs 4.Loop through steps 2 and 3 until all demands satisfied

15 15 Greedy Algorithm Main Idea 1.Initial set of opened ITAPs is null 2.Iterate over all ITAPs, and apply greedy step – Select ITAP satisfying the greatest demand 3.Add selected ITAP to set of opened ITAPs 4.Loop through steps 2 and 3 until all demands satisfied A B C Set of houses Opened ITAP locations All possible ITAP locations 121 1 2 2

16 16 Greedy Step Can be mapped to a max flow min cut problem Handle house demands: Add a virtual source Handle ITAP capacities: Add a virtual sink A B C 1 2 Cap AB Cap BC S dAdA dBdB dCdC Cap A1 Cap B1 Cap C2 T Cap 1 Cap 2 Cap B2

17 17 C IN B IN Greedy Step Can be mapped to a max flow min cut problem Handle house demands: Add a virtual source Handle ITAP capacities: Add a virtual sink Handle house capacities: Split the house nodes A IN 1 2 Cap AB Cap BC S dAdA dBdB dCdC Cap A1 Cap B1 Cap C2 T Cap 1 Cap 2 Cap B2 A OUT B OUT C OUT dAdA dBdB dCdC Cap A1 Cap B1 Cap C2 Cap B2 Cap A Cap B Cap C Cap BC Cap BA Cap AB Cap CB Select ITAP that gives max flow from S to T

18 18 Ideal Link Model: Algorithms Greedy placement –ln(N) worst-case bound (best possible in worst-case) Cluster-based placement –Partition network nodes into minimum number of disjoint clusters –Place an ITAP in each cluster Random placement –Randomly open an ITAP iteratively until all demands are satisfied Lower bound –Relax the integer constraints and solve the relaxed LP problem

19 19 Varying communication radius 100 nodes, Cap e 6 Mbps, Cap i 100 Mbps, d h 1 Mbps

20 20 General Link Model Problem is NP-Hard. Use Greedy heuristic Main idea –iteratively open ITAP to maximize satisfied demand The Greedy step –Formulate a linear program (not efficient) –Develop better algorithms for two special cases: bounded hop-count smoothed throughput degradation

21 21 Greedy Step Bounded hop-count –Modify Ford-Fulkerson method for max-flow –ignore augmenting paths > hop-count threshold Smooth throughput model (throughput = 1/L) –Goal: max  pi  P 1/|p i |, where P is the set of all the augmenting paths in the graph –Observation: prefer imbalance in path lengths –Approach: iteratively pick shortest augmenting path

22 22 Bounded-hop count 100 nodes, Cap e 6 Mbps, Cap i 100 Mbps, d h 1 Mbps, CR 10 m

23 23 Smooth degradation 100 nodes, Cap e 6 Mbps, Cap i 100 Mbps, d h 1 Mbps

24 24 Outline Motivation and Related Work Problem Formulation Placement Algorithms Advanced Features

25 25 Changing Demands Problem –Place ITAPs to handle changing demands User demands exhibit periodicity (e.g. diurnal pattern) Greedy algorithm –max(  X i /  Y i ), where X i is satisfied demand in period i, and Y i is the total demand in period i –ln(kN) worst-case bound, where k is number of periods

26 26 Fault Tolerance Considerations Problem –Ensure Internet connectivity when nodes and link fail Approach –Control parameters Number of independent paths: p Over-provisioning factor: all paths allocate f/d capacity –Compute satisfied demands using LP –Greedy algorithm gives good results

27 27 Conclusion First ITAP placement study for general MAC Design ITAP placement algorithms for –Three wireless throughput models –handling periodically changing demands –providing fault-tolerance Showed efficiency using simulations, analyses Greedy algorithms are near optimal in all cases

28 28 Thank you

29 29


Download ppt "Placement of Integration Points in Multi-hop Community Networks Ranveer Chandra (Cornell University) Lili Qiu, Kamal Jain and Mohammad Mahdian (Microsoft."

Similar presentations


Ads by Google