CS430 Computer Architecture 1 CS430 Computer Architecture --Networks-- William J. Taffe using the slides of David Patterson.

Slides:



Advertisements
Similar presentations
CS61C L16 Disks © UC Regents 1 CS161 Lecture 25 - Disks Laxmi Bhuyan
Advertisements

CS61C L13 I/O © UC Regents 1 CS 161 Chapter 8 - I/O Lecture 17.
Chapter 7 Data Link Layer
U NIVERSITY OF M ASSACHUSETTS, A MHERST Department of Computer Science Emery Berger University of Massachusetts Amherst Operating Systems CMPSCI 377 Lecture.
CS61C L38 I/O : Networks (1) Garcia © UCB Lecturer PSOE Dan Garcia inst.eecs.berkeley.edu/~cs61c CS61C : Machine Structures.
CS61C L27 I/O & Networks (1) Beamer, Summer 2007 © UCB Scott Beamer, Instructor inst.eecs.berkeley.edu/~cs61c CS61C : Machine Structures Lecture #27 I/O.
CS61C L39 I/O : Networks (1) Garcia, Fall 2004 © UCB Lecturer PSOE Dan Garcia inst.eecs.berkeley.edu/~cs61c CS61C : Machine.
CS61C L36 I/O : Networks (1) Iyengar © UCB TA Sameer “The Yellow Dart” Iyengar inst.eecs/~cs61c-ti inst.eecs.berkeley.edu/~cs61c CS61C : Machine Structures.
ENGS 116 Lecture 191 Interconnection Networks Vincent H. Berk November 14, 2005 Reading for Friday: Reading for Monday:
CS 61C L40 I/O Networks (1) Garcia, Spring 2004 © UCB Lecturer PSOE Dan Garcia inst.eecs.berkeley.edu/~cs61c CS61C : Machine.
CS 61C L26 Disks & Networks (1) A Carle, Summer 2006 © UCB inst.eecs.berkeley.edu/~cs61c/su06 CS61C : Machine Structures Lecture #26: Disks & Networks.
CS61C L15 Networks © UC Regents 1 CS61C - Machine Structures Lecture 15 - Networks October 18, 2000 David Patterson
Introduction to Management Information Systems Chapter 5 Data Communications and Internet Technology HTM 304 Fall 07.
CS61C L36 I/O : Networks (1) Zimmer © UCB TA Brian Zimmer inst.eecs/~cs61c-th inst.eecs.berkeley.edu/~cs61c CS61C : Machine Structures Lecture 36 I/O.
Review on Networking Technologies Linda Wu (CMPT )
CS61C L37 I/O : Networks (1) Kronrod © UCB TA Alex Kronrod inst.eecs/~cs61c-te inst.eecs.berkeley.edu/~cs61c CS61C : Machine Structures Lecture 37 I/O.
 The Open Systems Interconnection model (OSI model) is a product of the Open Systems Interconnection effort at the International Organization for Standardization.
