Let’s get Physical! ETH Zurich – Distributed Computing – www.disco.ethz.ch ICALP 2010 – Roger Wattenhofer.

Slides:



Advertisements
Similar presentations
Impact of Interference on Multi-hop Wireless Network Performance
Advertisements

Christoph Lenzen Philipp Sommer Philipp Sommer Roger Wattenhofer Roger Wattenhofer Optimal Clock Synchronization in Networks.
Gradient Clock Synchronization in Wireless Sensor Networks
Impact of Interference on Multi-hop Wireless Network Performance Kamal Jain, Jitu Padhye, Venkat Padmanabhan and Lili Qiu Microsoft Research Redmond.
* Distributed Algorithms in Multi-channel Wireless Ad Hoc Networks under the SINR Model Dongxiao Yu Department of Computer Science The University of Hong.
Fabian Kuhn, Microsoft Research, Silicon Valley
CPSC 689: Discrete Algorithms for Mobile and Wireless Systems Spring 2009 Prof. Jennifer Welch.
Johannes Schneider –1 A Log-Star Distributed Maximal Independent Set Algorithm for Growth-Bounded Graphs Johannes Schneider Roger Wattenhofer TexPoint.
Distributed Computing Group Roger Wattenhofer Ad-Hoc and Sensor Networks Worst-Case vs. Average-Case IZS 2004.
Christoph PODC 2009 Tight Bounds for Clock Synchronization Christoph Lenzen, Thomas Locher, and Roger Wattenhofer.
Christoph Lenzen, PODC What is a Maximal Independet Set (MIS)? inaugmentable set of non-adjacent nodes well-known symmetry breaking structure many.
Algorithms for Ad Hoc Networks Roger Wattenhofer MedHocNet 2005 alg hoc net 2005.
Ad-Hoc Networks Beyond Unit Disk Graphs
XTC: A Practical Topology Control Algorithm for Ad-Hoc Networks
CPSC 689: Discrete Algorithms for Mobile and Wireless Systems Spring 2009 Prof. Jennifer Welch.
Routing, Anycast, and Multicast for Mesh and Sensor Networks Roland Flury Roger Wattenhofer RAM Distributed Computing Group.
1 University of Freiburg Computer Networks and Telematics Prof. Christian Schindelhauer Wireless Sensor Networks 21st Lecture Christian Schindelhauer.
A Robust Interference Model for Wireless Ad-Hoc Networks Pascal von Rickenbach Stefan Schmid Roger Wattenhofer Aaron Zollinger.
CPSC 689: Discrete Algorithms for Mobile and Wireless Systems Spring 2009 Prof. Jennifer Welch.
ETH Zurich – Distributed Computing Group Roger Wattenhofer 1ETH Zurich – Distributed Computing – Christoph Lenzen Roger Wattenhofer Exponential.
Roger Wattenhofer Distributed Algorithms Sensor Networks Reloaded or Revolutions?
CPSC 689: Discrete Algorithms for Mobile and Wireless Systems Spring 2009 Prof. Jennifer Welch.
Roger SOFSEM 2010 –1 TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: A AAA A A A Theory Meets Practice.
$ Spectrum Aware Load Balancing for WLANs Victor Bahl Ranveer Chandra Thomas Moscibroda Yunnan Wu.
Leveraging Linial's Locality Limit Christoph Lenzen, Roger Wattenhofer Distributed Computing Group.
1 University of Freiburg Computer Networks and Telematics Prof. Christian Schindelhauer Mobile Ad Hoc Networks Theory of Interferences, Trade-Offs between.
ETH Zurich – Distributed Computing Group Roger Wattenhofer 1ETH Zurich – Distributed Computing – Roger Wattenhofer TexPoint fonts used.
Dynamic Hypercube Topology Stefan Schmid URAW 2005 Upper Rhine Algorithms Workshop University of Tübingen, Germany.
ETH Zurich – Distributed Computing Group Jasmin Smula 1ETH Zurich – Distributed Computing – Stephan Holzer Yvonne Anne Pignolet Jasmin.
Theory Meets Practice …it's about TIME! TexPoint fonts used in EMF.
ETH Zurich – Distributed Computing Group Roger Wattenhofer 1ETH Zurich – Distributed Computing – Christoph Lenzen Roger Wattenhofer Minimum.
Dept. of Computer Science Distributed Computing Group Asymptotically Optimal Mobile Ad-Hoc Routing Fabian Kuhn Roger Wattenhofer Aaron Zollinger.
Roger WISARD 2008 –1 The Complexity of Connectivity in Wireless Networks TexPoint fonts used in EMF. Read the TexPoint manual before you.
Roger ALGOSENSORS 2008 –1 …What Is It Good For?! TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: AAAA A.
Distributed Computing Group Locality and the Hardness of Distributed Approximation Thomas Moscibroda Joint work with: Fabian Kuhn, Roger Wattenhofer.
Algorithmic Models for Sensor Networks Stefan Schmid and Roger Wattenhofer WPDRTS, Island of Rhodes, Greece, 2006.
Maximal Independent Set Distributed Algorithms for Multi-Agent Networks Instructor: K. Sinan YILDIRIM.
CPSC 689: Discrete Algorithms for Mobile and Wireless Systems Spring 2009 Prof. Jennifer Welch.
Roger RAWNET 2008 –1 The Worst-Case Capacity of Wireless Networks TexPoint fonts used in EMF. Read the TexPoint manual before you delete.
Special Topics on Algorithmic Aspects of Wireless Networking Donghyun (David) Kim Department of Mathematics and Computer Science North Carolina Central.
Johannes PODC 2009 –1 Coloring Unstructured Wireless Multi-Hop Networks Johannes Schneider Roger Wattenhofer TexPoint fonts used in EMF. Read.
Ad Hoc and Sensor Networks – Roger Wattenhofer –9/1Ad Hoc and Sensor Networks – Roger Wattenhofer – Time Synchronization Chapter 9 TexPoint fonts used.
1 Constant Density Spanners for Wireless Ad-Hoc Networks Discrete Mathematics and Algorithms Seminar Melih Onus April
MAGNÚS MÁR HALLDÓRSSON, PROFESSOR SCHOOL OF COMPUTER SCIENCE | RU LECTURE MARATHON Capacity of Wireless Networks.
Ad Hoc and Sensor Networks – Roger Wattenhofer –3/1Ad Hoc and Sensor Networks – Roger Wattenhofer – Topology Control Chapter 3 TexPoint fonts used in EMF.
Ad Hoc and Sensor Networks – Roger Wattenhofer –11/1Ad Hoc and Sensor Networks – Roger Wattenhofer – Capacity Chapter 11 TexPoint fonts used in EMF. Read.
1 The Power of Non-Uniform Wireless Power ETH Zurich – Distributed Computing Group Magnus M. Halldorsson Reykjavik University Stephan Holzer ETH Zürich.
PODC Distributed Computation of the Mode Fabian Kuhn Thomas Locher ETH Zurich, Switzerland Stefan Schmid TU Munich, Germany TexPoint fonts used in.
A new Ad Hoc Positioning System 컴퓨터 공학과 오영준.
Vertex Coloring Distributed Algorithms for Multi-Agent Networks
ETH Zurich – Distributed Computing Group Stephan Holzer 1ETH Zurich – Distributed Computing – Stephan Holzer Yvonne Anne Pignolet Jasmin.
UNIT IV INFRASTRUCTURE ESTABLISHMENT. INTRODUCTION When a sensor network is first activated, various tasks must be performed to establish the necessary.
ETH Zurich – Distributed Computing Group Stephan Holzer 1ETH Zurich – Distributed Computing – Stephan Holzer Yvonne Anne Pignolet Jasmin.
Portland, Oregon, 13 August, 2007 A Randomized Distributed Algorithm for the Maximal Independent Set Problem in Growth-Bounded Graphs Beat Gfeller, Elias.
March 9, Broadcasting with Bounded Number of Redundant Transmissions Majid Khabbazian.
Introduction Wireless Ad-Hoc Network  Set of transceivers communicating by radio.
– Clustering TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: AAAA A A A.
ETH Zurich – Distributed Computing Group Stephan HolzerETH Zurich – Distributed Computing – Stephan Holzer - ETH Zürich Thomas Locher.
Impact of Interference on Multi-hop Wireless Network Performance
Does Topology Control Reduce Interference?
A Log-Star Distributed Maximal Independent Set Algorithm for Growth-Bounded Graphs Johannes Schneider Roger Wattenhofer TexPoint fonts used in EMF.
Clock Synchronization
Monitoring Churn in Wireless Networks
Minimum Dominating Set Approximation in Graphs of Bounded Arboricity
Leveraging Linial's Locality Limit
Capacity TexPoint fonts used in EMF.
Clustering TexPoint fonts used in EMF.
TexPoint fonts used in EMF.
Algorithms for Ad Hoc Networks
Introduction Wireless Ad-Hoc Network
Presentation transcript:

