Docsity

Wireless Network Coding - Advanced Computer Networks - Lecture Slides, Slides of Computer Networks

Partial preview of the text

Download Wireless Network Coding - Advanced Computer Networks - Lecture Slides and more Slides Computer Networks in PDF only on Docsity!

XORs in the Air:

Practical Wireless Network Coding

Outline

• Background

• COPE – Introduction, Overview

• Understanding COPE’s Gains

• Design Issues

• Implementation

• Experimental Results

• Discussion and Conclusion

• Comments

Chronology of Research

  • Li et al. – Showed that linear codes are sufficient to achieve maximum capacity bounds ( 2003 )
  • Koetter and Medard – Polynomial time algorithms for encoding and decoding ( 2003 )
  • Ho et al. – Extended previous results to a randomized setting ( 2003 )
  • Studies on wireless network coding began in 2003 as well! (Shows that it was a high interest research area)
  • More work on wireless network coding with multicast models (2004)
  • Lun et al. – Problem of minimizing communication cost in wireless networks can be formulated linearly ( 2005 ) – Used multicast model as well! So all the previous work was theoretical and assumes multicast traffic.
  • Authors introduced the idea of opportunistic coding for wireless environments in 2005 Why is it different? They address the common case of unicast traffic, bursty flows and other practical issues.

Current Paper

• Explores the utility of network coding in

improving the throughput of wireless networks.

• Authors extend the theory of their

opportunistic coding architecture (COPE) by

application in a practical scenario.

• Presents the first system architecture for

wireless network coding.

• Implements the design, creating the first

deployment of network coding in a wireless

network.

• Studies the performance of COPE.

Design Principles:

  • COPE embraces the broadcast nature of the

wireless channel.

  • COPE employs network coding.

Inside COPE

COPE incorporates three main techniques:

  • Opportunistic Listening
  • Opportunistic Coding
  • Learning Neighbor State

Opportunistic Coding

Rule: “A node should aim to maximize the number of native packets delivered in a single transmission, while ensuring that each intended next-hop has enough information to decode it’s native packet.”

Issues:

  • Unneeded data should not be forwarded to

areas where there is no interested receiver,

wasting capacity.

  • The coding algorithm should ensure that all

next-hops of an encoded packet can decode

their corresponding native packets.

Rule: To transmit n packets p 1 … p (^) n to n next-hops r 1 … r (^) n , a node can XOR the n packets together only if each next-hop r (^) i has all n - 1 packets p (^) j for j ≠ i

Understanding COPE’s Gains

Coding Gain

  • Defined as the ratio of no. of transmissions required
without COPE to the no. of transmissions used by
COPE to deliver the same set of packets.
  • By definition, this number is greater than 1.
(4/3 for Alice-Bob Example)
  • Theorem: In the absence of opportunistic listening,
COPE’s maximum coding gain is 2, and it is
achievable.

Coding Gain achievable = 2N/(N+1)

This value tends to 2 as N grows.

In the presence of opportunistic listening

Achievable Coding Gain = 1.

Achievable Coding Gain = 1.

 Theorem: In the absence of opportunistic

listening, COPE’s maximum Coding + MAC gain

is 2, and it is achievable.

Node can XOR at most 2 packets together, and the bottleneck can drain at almost twice as fast, bounding the Coding + MAC Gain at 2.

 Theorem: In the presence of opportunistic

listening, COPE’s maximum Coding + MAC gain

is unbounded.

For N edge nodes, the bottleneck node XORs N packets together, and the queue drains N times faster.

The Gain is unbounded.

  • Theoretical gains:
  • Important to note that:
    • The gains in practice tend to be lower due to

non-availability of coding opportunities,

packet header overheads, medium losses,

etc.,

  • But COPE does increase actual information

rate of the medium far above the bit rate.

Making it Work

Each node maintains the following data structures:

  • Output Queue
  • Two per-neighbor virtual queues

(For small and large packet

sizes: Threshold = 100)

  • Hash table

(Keyed on packet-id )

Making it Work

• Packet Decoding

– Each node maintains a packet pool

– When a node receives an XORed collection of

packets, it searches for the corresponding native

node from it’s pool

– It ultimately XORs the n - 1 packets with the

received encoded packet to retrieve it’s own

native packet.