Networks. Randal E. Bryant CS347 Lecture 24 April 16, 1997

Similar documents
CMSC 611: Advanced. Interconnection Networks

Lecture 4b. Local Area Networks and Bridges

Computer Networks. Medium Access Sublayer (Part I)

Computer and Network Security

Chapter 8 LAN Topologies

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

Lecture 9: Bridging. CSE 123: Computer Networks Alex C. Snoeren

CS 640 Lecture 4: 09/11/2014

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

Lecture 15: Networks & Interconnect Interface, Switches, Routing, Examples Professor David A. Patterson Computer Science 252 Fall 1996

Computer Networks Medium Access Control. Mostafa Salehi Fall 2008

Networking Technologies and Applications

Data Link Layer, Part 5. Medium Access Control

CSE 461: Multiple Access Networks. This Lecture

Lecture 28: Networks & Interconnect Architectural Issues Professor Randy H. Katz Computer Science 252 Spring 1996

Direct Link Communication II: Wired Media. Multi-Access Communication

Introductory to Computer Networks Local Area Networks. Lecture 16 Fall Isfahan University of technology Dr.

Objectives. Hexadecimal Numbering and Addressing. Ethernet / IEEE LAN Technology. Ethernet

Contention Protocols and Networks

Housekeeping. Fall /5 CptS/EE 555 1

LAN. CS 4/55231 Internet Engineering. Kent State University Dept. of Computer Science

ELEC / COMP 177 Fall Some slides from Kurose and Ross, Computer Networking, 5 th Edition

Raj Jain. The Ohio State University Columbus, OH

Review 1/2 Operating System started as shared I/O library. CS61C Anatomy of I/O Devices: Networks. Lecture 14

Summary of MAC protocols

CS61C : Machine Structures

Data Link Layer, Part 3 Medium Access Control. Preface

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

Outline: Connecting Many Computers

LAN Protocols. Required reading: Forouzan 13.1 to 13.5 Garcia 6.7, 6.8. CSE 3213, Fall 2015 Instructor: N. Vlajic

CS61C : Machine Structures

M242 COMPUTER NETWORS AND SECURITY

INTRODUCTION DATA COMMUNICATION TELECOMMUNICATIONS SYSTEM COMPONENTS 1/28/2015. Satish Chandra satish0402.weebly.com

High Level View. EE 122: Ethernet and Random Access protocols. Medium Access Protocols

Reminder: Datalink Functions Computer Networking. Datalink Architectures

Goal and Outline. Computer Networking. What Do We Need? Today s Story Lecture 3: Packet Switched Networks Peter Steenkiste

Chapter 3. Underlying Technology. TCP/IP Protocol Suite 1 Copyright The McGraw-Hill Companies, Inc. Permission required for reproduction or display.

Link Layer and Ethernet

Lecture 3: Modulation & Layering"

EE 122: Ethernet and

Link Layer and Ethernet

Direct Link Communication II: Wired Media. Multi-Access Communication

CS61C : Machine Structures

Links. CS125 - mylinks 1 1/22/14

Lecture 6 Datalink Framing, Switching. From Signals to Packets

Getting Connected (Chapter 2 Part 4) Networking CS 3470, Section 1 Sarah Diesburg

Ethernet. Lecture 6. Outline. Ethernet - Physical Properties. Ethernet - Physical Properties. Ethernet

CS 416: Operating Systems Design April 11, 2011

Ethernet Basics. based on Chapter 4 of CompTIA Network+ Exam Guide, 4 th ed., Mike Meyers

1: Review Of Semester Provide an overview of encapsulation.

Lecture 6. Reminder: Homework 2, Programming Project 2 due on Thursday. Questions? Tuesday, September 13 CS 475 Networks - Lecture 6 1

COMPONENTS OF DATA COMMUNICATION

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

Chapter 15 Computer and Multimedia Networks

Medium Access Protocols

Packet Switching Techniques

Lecture 6: Example LAN: Ethernet

Distributed Video Systems Chapter 4 Network Technologies

Lecture 6 The Data Link Layer. Antonio Cianfrani DIET Department Networking Group netlab.uniroma1.it

Computer Networks

CSCI-1680 Link Layer Wrap-Up Rodrigo Fonseca

CSCI-1680 Link Layer Wrap-Up Rodrigo Fonseca

Data Communication. Introduction of Communication. Data Communication. Elements of Data Communication (Communication Model)

Networks 15.2 Multiplexing Technologies Access Networks 15.5 Common Peripheral Interfaces

CS 43: Computer Networks Switches and LANs. Kevin Webb Swarthmore College December 5, 2017