Let’s get Physical! ETH Zurich – Distributed Computing – ICALP 2010 – Roger Wattenhofer

Spot the Differences

Too Many!

Spot the Differences

Still Many!

Spot the Differences

Better Screen Bigger Disk More RAM Cooler Design …

Better Screen Bigger Disk More RAM Cooler Design … Same CPU Clock Speed

Clock speed flattening sharply Transistor count still rising Advent of multi-core processors!

The Future of Computing

Why Should I Care?

Computer Science  Washing Machine Science [Roger Boyle, Maurice Herlihy]

Algorithms

Algorithm Input Output

simple and robust model comparable results complexity theory … Algorithm Input Output

Input Output vs. Algorithm

vs.

The Future of Computing?

Talk Overview Introduction & Motivation Some Examples for Physical Algorithms What are Physical Algorithms?

Well-Known Examples

Small World Phenomenon

Statistical Physics Properties of random graphs “Static” view

Statistical Physics Properties of random graphs “Static” view Physical Algorithms People will make decisions [Kleinberg 2000]

Natural Algorithms [Bernard Chazelle, 2009]

Clock Synchronization

Global Positioning System (GPS) Radio Clock Signal AC-power line radiation Synchronization messages Clock Synchronization in Networks

Global Positioning System (GPS) Radio Clock Signal AC-power line radiation Synchronization messages Clock Synchronization in Networks

