on optimal diversity in network-coding-based...

44
On Optimal Diversity in Network-Coding-Based Routing in Wireless Networks Qiao Xiang 1 , Hongwei Zhang 2 , Jianping Wang 3 , Guoliang Xing 4 , Shan Lin 5 and Xue Liu 1 1 School of Computer Science, McGill University, Canada 2 Department of Computer Science, Wayne State University, US 3 Department of Computer Science, City University of Hong Kong, China 4 Department of Computer Science and Engineering, Michigan State University, US 5 Department of Electrical and Computer Engineering, Stony Brook University, US April 29th, 2015 Qiao Xiang et al. (McGill) IEEE INFOCOM’15 04/29/2015 1/ 41

Upload: vanphuc

Post on 18-Sep-2018

221 views

Category:

Documents


0 download

TRANSCRIPT

On Optimal Diversity in Network-Coding-Based

Routing in Wireless Networks

Qiao Xiang1, Hongwei Zhang2, Jianping Wang3,Guoliang Xing4, Shan Lin5 and Xue Liu1

1School of Computer Science, McGill University, Canada2Department of Computer Science, Wayne State University, US

3Department of Computer Science, City University of Hong Kong, China4Department of Computer Science and Engineering, Michigan State University, US5Department of Electrical and Computer Engineering, Stony Brook University, US

April 29th, 2015

Qiao Xiang et al. (McGill) IEEE INFOCOM’15 04/29/2015 1/ 41

Introduction

Outline

1 Introduction

2 System Model and Problem Definition

3 An Analytical Framework for NC-based Routing

4 Optimizing Diversity of NC-based Routing

5 ONCR: an Optimal NC-Based Routing Protocol

6 Performance Evaluation

7 Conclusion and Future Work

Qiao Xiang et al. (McGill) IEEE INFOCOM’15 04/29/2015 2/ 41

Introduction

Introduction

Network Coding (NC)

First proposed in wired networks

Provide benefits on throughput and robustness

Naturally extended into wireless environment

Network-Coding-based routing, e.g., MORE,

CodeOR, CCACK and MIXIT

Qiao Xiang et al. (McGill) IEEE INFOCOM’15 04/29/2015 3/ 41

Introduction

Network-Coding-Based Routing: An Example

Differences from Opportunistic Routing

Packets are divided into batches and encoded

No communication needed between forwardersEvery node broadcasts

Qiao Xiang et al. (McGill) IEEE INFOCOM’15 04/29/2015 4/ 41

Introduction

Network-Coding-Based Routing Protocols

Three key challenges:

How to select the set of forwarders?

Routing Diversity Control

When to stop broadcasting? ACK Scheme

When to start broadcasting? Rate Control

Existing protocols:

Focus on improving network throughput

Various ACK and rate control schemes are

proposed

Routing diversity control is overlooked

Qiao Xiang et al. (McGill) IEEE INFOCOM’15 04/29/2015 5/ 41

Introduction

Routing Diversity

Utilizing all routing diversity

High contention and collision

Compromising network throughput and data delivery cost

Not suitable for resource-constrained wireless networks, e.g.,sensor networks

Qiao Xiang et al. (McGill) IEEE INFOCOM’15 04/29/2015 6/ 41

Introduction

Our Contribution

An analytical framework for estimating the cost

of NC-based routing

A greedy optimal algorithm to minimize the costof NC-based routing

ONCR, a fully distributed minimal costNC-based routing protocol

Performance improvement of ONCR over

state-of-the-art protocols on sensor testbed

Qiao Xiang et al. (McGill) IEEE INFOCOM’15 04/29/2015 7/ 41

System Model and Problem Definition

Outline

1 Introduction

2 System Model and Problem Definition

3 An Analytical Framework for NC-based Routing

4 Optimizing Diversity of NC-based Routing

5 ONCR: an Optimal NC-Based Routing Protocol

6 Performance Evaluation

7 Conclusion and Future Work