CS61C L36 I/O : Networks (1) Garcia © UCB Senior Lecturer SOE Dan Garcia inst.eecs.berkeley.edu/~cs61c CS61C : Machine Structures.
Laudon & Laudon: Canadian Edition
Chapter 2 The Infrastructure. Copyright © 2003, Addison Wesley Understand the structure & elements As a business student, it is important that you understand.
LECTURE 9 CT1303 LAN. LAN DEVICES Network: Nodes: Service units: PC Interface processing Modules: it doesn’t generate data, but just it process it and.
CE 4228 DATA COMMUNICATIONS AND NETWORKING Introduction.
Lecture 2 TCP/IP Protocol Suite Reference: TCP/IP Protocol Suite, 4 th Edition (chapter 2) 1.
Protocol Layering Chapter 10. Looked at: Architectural foundations of internetworking Architectural foundations of internetworking Forwarding of datagrams.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Network Services Networking for Home and Small Businesses – Chapter.
Module 2: Information Technology Infrastructure
Network Services Networking for Home & Small Business.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Network Services Networking for Home and Small Businesses – Chapter 6.
Mukesh N. Tekwani Elphinstone College Mumbai
Introduction to Networks CS587x Lecture 1 Department of Computer Science Iowa State University.
Network Technologies Chapter 2. Approaches to Network Communication Connection-Oriented –Circuit-switched –A dedicated connection (circuit) is formed.
1 Next Few Classes Networking basics Protection & Security.
The OSI Model.
1 The Internet and Networked Multimedia. 2 Layering  Internet protocols are designed to work in layers, with each layer building on the facilities provided.
1 CHAPTER 8 TELECOMMUNICATIONSANDNETWORKS. 2 TELECOMMUNICATIONS Telecommunications: Communication of all types of information, including digital data,
Internetworking Internet: A network among networks, or a network of networks Allows accommodation of multiple network technologies Universal Service Routers.
ICOM 6115©Manuel Rodriguez-Martinez ICOM 6115 – Computer Networks and the WWW Manuel Rodriguez-Martinez, Ph.D. Lecture 21.
First, by sending smaller individual pieces from source to destination, many different conversations can be interleaved on the network. The process.
William Stallings Data and Computer Communications
Network Technologies Definitions –Network: physical connection that allows two computers to communicate –Packet: a unit of transfer »A sequence of bits.
IT Ess I v.4x Chapter 1 Cisco Discovery Semester 1 Chapter 3 JEOPADY Q&A by SMBender, Template by K. Martin.
S305 – Network Infrastructure Chapter 5 Network and Transport Layers.
Computer Network Overview Ikjun Yeom. 2 What is a computer network? a collection of computing nodes and links connecting the nodes why we need it? –to.
Networks Network Components. Learning Objectives Describe different media for transmitting data and their carrying capabilities. Explain the different.
CS10 L17 Internet II (1) Garcia © UCB Senior Lecturer SOE Dan Garcia cs10.berkeley.edu CS10 : Beauty and Joy of Computing.
Rehab AlFallaj.  Network:  Nodes: Service units: PC Interface processing Modules: it doesn’t generate data, but just it process it and do specific task.
IT 210: Web-based IT Fall 2012 Lecture: Network Basics, OSI, & Internet Architecture.
Networks and the Internet Topic 3. Three Important Networking Technologies Networks, Internet, WWW.
Voice Over Internet Protocol (VoIP) Copyright © 2006 Heathkit Company, Inc. All Rights Reserved Presentation 5 – VoIP and the OSI Model.
Computer Networks and Internet. 2 Objectives Computer Networks Computer Networks Internet Internet.
Dr. ClincyLecture1 Chapter 2 (handout 1– only sections 2.1, 2.2 and 2.3) 1 of 10 Dr. Clincy Professor of CS Exam #3 Monday (3/14/16): Opened Book, No Computer,
Chapter Objectives In this chapter, you will learn:
Chapter 5 Network and Transport Layers
Local Area Networks Honolulu Community College
IT 251 Computer Organization and Architecture
Scaling the Network: The Internet Protocol
IT 251 Computer Organization and Architecture
CHAPTER 2 THE OSI MODEL.
Nicholas Weaver & Vladimir Stojanovic
Computer Networks.
CS61C Anatomy of I/O Devices: Networks Lecture 14
Data Link Issues Relates to Lab 2.
Computer Networks.
Practical Issues for Commercial Networks
Lecture 4 Communication Network Protocols
Scaling the Network: The Internet Protocol
Networking.
CDA-5155 Computer Architecture Principles Fall 2000
OSI Reference Model Unit II
OSI Model 7 Layers 7. Application Layer 6. Presentation Layer
Presentation transcript:

CS430 Computer Architecture 1 CS430 Computer Architecture --Networks-- William J. Taffe using the slides of David Patterson

CS430 Computer Architecture 2 Today’s Outline °Buses °Why Networks? °A Simple Example: Derive Network Basics °Administrivia °Protocol, Ethernet °Internetworking, Protocol Suites, TCP/IP °Conclusion

CS430 Computer Architecture 3 Recall : 5 components of any Computer Processor (active) Computer Control (“brain”) Datapath (“brawn”) Memory (passive) (where programs, data live when running) Devices Input Output Keyboard, Mouse Display, Printer Disk, Network Lectures 1-12Lectures 13-16

CS430 Computer Architecture 4 Connecting to Networks (and Other I/O) °Bus - shared medium of communication that can connect to many devices °Hierarchy of Buses in a PC

CS430 Computer Architecture 5 Buses in a PC: connect a few devices CPU Memory bus Memory SCSI: External I/O bus (1 to 15 disks) SCSI Interface Ethernet Interface Ethernet Local Area Network °Data rates Memory: 133 MHz, 8 bytes  1064 MB/s (peak) PCI: 33 MHz, 8 bytes wide  264 MB/s (peak) SCSI: “Ultra3” (80 MHz), “Wide” (2 bytes)  160 MB/s (peak) Ethernet: 12.5 MB/s (peak) PCI Interface PCI: Internal (Backplane) I/O bus