Problem: Physical Reality t clock rate 1 1+ ² 1- ² ) ) ) ) ) message delay

Given a communication network 1.Each node equipped with hardware clock with drift 2.Message delays with jitter Goal: Synchronize Clocks (“Logical Clocks”) Both global and local synchronization! Clock Synchronization in Theory? worst-case (but constant)

Time (logical clocks) should not be allowed to stand still or jump Time Must Behave!

Time (logical clocks) should not be allowed to stand still or jump Let’s be more careful (and ambitious): Logical clocks should always move forward Sometimes faster, sometimes slower is OK. But there should be a minimum and a maximum speed. As close to correct time as possible! Time Must Behave!

Local Skew Tree-based AlgorithmsNeighborhood Algorithms e.g. FTSPe.g. GTSP Bad local skew

Synchronization Algorithms: An Example (“A max ”) Question: How to update the logical clock based on the messages from the neighbors? Idea: Minimizing the skew to the fastest neighbor –Set clock to maximum clock value you know, forward new values immediately First all messages are slow (1), then suddenly all messages are fast (0)! Time is T … Clock value: T Clock value: T-1 Clock value: T-D+1 Clock value: T-D Time is T skew D Fastest Hardware Clock T T

Dynamic Networks! [Kuhn et al., PODC 2010] Local Skew: Overview of Results 1logD√DD… Everybody‘s expectation, 10 years ago („solved“) Lower bound of logD / loglogD [Fan & Lynch, PODC 2004] All natural algorithms [Locher et al., DISC 2006] Blocking algorithm Kappa algorithm [Lenzen et al., FOCS 2008] Tight lower bound [Lenzen et al., PODC 2009] Dynamic Networks! [Kuhn et al., SPAA 2009] together [JACM 2010]

Experimental Results for Global Skew FTSPPulseSync [Lenzen, Sommer, W, SenSys 2009]

Experimental Results for Global Skew FTSPPulseSync [Lenzen, Sommer, W, SenSys 2009]

Clock Synchronization vs. Car Coordination In the future cars may travel at high speed despite a tiny safety distance, thanks to advanced sensors and communication

Clock Synchronization vs. Car Coordination In the future cars may travel at high speed despite a tiny safety distance, thanks to advanced sensors and communication How fast & close can you drive? Answer possibly related to clock synchronization –clock drift ↔ cars cannot control speed perfectly –message jitter ↔ sensors or communication between cars not perfect

Wireless Communication

EE, Physics Maxwell Equations Simulation, Testing ‘Scaling Laws’ Network Algorithms CS, Applied Math [Geometric] Graphs Worst-Case Analysis Any-Case Analysis

Interference Range CS Models: e.g. Disk Model (Protocol Model) Reception Range

