energy-efficient distributed algorithms for ad hoc wireless networks gopal pandurangan department of...

22
Energy-Efficient Distributed Algorithms for Ad hoc Wireless Networks Gopal Pandurangan Department of Computer Science Purdue University

Upload: emily-jones

Post on 27-Mar-2015

219 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Energy-Efficient Distributed Algorithms for Ad hoc Wireless Networks Gopal Pandurangan Department of Computer Science Purdue University

Energy-Efficient Distributed Algorithms for Ad hoc Wireless Networks

Gopal Pandurangan

Department of Computer SciencePurdue University

Page 2: Energy-Efficient Distributed Algorithms for Ad hoc Wireless Networks Gopal Pandurangan Department of Computer Science Purdue University

G. Pandurangan Purdue University 2

Energy-Efficient Distributed Algorithms

Ad hoc wireless sensor networks operate under severe

energy constraints. Energy-Efficient distributed algorithms are critical. Low energy algorithms even possibly at the cost of

reduced quality of solution : Distributed approximation algorithms.

Algorithms use only “local” knowledge: Localized algorithms

Page 3: Energy-Efficient Distributed Algorithms for Ad hoc Wireless Networks Gopal Pandurangan Department of Computer Science Purdue University

G. Pandurangan Purdue University 3

Distributed Algorithms

Traditionally complexity measures: messages, time.

Much of theory assumes point-to-point network communication model.

Wireless needs new models for designing distributed algorithms.

Page 4: Energy-Efficient Distributed Algorithms for Ad hoc Wireless Networks Gopal Pandurangan Department of Computer Science Purdue University

G. Pandurangan Purdue University 4

Traffic Monitoring with Sensors

Page 5: Energy-Efficient Distributed Algorithms for Ad hoc Wireless Networks Gopal Pandurangan Department of Computer Science Purdue University

G. Pandurangan Purdue University 5

Data Aggregation - Low Cost Tree

Data aggregation

Aggregate data on a tree Use a low cost tree

Page 6: Energy-Efficient Distributed Algorithms for Ad hoc Wireless Networks Gopal Pandurangan Department of Computer Science Purdue University

G. Pandurangan Purdue University 6

Desirable Features

Simple and local

Page 7: Energy-Efficient Distributed Algorithms for Ad hoc Wireless Networks Gopal Pandurangan Department of Computer Science Purdue University

G. Pandurangan Purdue University 7

Desirable Features

Simple and local

Page 8: Energy-Efficient Distributed Algorithms for Ad hoc Wireless Networks Gopal Pandurangan Department of Computer Science Purdue University

G. Pandurangan Purdue University 8

Desirable Features

Simple and local Dynamic- handle node failures

Page 9: Energy-Efficient Distributed Algorithms for Ad hoc Wireless Networks Gopal Pandurangan Department of Computer Science Purdue University

G. Pandurangan Purdue University 9

Desirable Features

Simple and local Dynamic- handle node failures Distributed Low energy Low synchronization Small number of messages Low degree

Page 10: Energy-Efficient Distributed Algorithms for Ad hoc Wireless Networks Gopal Pandurangan Department of Computer Science Purdue University

G. Pandurangan Purdue University 10

Problem

Network Model: Weighted unit disk graph (UDG)

Find a Minimum Spanning Tree (MST) rooted at a given

node

MST is a difficult problem

Can we construct an approximately good spanning tree?

Page 11: Energy-Efficient Distributed Algorithms for Ad hoc Wireless Networks Gopal Pandurangan Department of Computer Science Purdue University

G. Pandurangan Purdue University 11

Nearest Neighbor Tree (NNT) SchemeKhan and Pandurangan. DISC, 2006, Best Student Paper

Award.

Given: A (connected) undirected weighted graph G.

Each node chooses a unique rank.

Each node connects to its nearest node (via a shortest path) of higher rank.

Page 12: Energy-Efficient Distributed Algorithms for Ad hoc Wireless Networks Gopal Pandurangan Department of Computer Science Purdue University

G. Pandurangan Purdue University 12

NNT Construction

1

3

2

6

54

