Lect11.ppt - 03/15/05 CDA 6505 Network Architecture and Client/Server Computing Lecture 11 Link-Level Flow and Error Control by Zornitza Genova Prodanoff.

Slides:



Advertisements
Similar presentations
Data Communication and Networks Lecture 5 Link Protocol Performance, Bit Stuffing, Multiplexing October 6, 2005.
Advertisements

William Stallings Data and Computer Communications 7th Edition
Go-Back-N Improve Stop-and-Wait by not waiting!
Data and Computer Communications Updated: 2/9/2009.
Data link control. Data Link Control –Flow Control how much data may sent –Error Control How can error be detected and corrected.
Flow and Error Control. Flow Control Flow control coordinates the amount of data that can be sent before receiving acknowledgement It is one of the most.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Chapter 11 Data Link Control and Protocols.
Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks Data Link Control Slide 1 Data Link Control Chapter 7.
ELEN 602 Lecture 5 Review of last lecture –Error Detection -- parity/CRC etc. Automatic Retransmission Request (ARQ) Reading: Chap
Chapter 7 – Data Link Control Protocols
CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 13 Introduction to Computer Networks.
Chapter 9: Data Link Control Business Data Communications, 4e.
Data Communication and Networks Lecture 4 Data Link Control (Part 2) September 29, 2005.
Link-Level Flow and Error Control
15 - Winter 2006 ECE ECE 766 Computer Interfacing and Protocols 1 Data Link Control Physical layer is only responsible for data transmission Data link.
CS3502: Data and Computer Networks DATA LINK LAYER - 2 WB version.
Data Link Control Protocols
Data Link Control Protocols Dr. Muazzam A. Khan. Flow Control Ensuring the sending entity does not overwhelm the receiving entity —Preventing buffer overflow.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Chapter 11 Data Link Control Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction.
Data Link Layer We have now discussed the prevalent shared channel technologies  Ethernet/IEEE  Wireless LANs (802.11) We have now covered chapters.
Data and Computer Communications Tenth Edition by William Stallings Data and Computer Communications, Tenth Edition by William Stallings, (c) Pearson Education.
Chapter 3 THE DATA LINK LAYER
CSC 311 Chapter Eight FLOW CONTROL TECHNIQUES. CSC 311 Chapter Eight How do we manage the large amount of data on the network? How do we react to a damaged.
Chapter 5 Peer-to-Peer Protocols and Data Link Layer PART I: Peer-to-Peer Protocols ARQ Protocols and Reliable Data Transfer Flow Control.
1 Transport Layer Lecture 10 Imran Ahmed University of Management & Technology.
THE DATA LINK LAYER Chapter 3 1. H YBRID M ODEL The hybrid reference model to be used in this book. 2.
Lecture 3-2: Coding and Error Control (Cont.) ECE
Lect1..ppt - 01/06/05 CDA 6505 Network Architecture and Client/Server Computing Lecture 4 Frame Relay by Zornitza Genova Prodanoff.
Data Link Layer - 2 Dr. Sanjay P. Ahuja, Ph.D. Fidelity National Financial Distinguished Professor of CIS School of Computing, UNF.
Data Link and Flow Control Networks and Protocols Prepared by: TGK First Prepared on: Last Modified on: Quality checked by: Copyright 2009 Asia Pacific.
Computer Networks Lecture 3: Data Link - part II Based on slides from D. Choffnes Northeastern U. and P. Gill from StonyBrook University Revised Autumn.
Eighth Edition by William Stallings Chapter 7 – Data Link Control Protocols Data Link Control Protocols need layer of logic above Physical to manage exchange.
Data Link Layer: Data Link Control : Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D.
Lecture Focus: Data Communications and Networking  Data Link Layer  Data Link Control Lecture 22 CSCS 311.
11.1 Flow and Error Control Flow Control Error Control.
1 FIT1005 Topic 6 - Data Link Layer Reference: Chapter 7 -Stallings.
Data Link Layer Flow and Error Control. Flow Control Flow Control Flow Control Specifies the amount of data can be transmitted by sender before receiving.
CSCI 465 D ata Communications and Networks Lecture 10 Martin van Bommel CSCI 465 Data Communications & Networks 1.
© Janice Regan, CMPT 128, CMPT 371 Data Communications and Networking Principles of reliable data transfer 0.
1 Flow&Error Control R. Supakorn. 2 Flow Control Flow control refers to a set of procedure used to restrict the amount of data that the sender can send.
Telecommunications & Networking Lesson 3. ISO Open System Interconnect (OSI) Application Presentation Session Transport Network Data Link Physical Application.
CSCI 465 D ata Communications and Networks Lecture 11 Martin van Bommel CSCI 465 Data Communications & Networks 1.
Data and Computer Communications Data Link Control Protocols.
1 The Data Link Layer A. S. Tanenbaum Computer Networks W. Stallings Data and Computer Communications Chapter 3.
DATA LINK CONTROL. DATA LINK LAYER RESPONSIBILTIES  FRAMING  ERROR CONTROL  FLOW CONTROL.
Computer Networking Lecture 16 – Reliable Transport.
Chapter 9: Data Link Control Business Data Communications, 4e.
NET 222: COMMUNICATIONS AND NETWORKS FUNDAMENTALS ( NET 222: COMMUNICATIONS AND NETWORKS FUNDAMENTALS (PRACTICAL PART) Tutorial 4 : Chapter 7 Data & computer.
Data and Computer Communications Data Link Control Protocols.
NETWORKING CONCEPTS. STOP AND WAIT FLOW CONTROL simplest form of flow control, After the destination entity receives the frame, it indicates its willingness.
PROTOCOL BASICS. 2 Introduction In chapter 3: Circuits and techniques can be employed to transmit a frame of information between 2 DTEs Error detection.
Powerpoint Templates Data Communication Muhammad Waseem Iqbal Lec # 15.
Class #2 1 Chapter 6 – Logical Link Control (LLC)
1 Wireless Networks Lecture 5 Error Detecting and Correcting Techniques (Part II) Dr. Ghalib A. Shah.
Data Link Control Protocols  need layer of logic above Physical  to manage exchange of data over a link frame synchronization frame synchronization flow.
Computer Communication & Networks
2.10 Flow and Error Control Before that ...
Chapter 9: Data Link Control
Data Link Layer Flow Control.
Part III Datalink Layer 10.
Instructor Mazhar Hussain
CIS 321 Data Communications & Networking
Flow Control.
Rivier College CS575: Advanced LANs Chapter 6: Logical Link Control
Flow and Error Control.
Chapter 5 Peer-to-Peer Protocols and Data Link Layer
CDA 6505 Network Architecture and Client/Server Computing
Chapter 5 Peer-to-Peer Protocols and Data Link Layer
Lecture 4 Peer-to-Peer Protocols and Data Link Layer
Chapter 9: Data Link Control
Presentation transcript:

Lect11.ppt - 03/15/05 CDA 6505 Network Architecture and Client/Server Computing Lecture 11 Link-Level Flow and Error Control by Zornitza Genova Prodanoff

ZGP002 Introduction The need for flow and error control Link control mechanisms Performance of ARQ (Automatic Repeat Request)

ZGP003 Flow Control and Error Control Fundamental mechanisms that determine performance Can be implemented at different levels: link, network, or application Difficult to model performance Simplest case: point-to-point link –Constant propagation –Constant data rate –Probabilistic error rate –Traffic characteristics

ZGP004 Flow Control Limits the amount or rate of data that is sent Reasons: –Source may send PDUs faster than destination can process headers –Higher-level protocol user at destination may be slow in retrieving data –Destination may need to limit incoming flow to match outgoing flow for retransmission

ZGP005 Flow Control at Multiple Protocol Layers X.25 virtual circuits (level 3) multiplexed over a data link using LAPB (X.25 level 2) Multiple TCP connections over HDLC link Flow control at higher level applied to each logical connection independently Flow control at lower level applied to total traffic

Figure 11.1

ZGP007 Flow Control Scope Hop Scope –Between intermediate systems that are directly connected Network interface –Between end system and network Entry-to-exit –Between entry to network and exit from network End-to-end –Between end user systems

Figure 11.2

ZGP009 Error Control Used to recover lost or damaged PDUs Involves error detection and PDU retransmission Implemented together with flow control in a single mechanism Performed at various protocol levels

ZGP0010 Link Control Mechanisms 3 techniques at link level: Stop-and-wait Go-back-N Selective-reject Latter 2 are special cases of sliding-window Assume 2 end systems connected by direct link

ZGP0011 Sequence of Frames Source breaks up message into sequence of frames Buffer size of receiver may be limited Longer transmission are more likely to have an error On a shared medium, avoids one station monopolizing medium

ZGP0012 Stop and Wait Source transmits frame After reception, destination indicates willingness to accept another frame in acknowledgement Source must wait for acknowledgement before sending another frame 2 kinds of errors: –Damaged frame at destination –Damaged acknowledgement at source

ZGP0013 ARQ Automatic Repeat Request Uses: –Error detection –Timers –Acknowledgements –Retransmissions

ZGP0014

ZGP0015 Figure 11.4

ZGP0016 Stop-and-Wait Link Utilization If T prop large relative to T frame then throughput reduced If propagation delay is long relative to transmission time, line is mostly idle Problem is only one frame in transit at a time Stop-and-Wait rarely used because of inefficiency

ZGP0017 Sliding Window Techniques Allow multiple frames to be in transit at the same time Source can send n frames without waiting for acknowledgements Destination can accept n frames Destination acknowledges a frame by sending acknowledgement with sequence number of next frame expected (and implicitly ready for next n frames)

ZGP0018 Figure 11.5

ZGP0019 Figure 11.6

ZGP0020 Go-back-N ARQ Most common form of error control based on sliding window Number of un-acknowledged frames determined by window size Upon receiving a frame in error, destination discards that frame and all subsequent frames until damaged frame received correctly Sender resends frame (and all subsequent frames) either when it receives a Reject message or timer expires

ZGP0021 Figure 11.7

ZGP0022 Figure 11.8

ZGP0023 Error-Free Stop and Wait T = T frame + T prop + T proc + T ack + T prop + T proc T frame = time to transmit frame T prop = propagation time T proc = processing time at station T ack = time to transmit ack Assume T proc and T ack relatively small

ZGP0024 T ≈ T frame + 2T prop Throughput = 1/T = 1/(T frame + 2T prop ) frames/sec Normalize by link data rate: 1/ T frame frames/sec S = 1/(T frame + 2T prop ) = T frame = 1 1/ T frame T frame + 2T prop 1 + 2a where a = T prop / T frame

ZGP0025 Stop-and-Wait ARQ with Errors P = probability a single frame is in error N x = P = average number of times each frame must be transmitted due to errors S = 1 = 1 - P N x (1 + 2a) (1 + 2a)

ZGP0026 The Parameter a a = propagation time = d/V = Rd transmission time L/R VL where d = distance between stations V = velocity of signal propagation L = length of frame in bits R = data rate on link in bits per sec

ZGP0027

ZGP0028 Figure 11.9

ZGP0029 Error-Free Sliding Window ARQ Case 1: W ≥ 2a + 1 Ack for frame 1 reaches A before A has exhausted its window Case 2: W < 2a +1 A exhausts its window at t = W and cannot send additional frames until t = 2a + 1

ZGP0030 Figure 11.10

ZGP0031 Normalized Throughput 1 W ≥ 2a + 1 S = W W < 2a +1 2a + 1

ZGP0032 Selective Reject ARQ 1 - P W ≥ 2a + 1 S = W(1 - P) W < 2a +1 2a + 1

ZGP0033 Go-Back-N ARQ 1 - P W ≥ 2a + 1 S = 1 + 2aP W(1 - P) W < 2a +1 (2a + 1)(1 – P + WP)

Figure 11.11

ZGP0035 Figure 11.12

Figure 11.13

ZGP0037 High-Level Data Link Control HDLC is the most important data link control protocol Widely used which forms basis of other data link control protocols

ZGP0038

ZGP0039 HDLC Operation Initialization Data transfer Disconnect

ZGP0040