CS430 Computer Architecture 6 Why Networks? °Originally sharing I/O devices between computers (e.g., printers) °Then Communicating between computers (e.g, file transfer protocol) °Then Communicating between people (e.g., ) °Then Communicating between networks of computers  Internet, WWW

CS430 Computer Architecture 7 How Big is the Network (1999)? Computers in 273 Soda in inst.cs.berkeley.edu in eecs&cs.berkeley.edu in berkeley.edu in.edu in US (.com.net.edu.mil.us.org.us) in the world Source: Internet Software Consortium ~30 ~400 ~4,000 ~50,000 ~5,000,000 ~46,000,000 ~56,000,000

CS430 Computer Architecture 8 Growth Rate Ethernet Bandwidth mb/s mb/s mb/s mb/s "Source: Internet Software Consortium (

CS430 Computer Architecture 9 What makes networks work? °links connecting switches to each other and to computers or devices Computer network interface switch °ability to name the components and to route packets of information - messages - from a source to a destination °Layering, protocols, and encapsulation as means of abstraction

CS430 Computer Architecture 10 Typical Types of Networks °Local Area Network (Ethernet) Inside a building: Up to 1 km (peak) Data Rate: 10 Mbits/sec, 100 Mbits /sec,1000 Mbits/sec (1.25, 12.5, 125 MBytes/s) Run, installed by network administrators °Wide Area Network Across a continent (10km to km) (peak) Data Rate: 1.5 Mbits/sec to 2500 Mbits/sec Run, installed by telephone companies °Wireless Networks,...

CS430 Computer Architecture 11 Network Basics: links °Link made of some physical media wire, fiber, air °with a transmitter (tx) on one end converts digital symbols to analog signals and drives them down the link °and a receiver (rx) on the other captures analog signals and converts them back to digital signals °tx+rx called a transceiver 0110

CS430 Computer Architecture 12 Example: Network Media Copper, 1mm think, twisted to avoid antenna effect Twisted Pair: Used by cable companies: high BW, good noise immunity Coaxial Cable: Copper core Insulator Braided outer conductor Plastic Covering Light: 3 parts are cable, light source, light detector Fiber Optics Transmitter – L.E.D – Laser Diode Receiver – Photodiode light source Silica Total internal reflection Air

CS430 Computer Architecture 13 ABCs of Networks: 2 Computers °Starting Point: Send bits between 2 computers °Queue (First In First Out) on each end °Can send both ways (“Full Duplex”) °Information sent called a “message” Note: Messages also called packets network interface device OS appln OS appln

