Wireless Network Coding Martin Xu. Outline Introduction New Solutions – COPE – ANC Conclusions.

19
Wireless Network Wireless Network Coding Coding Martin Xu

Transcript of Wireless Network Coding Martin Xu. Outline Introduction New Solutions – COPE – ANC Conclusions.

Page 1: Wireless Network Coding Martin Xu. Outline Introduction New Solutions – COPE – ANC Conclusions.

Wireless Network CodingWireless Network Coding

Martin Xu

Page 2: Wireless Network Coding Martin Xu. Outline Introduction New Solutions – COPE – ANC Conclusions.

OutlineOutline

• Introduction• New Solutions– COPE– ANC

• Conclusions

Page 3: Wireless Network Coding Martin Xu. Outline Introduction New Solutions – COPE – ANC Conclusions.

IntroductionIntroduction

• Wireless: mobility• Problem: severe throughput limitation• Solutions– COPE– ANC–…

• Let’s take a look at traditional wireless…

Page 4: Wireless Network Coding Martin Xu. Outline Introduction New Solutions – COPE – ANC Conclusions.

Traditional WirelessTraditional Wireless

Router

Page 5: Wireless Network Coding Martin Xu. Outline Introduction New Solutions – COPE – ANC Conclusions.

Router

4 transmission required

Traditional WirelessTraditional Wireless

Page 6: Wireless Network Coding Martin Xu. Outline Introduction New Solutions – COPE – ANC Conclusions.

Router

4 time slots required

Traditional WirelessTraditional Wireless

Page 7: Wireless Network Coding Martin Xu. Outline Introduction New Solutions – COPE – ANC Conclusions.

COPE

• Katti, S., Rahul, H., Hu, W., Katabi, D., Médard, M., and Crowcroft, J. 2006. XORs in the air: practical wireless network coding. In Proceedings of the 2006 Conference on Applications, Technologies, Architectures, and Protocols For Computer Communications (Pisa, Italy, September 11 - 15, 2006). SIGCOMM '06. ACM Press, New York, NY, 243-254.

• Forward multiple packets in a single transmission

• Let’s take a look at how COPE deals with the aforementioned example

Page 8: Wireless Network Coding Martin Xu. Outline Introduction New Solutions – COPE – ANC Conclusions.

XOR

=

Router

COPE

Page 9: Wireless Network Coding Martin Xu. Outline Introduction New Solutions – COPE – ANC Conclusions.

Router

COPE

Page 10: Wireless Network Coding Martin Xu. Outline Introduction New Solutions – COPE – ANC Conclusions.

XOR

= XOR

=

Router

Higher throughput (3 transmissions required)

COPE

Page 11: Wireless Network Coding Martin Xu. Outline Introduction New Solutions – COPE – ANC Conclusions.

COPE

• Transparent coding layer between IP and MAC

• Forward multiple packets in a single transmission

• Never delay packets• HOW?– Opportunistic Listening– Opportunistic Coding– Learning neighbor state

Page 12: Wireless Network Coding Martin Xu. Outline Introduction New Solutions – COPE – ANC Conclusions.

COPE - Listening

• “Broadcast” in a small neighbor• Each node stores overheard packets

for a limited time• Pseudo broadcast– Broadcast results in poor reliability and

lack of backoff– Pseudo broadcast unicast packets that

are meant for broadcast

Page 13: Wireless Network Coding Martin Xu. Outline Introduction New Solutions – COPE – ANC Conclusions.

COPE - Coding

• To transmit n packets, p1, ..., pn, to n nexthops, r1, ..., rn, a node can XOR the n packets together only if each next-hop ri has all n − 1 packets pj for j = i.

Page 14: Wireless Network Coding Martin Xu. Outline Introduction New Solutions – COPE – ANC Conclusions.

COPE - data structure

• Reception report– Reports are piggybacked on packets– If no packets to send, periodically send

reports• Output queue (FIFO)• Two per-neighbor virtual queue– packet-size distribution in the Internet is

bimodal with peaks at 40 and 1500 bytes• Packet info

Page 15: Wireless Network Coding Martin Xu. Outline Introduction New Solutions – COPE – ANC Conclusions.

COPE - Performance

• With no hidden terminals, TCP’s throughput can increase by 38%

• flows, COPE increases UDP throughput by 3-4x

Page 16: Wireless Network Coding Martin Xu. Outline Introduction New Solutions – COPE – ANC Conclusions.

ANC

• Katti, S., Gollakota, S., and Katabi, D. 2007. Embracing wireless interference: analog network coding. In Proceedings of the 2007 Conference on Applications, Technologies, Architectures, and Protocols For Computer Communications (Kyoto, Japan, August 27 - 31, 2007). SIGCOMM '07. ACM Press, New York, NY, 397-408.

• Strategically exploit interference instead of avoiding it– Interfered signal is not exactly the sum– Channel distorts signals– Two signals are never synchronized

Page 17: Wireless Network Coding Martin Xu. Outline Introduction New Solutions – COPE – ANC Conclusions.

ANC - Algorithm

• Decode small part of uninterfered signal (MSK)

• Decode interfered signal– Decomposition using amplitudes of the

original ones and the interfered– Four possible angles– Choose the 90 degree one

• Decode the rest of the uninterfered signal

Page 18: Wireless Network Coding Martin Xu. Outline Introduction New Solutions – COPE – ANC Conclusions.

ANC - Performance

• For the example used at the beginning, median throughput gain of ANC over routing 70%, COPE 30%

• For X-topology, median throughput gain over routing is 65%, over COPE 28%

• For chain topology, median throughput gain over routing is 37%

Page 19: Wireless Network Coding Martin Xu. Outline Introduction New Solutions – COPE – ANC Conclusions.

Conclusion

• Both implementation that yields large throughput gains

• COPE– Simple and practical

• ANC– Embrace Broadcast and Interference