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

Similar documents
Housekeeping. Fall /5 CptS/EE 555 1

Direct Link Networks. Nodes. Links. Outline Building Blocks Encoding

Data Link Networks. Hardware Building Blocks. Nodes & Links. CS565 Data Link Networks 1

CompSci 356: Computer Network Architectures. Lecture 4: Link layer: Encoding, Framing, and Error Detection Ref. Chap 2.2, 2.3,2.4

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

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

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

Direct Link Networks. Lecture - Encoding & Framing 1. Areas for Discussion. Problems

CSCI-1680 Physical Layer Link Layer I Rodrigo Fonseca

ECE 4450:427/527 - Computer Networks Spring 2017

Direct Link Networks: Building Blocks (2.1), Encoding (2.2), Framing (2.3)

Links. CS125 - mylinks 1 1/22/14

Direct Link Networks. Framing. Lecture - Encoding & Framing 1. Problems. Areas for Discussion

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

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

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

Lecture 3: Modulation & Layering"

Data Link Layer Overview

CSCI 466 Midterm Networks Fall 2011

Data Link Layer Overview

CSCI-1680 Link Layer I Rodrigo Fonseca

Data Link Layer Overview

Data Link Layer Overview

CS 640 Lecture 4: 09/11/2014

COMPUTER NETWORKS UNIT I. 1. What are the three criteria necessary for an effective and efficient networks?

CS455: Introduction to Distributed Systems [Spring 2018] Dept. Of Computer Science, Colorado State University

Chapter 2: Getting Connected

Chapter 8 OSI Physical Layer

CSCI 466 Midterm Networks Fall 2011

L2: Bandwidth and Latency. Hui Chen, Ph.D. Dept. of Engineering & Computer Science Virginia State University Petersburg, VA 23806

Links Reading: Chapter 2. Goals of Todayʼs Lecture. Message, Segment, Packet, and Frame

From Signals to Packets Computer Networking. Link Layer: Implementation. Datalink Functions. Lecture 5 - Coding and Error Control

CSIS Frequency Division Multiplexing. Basic Types of Multiplexing. Frequency Division Multiplexing. Frequency Division Multiplexing.

From Signals to Packets Computer Networking. Link Layer: Implementation. Network Delay. 06-datalink.ppt, , Fall

Data Link Layer. Indian Institute of Technology Madras

Computer Networking. Lecture 4 - Coding and Error Control

Data Communication & Computer Networks INFO

Introductions. Computer Networking Lecture 01. January 16, HKU SPACE Community College. HKU SPACE CC CN Lecture 01 1/36

COMP/ELEC 429/556 Introduction to Computer Networks

Medium Access Control

Computer and Network Security

CS 428/528 Computer Networks Lecture 01. Yan Wang

Message, Segment, Packet, and Frame Link-layer services Encoding, framing, error detection, transmission control Error correction and flow control

Networking Link Layer

end systems, access networks, links circuit switching, packet switching, network structure

Data Link Layer. Overview. Links. Shivkumar Kalyanaraman

CSE 123A Computer Networks

Link Layer (L2) Review

Goals of Today s Lecture. Adaptors Communicating

Multiplexing (Recap)

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

CIS 551 / TCOM 401 Computer and Network Security. Spring 2007 Lecture 7

Outline. A Professional Company in Software-Defined Networking (SDN) Copyright , EstiNet Technologies Inc. All Rights Reserved..

Introduction to Computer Networks. 03 Data Link Layer Introduction

The data transmission mode describes the direction of data flow. It is either simplex, half duplex or full duplex.

1/29/2008. From Signals to Packets. Lecture 6 Datalink Framing, Switching. Datalink Functions. Datalink Lectures. Character and Bit Stuffing.

Data Link Layer (1) Networked Systems 3 Lecture 6

Computer Networks and Internet

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

CS422 Computer Networks

end systems, access networks, links circuit switching, packet switching, network structure

Introduction to Network Technologies & Layered Architecture BUPT/QMUL

Networks Overview. Dr. Yingwu Zhu

Topics Today. Lecture 8: Physical and Link Layers. Protocol Layering. Physical layer: chips versus bits. Physical Layer (Layer 1) Protocol Layering

Lecture 6 Datalink Framing, Switching. From Signals to Packets

Some portions courtesy Robin Kravets and Steve Lumetta

Announcements. TAs office hours: Mohamed Grissa: Mohamed Alkalbani:

Solution of Exercise Sheet 2. (Layers of Reference Models)

Lecture 4. Data Transmission Modes and Switching. Data Transmission & Switching 1-1

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

CSMC 417. Computer Networks Prof. Ashok K Agrawala Ashok Agrawala. Nov 1,

Telematics. 5th Tutorial - LLC vs. MAC, HDLC, Flow Control, E2E-Arguments

ITP 140 Mobile Applications Technologies. Networks

Data and Computer Communications

Solution of Exercise Sheet 1

Data Link Control Protocols

COMPUTER NETWORKS CS CS 55201

Packet? No. SenseCarrier. Discard packet attempts < 16. attempts == 16

Chapter 1. Computer Networks and the Internet

COMPUTER NETWORKS CS CS 55201

ITP 140 Mobile Applications Technologies. Networks

A Whirlwind Introduction to the Internet. A Whirlwind Introduction to the Internet Overview

TYPES OF COMPUTER NETWORKS

DCN Questions CHAPTER 1:- NETWORKING FUNDAMENTALS