CS430 Computer Architecture 14 “What’s This Stuff Good For?” In 1974 Vint Cerf co-wrote TCP/IP, the language that allows computers to communicate with one another. His wife of 35 years (Sigrid), hearing-impaired since childhood, began using the Internet in the early 1990s to research cochlear implants, electronic devices that work with the ear's own physiology to enable hearing. Unlike hearing aids, which amplify all sounds equally, cochlear implants allow users to clearly distinguish voices-- even to converse on the phone. Thanks in part to information she gleaned from a chat room called "Beyond Hearing," Sigrid decided to go ahead with the implants in The moment she came out of the operation, she immediately called home from the doctor's office--a phone conversation that Vint still relates with tears in his eyes. One Digital Day, 1998 (

CS430 Computer Architecture 15 A Simple Example: 2 Computers °What is Message Format? Similar idea to Instruction Format Fixed size? Number bits? Header(Trailer): information to deliver message Payload: data in message What can be in the data? anything that you can represent as bits values, chars, commands, addresses... 8 bit 32 x Length bits Data Length

CS430 Computer Architecture 16 Questions About Simple Example °What if more than 2 computers want to communicate? Need computer “address field” in packet to know which computer should receive it (destination), and to which computer it came from for reply (source) 8 bits 32xn bits 8 bits HeaderPayload CMD/ Address /DataNet ID Dest.Source Len

CS430 Computer Architecture 17 ABCs: many computers °switches and routers interpret the header in order to deliver the packet °source encodes and destination decodes content of the payload network interface device OS appln OS appln

CS430 Computer Architecture 18 Questions About Simple Example °What if message is garbled in transit? °Add redundant information that is checked when message arrives to be sure it is OK °8-bit sum of other bytes: called “Check sum”; upon arrival compare check sum to sum of rest of information in message HeaderPayload Checksum Trailer CMD/ Address /Data Net ID Len

CS430 Computer Architecture 19 Questions About Simple Example °What if message never arrives? °Receiver tells sender when it arrives (ack), sender retries if waits too long °Don’t discard message until get “ACK”; (Also, if check sum fails, don’t send ACK) HeaderPayload Checksum Trailer CMD/ Address /Data Net ID Len ACK INFO

CS430 Computer Architecture 20 Observations About Simple Example °Simple questions such as those above lead to more complex procedures to send/receive message and more complex message formats °Protocol: algorithm for properly sending and receiving messages (packets)

CS430 Computer Architecture 21 Ethernet Packet Format PreambleDest AddrSrc Addr Length of Data 2 Bytes DataCheck °Preamble to recognize beginning of packet °Unique Address per Ethernet Network Interface Card so can just plug in & use °Pad ensures minimum packet is 64 bytes Easier to find packet on the wire °Header+ Trailer: 24B + Pad Pad 8 Bytes6 Bytes B0-46B4B

CS430 Computer Architecture 22 Shared vs. Switched Based Networks °Shared Media vs. Switched: pairs communicate at same time: “point- to-point” connections °Aggregate BW in switched network is many times shared point-to-point faster since no arbitration, simpler interface Node Shared Crossbar Switch Node

CS430 Computer Architecture 23 Software Protocol to Send and Receive °SW Send steps 1: Application copies data to OS buffer 2: OS calculates checksum, starts timer 3: OS sends data to network interface HW and says start °SW Receive steps 3: OS copies data from network interface HW to OS buffer 2: OS calculates checksum, if OK, send ACK; if not, delete message (sender resends when timer expires) 1: If OK, OS copies data to user address space, & signals application to continue

CS430 Computer Architecture 24 Protocol for Networks of Networks? °Internetworking: allows computers on independent and incompatible networks to communicate reliably and efficiently; Enabling technologies: SW standards that allow reliable communications without reliable networks Hierarchy of SW layers, giving each layer responsibility for portion of overall communications task, called protocol families or protocol suites °Abstraction to cope with complexity of communication vs. Abstraction for complexity of computation

CS430 Computer Architecture 25 Protocol for Network of Networks °Transmission Control Protocol/Internet Protocol (TCP/IP) This protocol family is the basis of the Internet, a WAN protocol IP makes best effort to deliver TCP guarantees delivery TCP/IP so popular it is used even when communicating locally: even across homogeneous LAN

CS430 Computer Architecture 26 Protocol Family Concept Message TH TH TH TH THTH Actual Physical Logical

CS430 Computer Architecture 27 Protocol Family Concept °Key to protocol families is that communication occurs logically at the same level of the protocol, called peer- to-peer, °but is implemented via services at the next lower level °Encapsulation: carry higher level information within lower level “envelope” °Fragmentation: break packet into multiple smaller packets and reassemble

CS430 Computer Architecture 28 Message TCP/IP packet, Ethernet packet, protocols °Application sends message TCP data TCP Header IP Header IP Data EH Ethernet Hdr °TCP breaks into 64KB segments, adds 20B header °IP adds 20B header, sends to network °If Ethernet, broken into 1500B packets with headers, trailers (24B) °All Headers, trailers have length field, destination,...

CS430 Computer Architecture 29 Routing in the Internet °Individual networks can have own protocols for routing and transmission °Internet = network of networks °Designated nodes called gateways know how to route “up” to the backbone based on ‘destination network” °Core gateways know how to route anywhere in the core. Ethernet ATMFDDI wireless

CS430 Computer Architecture 30 FTP From Stanford to Berkeley (1996) °BARRNet is WAN for Bay Area T3 is 45 Mbit/s leased line (WAN); FDDI is 100 Mbit/s LAN °IP sets up connection, TCP sends file T3 FDDI Ethernet Hennessy Patterson FDDI

CS430 Computer Architecture 31 What to Remember °Protocol suites allow heterogeneous networking Another form of principle of abstraction Protocols  operation in presence of failures Standardization key for LAN, WAN °Integrated circuit revolutionizing network switches as well as processors Switch just a specialized computer °Trend from shared to switched networks to get faster links and scalable bandwidth