Qiao Xiang et al. (McGill) IEEE INFOCOM’15 04/29/2015 8/ 41

System Model and Problem Definition

System Model and Problem Definition

System model

A directed graph G = (V ,E ) with one source S

and one destination T

Edge (i , j) ∈ E with link reliability Pij =1

ETXij

Node i has a forwarder candidate set FCSi , i.e.,

one-hop neighbors of i

Qiao Xiang et al. (McGill) IEEE INFOCOM’15 04/29/2015 9/ 41

System Model and Problem Definition

System Model and Problem Definition

EST-NC Problem

Let forwarder set FSi = FCSi for each node i

Estimate the total transmission cost to deliverK linear independent packets from S to T .

MIN-NC Problem

Determine the forwarder set FSi for each node i

Minimize the total transmission cost to deliver

K linear independent packets from S to T

Qiao Xiang et al. (McGill) IEEE INFOCOM’15 04/29/2015 10/ 41

An Analytical Framework for NC-based Routing

Outline

1 Introduction

2 System Model and Problem Definition

3 An Analytical Framework for NC-based Routing

4 Optimizing Diversity of NC-based Routing

5 ONCR: an Optimal NC-Based Routing Protocol

6 Performance Evaluation

7 Conclusion and Future Work

Qiao Xiang et al. (McGill) IEEE INFOCOM’15 04/29/2015 11/ 41

An Analytical Framework for NC-based Routing

An Analytical Framework for NC-based Routing

How does it work?

1 Define the whole forwarder set as a virtual

node VS

2 Compute the transmission cost from the S to VS

3 Sort forwarders in non-descending order of theirtransmission cost

4 Each forwarder only forwards its effective load

with corresponding cost

5 Sum up all transmission cost

Qiao Xiang et al. (McGill) IEEE INFOCOM’15 04/29/2015 12/ 41

An Analytical Framework for NC-based Routing

An example

CSVS(K ) =

K

PSVS

=K

1− (1− P1)(1 − P3)(1− P5)

Qiao Xiang et al. (McGill) IEEE INFOCOM’15 04/29/2015 13/ 41

An Analytical Framework for NC-based Routing

An Analytical Framework for NC-based Routing

How does it work?

1 Define the whole forwarder set as a virtual

node VS

2 Compute the transmission cost from the S to VS

3 Sort forwarders in non-descending order of theirtransmission cost

4 Each forwarder only forwards its effective load

with corresponding cost

5 Sum up all transmission cost

Qiao Xiang et al. (McGill) IEEE INFOCOM’15 04/29/2015 14/ 41

An Analytical Framework for NC-based Routing

An example

P2 ≥ P4 ≥ P6

Qiao Xiang et al. (McGill) IEEE INFOCOM’15 04/29/2015 15/ 41

An Analytical Framework for NC-based Routing

An Analytical Framework for NC-based Routing

How does it work?

1 Define the whole forwarder set as a virtual

node VS

2 Compute the transmission cost from the S to VS

3 Sort forwarders in non-descending order of theirtransmission cost

4 Each forwarder only forwards its effective load

with corresponding cost

5 Sum up all transmission cost

Qiao Xiang et al. (McGill) IEEE INFOCOM’15 04/29/2015 16/ 41

An Analytical Framework for NC-based Routing

An Analytical Framework for NC-based Routing

Definition

For a node j in the forwarder candidate set FCSi ,

the effective load Lj is defined as the number oflinear independent packets received by j but none of

the nodes in FCSi that has lower transmission costto the destination.

Qiao Xiang et al. (McGill) IEEE INFOCOM’15 04/29/2015 17/ 41

An Analytical Framework for NC-based Routing

An example

P2 ≥ P4 ≥ P6

Qiao Xiang et al. (McGill) IEEE INFOCOM’15 04/29/2015 18/ 41

An Analytical Framework for NC-based Routing

Packets Recevied

KSA =

KP1

1− (1− P1)(1 − P3)(1 − P5)