Output is a spanning tree called NNT.

Page 13: Energy-Efficient Distributed Algorithms for Ad hoc Wireless Networks Gopal Pandurangan Department of Computer Science Purdue University

G. Pandurangan Purdue University 13

NNT Theorem

(Khan, Pandurangan, and Kumar. Theoretical Computer Science, 2007

Theorem 1:

On any graph G, NNT scheme

produces a spanning tree that has a

cost of at most O(log n) times the

(optimal) MST.

Page 14: Energy-Efficient Distributed Algorithms for Ad hoc Wireless Networks Gopal Pandurangan Department of Computer Science Purdue University

G. Pandurangan Purdue University 14

Distributed NNT AlgorithmEach node executes the same algorithm

simultaneously:

Rank selection.

Finding the nearest node of higher rank.

Connecting to the nearest node of higher rank.

Page 15: Energy-Efficient Distributed Algorithms for Ad hoc Wireless Networks Gopal Pandurangan Department of Computer Science Purdue University

G. Pandurangan Purdue University 15

u s

Rank Selection

Root s selects a number p(s) from [b-1, b] s sends ID(s) and p(s) to all of its neighbor in one time step. Any other node u after receiving the first message with ID(v)

and p(v) from a neighbor v: Selects a number p(u) from [p(v)-1, p(v)) Sends ID(u) and p(u) to all of its neighbors

Page 16: Energy-Efficient Distributed Algorithms for Ad hoc Wireless Networks Gopal Pandurangan Department of Computer Science Purdue University

G. Pandurangan Purdue University 16

Defining Rank

For any u and v, r(u) < r(v) iff p(u) < p(v) or p(u) = p(v) and ID(u) < ID(v)

A node with lower random number p() has lower rank. Ties are broken using ID()

Page 17: Energy-Efficient Distributed Algorithms for Ad hoc Wireless Networks Gopal Pandurangan Department of Computer Science Purdue University

G. Pandurangan Purdue University 17

Tree construction

Each node knows the rank of all of its neighbors. The leader s has the highest rank among all nodes

in the graph. For every node (except s), there is a neighbor with

higher rank. It connects to that node.

Page 18: Energy-Efficient Distributed Algorithms for Ad hoc Wireless Networks Gopal Pandurangan Department of Computer Science Purdue University

G. Pandurangan Purdue University 18

NNT algorithm

Very localized. O(|E|) messages. O(Diameter) time. Low energy complexity.

Page 19: Energy-Efficient Distributed Algorithms for Ad hoc Wireless Networks Gopal Pandurangan Department of Computer Science Purdue University

G. Pandurangan Purdue University 19

Energy complexity of a distributed algorithm Energy complexity is a measure of the

energy needed by the distributed algorithm. Various factors affect energy complexity

Time needed. Number of messages exchanged. Radiation energy needed to transmit a message through a certain distance --- typically assumed proportional to

some power of the distance. Energy overheads of the hardware (startup energy,

receiver energy etc.) ….

Page 20: Energy-Efficient Distributed Algorithms for Ad hoc Wireless Networks Gopal Pandurangan Department of Computer Science Purdue University

G. Pandurangan Purdue University 20

Energy Complexity

1

M

ii

W r

Page 21: Energy-Efficient Distributed Algorithms for Ad hoc Wireless Networks Gopal Pandurangan Department of Computer Science Purdue University

G. Pandurangan Purdue University 21

A Comparison of Algorithms

Algorithm Energy Complexity MST Quality

GHS (log^2 n) optimal

KPK (TPDS 08) O(log n) on average O(log n)approximation

CKKP (SPAA 08) O(log n) on average optimal

CKKP (SPAA 08) O(1) on average O(1)-approximation

Page 22: Energy-Efficient Distributed Algorithms for Ad hoc Wireless Networks Gopal Pandurangan Department of Computer Science Purdue University

G. Pandurangan Purdue University 22

Questions

Good energy model of hardware? Distributed network computing model for

wireless ? How to design energy-efficient distributed

algorithms? Approximation algorithms? How do cross layer issues affect design? A new theory needed.