Direct Link Communication I: Basic Techniques. Data Transmission. ignore carrier frequency, coding etc.

Similar documents
Direct Link Communication I: Basic Techniques. Data Transmission. ignore carrier frequency, coding etc.

CS 640 Introduction to Computer Networks. Role of data link layer. Today s lecture. Lecture16

Data Link Control Protocols

Principles of Reliable Data Transfer

Direct Link Networks (II)

Computer Network. Direct Link Networks Reliable Transmission. rev /2/2004 1

CMSC 417. Computer Networks Prof. Ashok K Agrawala Ashok Agrawala. October 11, 2018

Administrivia. FEC vs. ARQ. Reliable Transmission FEC. Last time: Framing Error detection. FEC provides constant throughput and predictable delay

Reliable Byte-Stream (TCP)

CPE 548 Exam #1 (50 pts) February 17, 2016

CPE 448/548 Exam #1 (100 pts) February 14, Name Class: 448

EECS 122, Lecture 19. Reliable Delivery. An Example. Improving over Stop & Wait. Picture of Go-back-n/Sliding Window. Send Window Maintenance

EE 122: Error detection and reliable transmission. Ion Stoica September 16, 2002

Error Detection Codes. Error Detection. Two Dimensional Parity. Internet Checksum Algorithm. Cyclic Redundancy Check.

The Transport Layer Reliability

Reliable Transmission

L5: Building Direct Link Networks III. Hui Chen, Ph.D. Dept. of Engineering & Computer Science Virginia State University Petersburg, VA 23806

Lecture 7: Flow Control"

High Level View. EE 122: Error detection and reliable transmission. Overview. Error Detection

Islamic University of Gaza Faculty of Engineering Department of Computer Engineering ECOM 4021: Networks Discussion. Chapter 2.

Point-to-Point Links. Outline Encoding Framing Error Detection Sliding Window Algorithm. Fall 2004 CS 691 1

Networking Link Layer

TCP over wireless links

Lecture 6. TCP services. Internet Transport Layer: introduction to the Transport Control Protocol (TCP) A MUCH more complex transport

Computer Networking. Reliable Transport. Reliable Transport. Principles of reliable data transfer. Reliable data transfer. Elements of Procedure

Network Management & Monitoring

Topics. TCP sliding window protocol TCP PUSH flag TCP slow start Bulk data throughput

End-to-End Protocols. End-to-End Protocols

Lecture 7: Sliding Windows. CSE 123: Computer Networks Geoff Voelker (guest lecture)

ETSF10 Internet Protocols Transport Layer Protocols

EE 122 Fall st Midterm. Professor: Lai Stoica

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

Lecture 5. Homework 2 posted, due September 15. Reminder: Homework 1 due today. Questions? Thursday, September 8 CS 475 Networks - Lecture 5 1

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

Applied Networks & Security

CMPE 257: Wireless and Mobile Networking

CSCI-1680 Link Layer Reliability John Jannotti

Lecture 5: Flow Control. CSE 123: Computer Networks Alex C. Snoeren

Transport Layer Marcos Vieira

Basic Reliable Transport Protocols

Lecture 15: TCP over wireless networks. Mythili Vutukuru CS 653 Spring 2014 March 13, Thursday

CS 5520/ECE 5590NA: Network Architecture I Spring Lecture 13: UDP and TCP

Solutions for Chapter similar to 1 and 3