Cisco Cisco Certified Network Associate (CCNA)

Chapter 4: The Medium Access Layer

ECE 4450:427/527 - Computer Networks Spring 2017

Typical Network Uses

Ethernet Technologies

Objectives. Learn how computers are connected. Become familiar with different types of transmission media

Principles behind data link layer services

Part 5: Link Layer Technologies. CSE 3461: Introduction to Computer Networking Reading: Chapter 5, Kurose and Ross

Overview of Networks

Medium Access Control Sublayer

Medium Access Control

CS155b: E-Commerce. Lecture 3: Jan 16, How Does the Internet Work? Acknowledgements: S. Bradner and R. Wang

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

CSCI-1680 Link Layer Wrap-Up Rodrigo Fonseca

Introduction. High Speed LANs. Emergence of High-Speed LANs. Characteristics of High Speed LANS. Text ch. 6, High-Speed Networks and

PSD2A Computer Networks. Unit : I-V

Multimedia Systems. Networks WS 2009/2010

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

CS 123: Lecture 12, LANs, and Ethernet. George Varghese. October 24, 2006

COS 140: Foundations of Computer Science

Goals. Fundamentals of Network Media. More topics. Topics. Multiple access communication. Multiple access solutions

Cell Switching (ATM) Commonly transmitted over SONET other physical layers possible. Variable vs Fixed-Length Packets

Data and Computer Communications

COS 140: Foundations of Computer Science

Chapter 4. The Medium Access Control Sublayer. Points and Questions to Consider. Multiple Access Protocols. The Channel Allocation Problem.

A LAN is a high-speed data network that covers a relatively small geographic area. It typically connects workstations, personal computers, printers,

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

Local Area Networks. Aloha Slotted Aloha CSMA (non-persistent, 1-persistent, p-persistent) CSMA/CD Ethernet Token Ring

The TCP/IP Architecture Jean Yves Le Boudec 2014

Switching and Forwarding - continued

Switching and Forwarding - continued

The TCP/IP Architecture Jean Yves Le Boudec 2014

Master Course Computer Networks IN2097

Special expressions, phrases, abbreviations and terms of Computer Networks

Zarządzanie sieciami telekomunikacyjnymi

Transcription:

Networks Randal E. Bryant CS347 Lecture 24 April 16, 1997 Topics Overview Telephone system Ethernet ATM

Computer system Keyboard Mouse Modem Printer Processor and L1 cache Interrupt controller Keyboard controller Serial port controller Parallel port controller Local/IO Bus Memory IDE disk controller SCSI controller Video adaptor Network adaptor disk Disk SCSI bus Display Network disk Disk disk cdrom 2

Simple example Starting Point: Want to send bits between 2 computers FIFO queue on each end Can send both ways ( full duplex ) Rules for communication ( protocol ) Name for standard group of bits sent: packet Simple request/response protocol and packet format: 0/1 data/address 0: please send the data word at address 1: here is the data word you asked for. 3

Questions about simple example What if more than 2 computers want to communicate? Need computer address field in packet? How do multiple machines share the interconnect? multiple paths? arbitration? congestion control? What if a packet is garbled in transit? Add error detection field in packet? What if a packet is lost? More elaborate protocols to detect loss? What if multiple processes/machine? one queue per process? separate field in packet to identify process? Questions such as these lead to more complex interconnects, protocols and packet formats 4

Generic network node (host) node (host) node (host) protocol stack s/w interface h/w interface s/w interface h/w interface s/w interface h/w interface link link link Interconnect Warning: You are entering a buzzword-rich environment! 5

Protocol stacks Telnet, FTP, HTTP, email application application TCP/UDP transport Subnet transport Reliable, efficient end user service IP network network network network Routing Flow control Congestion CSMA/CD data link data link data link data link Framing, Error recovery, media access 10Base-T physical physical physical physical Xmit raw bits Host A Host B 6

Basic network types System area network (SAN) same room (meters) 150 MB/s Cray T3D Local area network (LAN) same bldg or campus (kilometers) 10 Mb/sEthernet 100 Mb/s Ethernet 100 Mb/s FDDI 150 Mb/s OC-3 ATM 622 Mb/s OC-12 ATM Metropolitan area network (MAN) same city (10 s of kilometers) 800 Mb/s Gigabit Nectar Wide area network (WAN) nationwide or worldwide (1000 s of kilometers) telephone system 1.544 Mb/s T1 carrier 44.736 Mb/s T3 carrier 7

