CE693: Adv. Computer Networking

Similar documents
CS 268: Computer Networking. Taking Advantage of Broadcast

XORs in the Air: Practical Wireless Network Coding

ECE 598HH: Special Topics in Wireless Networks and Mobile Systems

Making Friends with Broadcast. Administrivia

Routing in Wireless Mesh Networks. Feb. 22, 2006

Geographic and Diversity Routing in Mesh Networks

Wireless (Internet) Routing. Opportunistic Routing, Network Coding, TCP over Wireless

The Importance of Being Opportunistic

Challenge: high throughput despite loss. Roofnet has >30% loss probability. 4 Computer Networks Course (15-744), CMU, 2012.

XCOR: Synergistic Inter flow Network Coding and Opportunistic Routing

Mobile Routing : Computer Networking. Overview. How to Handle Mobile Nodes? Mobile IP Ad-hoc network routing Assigned reading

CAR: Coding-Aware Opportunistic Routing in Wireless Mesh Networks

XORs in The Air: Practical Wireless Network Coding

15-441: Computer Networking. Lecture 24: Ad-Hoc Wireless Networks

Transport Protocols Reading: Sections 2.5, 5.1, and 5.2

WIRELESS networks suffer from low throughput and

CS164 Final Exam Winter 2013

II. Principles of Computer Communications Network and Transport Layer

ECE 158A: Lecture 13. Fall 2015

Wireless Mesh Networks

DISCOVERING OPTIMUM FORWARDER LIST IN MULTICAST WIRELESS SENSOR NETWORK

Transport Protocols Reading: Sections 2.5, 5.1, and 5.2. Goals for Todayʼs Lecture. Role of Transport Layer

Lecture 10: Link layer multicast. Mythili Vutukuru CS 653 Spring 2014 Feb 6, Thursday

Networks. Distributed Systems. Philipp Kupferschmied. Universität Karlsruhe, System Architecture Group. May 6th, 2009

Outline. Routing. Introduction to Wide Area Routing. Classification of Routing Algorithms. Introduction. Broadcasting and Multicasting

Wireless Challenges : Computer Networking. Overview. Routing to Mobile Nodes. Lecture 25: Wireless Networking

Different Layers Lecture 20

Wireless and Mobile Communications

Outline: Connecting Many Computers

TCP over wireless links

TCP: Flow and Error Control

Communications Software. CSE 123b. CSE 123b. Spring Lecture 3: Reliable Communications. Stefan Savage. Some slides couresty David Wetherall

Routing in Ad Hoc Wireless Networks PROF. MICHAEL TSAI / DR. KATE LIN 2014/05/14

PRESENTED BY SARAH KWAN NETWORK CODING

TCP over Wireless PROF. MICHAEL TSAI 2016/6/3

EEC-484/584 Computer Networks

Network Layer: Non-Traditional Wireless Routing Localization Intro

Performance Evaluation of Wireless Network Coding under Practical Settings

Mobile IP and Mobile Transport Protocols

Chapter 2 - Part 1. The TCP/IP Protocol: The Language of the Internet

Data Link Control Protocols

Final Exam: Mobile Networking (Part II of the course Réseaux et mobilité )

EEC-682/782 Computer Networks I

Outline. Internet. Router. Network Model. Internet Protocol (IP) Design Principles

Effect of SCTP Multistreaming over Satellite Links

CSCI Topics: Internet Programming Fall 2008

Video-Aware Opportunistic Network Coding over Wireless Networks

Reminder: Datalink Functions Computer Networking. Datalink Architectures

ECSE 414 Fall 2014 Final Exam Solutions

UNIT IV -- TRANSPORT LAYER

CMSC 611: Advanced. Interconnection Networks

HWP2 Application level query routing HWP1 Each peer knows about every other beacon B1 B3

Basic Reliable Transport Protocols

Computer Communications

The Basics of Wireless Communication Octav Chipara

Lecture 16: Network Layer Overview, Internet Protocol

Transport Protocols Reading: Sections 2.5, 5.1, and 5.2