CSE 123: Computer Networks

Telematics. 5rd Tutorial - LLC vs. MAC, HDLC, Flow Control, E2E-Arguments

Synchronous Optical Networks SONET. Computer Networks: SONET

Integrated t Services Digital it Network (ISDN) Digital Subscriber Line (DSL) Cable modems Hybrid Fiber Coax (HFC)

Physical Layer V What does the physical layer provide?

Introduction to Information Technology Turban, Rainer and Potter John Wiley & Sons, Inc. Copyright 2005

Internetworking Concepts Overview. 2000, Cisco Systems, Inc. 2-1

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

Networks. Computer Technology

Today. Last Time. Motivation. CAN Bus. More about CAN. What is CAN?

Lecture 2: Links and Signaling

A Whirlwind Introduction to the Internet. A Whirlwind Introduction to the Internet Overview

Communication Networks

CS 457 Networking and the Internet. Link Layer Protocols. Problems 8/31/16. Fall 2016 Indrajit Ray

Reminder: Datalink Functions Computer Networking. Datalink Architectures

15-441: Computer Networks Homework 1

Transcription:

Overview Performance metrics - Section 1.5 Direct link networks Hardware building blocks - Section 2.1 Encoding - Section 2.2 Framing - Section 2.3 Performance Metrics Bandwidth Amount of data that can be transmitted per time unit Throughput Measured performance of the system link versus end-to-end measurement Notation - Mbps = 10 6 bits per second Performance metrics Latency (delay) time to send message from point A to point B one-way versus round-trip time (RTT) components Latency = Propagation + Transmit + Queue Propagation = Distance / c; c - speed of light Transmit = Size / Bandwidth 1

Bandwidth versus Latency For interactive performance, is it better to login through a 1 Gbps satellite link or 56 kbps dialup link? For ssh ing to darwin.cc.nd.edu, is DSL better than dialup? Relative importance 1-byte: 1ms vs 100ms dominates 1Mbps vs 100Mbps 25MB: 1Mbps vs 100Mbps dominates 1ms vs 100ms Infinite bandwidth RTT dominates Throughput = TransferSize / TransferTime TransferTime = RTT + 1/Bandwidth x TransferSize 1-MB file to 1-Gbps link as 1-KB packet to 1-Mbps link Delay x Bandwidth Product Amount of data in flight or in the pipe Example: 100ms x 45Mbps = 560KB Affects how much data should be put on the wire Delay Bandwidth Direct Link Networks Hosts are directly connected by some medium Twisted pair: telephone cable, Ethernet (Category 5: Cat5) Coaxial pair: TV Optical Fiber Wireless: Infrared, Radio, Microwave Common bandwidth designators: DS1 (or T1): 1.544 Mbps DS3 (or T3): 44.736 Mbps (for example, ND has 2 DS3 links now) STS-1 (OC1): 51.840 Mbps STS-12: 622.080 Mbps 2

Last Mile Plain Old Telephone Service (POTS): 28.8 Kbps to 56 Kbps ISDN Cellular - GPRS xdsl 1.544 Mbps to 8.448 Mbps Cable (40 Mbps down, 20 Mbps up) Shared wish we can get that much huh? Canopy wireless (canopy.nd.edu) Relevant technologies Encoding - (how are we talking - language) Framing - (how do know the beginning and end of a conversation) Error Reliable transmission (over unreliable links) Encoding 3

Encoding Signals propagate over a physical medium modulate electromagnetic waves e.g., vary voltage Encode binary data onto signals e.g., 0 as low signal and 1 as high signal known as Non-Return to zero (NRZ) Problem: Consecutive 1s or 0s Low signal (0) may be interpreted as no signal High signal (1) leads to baseline wander Unable to recover clock Alternative Encodings Non-return to Zero Inverted (NRZI) make a transition from current signal to encode a one; stay at current signal to encode a zero solves the problem of consecutive ones Manchester transmit XOR of the NRZ encoded data and the clock only 50% efficient 4B/5B every 4 bits of data encoded in a 5-bit code 5-bit codes selected to have no more than one leading 0 and no more than two trailing 0s (thus, never get more than three consecutive 0s) resulting 5-bit codes are transmitted using NRZI achieves 80% efficiency Encodings (cont) Bits 0 0 1 0 1 1 1 1 0 1 0 0 0 0 1 0 NRZ Clock Manchester NRZI 4

Framing Framing Break sequence of bits into a frame Typically implemented by network adaptor Node A Adaptor Bits Adaptor Node B Frames Approaches Sentinel-based delineate frame with special pattern: 01111110 e.g., HDLC (ISO), SDLC (IBM), PPP (dialup) 8 16 16 8 Beginning sequence Header Body CRC Ending sequence problem: what if the special pattern appears in the payload itself? solution: bit stuffing sender: insert 0 after five consecutive 1s receiver: delete 0 that follows five consecutive 1s 5

Approaches (cont) Counter-based include payload length in header e.g., DDCMP (DECNET) SYN 8 8 8 14 42 16 SYN Class Count Header Body CRC problem: count field itself corrupted solution: catch when CRC fails Approaches (cont) Clock-based each frame is 125µs long e.g., SONET: Synchronous Optical Network STS-n (STS-1 = 51.84 Mbps) Overhead Payload r d H STS-1 r d H STS-1 r d H STS -1 9 rows 90 columns Hdr STS-3c Three STS-1 frames multiplexed onto one STS-3c 6