When In Network Processing Meets Time: When In-Network Processing - - PowerPoint PPT Presentation

when in network processing meets time when in network
SMART_READER_LITE
LIVE PREVIEW

When In Network Processing Meets Time: When In-Network Processing - - PowerPoint PPT Presentation

When In Network Processing Meets Time: When In-Network Processing Meets Time: Complexity and Effects of Joint Optimization in Wireless Sensor Networks Department of Computer Science Wayne State University Department of Computer Science, Wayne


slide-1
SLIDE 1

When In Network Processing Meets Time: When In-Network Processing Meets Time: Complexity and Effects of Joint Optimization in Wireless Sensor Networks

Department of Computer Science Wayne State University Department of Computer Science, Wayne State University Department of Computer Science, Indiana University Applied Research and Technology Center Motorola Applied Research and Technology Center, Motorola

slide-2
SLIDE 2

Introduction Introduction

Wireless Sensor Networks

Highly resource-constrained

g y In-Network Processing

Reduce traffic flow → resource efficient End-to-end QoS are usually not considered

Mission-Critical Real-Time CPS: Close loop control

Close-loop control More emphasis on end-to-end QoS, especially latency and

reliability reliability

slide-3
SLIDE 3

Introduction Introduction

Packet packing

Application independent INP

pp p

Simple yet useful INP in practice

UWB intra-vehicle control UWB intra vehicle control IETF 6LowPAN: high header overhead

Our focus:

Understanding problem complexity Designing simple distributed online algorithm Designing simple distributed online algorithm Understanding systems benefits

slide-4
SLIDE 4

Outline Outline

System Model and Problem Formulation System Model and Problem Formulation Complexity Analysis

p y y

A Utility Based Online Algorithm Performance Evaluation Conclusion

slide-5
SLIDE 5

System Model and Problem Formulation y

System Model

A directed collection tree T = (V,E)

( , )

Edge (vi, vj) E with weight ETXvi, vj (l) A set of information elements X = {x} A set of information elements X {x} Each element x: (vx, lx, rx, dx)

Problem (P):

Schedule the transmission of X to R

Sc edu e e a s ss o

  • Minimize the total number of transmissions

Satisfy the latency constraints of each x X Satisfy the latency constraints of each x X

slide-6
SLIDE 6

Outline Outline

System Model and Problem Formulation System Model and Problem Formulation Complexity Analysis

p y y

A Utility Based Online Algorithm Performance Evaluation Conclusion

slide-7
SLIDE 7

Complexity Analysis Complexity Analysis

Problem P0

Elements are of equal length

q g

Each node has at most one element

P bl P

Problem P1

Elements are of equal length Each node generates elements periodically

Problem P Problem P2

Elements are of equal length Arbitrary data generating pattern Arbitrary data generating pattern

slide-8
SLIDE 8

Complexity Analysis Complexity Analysis

P0 P1, P2, P K ≥ 3 K = 2

0, 1, 2,

re‐aggregation is not prohibited re‐aggregation is prohibited

strong strong

Complexity

strong NP‐hard strong NP‐hard O(N3)

NP‐hard to achieve

1 1 1 1