45

EE Models: e.g. SINR Model (Physical Model)

Signal-To-Interference-Plus-Noise Ratio (SINR) Formula Minimum signal- to-interference ratio Power level of sender u Path-loss exponent Noise Distance between two nodes Received signal power from sender Received signal power from all other nodes (=interference)

Example: Protocol vs. Physical Model 1m Assume a single frequency (and no fancy decoding techniques!) Let  =3,  =3, and N=10nW Transmission powers: P B = -15 dBm and P A = 1 dBm SINR of A at D: SINR of B at C: 4m 2m A B C D Is spatial reuse possible? NOProtocol Model YESWith power control

This works in practice! … even with very simple hardware (sensor nodes) Time for transmitting 20‘000 packets: Speed-up is almost a factor 3 u1u1 u2u2 u3u3 u4u4 u5u5 u6u6 [Moscibroda, W, Weber, Hotnets 2006]

The Capacity of a Network (How many concurrent wireless transmissions can you have)

… is a well-studied problem in Wireless Communication The Capacity of Wireless Networks Gupta, Kumar, 2000 [Toumpis, TWC’03] [Li et al, MOBICOM’01] [Gastpar et al, INFOCOM’02] [Gamal et al, INFOCOM’04] [Liu et al, INFOCOM’03] [Bansal et al, INFOCOM’03] [Yi et al, MOBIHOC’03] [Mitra et al, IPSN’04] [Arpacioglu et al, IPSN’04] [Giridhar et al, JSAC’05] [Barrenechea et al, IPSN’04] [Grossglauser et al, INFOCOM’01] [Kyasanur et al, MOBICOM’05] [Kodialam et al, MOBICOM’05] [Perevalov et al, INFOCOM’03] [Dousse et al, INFOCOM’04] [Zhang et al, INFOCOM’05] etc…

Network Topology? All these capacity studies make very strong assumptions on node deployment, topologies –randomly, uniformly distributed nodes –nodes placed on a grid –etc. What if a network looks differently…?

Physical Algorithms “Classic” Capacity Worst-Case Capacity How much information can be transmitted in nice networks? How much information can be transmitted in nasty networks? How much information can be transmitted in any network? Real Capacity

“Convergecast Capacity” in Wireless Networks 55 Protocol Model Physical Model (power control) Max. rate in arbitrary, worst-case deployment  (1/n) The Price of Worst-Case Node Placement -Exponential in protocol model -Polylogarithmic in physical model (almost no worst-case penalty!)  (1/log 3 n) Exponential gap between protocol and physical model! Max. rate in random, uniform deployment  (1/log n)  (1/log n) Worst-Case Capacity Networks Model/Power Best-Case Capacity [Giridhar, Kumar, 2005] [Moscibroda, W, 2006]

Wireless Communication EE, Physics Maxwell Equations Simulation, Testing ‘Scaling Laws’ Network Algorithms CS, Applied Math [Geometric] Graphs Worst-Case Analysis Any-Case Analysis

Possible Application – Hotspots in WLAN X Y Z

X Y Z

Physical Algorithms?

Algorithm Input Output Physical Algorithms no seq. input/output beyond laws of physics

Physical Algorithms! No Mobility Low MobilityPhysical Mobility Virtual Mobility Altruistic/Reliable Crashing Selfish Byzantine Agents Network

Agents Network Game Theory Self-Organization BAR Games Crypto Parallelism NetworksMobile Networks Peer-to-Peer Systems Robots No Mobility Low MobilityPhysical Mobility Virtual Mobility Altruistic/Reliable Crashing Selfish Byzantine

Some Unifying Theory?

Example: Maximal Independent Set (MIS) Given a mobile network, nodes with unique IDs. Maintain a Maximal Independent Set (MIS) –a non-extendable set of pair-wise non-adjacent nodes A simple algorithm: IF no higher ID neighbor is in MIS  join MIS IF higher ID neighbor is in MIS  do not join MIS Can be implemented by constantly sending (ID, in MIS or not in MIS) Algorithm is simple, and it will eventually stabilize!

Example IF no higher ID neighbor is in MIS  join MIS IF higher ID neighbor is in MIS  do not join MIS

Example IF no higher ID neighbor is in MIS  join MIS IF higher ID neighbor is in MIS  do not join MIS

Example IF no higher ID neighbor is in MIS  join MIS IF higher ID neighbor is in MIS  do not join MIS