Reliable Transport I: Concepts and TCP Protocol

CE693: Adv. Computer Networking

CS519: Computer Networks. Lecture 5, Part 1: Mar 3, 2004 Transport: UDP/TCP demux and flow control / sequencing

CSE 123: Computer Networks Alex C. Snoeren. HW 1 due NOW!

The Importance of Being Opportunistic: Practical Network Coding for Wireless Environments

Toward a Reliable Data Transport Architecture for Optical Burst-Switched Networks

IPv6 Stack. 6LoWPAN makes this possible. IPv6 over Low-Power wireless Area Networks (IEEE )

Agenda. What are we looking at? Introduction. Aim of the project. IP Routing

Mobile Communications. Ad-hoc and Mesh Networks

CSCI-GA Operating Systems. Networking. Hubertus Franke

Multicasting in ad hoc networks: Energy efficient

Lecture 7: Flow Control"

Link-State Routing OSPF

EECS 122: Introduction to Communication Networks Final Exam Solutions

Computer Networks (Fall 2011) Homework 2

WITH the evolution and popularity of wireless devices,

Lecture 19: Network Layer Routing in the Internet

Intelligent Transportation Systems. Medium Access Control. Prof. Dr. Thomas Strang

Lecture 15 Networking Fundamentals. Today s Plan

Subject: Adhoc Networks

Chapter 4: outline. Network Layer 4-1

Announcements. CS 5565 Network Architecture and Protocols. Project 2B. Project 2B. Project 2B: Under the hood. Routing Algorithms

NETWORK coding [1] [3] has attracted much interest in

Flow control: Ensuring the source sending frames does not overflow the receiver

CCACK: Efficient Network Coding Based Opportunistic Routing Through Cumulative Coded Acknowledgments

Wireless Internet Routing. Learning from Deployments Link Metrics

Information Network Systems The network layer. Stephan Sigg

Lecture (04 & 05) Packet switching & Frame Relay techniques Dr. Ahmed ElShafee

Lecture (04 & 05) Packet switching & Frame Relay techniques

Wireless Challenges : Computer Networking. Overview. Routing to Mobile Nodes. Lecture 24: Mobile and Wireless

Outline Computer Networking. Functionality Split. Transport Protocols

Broadcasting with Hard Deadlines in Wireless Multi-hop Networks Using Network Coding

Chapter 13 TRANSPORT. Mobile Computing Winter 2005 / Overview. TCP Overview. TCP slow-start. Motivation Simple analysis Various TCP mechanisms

TCP. Second phase of the project. Connection management. Flow control and congestion. Emphasizing on the followings: Three parameters: At any time

Homework 1. Question 1 - Layering. CSCI 1680 Computer Networks Fonseca

Improving Reliable Transport and Handoff Performance in Cellular Wireless Networks

Multi-Hop ARQ 林咨銘 2006/8/24.

Internet II. CS10 : Beauty and Joy of Computing. cs10.berkeley.edu. !!Senior Lecturer SOE Dan Garcia!!! Garcia UCB!

Medium Access Control. IEEE , Token Rings. CSMA/CD in WLANs? Ethernet MAC Algorithm. MACA Solution for Hidden Terminal Problem

Mobile & Wireless Networking. Lecture 10: Mobile Transport Layer & Ad Hoc Networks. [Schiller, Section 8.3 & Section 9] [Reader, Part 8]

UDP, TCP, IP multicast

Multiple Access Protocols

IEEE , Token Rings. 10/11/06 CS/ECE UIUC, Fall

Transcription:

CE693: Adv. Computer Networking L-10 Wireless Broadcast Fall 1390 Acknowledgments: Lecture slides are from the graduate level Computer Networks course thought by Srinivasan Seshan at CMU. When slides are obtained from other sources, a a reference will be noted on the bottom of that slide. A full list of references is provided on the last slide.

Taking Advantage of Broadcast Opportunistic forwarding Network coding Assigned reading XORs In The Air: Practical Wireless Network Coding ExOR: Opportunistic Multi-Hop Routing for Wireless Networks 2

