42
A Non-Monetary Protocol for P2P Content Distribution in Wireless Broadcast Networks with Network Coding I-Hong Hou, Yao Liu, and Alex Sprintson Dept. of ECE, TAMU

I-Hong Hou , Yao Liu, and Alex Sprintson Dept. of ECE, TAMU

  • Upload
    harken

  • View
    45

  • Download
    0

Embed Size (px)

DESCRIPTION

A Non-Monetary Protocol for P2P Content Distribution in Wireless Broadcast Networks with Network Coding. I-Hong Hou , Yao Liu, and Alex Sprintson Dept. of ECE, TAMU. Wireless P2P. Exchange data locally instead of getting all packets from the base station. A,B. A. B. A,B. Wireless P2P. - PowerPoint PPT Presentation

Citation preview

Page 1: I-Hong  Hou , Yao Liu, and Alex  Sprintson Dept. of ECE, TAMU

A Non-Monetary Protocol for P2P Content Distribution in Wireless Broadcast

Networks with Network Coding

I-Hong Hou, Yao Liu, and Alex SprintsonDept. of ECE, TAMU

Page 2: I-Hong  Hou , Yao Liu, and Alex  Sprintson Dept. of ECE, TAMU

Wireless P2P

• Exchange data locally instead of getting all packets from the base station

A BA,B

A,B

Page 3: I-Hong  Hou , Yao Liu, and Alex  Sprintson Dept. of ECE, TAMU

Wireless P2P

• Exchange data locally instead of getting all packets from the base station

A BA,B

A,BA B

Page 4: I-Hong  Hou , Yao Liu, and Alex  Sprintson Dept. of ECE, TAMU

Wireless P2P

• Exchange data locally instead of getting all packets from the base station

A BA,B

A,BA B

A B

Page 5: I-Hong  Hou , Yao Liu, and Alex  Sprintson Dept. of ECE, TAMU

Wireless P2P

• Exchange data locally instead of getting all packets from the base station

A BA

B

A B

Page 6: I-Hong  Hou , Yao Liu, and Alex  Sprintson Dept. of ECE, TAMU

Wireless P2P

• Exchange data locally instead of getting all packets from the base station

A BA

B

A

B

Page 7: I-Hong  Hou , Yao Liu, and Alex  Sprintson Dept. of ECE, TAMU

Benefits of Wireless P2P

• Exchange data locally requires less power• Reduce power consumption• Reduce interference• Increase spatial reuse and hence total

system capacity

• Reduce the amount of data from BS• Reduce cost

Page 8: I-Hong  Hou , Yao Liu, and Alex  Sprintson Dept. of ECE, TAMU

Incentives in P2P

• People benefit from “receiving” data, not “transmitting” data

• A policy is needed to make people contribute• Tic-for-tac exchange between 2 peers

A BNeed: B Need: A

Page 9: I-Hong  Hou , Yao Liu, and Alex  Sprintson Dept. of ECE, TAMU

Incentives in P2P

• People benefit from “receiving” data, not “transmitting” data

• A policy is needed to make people contribute• Tic-for-tac exchange between 2 peers

A BNeed: B Need: A

AB

Page 10: I-Hong  Hou , Yao Liu, and Alex  Sprintson Dept. of ECE, TAMU

Free Rider Problem

• The broadcast wireless channels make it a little bit more tricky…

A

A

B

BNeed: BNeed: A

…….

…….

Page 11: I-Hong  Hou , Yao Liu, and Alex  Sprintson Dept. of ECE, TAMU

Free Rider Problem

A

A

B

BA B

• The broadcast wireless channels make it a little bit more tricky…

Page 12: I-Hong  Hou , Yao Liu, and Alex  Sprintson Dept. of ECE, TAMU

• The broadcast wireless channels make it a little bit more tricky…

Free Rider Problem

A

A

B

BA

A

B

B Free Riders!

Page 13: I-Hong  Hou , Yao Liu, and Alex  Sprintson Dept. of ECE, TAMU