Example IF no higher ID neighbor is in MIS  join MIS IF higher ID neighbor is in MIS  do not join MIS What if we have minor changes?

Example IF no higher ID neighbor is in MIS  join MIS IF higher ID neighbor is in MIS  do not join MIS What if we have minor changes?

Example IF no higher ID neighbor is in MIS  join MIS IF higher ID neighbor is in MIS  do not join MIS What if we have minor changes?

Example IF no higher ID neighbor is in MIS  join MIS IF higher ID neighbor is in MIS  do not join MIS What if we have minor changes?

Example IF no higher ID neighbor is in MIS  join MIS IF higher ID neighbor is in MIS  do not join MIS What if we have minor changes?

Example IF no higher ID neighbor is in MIS  join MIS IF higher ID neighbor is in MIS  do not join MIS What if we have minor changes? Proof by animation: Stabilization time is linear in the diameter of the network –We need an algorithm that does not have linear causality chain („butterfly effect“)

Local Algorithms Given a graph, each node must determine its decision as a function of the information available within radius t of the node. Or: Each node can exchange a message with all neighbors, for t communication rounds, and must then decide. Or: Change can only affect nodes in distance t. Or: … v t = 3

Local Algorithms Locality is Way to Understand Physical Algorithms Self- Stabilization Dynamics Self- Assembling Robots Sublinear Estimators Applications e.g. Multicore

Results: MIS 1 log*n log n n General Graphs [Kuhn et al., 2004, 2006, 2010] Growth-Bounded Graphs [Linial, 1992] Growth-Bounded Graphs [Schneider et al., 2008] General Graphs, Randomized [different groups, 1986] Lower Bounds Upper Bounds …similarly connected dominating sets, coloring, matching, covering, packing, max-min LPs, etc. Join MIS with prob 1/degree, repeat

Lower Bound Example: Minimum Dominating Set (MDS) Input: Given a graph (network), nodes with unique IDs. Output: Find a Minimum Dominating Set (MDS) –Set of nodes, each node is either in the set itself, or has neighbor in set Differences between MIS and MDS –Central (non-local) algorithms: MIS is trivial, whereas MDS is NP-hard –Instead: Find an MDS that is “close” to minimum (approximation) –Trade-off between time complexity and approximation ratio

Lower Bound for MDS: Intuition m n-1 complete n m m … n n n Two graphs (m << n). Optimal dominating sets are marked red. |DS OPT | = 2. |DS OPT | = m+1.

Lower Bound for MDS: Intuition (2) In local algorithms, nodes must decide only using local knowledge. In the example green nodes see exactly the same neighborhood. So these green nodes must decide the same way! m n-1 n m …

Lower Bound for MDS: Intuition (3) m n-1 complete n m m … n n n But however they decide, one way will be devastating (with n = m 2 )! |DS OPT | = 2. |DS OPT without green | ¸ m. |DS OPT | = m+1. |DS OPT with green | > n

Graph Used in the Lower Bound The example is for t = 3. All edges are in fact special bipartite graphs with large enough girth.

Lower Bounds Results: Many “local looking” problems need non-trivial t. E.g., a polylogarithmic dominating set approximation (or a maximal independent set, etc.) needs at least  (log  ) and  (log ½ n) time. [Kuhn, Moscibroda, W, 2004, 2006, 2010]

Local Algorithms (“Tight” Lower & Upper Bounds) 1 log*n about log nDiameter MIS, maximal matching, etc. Growth-Bounded Graphs (different problems) MST, Sum, etc. Approximations of dominating set, vertex cover, etc. Covering and packing LPs E.g., dominating set approximation in planar graphs

Summary & Open Problems Self- Stabilization Local Algorithms Dynamics Self- Assembling Robots Sublinear Estimators Applications e.g. Multicore Network Mobility Agents Game Theory Self-Organization BAR Games Crypto Parallelism NetworksMobile Networks Peer-to-Peer Systems Robots

Thank You! Questions & Comments? TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: A AAA A A A Thanks to my co-authors Fabian Kuhn Christoph Lenzen Thomas Moscibroda Thomas Locher Johannes Schneider Philipp Sommer

Let’s get Physical! ETH Zurich – Distributed Computing – Roger Wattenhofer

ETH Zurich – Distributed Computing – Roger Wattenhofer TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: A AAA A A A Let’s get Physical!