Outline Opportunistic forwarding (ExOR) Network coding (COPE) Combining the two (MORE) 3

Initial Approach: Traditional Routing packet A packet B packet src dst C Identify a route, forward over links Abstract radio to look like a wired link 4

Radios Aren t Wires A B 123456 3 6 src dst C Every packet is broadcast Reception is probabilistic 5

Exploiting Probabilistic Broadcast packet A B packet src dst C Decide who forwards after reception Goal: only closest receiver should forward Challenge: agree efficiently and avoid duplicate transmissions 6

Why ExOR Might Increase Throughput src N1 N2 N3 N4 N5 dst 75% 50% 25% Best traditional route over 50% hops: 3( 1 / 0.5 ) = 6 tx Throughput 1 / # transmissions ExOR exploits lucky long receptions: 4 transmissions Assumes probability falls off gradually with distance 7

Why ExOR Might Increase Throughput src 25% 25% 25% 25% N1 N2 N3 N4 100% 100% 100% 100% dst Traditional routing: 1 / 0.25 + 1 = 5 tx ExOR: 1 /(1 (1 0.25) 4 ) + 1 = 2.5 transmissions Assumes independent losses 8

ExOR Batching src tx: 100 9 N1 rx: 88 99 tx: 8 N2 rx: 57 85 tx: 57-23 24 N3 N4 rx: 23 53 tx: 23 rx: 040 tx: 0 dst rx: 022 Challenge: finding the closest node to have rx d Send batches of packets for efficiency Node closest to the dst sends first Other nodes listen, send remaining packets in turn Repeat schedule until dst has whole batch 9

Reliable Summaries tx: {2, 4, 10... 97, 98} batch map: {1,2,6,... 97, 98, 99} src N2 N4 dst N1 N3 tx: {1, 6, 7... 91, 96, 99} batch map: {1, 6, 7... 91, 96, 99} Repeat summaries in every data packet Cumulative: what all previous nodes rx d This is a gossip mechanism for summaries 10

Priority Ordering src N2 N4 dst N1 N3 Goal: nodes closest to the destination send first Sort by ETX metric to dst Nodes periodically flood ETX link state measurements Path ETX is weighted shortest path (Dijkstra s algorithm) Source sorts, includes list in ExOR header 11

Using ExOR with TCP Client PC TCP TCP Web Server Node Proxy ExOR Batches (not TCP) ExOR Gateway Web Proxy Batching requires more packets than typical TCP window 12

Discussion Exploits radio properties, instead of hiding them Scalability? Parameters 10%? Overheads? 13

Outline Opportunistic forwarding (ExOR) Network coding (COPE) Combining the two (MORE) 14

Background Famous butterfly example: All links can send one message per unit of time Coding increases overall throughput 15

Background Bob and Alice Relay Require 4 transmissions 16

Background Bob and Alice Relay XOR XOR XOR Require 3 transmissions 17

Coding Gain Coding gain = 4/3 1 1+3 3 18

Throughput Improvement UDP throughput improvement ~ a factor 2 > 4/3 coding gain 1 1+3 3 19

COPE (Coding Opportunistically) Overhear neighbors transmissions Store these packets in a Packet Pool for a short time Report the packet pool info. to neighbors Determine what packets to code based on the info. Send encoded packets 21

Opportunistic Coding P4 P1 B s queue P1 Next hop A C P2 C P4 P3 P2 P1 B P3 P4 Coding C D Is it good? A D P1+P2 Bad (only C can decode) P4 P3 P3 P1 P1+P3 Better coding (Both A and C can decode) P1+P3+P4 Best coding (A, C, D can decode)

Packet Coding Algorithm When to send? Option 1: delay packets till enough packets to code with Option 2: never delaying packets -- when there s a transmission opportunity, send packet right away Which packets to use for XOR? Prefer XOR-ing packets of similar lengths Never code together packets headed to the same next hop Limit packet re-ordering XORing a packet as long as all its nexthops can decode it with a high enough probability 23