2.4 Error Detection Bit errors in a frame will occur. How do we detect (and then. (or both) frames contains an error. This is inefficient (and not

CSCI-1680 Link Layer Reliability Rodrigo Fonseca

NWEN 243. Networked Applications. Layer 4 TCP and UDP

ECE697AA Lecture 3. Today s lecture

Network Management & Monitoring Network Delay

Data Communication & Computer Networks INFO

Outline Computer Networking. TCP slow start. TCP modeling. TCP details AIMD. Congestion Avoidance. Lecture 18 TCP Performance Peter Steenkiste

Impact of transmission errors on TCP performance. Outline. Random Errors

Problem Statement. Physical and Data Link Layer Overview. Five Tasks Encoding. Make two computers talk to each other

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

Transport Layer (TCP/UDP)

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

CSCI-1680 Link Layer I Rodrigo Fonseca

Internetwork. recursive definition point-to-point and multi-access: internetwork. composition of one or more internetworks

Network Protocols. Transmission Control Protocol (TCP) TDC375 Autumn 2009/10 John Kristoff DePaul University 1

1999, Scott F. Midkiff

Outline: Connecting Many Computers

CSE 461: Framing, Error Detection and Correction

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

ICS 451: Today's plan. Sliding Window Reliable Transmission Acknowledgements Windows and Bandwidth-Delay Product Retransmission Timers Connections

The Transmission Control Protocol (TCP)

UNIT IV -- TRANSPORT LAYER

Mobile Transport Layer Lesson 10 Timeout Freezing, Selective Retransmission, Transaction Oriented TCP and Explicit Notification Methods

Computer Communication Networks Midterm Review

TRANSMISSION CONTROL PROTOCOL

CSMC 417. Computer Networks Prof. Ashok K Agrawala Ashok Agrawala Set 4. September 09 CMSC417 Set 4 1

Improving Reliable Transport and Handoff Performance in Cellular Wireless Networks

CSE/EE 461. Sliding Windows and ARQ. Last Time. This Time. We finished up the Network layer Internetworks (IP) Routing (DV/RIP, LS/OSPF)

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

Transport Protocols & TCP TCP

Problem 7. Problem 8. Problem 9

CS 356: Introduction to Computer Networks. Lecture 16: Transmission Control Protocol (TCP) Chap. 5.2, 6.3. Xiaowei Yang

Flow Control, and Congestion Control

Reliable Transport I: Concepts and TCP Protocol

Housekeeping. Fall /5 CptS/EE 555 1

Exercises TCP/IP Networking With Solutions

Overview. Performance metrics - Section 1.5 Direct link networks Hardware building blocks - Section 2.1 Encoding - Section 2.2 Framing - Section 2.

TRANSMISSION CONTROL PROTOCOL

Peer-to-Peer Protocols and Data Link Layer. Chapter 5 from Communication Networks Leon-Gracia and Widjaja

Congestion Control in TCP

Reliable Transport I: Concepts and TCP Protocol

COMPUTER NETWORKS - Window protocols

COMPUTER NETWORKS - Window protocols

Transmission Control Protocol. ITS 413 Internet Technologies and Applications

CHAPTER 3 EFFECTIVE ADMISSION CONTROL MECHANISM IN WIRELESS MESH NETWORKS

No book chapter for this topic! Slides are posted online as usual Homework: Will be posted online Due 12/6

Analysis of TCP Latency over Wireless Links Supporting FEC/ARQ-SR for Error Recovery

ITTC Introduction to Communication Networks The University of Kansas EECS 563 End-to-End Transport

Announcements. No book chapter for this topic! Slides are posted online as usual Homework: Will be posted online Due 12/6

Lecture - 14 Transport Layer IV (Reliability)

CS419: Computer Networks. Lecture 10, Part 3: Apr 13, 2005 Transport: TCP performance

Does current Internet Transport work over Wireless? Reviewing the status of IETF work in this area

Question 1 (6 points) Compare circuit-switching and packet-switching networks based on the following criteria:

Chapter 3. The Data Link Layer. Wesam A. Hatamleh

Flow Control, and Congestion Control

Transport Layer. Application / Transport Interface. Transport Layer Services. Transport Layer Connections

Lecture 4: CRC & Reliable Transmission. Lecture 4 Overview. Checksum review. CRC toward a better EDC. Reliable Transmission

Transcription:

Direct Link Communication I: Basic Techniques Link speed unit: bps abstraction Data Transmission ignore carrier frequency, coding etc. Point-to-point link: wired or wireless includes broadcast case

Interested in completion time: time elapsed between sending/receiving first bit Single bit: L/SOL (lower bound) latency (or propagation delay) optical fiber, wireless: exact Multiple, say S, bits: L/SOL + S/B latency + transmission time Latency vs. transmission time: which dominates? a lot to send, a little to send,... satellite, Zigbee, WLAN, broadband WAN

Multi-hop link (generalize 2-hop case): Case 1: B 1 = B 2 2(L/SOL + S/B) +ε ε: processing overhead at intermediate node minor detail: impact of packetization Case 2: B 1 <B 2 Case 3: B 1 >B 2 without memory, i.e., buffer: information loss loss rate = 1 (B 2 /B 1 ) at full throttle how much buffer space required for no loss?

Reliable Transmission Principal methodology: ARQ (Automatic Repeat request) use retransmission used in both wired/wireless function duplication link layer, transport layer, etc. alternative: FEC not assured hybrid schemes

Three components: timer acknowledgment (ACK) retransmit timer ACK

Stop-and-Wait Assumption: Frame is lost due to corruption; discarded by NIC after error detection. timeout ACK timeout ACK time time timeout ACK timeout ACK ACK ACK time time

Issue of RTT (Round-Trip Time) & timer management: what is proper value of timer? RTT estimation easier for single link RTT is more well-behaved more difficult for multi-hop path in internetwork latency + queueing effect

Another key problem: not keeping the pipe full. delay-bandwidth product volume of travelling on the link High throughput: want to keep the pipe full Stop-and-wait throughput (bps): RTT frame size (bits) throughput = frame size / RTT

Ex.: Link BW 1.5 Mbps, 45 ms RTT delay-bandwidth product: 1.5 Mbps 45 ms = 67.5 kb 8kB if frame size 1 kb, then throughput: 1024 8/0.045 = 182 kbps utilization: only 182 kbps/1500 kbps = 0.121 Solution: increase frame size brute increase of frame size can be problematic bully problem existing LAN frame standards (legacy compatible) send blocks of, i.e., sequence of frames

Sliding Window Protocol Issues: send window/block of Shield application process from reliability management chore exported semantics: continuous byte stream simple app abstraction: e.g., read system call Both sender and receiver have limited buffer capacity efficiency: space-bounded computation task: plug holes & flush Sender Dropped 1 2 Receiver 1 2 3 4 5 3 4 5

Simple solution when receiver has infinite buffer capacity: sender keeps sending at maximum speed receiver informs sender of holes i.e., negative ACK sender retransmits missing frames sender s buffer capacity? need for positive ACK? With finite buffer: issue of bookkeeping Flow control & congestion control: sending too much is counterproductive regulate sending rate

Set-up: Sender: SWS LAR LFS Receiver: RWS NFE LFA SWS: Sender Window Size (sender buffer size) RWS : Receiver Window Size (receiver buffer size) LAR: Last ACK Received LFS: Last Frame Sent NFE: Next Frame Expected LFA: Last Frame Acceptable

Assign sequence numbers to frames. IDs Maintain invariants: LFA NFE+1 RWS LFS LAR + 1 SWS Sender: Receive ACK with sequence number X Forwind LAR to X Flush buffer up to (but not including) LAR Send up to SWS (LFS LAR + 1) frames Update LFS

Receiver: Receive packet with sequence number Y Forwind to (new) first hole & update NFE NFE need not be Y +1 Send cumulative ACK (i.e., NFE) Flush buffer up to (but not including) NFE to application Update LFA NFE + RWS 1

ACK variants: piggyback negative ACKs selective ACKs Sequence number wrap-around problem: SWS < (MaxSeqNum + 1)/2. note: stop-and-wait is special binary case