Contributions

• Propose a non-monetary protocol for wireless P2P networks

• Address the free rider by incentivizing nodes to contribute

• Derive closed-form Nash Equilibrium• Propose a distributed mechanism that

converges to the Nash Equilibrium• Incorporate network coding

Page 14: I-Hong  Hou , Yao Liu, and Alex  Sprintson Dept. of ECE, TAMU

A Model for Incentives

For every packet I download, I want:• Make as few transmissions as possible• Minimize the inter-packet delay, or,

equivalently, maximize download rate

Page 15: I-Hong  Hou , Yao Liu, and Alex  Sprintson Dept. of ECE, TAMU

A Model for Incentives

My cost function:gn{avg. transmissions per download} +wn{avg. inter-download delay}

gn: price for transmission

wn: price for waiting

Page 16: I-Hong  Hou , Yao Liu, and Alex  Sprintson Dept. of ECE, TAMU

Protocol Illustration

A

A

B

B

TimeTime

Page 17: I-Hong  Hou , Yao Liu, and Alex  Sprintson Dept. of ECE, TAMU

Protocol Illustration

A

A

B

B

backoff

backoff

TimeTime

Page 18: I-Hong  Hou , Yao Liu, and Alex  Sprintson Dept. of ECE, TAMU

Protocol Illustration

A

A

B

B

Time up

backoff

TimeTime

Have: A Need: B

Page 19: I-Hong  Hou , Yao Liu, and Alex  Sprintson Dept. of ECE, TAMU

Protocol Illustration

A

A

B

B

backoff

backoff

TimeTime

Page 20: I-Hong  Hou , Yao Liu, and Alex  Sprintson Dept. of ECE, TAMU

Protocol Illustration

A

A

B

B

backoff

Time up

TimeTime

B

Page 21: I-Hong  Hou , Yao Liu, and Alex  Sprintson Dept. of ECE, TAMU

Protocol Illustration

A

A

B

B

TimeTime

A

B

B

Page 22: I-Hong  Hou , Yao Liu, and Alex  Sprintson Dept. of ECE, TAMU

Protocol Illustration

A

A

B

B

TimeTime

B

B

A

A

Page 23: I-Hong  Hou , Yao Liu, and Alex  Sprintson Dept. of ECE, TAMU

Protocol for Bilateral File Exchange

• Two files, A and B, in the system• The protocol consists of rounds• In the beginning of a round, nodes need B

secretly picks a backoff time• The node n with the smallest backoff time

transmits a control packet after backoff• Nodes that need A secretly picks a backoff

time• The node m with the smallest backoff time

exchanges with n

Page 24: I-Hong  Hou , Yao Liu, and Alex  Sprintson Dept. of ECE, TAMU

Why the Protocol Works?

For every packet I download, I want:• Make as few transmissions as possible• Minimize the inter-packet delay, or,

equivalently, maximize download rate

If I pick a large backoff time• More likely that I don’t transmit

• Longer delay

Page 25: I-Hong  Hou , Yao Liu, and Alex  Sprintson Dept. of ECE, TAMU

Performance Analysis

• Only two files in the system• Strategy of node n that needs A: Choose

backoff time as an exponential variable with mean

• Theorem: This strategy is a Nash Equilibrium• Average amount of time on backoff:

Page 26: I-Hong  Hou , Yao Liu, and Alex  Sprintson Dept. of ECE, TAMU

Performance Analysis

• Only two files in the system• Strategy of node n that needs A: Choose

backoff time as an exponential variable with mean

Need to know the parameters of all other nodes!

Page 27: I-Hong  Hou , Yao Liu, and Alex  Sprintson Dept. of ECE, TAMU

A Distributed Mechanism

• I don’t know other nodes’ strategies• I can estimate them by monitoring

system history• Update my strategy accordingly

Theorem• The mechanism converges to a Nash

Equilibrium• Node’s cost decreases with each update