Packet Decoding Where to decode? Decode at each intermediate hop How to decode? Upon receiving a packet encoded with n native packets find n-1 native packets from its queue XOR these n-1 native packets with the received packet to extract the new packet 24

Prevent Packet Reordering Packet reordering due to async acks degrade TCP performance Ordering agent Deliver in-sequence packets immediately Order the packets until the gap in seq. no is filled or timer expires 25

Summary of Results Improve UDP throughput by a factor of 3-4 Improve TCP by wo/ hidden terminal: up to 38% improvement w/ hidden terminal and high loss: little improvement Improvement is largest when uplink to downlink has similar traffic Interesting follow-on work using analog coding 26

Reasons for Lower Improvement in TCP COPE introduces packet re-ordering Router queue is small smaller coding opportunity TCP congestion window does not sufficiently open up due to wireless losses 27

Discussion Wired vs. wireless coding Traffic patterns Scale 28

Outline Opportunistic forwarding (ExOR) Network coding (COPE) Combining the two (MORE) 29

Use Opportunistic Routing src 50 % 50% 50 % 50 % R1 R2 R3 R4 0 % 0% 0% 0% dst Best single path loss prob. 50% In opp. routing [ExOR 05], any router that hears the Opportunistic routing promises large increase in throughput packet can forward it loss prob. 0.5 4 = 6% 30

But Overlap in received packets Routers forward duplicates P 1 R1 P 2 P 1 P 2 src dst P 10 R2 P 1 P 2 31

ExOR State-of-the-art opp. routing, ExOR imposes a global scheduler: Requires full coordination; every node must know who received what Only one node transmits at a time, others listen 32

Global Scheduling dst src Global coordination is too hard One transmitter You lost spatial reuse! 33

MORE (Sigcomm07) Opportunistic routing with no global scheduler and no coordination Uses random network coding Experiments show that randomness outperforms both current routing and ExOR 34

Go Random Each router forwards random combinations of packets src P 1 P2 P 1 P2 R1 R2 α P 1 + ß P 2 γ P 1 + δ P 2 dst Randomness prevents duplicates No scheduler; No coordination Simple and exploits spatial reuse 35

Random Coding Benefits Multicast P1 P2 P3 P4 src dst1 dst2 dst3 P1 P2 P3 P4 Without coding source retransmits all 4 packets P1 P2 P3 P4 P1 P2 P3 P4 36

Random Coding Benefits Multicast P1 P2 P3 P4 src Random combinations 8 P1+5 P2+ P3+3 P4 7 P1+3 P2+6 P3+ P4 dst1 dst2 dst3 P1 P2 P3 P4 Without coding source retransmits all 4 packets With random coding 2 packets are sufficient P1 P2 P3 P4 P1 P2 P3 P4 37

MORE Source sends packets in batches Forwarders keep all heard packets in a buffer Nodes transmit linear combinations of buffered packets a P1 + b P2 + c P3 = a,b,c src A B dst P1 P2 P3 4,1,3 0,2,1 4,1,3 40 P1 + 12 P2 + 31 P3 = 4,1,3 0,2,1 38

MORE Source sends packets in batches Forwarders keep all heard packets in a buffer Nodes transmit linear combinations of buffered packets a P1 + b P2 + c P3 = a,b,c src A B dst P1 4,1,3 4,1,3 8,4,7 P2 0,2,1 8,4,7 P3 2 4,1,3 + 1 0,2,1 = 8,4,7 39

MORE Source sends packets in batches Forwarders keep all heard packets in a buffer Nodes transmit linear combinations of buffered packets Destination decodes once it receives enough combinations o Say batch is 3 packets 1 5 4 P1 + 3 P2 + 2 P3 = P1 + 4 P2 + 5 P3 = P1 + 5 P2 + 5 P3 = 1,3,2 5,4,5 4,5,5 Destination acks batch, and source moves to next batch 40

Summary Wireless broadcast enables new protocol designs Key challenge is coordination 41