NP hard to achieve approximation ratio

) ε 1 (1 200N 1 1 − + ) ε 1 (1 120N 1 1 − +

K = Maximal packet length N = |X| Re-aggregation: a packed packet can be dispatched for further packing.

slide-9
SLIDE 9

Complexity Analysis p y y

K ≥ 3, P0 is NP-hard in tree structures -- Reduction from SAT

v

c

v

1

v

Given a SAT instance with n clauses and m i bl

1

v

v1

1 2 2 1+ k

v

variables

j

v

v

s

D ETX = 1 = ETX

j

v 0

For each clause j

v

c

v

1 = ETX

j k j

v

2 2 +

1 = ETX

n

v

m

v

n

v 0

n kn

v

2 2 +

For m variables

slide-10
SLIDE 10

For each variable occurred in clause j

3 2 1

t t t + +

j

z0

j k j

z

2 2 +

For each variable occurred in clause j

j i j

k

x

j i

x

3

j i

x

2

j i

x

1

z0

j 2 1

j i

ax

1

j i

ax

2

j i

ax

3

j

ax0

j i j

k

ax

1 +

j

j i

r

1

j i

r

3

j i

r

2

j i

d

1

j i

d

2

j i

d

3

j i

j k

d

) 1 )( 1 ( 3 t t t j n m + + + + + +

3 2 1

) 1 )( 1 ( 3 t t t j n m + + + + + +

Auxiliary elements related to the red ones

slide-11
SLIDE 11

Complexity Analysis p y y

When K ≥ 3 and T is a tree, regardless of re-aggregation

P0 is NP-hard →P1 is NP-hard → P2 is NP-hard → P is NP-hard

When K ≥ 3, and T is a chain, regardless of re-aggregation

The reduction from SAT still holds*

When K = 2 and re-aggregation is not prohibited

The reduction from SAT still holds in both tree and chain structures

When K = 2 and re-aggregation is prohibited

Problem P is equivalent to the maximum weighted matching problem Problem P is equivalent to the maximum weighted matching problem

in an interval graph.

Solvable in O(N3) by Edmonds’ Algorithm

* This solves an open problem in batch processing

slide-12
SLIDE 12

Outline Outline

System Model and Problem Formulation System Model and Problem Formulation Complexity Analysis

p y y

A Utility Based Online Algorithm Performance Evaluation Conclusion

slide-13
SLIDE 13

A Utility Based Online Algorithm A Utility Based Online Algorithm

When a node receives a packet pkt with length sf

Decisions: to hold or to transmit immediately Utility of action: Reduced Amortized Cost One-hop locality One hop locality

TX

  • f

# AC = data

  • f

length AC =

slide-14
SLIDE 14

A Utility Based Online Algorithm A Utility Based Online Algorithm

Utility of holding a packet: Cost with packing Utility of transmitting a packet: Cost without packing

y g

Every packet received by parent can get fully packed via pkt can get fully packed via pkt

slide-15
SLIDE 15

A Utility Based Online Algorithm A Utility Based Online Algorithm

Decision Rule Decision Rule

The packet should be immediately transmitted if Up > Ul The packet should be held if U ≤ U The packet should be held if Up ≤ Ul

Competitive Ratio

Problem P’

T is a complete tree Leaf nodes generate elements at a common rate Leaf nodes generate elements at a common rate

Theorem: For problem P′, tPack is

titi h K i th i b f i f ti

} ETX ETX max min{K,

R p R v V v

j j 1 j >

  • competitive, where K is the maximum number of information

elements that can be packed into a single packet, V>1 is the set of nodes that are at least two hops away from the sink R.

Example: When ETX is the same for each link, tPack is 2-comptetive

slide-16
SLIDE 16

Outline Outline

System Model and Problem Formulation System Model and Problem Formulation Complexity Analysis

p y y

A Utility Based Online Algorithm Performance Evaluation Conclusion

slide-17
SLIDE 17

Performance Evaluation Performance Evaluation

Experiment Setting Up

Testbed: NetEye, a 130-sensor testbed

y ,

Topology: 120 nodes, half are source nodes Protocols compared: noPacking, simplePacking, tPack

g g

Traffic patterns: 6 second periodic traffic and event traffic Metrics:

packing ratio delivery reliability delivery cost latency jitter

slide-18
SLIDE 18

Packing Ratio Packing Ratio

slide-19
SLIDE 19

Delivery Reliability Delivery Reliability

slide-20
SLIDE 20

Delivery Cost Delivery Cost

slide-21
SLIDE 21

Latency Jitter Latency Jitter

slide-22
SLIDE 22

Outline Outline

System Model and Problem Formulation System Model and Problem Formulation Complexity Analysis

p y y

A Utility Based Online Algorithm Performance Evaluation Conclusion

slide-23
SLIDE 23

Conclusion and Future Work Conclusion and Future Work

Conclusion

Impact of INP constraints on problem complexity Feasibility of a simple, distributed online algorithm Systems benefits in terms of efficiency and predictable latency

Future Work

Complete competitive analysis on the utility based algorithm Joint optimization of other INP and QoS constraints in WCPS