ENGS 116 Lecture 191 Interconnection Networks Vincent H. Berk November 14, 2005 Reading for Friday: 8.1-8.7 Reading for Monday: 8.8-8.13.

Slides:



Advertisements
Similar presentations
Computer Networks Ethernet I Professor Hui Zhang
Advertisements

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.
CS 61C L40 I/O Networks (1) Garcia, Spring 2004 © UCB Lecturer PSOE Dan Garcia inst.eecs.berkeley.edu/~cs61c CS61C : Machine.
Introduction to Networking V.T. Raja, PhD James R. Coakley, PhD BA 572 – Advanced Information Systems.
Shalini Bhavanam. Key words: Basic Definitions Classification of Networks Types of networks Network Topologies Network Models.
1 Chapter 9 Computer Networks. 2 Chapter Topics OSI network layers Network Topology Media access control Addressing and routing Network hardware Network.
Department of Computer Engineering University of California at Santa Cruz Networking Systems (1) Hai Tao.
Telecommunications Chapter 5 Chapter 5 Telecommunications
Internetworking Fundamentals (Lecture #4) Andres Rengifo Copyright 2008.
Networking Theory (Part 1). Introduction Overview of the basic concepts of networking Also discusses essential topics of networking theory.
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.
BA 471 – Telecommunications and Networking Dr. V.T. Raja Oregon State University
CS430 Computer Architecture 1 CS430 Computer Architecture --Networks-- William J. Taffe using the slides of David Patterson.
ENGS 116 Lecture 191 Interconnection Networks Vincent H. Berk November 24, 2008 Reading for today: Sections 6.1 – 6.4 Reading for Monday: Sections 6.5.
1 Lecture 24: Interconnection Networks Topics: communication latency, centralized and decentralized switches (Sections 8.1 – 8.5)
04/26/2004CSCI 315 Operating Systems Design1 Computer Networks.
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.
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.
1 25\10\2010 Unit-V Connecting LANs Unit – 5 Connecting DevicesConnecting Devices Backbone NetworksBackbone Networks Virtual LANsVirtual LANs.
COMPUTER NETWORKS.
CS61C L36 I/O : Networks (1) Garcia © UCB Senior Lecturer SOE Dan Garcia inst.eecs.berkeley.edu/~cs61c CS61C : Machine Structures.
Chapter 6 High-Speed LANs Chapter 6 High-Speed LANs.
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.
1 Next Few Classes Networking basics Protection & Security.
CPS 356: Introduction to Computer Networks Lecture 7: Switching technologies Ch 2.8.2, 3.1, 3.4 Xiaowei Yang
DEVICES AND COMMUNICATION BUSES FOR DEVICES NETWORK
Overview of computer communication and Networking Communication VS transmission Computer Network Types of networks Network Needs Standards.
1 CHAPTER 8 TELECOMMUNICATIONSANDNETWORKS. 2 TELECOMMUNICATIONS Telecommunications: Communication of all types of information, including digital data,
Networks. Common Xmit Media Shared Media Networks are a shared communication resource Only one user can access at a time.
CENG 490/510 Network Programming Russell Deaton Rm
Sem1 - Module 8 Ethernet Switching. Shared media environments Shared media environment: –Occurs when multiple hosts have access to the same medium. –For.
Interconnection Networks Alvin R. Lebeck CPS 220.
Chapter2 Networking Fundamentals
Lecture (Mar 23, 2000) H/W Assignment 3 posted on Web –Due Tuesday March 28, 2000 Review of Data packets LANS WANS.
Network Technologies Definitions –Network: physical connection that allows two computers to communicate –Packet: a unit of transfer »A sequence of bits.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Connecting Devices CORPORATE INSTITUTE OF SCIENCE & TECHNOLOGY, BHOPAL Department of Electronics and.
Lecture 22 Interconnection Networks Computer Architecture COE 501.
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.
Networks and Distributed Systems Sarah Diesburg Operating Systems COP 4610.
Introduction Computer networks: – definition – computer networks from the perspectives of users and designers – Evaluation criteria – Some concepts: –
Spring EE 437 Lillevik 437s06-l22 University of Portland School of Engineering Advanced Computer Architecture Lecture 22 Distributed computer Interconnection.
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.
COMP8330/7330/7336 Advanced Parallel and Distributed Computing Tree-Based Networks Cache Coherence Dr. Xiao Qin Auburn University
Contents Computer Network Benefits of Computer Network
Shuffle Exchange Point-to-point, Bus, Ring, Star, Mesh
Ken Gunnells, Ph.D. - Networking Paul Crigler - Programming
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.
Getting Connected (Chapter 2 Part 3)
Overview of Data Communications and Networking
February 9, 2001 Prof. David A. Patterson Computer Science 252
Protocol layering and data
Networks Networking has become ubiquitous (cf. WWW)
CS 6290 Many-core & Interconnect
A simple network connecting two machines
CpE 242 Computer Architecture and Engineering Interconnection Networks
Protocol layering and data
CDA-5155 Computer Architecture Principles Fall 2000
Networking What are the basic concepts of networking? Three classes
Presentation transcript:

ENGS 116 Lecture 191 Interconnection Networks Vincent H. Berk November 14, 2005 Reading for Friday: Reading for Monday:

ENGS 116 Lecture 192 Project Reports Due by Beginning of class next Monday, November 24 Content –Introduction and description of the topic –Coverage of topic: breadth/depth, appropriate background information –Analysis and discussion –References: correct citations, proper form Writing –Spelling –Grammar –Style and presentation Assume that the reader is familiar with basic architecture concepts Must use appropriate citations. Argument all your decisions. all source code to

ENGS 116 Lecture 193 Project Presentations 15 minutes – absolutely no more – Practice your timing! All group members talk 24 th (4) of November, 1 st (4) of December Present: –research question –approach –results –conclusions EVERYONE ATTENDS these presentations

ENGS 116 Lecture 194 Networks Common topics of conversation: –direct (point-to-point) vs. indirect (multi-hop) –topology (e.g., bus, ring, directed acyclic graph, star) –routing algorithms –switching (aka multiplexing) –wiring (e.g., choice of media, copper, coax, fiber) What really matters: –latency –bandwidth –cost –reliability

ENGS 116 Lecture 195 ABCs of Networks Starting point: Send bits between 2 computers Queue on each end Can send both ways (“Full Duplex”) Rules for communication? “protocol” –Inside a computer: Loads/Stores: Request (Address) & Response (Data) Need request & response signaling –Name for standard group of bits sent: packet

ENGS 116 Lecture 196 A Simple Example What is the format of a packet? (Protocol) –Fixed? Number of bytes? Request/ Response Address/Data 1 bit 32 bits 0: Please send data from address 1: Packet contains data corresponding to request

ENGS 116 Lecture 197 Questions About Simple Example What if more than 2 computers want to communicate? –Need computer address field (destination) in packet What if packet is garbled in transit? –Add error detection field in packet (e.g., CRC) What if packet is lost? –More elaborate protocols to detect loss (e.g., NAK, ARQ, time outs) What if multiple processes per machine? –Queue per process Questions such as these lead to more complex protocols and packet formats

ENGS 116 Lecture 198 A Simple Example Revisited What is the format of a packet? –Fixed? Number of bytes? Request/ Response Address/Data 2 bits32 bits 00: Request—Please send data from address 01: Reply—Packet contains data corresponding to request 10: Acknowledge request 11: Acknowledge reply 4 bits CRC

ENGS 116 Lecture 199 Additional Background Connection of 2 or more networks: Internetworking 3 cultures for 3 classes of networks –SAN: server (storage) networks, performance –LAN: workstations, cost –WAN: telecommunications, long range Cost Performance (BW, latency) Reliability

ENGS 116 Lecture 1910 Interconnections (Networks) Examples: –SAN networks (infiniband): 100s nodes; ≤ 100 meters per link –Local Area Networks (Ethernet): 100s nodes; ≤ 1000 meters –Wide Area Network (ATM): 1000s nodes; ≤ 5,000,000 meters Interconnect SW Interface HW Interface Node Link SW Interface HW Interface Node Link SW Interface HW Interface Node Link SW Interface HW Interface Node Link...

ENGS 116 Lecture 1911 Software 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 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 Sequence of steps for SW: protocol –Example similar to UDP/IP protocol in UNIX

ENGS 116 Lecture 1912 Network Performance Measures SW Interface HW Interface Node Link Bandwidth Overhead Link SW Interface HW Interface Node Link Bandwidth Overhead Link Bisection Bandwidth Interconnect Latency...

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

ENGS 116 Lecture 1914 Simplified Latency Model Total Latency ≈ Overhead + Message Size / BW Overhead = Sender Overhead + Time of Flight + Receiver Overhead Example: show what happens as we vary the following –Overhead: 1, 25, 500 µsec –BW: 10, 100, 1000 Mbit/sec (factors of 10) –Message Size: 16 Bytes to 4 MB (factors of 4) If overhead is 500 µsec, how big a message is needed to get > 10 Mb/s of bandwidth?

ENGS 116 Lecture Message Size (bytes) Effective Bandwidth (Mbits/sec) o1, bw10 o1, bw100 o1, bw1000 o25, bw10 o25, bw100 o25, bw1000 o500, bw10 o500, bw100 o500, bw1000 o1, bw1000 o500, bw1000 o25, bw1000 o500, bw100 o500, bw10 bw1000 bw100 bw10 o1, bw100 Overhead, Bandwidth, Size

ENGS 116 Lecture 1916 Measurement: Sizes of Message for NFS 95% messages, 30% bytes for packets ≤ 200 bytes > 50% data transferred in packets = 8KB Packet size Cumulative % 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100% Msgs Bytes Why?

ENGS 116 Lecture 1917 HW Interface Issues 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 L2 $ Memory Bus MemoryBus Adaptor I/O bus I/O Controller I/O Controller Network ideal: high bandwidth, low latency, standard interface Network

ENGS 116 Lecture 1918 SW Interface Issues How to connect network to software? –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)