KSB =

KP3

1− (1− P1)(1 − P3)(1 − P5)

KSC =

KP5

1− (1− P1)(1 − P3)(1 − P5)

Effective Load

LA = KSA

LB = KS ′

B = KKSB

K(1− P1) = KS

B (1− P1)

LC = KS ′

C = KSC (1− P1)(1− P3)

Qiao Xiang et al. (McGill) IEEE INFOCOM’15 04/29/2015 19/ 41

An Analytical Framework for NC-based Routing

An example

Qiao Xiang et al. (McGill) IEEE INFOCOM’15 04/29/2015 20/ 41

An Analytical Framework for NC-based Routing

CS(K ) = CSDS(K ) + CAT (LA) + CBT (LB) + CCT (LC )

=K

1− (1− P1)(1− P3)(1 − P5)

+LA

P2+

LB

P4+

LC

P6

=K

1− (1− P1)(1− P3)(1 − P5)

·[1 +P1

P2+

P3(1− P1)

P4+

P5(1− P1)(1 − P3)

P6]

Qiao Xiang et al. (McGill) IEEE INFOCOM’15 04/29/2015 21/ 41

Optimizing Diversity of NC-based Routing

Outline

1 Introduction

2 System Model and Problem Definition

3 An Analytical Framework for NC-based Routing

4 Optimizing Diversity of NC-based Routing

5 ONCR: an Optimal NC-Based Routing Protocol

6 Performance Evaluation

7 Conclusion and Future Work

Qiao Xiang et al. (McGill) IEEE INFOCOM’15 04/29/2015 22/ 41

Optimizing Diversity of NC-based Routing

Optimizing Diversity of NC-based Routing

A greedy algorithm

1 Sort forwarder candidates in non-descending

order of their transmission cost;

2 Select the best candidate remaining intoforwarder set;

3 Keep it in the set if the total transmission costcan be reduced, go back to last step;

4 Stop if the total transmission cost cannot be

reduced.

Qiao Xiang et al. (McGill) IEEE INFOCOM’15 04/29/2015 23/ 41

Optimizing Diversity of NC-based Routing

Optimizing Diversity of NC-based Routing

Qiao Xiang et al. (McGill) IEEE INFOCOM’15 04/29/2015 24/ 41

Optimizing Diversity of NC-based Routing

Optimizing Diversity of NC-based Routing

Qiao Xiang et al. (McGill) IEEE INFOCOM’15 04/29/2015 25/ 41

Optimizing Diversity of NC-based Routing

The optimal forwarder set is {A1,A2}

C{A1,A2}(K ) =K

1− (1− 0.1)(1 − 0.2)· [1 +

0.1

0.4+

0.2(1 − 0.1)

0.3]

=K

0.28· (1 +

1

4+

0.18

0.3)

= 6.6071K

C{A1,A2,A3}(K ) =K

1− (1− 0.1)(1 − 0.2)(1 − 0.3)

·[1 +0.1

0.4+

0.2(1 − 0.1)

0.3+

0.3(1 − 0.1)(1 − 0.2)

0.1]

=K

0.496· (1 +

1

4+

0.18

0.3+

0.216

0.1)

= 8.0847K > C{A1,A2}(K )

Qiao Xiang et al. (McGill) IEEE INFOCOM’15 04/29/2015 26/ 41

Optimizing Diversity of NC-based Routing

Theorem of Optimality

Theorem

Given a node S and its forwarder candidate set

DS = {A1,A2, . . . ,AM}, the proposed greedy

algorithm yields the minimal transmission cost to

the destination node of NC-based routing and the

corresponding forwarder set.

We proved this theorem by contradiction.

Qiao Xiang et al. (McGill) IEEE INFOCOM’15 04/29/2015 27/ 41

Optimizing Diversity of NC-based Routing

Properties of Optimal Diversity

Theorem

Given a node S with a candidate set FCSS of M