Page 28: I-Hong  Hou , Yao Liu, and Alex  Sprintson Dept. of ECE, TAMU

Simulation Setup

• 10 nodes need A, and 10 nodes need B• gn=1, wn uniformly distributed between [1,2]• Each node decides its initial policy by

assuming that there are 100 nodes that need the same file as it does, and all nodes have the same value of wn as itself

• Each node uses the mechanism to update its strategy

Page 29: I-Hong  Hou , Yao Liu, and Alex  Sprintson Dept. of ECE, TAMU

Simulation Results

Page 30: I-Hong  Hou , Yao Liu, and Alex  Sprintson Dept. of ECE, TAMU

Performance Analysis

• Only two files in the system• Strategy of node n that needs A: Choose

backoff time as an exponential variable with mean

• Theorem: This strategy is a Nash Equilibrium• Average amount of time on backoff:

Page 31: I-Hong  Hou , Yao Liu, and Alex  Sprintson Dept. of ECE, TAMU

Incorporating Network Coding for Multiple Files

AA BB

A

A

C

C B C

B C

Page 32: I-Hong  Hou , Yao Liu, and Alex  Sprintson Dept. of ECE, TAMU

Incorporating Network Coding for Multiple Files

AA BB

A

A

C

C

backoff backoff

backoff backoff

backoffbackoff

B C

B C

Page 33: I-Hong  Hou , Yao Liu, and Alex  Sprintson Dept. of ECE, TAMU

Incorporating Network Coding for Multiple Files

AA BB

A

A

C

C

Time up backoff

backoff backoff

backoffbackoff

B C

B C

Page 34: I-Hong  Hou , Yao Liu, and Alex  Sprintson Dept. of ECE, TAMU

Incorporating Network Coding for Multiple Files

AA BB

A

A

C

C B C

B C

Have: A, B Need: C

Page 35: I-Hong  Hou , Yao Liu, and Alex  Sprintson Dept. of ECE, TAMU

Incorporating Network Coding for Multiple Files

AA BB

A

A

C

Cbackoff backoff

backoffbackoff

B C

B C

Page 36: I-Hong  Hou , Yao Liu, and Alex  Sprintson Dept. of ECE, TAMU

Incorporating Network Coding for Multiple Files

AA BB

A

A

C

Cbackoff backoff

backoffTime up

B C

B C

Page 37: I-Hong  Hou , Yao Liu, and Alex  Sprintson Dept. of ECE, TAMU

Incorporating Network Coding for Multiple Files

AA BB

A

A

C

C B C

B CC

C C

Page 38: I-Hong  Hou , Yao Liu, and Alex  Sprintson Dept. of ECE, TAMU

Incorporating Network Coding for Multiple Files

AA BB

A

A

C

C B C

B C

A B+

C C

Page 39: I-Hong  Hou , Yao Liu, and Alex  Sprintson Dept. of ECE, TAMU

Incorporating Network Coding for Multiple Files

AA BB

A

A

C

C B C

B C

A B+B = A-

B

B

C C

Page 40: I-Hong  Hou , Yao Liu, and Alex  Sprintson Dept. of ECE, TAMU

Incorporating Network Coding for Multiple Files

AA BB

A

A

C

C B C

B CA B+ B = A-

B

B

C C

A

A

Page 41: I-Hong  Hou , Yao Liu, and Alex  Sprintson Dept. of ECE, TAMU

Performance Analysis for Network Coding

• Theorem: When there are multiple files with network coding employed, and every node chooses its backoff time as an exponential random variable, the Nash Equilibrium can be computed by solving a series of linear equations

Page 42: I-Hong  Hou , Yao Liu, and Alex  Sprintson Dept. of ECE, TAMU

Conclusions

• We propose a non-monetary protocol to address the free rider problem in wireless P2P networks

• The core idea is to apply random backoff• Derive closed-form Nash Equilibrium• Propose a distributed mechanism for

convergence• Extend the protocol to incorporate network

coding