ENGS 116 Lecture 1919 CM-5 Software Interface CM-5 example (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 As rate of messages arriving changes, use polling or interrupt? –Solution: Always enable interrupts, have interrupt routine poll until no messages pending –Low arrival rate  interrupt –High arrival rate  polling message interarrival (µsecs) message overhead (µsecs) Polling Interrupts Time between messages Overhead

ENGS 116 Lecture 1920 Network Media Copper, 1mm thick, twisted to avoid antenna effect (telephone) Used by cable companies: high BW, good noise immunity 3 parts are cable, light source, light detector. Twisted Pair: Coaxial Cable: Copper core Insulator Braided outer conductor Plastic Covering Fiber Optics Transmitter – L.E.D – Laser Diode Receiver – Photodiode light source Silica Total internal reflection Air

ENGS 116 Lecture 1921 Connecting Multiple Computers Shared Media vs. Switched: pairs communicate at same time, “point-to-point” connections Aggregate BW in switched network is many times that of shared –point-to-point faster since no arbitration, simpler interface Arbitration in shared network? –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 (a.k.a. data switching interchanges, multistage interconnection networks, interface message processors) Switch Node Switched Media (CM-5, ATM) Node Shared Media (Ethernet)

ENGS 116 Lecture 1922 Switch Topology Structure of the interconnect Determines –Degree: number of links from a node –Diameter: max number of links crossed between nodes –Average distance: number of hops to random destination –Bisection: minimum number of links that separate the network into two halves (worst case) Warning: these three-dimensional drawings must be mapped onto chips and boards which are essentially two-dimensional media –Elegant when sketched on the blackboard may look awkward when constructed from chips, cables, boards, and boxes (largely 2D)

ENGS 116 Lecture 1923 Figure 8.15 A ring network topology. A Simple Example

ENGS 116 Lecture 1924 Examples of Static Interconnection Network Topologies c) Star a) Bus b) Linear array e) Tree f) Near-neighbor mesh d) Ring g) Completely connected h) 3–cube (hypercube)

ENGS 116 Lecture 1925 Figure 8.16: Network topologies that have appeared in commercial MPPs.

ENGS 116 Lecture 1926 Important Topologies N = 1024 TypeDegreeDiameterAvg DistBisectionDiamAvg D 1D mesh≤ 2N-1N/31 2D mesh≤ 42(N 1/2 - 1)2N 1/2 / 3N 1/ D mesh≤ 63(N 1/3 - 1)3N 1/3 / 3N 2/3 ~ 30~ 10 Ring2N / 2N/42 2D torus4N 1/2 N 1/2 / 22N 1/ Hypercubenn = LogNn/2N/2 105

ENGS 116 Lecture 1927 Figure 8.14 A fat-tree topology for 16 nodes

ENGS 116 Lecture 1928 Figure 8.13 Popular switch topologies for eight nodes.

ENGS 116 Lecture 1929 Examples of dynamic interconnection network topologies = processor= switch a) Crossbar switch b) 8  8 Baseline