forwarders, the optimal forwarder set FSS computed

in the proposed greedy algorithm does not always

contain node A∗ where A∗ ∈ FCSS andK

PSA∗+ CA∗(K ) ≤ K

PSAi

+ CAi(K ) for any

i ∈ FCSS/{A∗}.

Shortest single path routing is not always in theoptimal routing diversity.

Qiao Xiang et al. (McGill) IEEE INFOCOM’15 04/29/2015 28/ 41

Optimizing Diversity of NC-based Routing

Properties of Optimal Diversity

Qiao Xiang et al. (McGill) IEEE INFOCOM’15 04/29/2015 29/ 41

Optimizing Diversity of NC-based Routing

The optimal forwarder set is {A1,A2}

C{A1,A2}(K ) =K

1− (1− 0.1)(1 − 0.15)· [1 +

0.1

0.4+

0.15(1 − 0.1)

0.2]

=K

0.235· (1 +

1

4+

0.135

0.2)

= 8.1915K

C{A1,A2,A3}(K ) =K

1− (1− 0.1)(1 − 0.15)(1 − 0.9)

·[1 +0.1

0.4+

0.15(1 − 0.1)

0.2+

0.9(1 − 0.1)(1 − 0.15)

0.1]

=K

0.9235· (1 +

1

4+

0.135

0.2+

0.6885

0.1)

= 9.5398K > C{A1,A2}(K )

Qiao Xiang et al. (McGill) IEEE INFOCOM’15 04/29/2015 30/ 41

Optimizing Diversity of NC-based Routing

Properties of Optimal Diversity

TheoremGiven a node S with a candidate set FCSS of M

forwarders, the optimal transmission cost C ∗S (K )

computed in the proposed greedy algorithm is

always lower than or equal to KPSA∗

+ CA∗(K ) where

A∗ ∈ FCSS and KPSA∗

+ CA∗(K ) ≤ KPSAi

+ CAi(K ) for

any i ∈ FCSS/{A∗}.

Cost of optimal NC-based routing is upper boundedby shortest single path routing.

Qiao Xiang et al. (McGill) IEEE INFOCOM’15 04/29/2015 31/ 41

ONCR: an Optimal NC-Based Routing Protocol

Outline

1 Introduction

2 System Model and Problem Definition

3 An Analytical Framework for NC-based Routing

4 Optimizing Diversity of NC-based Routing

5 ONCR: an Optimal NC-Based Routing Protocol

6 Performance Evaluation

7 Conclusion and Future Work

Qiao Xiang et al. (McGill) IEEE INFOCOM’15 04/29/2015 32/ 41

ONCR: an Optimal NC-Based Routing Protocol

ONCR: an Optimal NC-Based Routing Protocol

Routing Engine: a distributed implementation

of the proposed greedy algorithm

M-NSB: a coded ACK scheme to solve the

collective space problem with lowerimplementation complexity than CCACK

Rate Control: nodes forward a flow after

receiving a load-dependent threshold of packetsto 1) reduce contention and 2) avoid potential

linear dependence between forwarded packets

Qiao Xiang et al. (McGill) IEEE INFOCOM’15 04/29/2015 33/ 41

Performance Evaluation

Outline

1 Introduction

2 System Model and Problem Definition

3 An Analytical Framework for NC-based Routing

4 Optimizing Diversity of NC-based Routing

5 ONCR: an Optimal NC-Based Routing Protocol

6 Performance Evaluation

7 Conclusion and Future Work

Qiao Xiang et al. (McGill) IEEE INFOCOM’15 04/29/2015 34/ 41

Performance Evaluation

Performance Evaluation

Experiment setting up

Testbed: NetEye, a 130-sensor testbed at Wayne StateUniversity

Topology: 40 nodes, 10/20 are source nodes, 1 sink nodeProtocols compared: ONCR, CTP, MORE, CodeORTraffic pattern: 3-second periodic trafficMetrics: delivery reliability, delivery cost, goodput and routingdiversity

