290 likes | 386 Views
Placement of Integration Points in Multi-hop Community Networks. Ranveer Chandra (Cornell University) Lili Qiu, Kamal Jain and Mohammad Mahdian (Microsoft Research). Motivation. Community networks (Houses cooperate in multi-hop network for Internet access). Internet. ITAP (Expensive!).
E N D
Placement of Integration Pointsin Multi-hop Community Networks Ranveer Chandra (Cornell University) Lili Qiu, Kamal Jain and Mohammad Mahdian (Microsoft Research)
Motivation Community networks (Houses cooperate in multi-hop network for Internet access) Internet ITAP (Expensive!) How many ITAPs will satisfy demands of a neighborhood?
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
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
Outline • Motivation and Related Work • Problem Formulation • Three link models with increasing realism • Placement Algorithms • Advanced Features
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
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 H1 H2 E3 E1 E2 Since E7 covers all the houses, prune all other equivalence classes H3 E7 E6 E4 E5 Use a node for each remaining equivalence class
Problem Formulation Given: • A community with N houses • House demand: dh h • Link capacity : Capee • House capacity: Caphh • ITAP capacity : Capii Internet A CapAC CapA CapCD CapX C ITAP X CapBC B CapC CapB Goal: Minimize num ITAPs to serve all demands
Simple Interference Models Ideal link model: • Throughput unaffected by path length (# hops) • Possible by using smart antennas, multiple radios f f f 1 2 3 4 Flow from 1 to 4, f bps < Cap12
Simple Interference Models Ideal link model: • Throughput unaffected by path length (# hops) • Possible by using smart antennas, multiple radios 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 f f f 1 2 3 4 Flow from 1 to 4, f bps < Cap12 and thresh = 4 0 0 0 1 2 3 4 Flow from 1 to 4, f bps < Cap12 and thresh = 2
Simple Interference Models Ideal link model: • Throughput unaffected by path length (# hops) • Possible by using smart antennas, multiple radios 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 • Smooth Degradation Model • Throughput degrades by 1/k for path of length k f/3 f/3 f/3 1 2 3 4 Flow from 1 to 4, f bps < Cap12
Outline • Motivation and Related Work • Problem Formulation • Placement Algorithms • Placement algorithms: Ideal Link Model • Placement algorithms: General Link Model • Advanced Features
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
Greedy Algorithm Main Idea • Initial set of opened ITAPs is null • Iterate over all ITAPs, and apply greedy step – Select ITAP satisfying the greatest demand • Add selected ITAP to set of opened ITAPs • Loop through steps 2 and 3 until all demands satisfied A All possible ITAP locations B 1 1 1 2 2 C Opened ITAP locations Set of houses
Greedy Algorithm Main Idea • Initial set of opened ITAPs is null • Iterate over all ITAPs, and apply greedy step – Select ITAP satisfying the greatest demand • Add selected ITAP to set of opened ITAPs • Loop through steps 2 and 3 until all demands satisfied A All possible ITAP locations B 1 1 1 2 2 C 2 Opened ITAP locations Set of houses
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 CapA1 dA CapAB 1 Cap1 CapB1 dB S B T CapB2 Cap2 dC 2 CapBC CapC2 C
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 CapA AIN AOUT CapA1 CapA1 CapAB dA dA CapBA CapAB 1 Cap1 CapB1 CapB1 dB dB CapB S BIN BOUT T CapB2 CapB2 Cap2 dC dC CapBC CapCB 2 CapBC CapC2 CapC2 CIN COUT CapC Select ITAP that gives max flow from S to T
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
Varying communication radius 100 nodes, Cape 6 Mbps, Capi 100 Mbps, dh 1 Mbps
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
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 piP 1/|pi|, 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
Bounded-hop count 100 nodes, Cape 6 Mbps, Capi 100 Mbps, dh 1 Mbps, CR 10 m
Smooth degradation 100 nodes, Cape 6 Mbps, Capi 100 Mbps, dh 1 Mbps
Outline • Motivation and Related Work • Problem Formulation • Placement Algorithms • Advanced Features
Changing Demands • Problem • Place ITAPs to handle changing demands • User demands exhibit periodicity (e.g. diurnal pattern) • Greedy algorithm • max(Xi/ Yi), where • Xi is satisfied demand in period i, and • Yi is the total demand in period i • ln(kN) worst-case bound, where k is number of periods
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
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