Transmission media twisted pair: (1-2 Mb/s at 1 km) fiber: (1-2 Gb/s at 1 km) 2 insulated copper wires light source silica coaxial cable: (1-2 Gb/s at 1 km) plastic cover insulator stiff copper wire braided outer conductor station wagon full of mag tapes hurtling down the highway: (15 Gb/s at 1 hour) 7 GBytes/tape 1000 tapes/station wagon (50x50x50cm) 7,000 GBytes total 7,000 GBytes/3600 minutes = 15 Gb/s $5/tape reused 10 times -> $500 tape cost $200 for shipping ->10 cents /GByte 8

Shared vs switched media Shared media (e.g., Ethernet) Switched media (e.g., ATM) a b c d a c input ports output ports a b c d b switch d a b c d a c a b c d b switch d 9

Network performance measures 10

Example performance measures Interconnect SAN LAN WAN Example CM-5 Ethernet ATM Bisection BW N x 5MB/s 1.125 MB/s N x 10 MB/s Int./Link BW 20 MB/s 1.125 MB/s 10 MB/s Latency 5 µsec 15 µsec 50 to 10,000 µs HW Overhead to/from 0.5/0.5 µs 6/6 µs 6/6 µs SW Overhead to/from 1.6/12.4 µs 200/241 µs 207/360 µs (TCP/IP on LAN/WAN) 11

Importance of Overhead (+ Latency) Ethernet / SS10: 9 Mb/s BW, 900 µsecs ovhd ATM Synoptics: 78 Mb/s BW, 1,250 µsecs ovhd. NFS trace over 1 week: 95% msgs < 200 bytes 10,000 8,000 9325 secs 7129 secs Time (sec) 6,000 4,000 2,000 Transmission Overhead 0 Ethernet ATM Link bandwidth is as misleading as MIPS 12

AT&T Telephone Hierarchy 2 3 4 5 1 10 10 regional offices (fully interconnected) 6 7 8 9 1 2 3 65 66 67 67 sectional offices 1 2 3 228 229 230 230 primary offices 1 2 3 1298 1299 1300 1,300 toll offices local loops 13 200 million telephones local loops 19,000 end offices

Computer-to-computer calls V.34 modem 28.8 Kb/s analog local loop codec 1.544 Mb/s (T1 carrier) digital digital codec 28.8 Kb/s analog local loop V.34 modem digital (short cable or bus) 33 MB/s local office toll office local office digital (short cable or bus) 33 MB/s home computer home computer 14

Modulating digital signals 0 1 0 1 1 0 0 1 0 0 1 0 binary signaling sine wave carrier (1kHz-2kHz) amplitude modulation phase modulation 00 : no shift 01: 1/4 shift left 10: 1/2 shift left 11: 3/4 shift left (shifts are relative to previous wave) 15

Quadrature amplitude modulation (QAM) Modern modems use a combination of of amplitude and phase modulation to encode multiple bits per symbol, i.e. amplitude/phase pair. phase angle is 1/4 1/8 3 bits/symbol QAM modulation (8 symbols) 4 bits/symbol QAM modulation (16 symbols) 16

Conventional Modems MOdulate: convert from digital to analog DEModulate: convert from analog to digital modem standards: type symbols/sec bits/symbol Kb/s v.32 2400 4 9.6 v.32.bis 2400 6 14.4 v.34 3200 9 28.8 Theoretical limit for modulated signals is approx 35 Kb/s: Shannon's law: max bits/s = H log2(1 +S/N), where H is bdwdth and S/N is signal to noise ratio. For phone network, H~3,600 and S/N is 30 db. Thus max rate is ~35 Kb/s. 17

T1 carrier (1.544 Mb/s) Digital part of phone system based on the T1 carrier: 193 bit frame (125 us, 8000 samples/s, 8 bits/sample/channel) channel 1 channel 2 channel 3 channel 24 bit 1 is a framing code 8 data bits per channel Each channel has a data rate of 8000 samples/s * 8 bits/channel = 64 Kb/s 18

V.90 modem receiver ADC 56KB Modems Analog Samples: 92 or 128 levels 8000 samples/second DAC 1.544 Mb/s (T1 carrier) digital digital Interface home computer Binary Signal: 56,000 bits/second local office toll office digital (short cable or bus) 33 MB/s Service Provider (SP) Asymmetric: home to SP uses conventional v.34 modem SP has digital connection into phone system Channel sending 8000 samples / second, up to 8-bits/sample DAC encodes each sample with 92 or 128 voltage levels Not enough precision on analog side to handle finer resolution Receiver converts samples back to digital values Must match frequency & phase of senders DAC Establish using training signals from sender 19