Qiao Xiang et al. (McGill) IEEE INFOCOM’15 04/29/2015 35/ 41

Performance Evaluation

10-source: delivery reliability

Qiao Xiang et al. (McGill) IEEE INFOCOM’15 04/29/2015 36/ 41

Performance Evaluation

10-source: delivery cost

Qiao Xiang et al. (McGill) IEEE INFOCOM’15 04/29/2015 37/ 41

Performance Evaluation

10-source: goodput

Qiao Xiang et al. (McGill) IEEE INFOCOM’15 04/29/2015 38/ 41

Performance Evaluation

10-source: routing diversity

Qiao Xiang et al. (McGill) IEEE INFOCOM’15 04/29/2015 39/ 41

Performance Evaluation

20-source

Qiao Xiang et al. (McGill) IEEE INFOCOM’15 04/29/2015 40/ 41

Conclusion and Future Work

Outline

1 Introduction

2 System Model and Problem Definition

3 An Analytical Framework for NC-based Routing

4 Optimizing Diversity of NC-based Routing

5 ONCR: an Optimal NC-Based Routing Protocol

6 Performance Evaluation

7 Conclusion and Future Work

Qiao Xiang et al. (McGill) IEEE INFOCOM’15 04/29/2015 41/ 41

Conclusion and Future Work

Conclusion and Future Work

Conclusion

Analytical framework on cost of NC-basedrouting

A greedy minimal cost algorithm for NC-based

routing

ONCR: an optimal NC-based routing protocol

Experimental evaluation on sensor networktestbed

Future WorkHow to utilize the remaining routing diversity?

NC-based protection

Qiao Xiang et al. (McGill) IEEE INFOCOM’15 04/29/2015 42/ 41

Conclusion and Future Work

Algorithm 1 Compute the transmission cost of NC-based routingfor the current node S with M forwarder candidates

1: Input: current node S , DS = {A1,A2, . . . ,AM}2: Output: CS (1): the expected number of transmissions to deliver

1 packet from S to T

3: Sort nodes in DS by a non-descending order of CAi(1), where

i = 1, 2, . . . ,M.4: Sorted nodes are labeled as {A′

1,A′2, . . . ,A

′M}

5: CSDS(1) = 1

1−∏M

i=1(1−PSA′i)

6: LA′

1= CSDS

(1)PSA′

1

7: F = 1− PSA′

1

8: for i → 2, 3, . . . ,M do

9: LA′

i= CSDS

(1)PSA′

iF

10: CA′

i(LA′

i) = LA′

iCA′

i(1)

11: F = F (1− PSA′

i)

12: end for

13: CS(1) = CSDS(1) +

∑Mi=1 CA′

i(LA′

i)

Qiao Xiang et al. (McGill) IEEE INFOCOM’15 04/29/2015 43/ 41

Conclusion and Future Work

Algorithm 2 Compute the minimal transmission cost of NC-basedrouting and the corresponding FS for the input node S with M

forwarders1: Input: node S, DS = {A1,A2, . . . ,AM}, FSS = ∅2: Output: C∗

S(1): the minimal transmission cost to deliver 1 packet from S to T

3: Sort nodes in DS by a non-descending order of CAi(1), where i = 1, 2, . . . ,M.

4: Sorted nodes are labeled as {A′

1,A′

2, . . . ,A′

M}

5: FSS = {A′

1}

6: C∗

S(1) = 1

PSA′

1

+ CA′

1(1)

7: for i → 2, 3, . . . ,M do

8: Run Algorithm 1 with input S and DS = {A′

1, . . . ,A′

i}

9: Get the result as CnewS

(1)10: if Cnew

S(1) > CS (1) then

11: break12: else

13: FSS = FSS ∪ A′

i14: C∗

S(1) = Cnew

S(1)

15: end if

16: end for

Qiao Xiang et al. (McGill) IEEE INFOCOM’15 04/29/2015 44/ 41