1 XORs in the Air: Practical Wireless Network Coding Sachin Katti HariharanRahul, WenjunHu, Dina Katabi, Muriel Medard, Jon Crowcroft Presented by Lianmu.

Slides:



Advertisements
Similar presentations
Mitigating Routing Misbehavior in Mobile Ad-Hoc Networks Reference: Mitigating Routing Misbehavior in Mobile Ad Hoc Networks, Sergio Marti, T.J. Giuli,
Advertisements

Network Coding for Wireless Networks
XORs in The Air: Practical Wireless Network Coding
Analog Network Coding Sachin Katti Shyamnath Gollakota and Dina Katabi.
Incentive-Compatible Opportunistic Routing for Wireless Networks Fan Wu, Tingting Chen, Sheng Zhong (SUNY Buffalo) Li Erran Li Li Erran Li (Bell Labs)
Improving TCP Performance over Mobile Ad Hoc Networks by Exploiting Cross- Layer Information Awareness Xin Yu Department Of Computer Science New York University,
1 A Framework for Joint Network Coding and Transmission Rate Control in Wireless Networks Tae-Suk Kim*, Serdar Vural*, Ioannis Broustis*, Dimitris Syrivelis.
Priority Queuing Achieving Flow ‘Fairness’ in Wireless Networks Thomas Shen Prof. K.C. Wang SURE 2005.
XORs in the air: Practical Wireless Network Coding Sachin Katti, Hariharan Rahul, Wenjun Hu, Dina Katabi, Muriel Medard, Jon Crowcroft SIGCOMM ‘06 Presented.
Random Access MAC for Efficient Broadcast Support in Ad Hoc Networks Ken Tang, Mario Gerla Computer Science Department University of California, Los Angeles.
1 University of Freiburg Computer Networks and Telematics Prof. Christian Schindelhauer Mobile Ad Hoc Networks Network Coding and Xors in the Air 7th Week.
Low Delay Marking for TCP in Wireless Ad Hoc Networks Choong-Soo Lee, Mingzhe Li Emmanuel Agu, Mark Claypool, Robert Kinicki Worcester Polytechnic Institute.
Exploiting Opportunism in Wireless Networks Aruna Balasubramanian Guest Lecture, CS 653 (Some slides borrowed from the ExOr and MORE presentations at SigComm.
Opportunistic Routing in Multi-hop Wireless Networks Sanjit Biswas and Robert Morris MIT CSAIL Presented by: Ao-Jan Su.
Denial of Service Resilience in Ad Hoc Networks Imad Aad, Jean-Pierre Hubaux, and Edward W. Knightly Designed by Yao Zhao.
Distributed Priority Scheduling and Medium Access in Ad Hoc Networks Distributed Priority Scheduling and Medium Access in Ad Hoc Networks Vikram Kanodia.
Network coding for multicasting and unicasting in MANETs Muriel Médard LIDS Massachusetts Institute of Technology.
The Impact of Multihop Wireless Channel on TCP Throughput and Loss Presented by Scott McLaren Zhenghua Fu, Petros Zerfos, Haiyun Luo, Songwu Lu, Lixia.
Performance Enhancement of TFRC in Wireless Ad Hoc Networks Mingzhe Li, Choong-Soo Lee, Emmanuel Agu, Mark Claypool and Bob Kinicki Computer Science Department.
Opportunistic Routing in Multi-hop Wireless Networks Sanjit Biswas and Robert Morris MIT CSAIL
XORs in The Air: Practical Wireless Network Coding Daniel Courcy- Sachin Katti, Hariharan Rahul, Wenjun Hu, Dina.
1 Expected Data Rate (EDR): An Accurate High-Throughput Path Metric For Multi- Hop Wireless Routing Jun Cheol Park Sneha Kumar Kasera.
Ad Hoc Wireless Routing COS 461: Computer Networks
CIS 725 Wireless networks. Low bandwidth High error rates.
RTS/CTS-Induced Congestion in Ad Hoc Wireless LANs Saikat Ray, Jeffrey B. Carruthers, and David Starobinski Department of Electrical and Computer Engineering.
Performance Evaluation and Improvement of an Ad Hoc Wireless Network Takayuki Yamamoto Graduate School of Engineering Science, Osaka University, Japan.
SOAR: Simple Opportunistic Adaptive Routing Protocol for Wireless Mesh Networks Authors: Eric Rozner, Jayesh Seshadri, Yogita Ashok Mehta, Lili Qiu Published:
XORs in the Air: Practical Wireless Network Coding Sachin Katti Hariharan Rahul Wenjun Hu Dina Katabi Muriel Medard Jon Crowcroft Presented by: Suvesh.
Efficient Network-Coding-Based Opportunistic Routing Through Cumulative Coded Acknowledgments Dimitrios Koutsonikolas, Chih-Chun Wang and Y. Charlie Hu.
CSE 6590 Fall 2010 Routing Metrics for Wireless Mesh Networks 1 4 October, 2015.
An End-to-end Approach to Increase TCP Throughput Over Ad-hoc Networks Sarah Sharafkandi and Naceur Malouch.
TCP PERFORMANCE OVER AD HOC NETWORKS Presented by Vishwanee Raghoonundun Assisted by Maheshwarnath Behary MSc Computer Networks Middlesex University.
Wireless Sensor Networks COE 499 Energy Aware Routing
Wireless Network Coding Martin Xu. Outline Introduction New Solutions – COPE – ANC Conclusions.
Recitation 8 Wireless Networks. Virtual carrier sensing First exchange control frames before transmitting data – Sender issues “Request to Send” (RTS),
Design and Implementation of a Multi-Channel Multi-Interface Network Chandrakanth Chereddi Pradeep Kyasanur Nitin H. Vaidya University of Illinois at Urbana-Champaign.
Computer Networks Performance Metrics. Performance Metrics Outline Generic Performance Metrics Network performance Measures Components of Hop and End-to-End.
MARCH : A Medium Access Control Protocol For Multihop Wireless Ad Hoc Networks 성 백 동
ACN: RED paper1 Random Early Detection Gateways for Congestion Avoidance Sally Floyd and Van Jacobson, IEEE Transactions on Networking, Vol.1, No. 4, (Aug.
Link Estimation, CTP and MultiHopLQI. Learning Objectives Understand the motivation of link estimation protocols – the time varying nature of a wireless.
Pushing the Limits of Wireless Networks Prof. Dina Katabi Jan 9, 2006.
CCNA 3 Week 4 Switching Concepts. Copyright © 2005 University of Bolton Introduction Lan design has moved away from using shared media, hubs and repeaters.
Load-Balancing Routing in Multichannel Hybrid Wireless Networks With Single Network Interface So, J.; Vaidya, N. H.; Vehicular Technology, IEEE Transactions.
Practical Network Coding for Wireless Mesh Networks Wenjun Hu Joint work with Sachin Katti, Hariharan Rahul, Dina Katabi, Jon Crowcroft and Muriel Médard.
CSE 6590 Fall 2009 Routing Metrics for Wireless Mesh Networks 1 12 November, 2015.
GPSR: Greedy Perimeter Stateless Routing for Wireless Networks EECS 600 Advanced Network Research, Spring 2005 Shudong Jin February 14, 2005.
DSR: Introduction Reference: D. B. Johnson, D. A. Maltz, Y.-C. Hu, and J. G. Jetcheva, “The Dynamic Source Routing Protocol for Mobile Ad Hoc Networks,”
Mitigating Congestion in Wireless Sensor Networks Bret Hull, Kyle Jamieson, Hari Balakrishnan Networks and Mobile Systems Group MIT Computer Science and.
15-744: Computer Networking L-12 Wireless Broadcast.
KAIS T High-throughput multicast routing metrics in wireless mesh networks Sabyasachi Roy, Dimitrios Koutsonikolas, Saumitra Das, and Y. Charlie Hu ICDCS.
Networks and Distributed Systems Mark Stanovich Operating Systems COP 4610.
SenProbe: Path Capacity Estimation in Wireless Sensor Networks Tony Sun, Ling-Jyh Chen, Guang Yang M. Y. Sanadidi, Mario Gerla.
Introduction to Wireless Networks Dina Katabi & Sam Madden MIT – – Spring 2014.
a/b/g Networks Routing Herbert Rubens Slides taken from UIUC Wireless Networking Group.
An Energy-Efficient MAC Protocol for Wireless Sensor Networks Speaker: hsiwei Wei Ye, John Heidemann and Deborah Estrin. IEEE INFOCOM 2002 Page
Networks and Distributed Systems Sarah Diesburg Operating Systems COP 4610.
Medium Access Control in Wireless networks
Network Coding and Reliable Communications Group Modeling Network Coded TCP Throughput: A Simple Model and its Validation MinJi Kim*, Muriel Médard*, João.
Optimization Problems in Wireless Coding Networks Alex Sprintson Computer Engineering Group Department of Electrical and Computer Engineering.
2012 1/6 NSDI’08 Harnessing Exposed Terminals in Wireless Networks Mythili Vutukuru, Kyle Jamieson, and Hari Balakrishnan MIT Computer Science and Artificial.
1 Advanced Transport Protocol Design Nguyen Multimedia Communications Laboratory March 23, 2005.
Trading Structure for Randomness in Wireless Opportunistic Routing Szymon Chachulski, Michael Jennings, Sachin Katti and Dina Katabi MIT CSAIL SIGCOMM.
S-MAC Taekyoung Kwon. MAC in sensor network Energy-efficient Scalable –Size, density, topology change Fairness Latency Throughput/utilization.
TCP/IP1 Address Resolution Protocol Internet uses IP address to recognize a computer. But IP address needs to be translated to physical address (NIC).
LA-MAC: A Load Adaptive MAC Protocol for MANETs IEEE Global Telecommunications Conference(GLOBECOM )2009. Presented by Qiang YE Smart Grid Subgroup Meeting.
The Importance of Being Opportunistic Sachin Katti Dina Katabi, Wenjun Hu, Hariharan Rahul, and Muriel Medard.
Xors in the air Sachin Katti, Hariharan Rahul, Wenjun Hu, Dina Katabi, Muriel Medard, Jon Crowcroft.
Javad Ghaderi, Tianxiong Ji and R. Srikant
Wireless Mesh Networks
Presentation transcript:

1 XORs in the Air: Practical Wireless Network Coding Sachin Katti HariharanRahul, WenjunHu, Dina Katabi, Muriel Medard, Jon Crowcroft Presented by Lianmu Chen

2 Outline Introduction Cope Overview Cope Gains Making it work Implementation details Experimental results Conclusions

3 Introduction

4 Problem Current wireless implementation suffer from a severe throughput limitation and do not scale to dense large networks. New architecture: COPE.

9 Cope Overview

10 Cope Overview Cope incorporates three main techniques: (a)Opportunistic Listening (b)Opportunistic Coding (c)Learning Neighbor State

11 Opportunistic Listening (a)sets the nodes in promiscuous mode (b) snoop on all communications, store the overheard packets for a limited period T (c) each node broadcasts reception reports

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.” Opportunistic Coding

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 Opportunistic Coding

Learning Neighbor State (a)Reception report (b)guess whether a neighbor has a particular packet. – COPE estimates the probability that a particular neighbor has a packet, as the delivery probability of the link between the packet’s previous hop and the neighbor. – incorrect guess : relevant native packet is retransmitted, encoded with a new set of native packets.

15 Cope’s Gains

Understanding COPE’s Gains Coding Gain Definition : the ratio of no. of transmissions required without COPE to the no. of transmissions used by COPE to deliver the same set of packets. Theorem: In the absence of opportunistic listening, COPE’s maximum coding gain is 2, and it is achievable. Obviously, this number is greater than 1 And 4/3 for Alice-Bob Example

Coding Gain 17 Coding gain of the chain tends to 2 as the number of intermediate nodes increases. The complete proof is in Appendix A.

Coding Gain Coding gain = 4/3 = 1.33Coding gain = 8/5 = In the presence of opportunistic listening Obviously, the coding gain in Alice and Bob example is 4/3.

Understanding COPE’s Gains Coding+MAC Gain Definition : the ratio of the bottleneck’s draining rate with COPE to its draining rate without COPE. Theorem 2: In the absence of opportunistic listening, COPE’s maximum Coding+MAC gain is 2, and it is achievable.

COPE+MAC Gains Theorem 3: In the presence of opportunistic listening, COPE’s maximum Coding+MAC gain is unbounded. Table 2—Theoretical gains for a few basic topologies

21 Making it work

Packet Coding Algorithm Packet Decoding Pseudo-broadcast Hop-by-hop ACKs and Retransmissions Preventing TCP packet reordering 22

Packet Coding Algorithm Never delaying packets – Does not wait for additional codable packets to arrive Preference to XOR packets of similar lengths – Distinguish between small and large packets Never code together packets headed to the same next- hop – maintains two virtual queues per neighbor; one for small packets and another for large packets, an entry is added to the appropriate virtual queue based on the packet’s nexthop and size Dequeue the packet at the head of the FIFO – Look only at the head of the virtual queues, determine if it is a small or a large packet Each neighbor has a high probability of decoding the packet – Threshold probability 23

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.

Pseudo-broadcast MAC modes: unicast and broadcast Unicast: packets are immediately acked by next-hops back-off if an ack is not received Broadcast: Since COPE broadcasts encoded packets to their next hops, the natural approach would be to use broadcast Low reliability (In the absence of the acks, the broadcast mode offers no retransmissions) cannot detect collisions, does not back off high collision rates, poor throughput Solution: Pseudo-broadcast

Pseudo-Broadcast – Piggybacks on Unicast it Unicasts packets meant for Broadcast. – Link-layer dest field is sent to the MAC address of one of the intended recipients, with an XOR-header added afterward, listing all the next-hops. (All nodes hear this packet) – If the recipient receives a packet with a MAC address different from it’s own and if it is a next-hop, it processes it further. Else, it stores it in a buffer. – Since this is essentially Unicast, collisions are detected, and back-off is possible as well. Pseudo-broadcast

Hop-by-hop ACKs and Retransmissions Encoded packets require all next hops to ack the receipt of the associated native packet – Only one node ACKs (pseudo-broadcast) – There is still a probability of loss to other next hops – Hence, each node ACKs the reception of native packet – If not-acked, retransmitted, potentially encoded with other packets – Overhead - highly inefficient 27

Hop-by-hop ACKs and Retransmissions Asynchronous ACKs and Retransmissions – Cumulatively ACK every T a seconds – If a packet is not ACKed in T a seconds, retransmitted – Piggy-back ACKs in COPE header of data packets – If no data packets, send periodic control packets (same packets as reception reports) 28

Preventing TCP Packet Reordering Asynchronous ACKs can cause packet reordering – TCP can take this as a sign of congestion Ordering agent – Ensures TCP packets are delivered in order – Maintains packet buffer 29

30 Implementation

Implementation Details Packet Format:

Control Flow : Implementation Details

33 Experimental Result

Testbed 20 nodes – Path between nodes are 1 to 6 hops in length – a with a bit-rate of 6Mb/s Software – Linux and click toolkit – User daemon and exposes a new interface – Applications use this interface No modification to application is necessary Traffic model – udpgen to generate UDP traffic – ttcp to generate TCP traffic – Poisson arrivals, Pareto file size distribution 34

Experimental Results

Metrics Network throughput – Total end-to-end throughput (sum of throughput of all flows in a network) Throughput gain – The ratio of measured throughput with and without COPE – Calculate from two consecutive experiments, with coding turned on and off 36

COPE in gadget topologies: Long-lived TCP flows Close to 1.33 Close to 1.6 Throughput gain corresponds to coding gain , rather than Coding+MAC gain – TCP backs-off due to congestion control – To match the draining rate at the bottleneck 37

Long-lived UDP flows Close to Coding + MAC gain – XOR headers add small overhead (5-8%) – The difference is also due to imperfect overhearing, flow asymmetry 38

COPE in an Ad Hoc Network TCP: TCP flows arrive according to a Poisson process, pick sender and receiver randomly, and the traffic models the Internet. TCP does not show significant improvement ( average gain is 2-3%) Why ? Collision- related losses: Nodes are not within carrier sense of each other, resulting in hidden terminal problems

COPE in an Ad Hoc Network 15 MAC retries, the TCP flows experience 14% loss TCP flows suffer timeouts and excessive back-off, unable to ramp up and utilize the medium efficiently. Most of time: no packets in their queues or just a single packet. No enough traffic to make use of coding; Few coding opportunities arise Hence, the performance is the same with and without coding

COPE in an Ad Hoc Network TCP in a collision-free environment Bring the nodes closer together, within carrier sense range, hence avoid collisions. COPE performs well without hidden terminals!

COPE in an Ad Hoc Network UDP: Aggregate end-to-end throughput as a function of the demands Performance: COPE greatly improves the throughput of these wireless networks

COPE in a Mesh Access Network Internet accessing using Multi-hop Wireless Networks that connect to the rest of the Internet via one or more gateways/access points ( Traffic flow to and from the closest gateway) Settings: UDP flows; Four sets of nodes; Each set communicates with the Internet via a specific node that plays the role of a gateway;

COPE in a Mesh Access Network Throughput gains as a function of this ratio of upload traffic to download traffic: COPE’s throughput gain relies on coding opportunities, which depend on the diversity of the packets in the queue of the bottleneck node.

45 Conclusions

Conclusion Findings: – Network Coding does have practical benefits – When wireless medium is congested and traffic consists of many random UDP flows, COPE increases throughput by 3 – 4 times. – For UDP, COPE’s gain exceeds theoretical coding gain. – For a mesh access network, throughput improvement with COPE ranges from 5% - 70% – COPE does not work well with hidden terminals. Without hidden terminals, TCP’s throughput increases by an average of 38% – Network Coding is useful for throughput improvement, but COPE introduces coding as a practical tool that can be integrated with forwarding, routing and reliable delivery.

Conclusion COPE: a new architecture to wireless networks Large throughput increase First implement network coding to wireless networks Simple and practical

Problems No experiments with mixed flows (Briefly mentioned) Other routing protocols? Almost no gain due to hidden terminal

Thank You Questions? 49