Ethernet History 1976- proposed by Metcalfe and Boggs at Xerox PARC 1978 - standardized by Xerox, Intel, DEC Bandwidth 10 Mbits/sec (old), 100 Mbits/sec (new) Key features broadcast over shared bus (the ether) no centralized bus arbiter each adapter sees all bits each adapter has a unique (for all time!) 48-bit address variable length frames (packets) (64-1518 bytes) 20

Ethernet cabling controller 50 m transceiver (carrier and collision detection) transceiver & controller transceiver & controller hub 10Base5 ( thick ethernet ) 10Base2 ( thin ethernet ) 10Base-T name cable max segment nodes/segment advantages 10Base5 thick coax 500 m 100 good for backbones 10base2 thin coax 200 m 30 cheapest 10Base-T twisted pair 100 m 1024 easy maintenance 10Base-F fiber 2000 m 1024 best between bldgs 21

Ethernet frame format 64-1518 bytes Preamble Dest addr Src addr Frame type Payload CRC 64 bits 48 bits 48 bits 16 bits 368-12000 bits 32 bits Preamble: 101010101 (synch) dest and src addr: unique ethernet addresses payload: data CRC: cyclic redundancy check (error detection) 22

Ethernet bus arbitration 10 Mbit/s centralized bus with no centralized control. Arbitration scheme: Carrier sense multiple access with collision detection (CSMA/CD): Listen. If nobody is talking, go ahead and talk. If you hear someone else talking, yell SORRY and try again later Frame Frame Frame Frame Contention Interval Binary exponential backoff: idle Contention Slot 2τ = worst-case round trip time = 512 bit times = 51.2 µ s after 1st collision, wait 0 or 1 slots, at random. after 2nd collision, wait 0, 1, 2, 3 slots at random. etc up to 1023 slots. after 16 collisions, exception. 23

Why the 64 byte minimum packet size? Assume propogation delay from A to B is tau. A A sends to B at time 0 B Conclusions: Senders must take more than 2*tau seconds to send their packets. A packet almost at B at time tau-eps B For ethernet, tau is specified by IEEE 803.3 (2500 m cable w/ 4 repeaters) to be 51.2 usecs, which at 10 Mb/s is 512 bit times, or 64 bytes. Rough estimate: propogation through copper is about 20 cm/ns. With a 2500 m cable, tau is 12.5 us and 2*tau is 25 us. A B sends at time tau: collision B As speeds increase there are two possibilities: 1. increase packet sizes 2. decrease maximum cable length A Noise burst gets back to A at time 2*tau B Neither is particularly appealing. 24

Ethernet pros and cons Pros: simple robust cheap ($50/adapter in 1998) Cons: no quality of service guarantees OK for data not OK for real-time bit streams like video or voice fixed bit rate not keeping up with faster processors workstation can produce data at 10-50 MBytes/sec prone to congestion processors getting faster bridged Ethernets can help some 25

Asynchronous transfer mode (ATM) History 1988- proposed by international ATM forum telecomunications and computer vendors Goal: mechanism for integrated transport of bit streams with different performance and reliability requirements (quality of service) video: 1.5 Mbits/sec, latency and variance sensitive, some bit loss OK voice: 64 Kbits/sec, latency and variance sensitive, some bit loss OK data: high data rates, latency and variance insensitive, bit loss not OK 26

ATM overview (cont) Bandwidths OC-1: 51.84 Mbits/sec OC-3: 155.52 Mbits/sec (current LAN rate) OC-12: 622.08 Mbits/sec (current LAN rate) OC-24: 1244.16 (Gigabit network) Key features: virtual connections (VC s) allow bandwidth reservation fixed cell (frame) size of 53 bytes simplifies high-speed switching small cell size allows fine-grained allocation of network bandwidth 27

ATM cell format 53 bytes (fixed) Generic flow ctl VCI/ VPI Payload type Priority Header checksum Payload 4 bits 24 bits 2 bits 2 bits 8 bits 48 bytes VCI: virtual connection (channel, circuit) identifier VPI: virtual path identifier payload: data 28

ATM cell routing input link routing table output port output link routing table Switch input link output link output port vci/vpi ' p copied to output port p input ATM cell 29 vci/vpi Input port routing table output ATM cell vci/vpi '

ATM pros and cons Pros: bandwidth can be reserved (connections) scalable aggragate bandwidth (wide range of supported bit rates) support for network traffic with different quality of service requirements (small, fixed, easily multiplexed cells) potential for high speed switching (small fixed-size cells) Cons: maximum user bandwidth still limited by link bandwidth connections make broadcast and multicast more difficult quality of service is still a research issue 30