CDA-5155 Computer Architecture Principles Fall 2000

Slides:



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

Computer Networking (Appendix C) Objectives
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.
Department of Computer Engineering University of California at Santa Cruz Networking Systems (1) Hai Tao.
Ethernet Kenneth Castelino. Network Architecture - Protocols Physical: Actual signal transmission Data-Link: Framing / Error Detection Network: Routing.
Telecommunications Chapter 5 Chapter 5 Telecommunications
Internetworking Fundamentals (Lecture #4) Andres Rengifo Copyright 2008.
Communication Links Communication Link = Physical connection or Physical Medium Types: Wire Pair or Twisted Pair Coaxial Cable Fiber Optics Bandwidth,
Two Network Types Defined by DISTANCE LAN WAN. NETWORKS LAN LOCAL AREA NETWORK.
CS430 Computer Architecture 1 CS430 Computer Architecture --Networks-- William J. Taffe using the slides of David Patterson.
TDC 461 Basic Communications Systems Local Area Networks 29 May, 2001.
1 Lecture 24: Interconnection Networks Topics: communication latency, centralized and decentralized switches (Sections 8.1 – 8.5)
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.
EE 4272Spring, 2003 Chapter 14 LAN Systems Ethernet (CSMA/CD)  ALOHA  Slotted ALOHA  CSMA  CSMA/CD Token Ring /FDDI Fiber Channel  Fiber Channel Protocol.
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.
CS61C L36 I/O : Networks (1) Garcia © UCB Senior Lecturer SOE Dan Garcia inst.eecs.berkeley.edu/~cs61c CS61C : Machine Structures.
TC 361 Data Networking Test Review
Chapter 2 The Infrastructure. Copyright © 2003, Addison Wesley Understand the structure & elements As a business student, it is important that you understand.
Cs 152 nets.1 ©DAP & SIK 1995 CpE 242 Computer Architecture and Engineering Interconnection Networks.
20 LAN Hardware Overview Version A.01 H3065S Module 2 Slides.
Local Area Network By Bhupendra Ratha, Lecturer
Network Technologies Chapter 2. Approaches to Network Communication Connection-Oriented –Circuit-switched –A dedicated connection (circuit) is formed.
Cluster Computers. Introduction Cluster computing –Standard PCs or workstations connected by a fast network –Good price/performance ratio –Exploit existing.
Lecture (Mar 23, 2000) H/W Assignment 3 posted on Web –Due Tuesday March 28, 2000 Review of Data packets LANS WANS.
Computer Networking Dinesh Kumar Ram PGT Comp.Sc. KV NAD Aluva.
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.
CS10 L17 Internet II (1) Garcia © UCB Senior Lecturer SOE Dan Garcia cs10.berkeley.edu CS10 : Beauty and Joy of Computing.
Lecture 24: Networks — Introduction Professor Randy H. Katz.
Cluster Computers. Introduction Cluster computing –Standard PCs or workstations connected by a fast network –Good price/performance ratio –Exploit existing.
1 Concepts of Computer Communications. 2 What is a Computer network? Interconnected Collection of Computers for exchange of data.
SIMS-201 Computer Networks.
Intro to MIS – MGS351 Network Basics
Local Area Networks Honolulu Community College
Operating Systems (CS 340 D)
Computer Networks and Internet
LAN Risanuri Hidayat.
NETWORKING TECHNOLOGIES
CS 286 Computer Organization and Architecture
CT1303 LAN Rehab AlFallaj.
Chapter 4: Network Access
Computer Networks and Internet
Ken Gunnells, Ph.D. - Networking Paul Crigler - Programming
Network Basics Extended Learning Module E
Computer Networks.
أ.كمال عيد كلية المعلمين حائل
Intro To Computer Networks
CS61C Anatomy of I/O Devices: Networks Lecture 14
Example#1 Suppose you have a 25 magnetic tapes, each containing 40GB. Assuming that you have enough tape readers to keep any network busy. How long it.
Data Link Issues Relates to Lab 2.
Ethernet First network to provide CSMA/CD
February 9, 2001 Prof. David A. Patterson Computer Science 252
Computer Networks.
Practical Issues for Commercial Networks
Protocol layering and data
Network Topologies & Standards
Computer Network Overview
Networks Networking has become ubiquitous (cf. WWW)
Chapter 4: Data Communication and Networks
Chapter 1 Introduction Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1.#
A simple network connecting two machines
CpE 242 Computer Architecture and Engineering Interconnection Networks
SIMS-201 Computer Networks.
Local Area Networks School of Business Eastern Illinois University
Networking.
Protocol layering and data
Networking What are the basic concepts of networking? Three classes
Cluster Computers.
Presentation transcript:

CDA-5155 Computer Architecture Principles Fall 2000 Interconnection Networks

Review I/O gap Storage I/O performance measures Processor interface issues A Little queuing theory I/O benchmarks Redundant arrays of inexpensive disks (RAID) UNIX file systems Storage architectures

Overview Architectural implications of networks Performance issues HW & SW overhead Interconnect latency, bisection BW Media Cost, distance Shared vs. Switched Media determines BW HW and SW Interface to computer Overhead, latency, bandwidth Connecting multiple computers

I/O to Other Computers Processor Cache Memory - I/O Bus Main I/O I/O interrupts Processor Cache Memory - I/O Bus Main I/O I/O I/O Memory Controller Controller Controller Graphics Disk Disk Network IDEAL: high bandwidth low latency

Networks Collection of computers as one big computer Technical issues Direct (point-to-point) vs. broadcast Topology (e.g., bus, ring, tree) Standards and protocols Internetworking, Routing algorithms, Switching Wiring (e.g., media: copper, coax, fiber) Performance issues: Latency Bandwidth Cost Reliability

Examples of Major Networks

Types of Interconnects MPP networks (SP2): 100s nodes; 25 meters Local Area Networks (Ethernet): 100s nodes; 1 Km Wide Area Network (ATM): 1000s nodes; 5,000 Km

XAN’s SAN - system area network (MPP network) LAN - local area network Connects (100’s – 1000’s) homogeneous nodes Physical extent is small – (much) less than 25m Main focus is high bandwidth and low latency Supported by MPP industry - very model specific LAN - local area network General connectivity, 100’s of heterogeneous hosts Physical extent: a few kilometers Performance is typically mundane Supported by workstation industry - open system model WAN - wide area network General connectivity, 1000’s of heterogeneous nodes High bandwidth but latency is usually horrible Physical extent: 1000’s of kilometers Supported by the telecom industry - open system model

A Simple Network Remote memory read (load/store) Send bits between 2 computers Queue (FIFO) on each end, Full duplex Protocol (rules for communication) Packet format 0/1 Payload (32 bits) Request/Response Address / Data

Communication Complexity More than 2 computers want to communicate Need computer address fields in packet, routing Transmission errors Add error detection field in packet (e.g., CRC) Packet loss NAK, time outs Multiple processes/machine Queue per process to provide protection Different capacities Flow control algorithms => More complex protocols and packet formats

Send and Receive Protocols Send protocol Application calls OS to send data OS copies data to OS buffer OS calculates checksum, starts timer OS sends data to network interface HW and says start Receive protocol 3. OS copies data from NIC to OS buffer 2. OS calculates checksum, if matches send ACK; if not, deletes message (sender resends when timer expires) 1. If OK, OS copies data to user address space and signals application to continue

Network Latency vs. Node Overhead

Network Performance Metrics Sender Overhead Transmission time (size ÷ bandwidth) Sender (processor busy) Time of Flight Transmission time (size ÷ bandwidth) Receiver Overhead Receiver (processor busy) Transport Latency Total Latency Total Latency = Sender Overhead + Time of Flight + Message Size ÷ BW + Receiver Overhead Includes header/trailer in BW calculation?

Example Interconnect MPP LAN WAN Example CM-5 Ethernet ATM Bisection BW N*5MB/s 1.125 MB/s N*10 MB/s Int./Link BW 20 MB/s 1.125 MB/s 10 MB/s Transport 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/MAN Software overhead dominates in LAN/WAN

Latency Example Parameters 230 usec sender overhead, 270 usec receive overhead 10 Mbit bandwidth (assume no contention) 1000 byte message (fits in a single packet) Ignore size of trailer and header transmissivity = .5 (very good optical fiber or coax) No repeater delay (not realistic for the 1000 km case) Latency0.1km = 230 + 0.1km / (0.5 * 299,792.5) + 1000*8/10 + 270 = 230 + 0.67+ 800 + 270 = 1301 µsec Latency1000km = 230 + 1000 km / (0.5*299,792.5)+ 1000*8/10+ 270 = 230 + 6671+ 800 + 270 = 7971 µsec Long time of flight => complex WAN protocol

Overhead, Bandwidth, Size

NFS Message Sizes 95% Msgs, 30% bytes for packets < 200 bytes 100% 90% 80% Msgs 70% 60% Bytes 50% Cumulative % 40% 30% 20% 10% Packet size 0% 1024 2048 3072 4096 5120 6144 7168 8192 95% Msgs, 30% bytes for packets < 200 bytes >50% data transferred in packets = 8KB

Overhead and Delivered BW 1000.00 1 100.00 10 Delivered BW (MB/sec) 10.00 100 1000 1.00 0.10 MinTime 1 10 100 1000 one-way Peak BW (MB/sec) µsecs BW model: Time = overhead + msg size/peak BW >50% data transferred in packets = 8K

Hardware Interface Where to connect network to computer? Cache consistent to avoid flushes? (=> memory bus) Latency and bandwidth? (=> memory bus) Standard interface card? (=> I/O bus) MPP => memory bus; LAN, WAN => I/O bus CPU Network Network $ IDEAL: High bandwidth Low latency Standard interface I/O Controller I/O Controller L2 $ Memory Bus I/O bus Memory Bus Adaptor

Software Interface How to connect network to software? Things to avoid Programmed I/O: low latency DMA: best for large messages Receiver interrupted or received polls? Things to avoid Invoking operating system in common case Operating at uncached memory speed (e.g., check status of network interface) Copying overhead

CM-5 Software Interface CM-5 (MPP) Time per poll 1.6 µsecs; time per interrupt 19 µsecs Minimum time to handle message: 0.5 µsecs Enable/disable 4.9/3.8 µsecs Polling or interrupt? Solution: Always enable interrupts, have interrupt routine poll until no messages pending Low rate => interrupt High rate => polling Overhead (µsecs) 100 90 80 70 60 Polling 50 40 30 Interrupts 20 10 10 20 30 40 50 60 70 80 90 100 message interarrival time (µsecs)

Network Media Copper, 1mm think, twisted to avoid Twisted Pair: Copper, 1mm think, twisted to avoid antenna effect (telephone) Air (RF): Coaxial Cable: Used by cable companies: high BW, good noise immunity Plastic Covering Braided outer conductor Insulator Copper core Light: 3 parts are cable, light source, light detector. Multimode light disperse (LED), Single mode single wave (laser) Fiber Optics Total internal Transmitter Air reflection Receiver – L.E.D – Photodiode – Laser Diode light source Silica

Connecting Multiple Computers Shared Media vs. Switched: “point-to-point” connections Aggregate BW in switched network is many times shared point-to-point faster since no arbitration, simpler interface Arbitration in Shared networks Central arbiter for LAN? Listen to check if being used (“Carrier Sensing”) Listen to check if collision (“Collision Detection”) Random resend to avoid repeated collisions; not fair arbitration; OK if low utilization