9-Jan-164/598N: Computer Networks Overview Performance metrics - Section 1.5 Direct link networks –Hardware building blocks - Section 2.1 –Encoding - Section.

Slides:



Advertisements
Similar presentations
CPSC 441 TUTORIAL – APRIL 2, 2012 TA: RUITING ZHOU TRANSMISSION MEDIA.
Advertisements

CSCI-1680 Physical Layer Link Layer I Based partly on lecture notes by David Mazières, Phil Levis, John Jannotti Rodrigo Fonseca.
1 Chapter 2 Agenda Announcements / updates Gayle Laakman McDowell, 10/11, 4:30pm, UW2-005 GUIs / IDEs for remotely accessing uw1-320-lab Other references.
Lecture 3, 1Spring 2003, COM1337/3501CCN: Direct Link Networks Direct Link Networks Textbook: Computer Networks: A Systems Approach, L. Peterson, B. Davie,
Spring 2000CS 4611 Introduction Outline Statistical Multiplexing Inter-Process Communication Network Architecture Performance Metrics.
Fundamentals of Computer Networks ECE 478/578
CSCI 4550/8556 Computer Networks Comer, Chapter 12: Long Distance Digital Connection Technologies.
Spring 2002CS 4611 Outline Encoding Framing Error Detection Sliding Window Algorithm Point-to-Point Links.
CIS 527 Computer Networks Introduction Professor Jinhua Guo (updated version) Fall 2003.
Foundation Outline Requirements Network Architecture Implementing Network Software.
Fundamentals of Computer Networks ECE 478/578 Lecture #3: Encoding and Framing Instructor: Loukas Lazos Dept of Electrical and Computer Engineering University.
1 Outline Encoding Framing Error Detection Sliding Window Algorithm Point-to-Point Links.
1 Hardware Building Blocks Five Issues –Encoding –Framing –Error Detection –Reliable delivery –Access Mediation Direct Link Networks.
1/20 Introduction Outline Statistical Multiplexing Inter-Process Communication Network Architecture Performance Metrics Implementation Issues.
Spring 2004 EE4272 Direct Link Networks (I) Hardware Building Blocks (nodes & links) 5 Issues before Exchanging Packets  Encoding  Framing  Error Detection.
Spring 2003CS 4611 Outline Encoding Framing Error Detection Sliding Window Algorithm Point-to-Point Links.
CS 164: Slide Set 3: Chapter 2 Direct Link Networks.
Framing and Encoding EECS 122: Lecture 26 Department of Electrical Engineering and Computer Sciences University of California Berkeley.
Lecture 1, 1Spring 2003, COM1337/3501Computer Communication Networks Rajmohan Rajaraman COM1337/3501 Textbook: Computer Networks: A Systems Approach, L.
CompSci 356: Computer Network Architectures Lecture 4: Link layer: Encoding, Framing, and Error Detection Xiaowei Yang
Fall 2009COSC 6501 Welcome to COSC650 Towson University Yanggon Kim.
Review: The application layer. –Network Applications see the network as the abstract provided by the transport layer: Logical full mesh among network end-points.
ICOM 6115©Manuel Rodriguez-Martinez ICOM 6115 – Computer Networks and the WWW Manuel Rodriguez-Martinez, Ph.D. Lecture 8.
CS 640: Introduction to Computer Networks Aditya Akella Lecture 5 - Encoding and Data Link Basics.
EE 122: Encoding And Framing Ion Stoica September 9, 2002.
CSCI-1680 Physical Layer Based partly on lecture notes by David Mazières, Phil Levis, John Jannotti Rodrigo Fonseca.
CSE331: Introduction to Networks and Security Lecture 3 Fall 2002.
CSS CSS432 Point-to-Point Links Textbook Ch2.1.2 – 2.5 Professor: Munehiro Fukuda.
02 – Performance Basics 1CS Computer Networks.
CHAPTER 2 HARDWARE BUILDING BLOCK ENCODING FRAMING ERROR DETECTION.
Advanced Computer Networks Chapter 2: Direct Link Networks.
Lecture 6: Framing and Error Detection-Data Link Layer Functions
27-Oct-15Computer Networks1 Outline Chapter 2: Direct Link Networks Encoding Framing Error Detection Sliding Window Algorithm Point-to-Point Links.
CSE 461: Bits and Bandwidth Next Topic  Focus: How do we send a message across a wire?  The physical / link layers: 1. Different kinds of media 2.
ICOM 6115©Manuel Rodriguez-Martinez ICOM 6115 – Computer Networks and the WWW Manuel Rodriguez-Martinez, Ph.D. Lecture 7.
Fall 2000Datacom 11 Outline Hardware Building Blocks Encoding Framing Error Detection Sliding Window Algorithm Point-to-Point Links.
Hardware Building Blocks and Encoding COM211 Communications and Networks CDA College Theodoros Christophides
Fall 2001CS 6401 Introduction to Networking Outline Networking History Statistical Multiplexing Performance Metrics.
Spring 2002CS 4611 Introduction Outline Statistical Multiplexing Inter-Process Communication Network Architecture Performance Metrics Implementation Issues.
1 CHAPTER 2 HARDWARE BUILDING BLOCK ENCODING FRAMING ERROR DETECTION.
Link Layer Dr. Mozafar Bag-Mohammadi Ilam University.
CSCI-1680 Physical Layer Based partly on lecture notes by David Mazières, Phil Levis, John Jannotti Rodrigo Fonseca.
Computer Networks Lecture 2: Data Link Based on slides from D. Choffnes Northeastern U. and P. Gill from StonyBrook University Revised Autumn 2015 by S.
Spring 2001CS 5851 Outline Building Blocks Shannon’s Theorem Encoding 11. Physical Layer.
Physical Layer Issues and Methods Outline Physical Layer Overview Non-Return to Zero Manchester 4B/5B.
Wireless and Mobile Networks (ELEC6219) Session 3: Theories of Data Communications. Data Link Layer. Adriana Wilde and Jeff Reeve 22 January 2015.
Point-to-Point Links: Framing
T. S. Eugene Ngeugeneng at cs.rice.edu Rice University1 COMP/ELEC 429 Introduction to Computer Networks Lecture 6: Datalink layer problems Slides used.
Physical Layer Issues and Methods Outline Physical Layer Ethernet Technology Physical Layer Encoding Final Exam Review - ??
1 Chapter 2: Direct Link Networks (Part One) Dr. Rocky K. C. Chang 30 January 2004.
1 Hardware Building Blocks Five Issues –Encoding –Framing –Error Detection –Reliable delivery –Access Media Direct Link Networks.
1 Point-to-Point Links: Encoding Encoding: Section 2.2 (Section 2.1 read on your own)
1 Ram Dantu University of North Texas, Practical Networking.
Performance Metrics Outline Bandwidth Latency Bandwidth-delay product.
Performance Metrics & Network Architectures Professor Jinhua Guo CIS 427 Winter 2003.
CSE331: Introduction to Networks and Security Lecture 2 Fall 2002.
Lect-10-2: Physical Layer Computer Networks : An Introduction to Computer Networks Handout #12: Physical Layer Signaling, Coding and Clocking.
Getting Connected (Chapter 2 Part 1)
Data Link Networks Hardware Building Blocks Nodes & Links CS380
CSCI-1680 Physical Layer Link Layer I
2. Getting connected (part 1)
Point-to-Point Links Outline Encoding Framing Error Detection
Ion Stoica September 6, 2001 EE 122: Lecture 4 Ion Stoica September 6, 2001.
Request for comment (RFC) (started in 1969)
University of Houston Datacom II Lecture 1B Review Dr Fred L Zellner
Fundamentals of Computer Networks
Hardware Building Blocks
Dr. Mozafar Bag-Mohammadi Ilam University
Home work project #1 Develop and fully debug your program on the Cushing 208 lab. Machines - planet lab machines may not have good development environment.
EECS 122: EE122: Error Detection and Reliable Transmission
Presentation transcript:

9-Jan-164/598N: Computer Networks Overview Performance metrics - Section 1.5 Direct link networks –Hardware building blocks - Section 2.1 –Encoding - Section 2.2 –Framing - Section 2.3

9-Jan-164/598N: Computer Networks 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

9-Jan-164/598N: Computer Networks 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

9-Jan-164/598N: Computer Networks 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

9-Jan-164/598N: Computer Networks 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

9-Jan-164/598N: Computer Networks 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): Mbps –DS3 (or T3): Mbps (for example, ND has 2 DS3 links now) –STS-1 (OC1): Mbps –STS-12: Mbps …

9-Jan-164/598N: Computer Networks Last Mile Plain Old Telephone Service (POTS): –28.8 Kbps to 56 Kbps ISDN Cellular - GPRS xDSL Mbps to Mbps Cable (40 Mbps down, 20 Mbps up) – Shared –wish we can get that much huh? Canopy wireless (canopy.nd.edu)

9-Jan-164/598N: Computer Networks 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)

9-Jan-164/598N: Computer Networks Encoding

9-Jan-164/598N: Computer Networks 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

9-Jan-164/598N: Computer Networks 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

9-Jan-164/598N: Computer Networks Encodings (cont) Bits NRZ Clock Manchester NRZI

9-Jan-164/598N: Computer Networks Framing

9-Jan-164/598N: Computer Networks Framing Break sequence of bits into a frame Typically implemented by network adaptor Frames Bits Adaptor Node B Node A

9-Jan-164/598N: Computer Networks Approaches Sentinel-based –delineate frame with special pattern: –e.g., HDLC (ISO), SDLC (IBM), PPP (dialup) –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 HeaderBody CRC Beginning sequence Ending sequence

9-Jan-164/598N: Computer Networks Approaches (cont) Counter-based –include payload length in header –e.g., DDCMP (DECNET) –problem: count field itself corrupted –solution: catch when CRC fails SYN HeaderBody SYN Class CRCCount

9-Jan-164/598N: Computer Networks Approaches (cont) Clock-based –each frame is 125µs long –e.g., SONET: Synchronous Optical Network –STS-n (STS-1 = Mbps) Overhead Payload 90 columns 9 rows STS H d r STS H d r STS H d r STS-3c Hdr Three STS-1 frames multiplexed onto one STS-3c