Lecture 22 Interconnection Networks Computer Architecture COE 501.

Slides:



Advertisements
Similar presentations
Data Communications and Networking
Advertisements

The Network Layer Functions: Congestion Control
ENGS 116 Lecture 201 Interconnection Networks Cont’d Vincent H. Berk November 16, 2005 Reading for Friday: Reading for Monday: Homework.
Lecture 2 Protocol Layers CPE 401 / 601 Computer Network Systems slides are modified from Dave Hollinger.
1 Lecture 12: Interconnection Networks Topics: dimension/arity, routing, deadlock, flow control.
JR.S00 1 Lecture 25: Networks & Interconnect Networks on a Chip Prepared by: Professor David A. Patterson Professor Bill Dally (Stanford) Edited and presented.
Chapter 8: Local Area Networks: Internetworking. 2 Objectives List the reasons for interconnecting multiple local area network segments and interconnecting.
ENGS 116 Lecture 191 Interconnection Networks Vincent H. Berk November 14, 2005 Reading for Friday: Reading for Monday:
Networks Types. Spring 2002Computer Network Applications Data Transfer During the ’70s: Minicomputers became affordable; Need to communicate information;
1 Chapter 9 Computer Networks. 2 Chapter Topics OSI network layers Network Topology Media access control Addressing and routing Network hardware Network.
Wide Area Networks School of Business Eastern Illinois University © Abdou Illia, Spring 2007 (Week 11, Thursday 3/22/2007)
Networking Theory (Part 1). Introduction Overview of the basic concepts of networking Also discusses essential topics of networking theory.
1 Version 3 Module 8 Ethernet Switching. 2 Version 3 Ethernet Switching Ethernet is a shared media –One node can transmit data at a time More nodes increases.
TDC /502, Summer II Unit 2: Underlying Technologies Transmission media (Section 3.1. Read on your own) Local Area Networks (LANs) –Ethernet.
Chapter 10 Introduction to Wide Area Networks Data Communications and Computer Networks: A Business User’s Approach.
1 Chapter 8 Local Area Networks - Internetworking.
1 Lecture 24: Interconnection Networks Topics: communication latency, centralized and decentralized switches (Sections 8.1 – 8.5)
Data Communications Architecture Models. What is a Protocol? For two entities to communicate successfully, they must “speak the same language”. What is.
1 Chapter 8 Local Area Networks - Internetworking Data Communications and Computer Networks: A Business User’s Approach.
1 Lecture 24: Interconnection Networks Topics: topologies, routing, deadlocks, flow control.
1 Chapter 10 Introduction to Metropolitan Area Networks and Wide Area Networks Data Communications and Computer Networks: A Business User’s Approach.
COMPUTER NETWORKS.
Connecting LANs, Backbone Networks, and Virtual LANs
Switching, routing, and flow control in interconnection networks.
1 Wide Area Network. 2 What is a WAN? A wide area network (WAN ) is a data communications network that covers a relatively broad geographic area and that.
Chapter 6 High-Speed LANs Chapter 6 High-Speed LANs.
Chapter 4: Managing LAN Traffic
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.
Cs 152 nets.1 ©DAP & SIK 1995 CpE 242 Computer Architecture and Engineering Interconnection Networks.
Switched network.
1 Lecture 7: Interconnection Network Part I: Basic Definitions Part II: Message Passing Multicomputers.
Chapter 8 Local Area Networks: Internetworking Data Communications and Computer Networks: A Business User’s Approach.
Network Technologies Chapter 2. Approaches to Network Communication Connection-Oriented –Circuit-switched –A dedicated connection (circuit) is formed.
LAN technologies and network topology LANs and shared media Locality of reference Star, bus and ring topologies Medium access control protocols.
Data Communications & Computer Networks, Second Edition1 Chapter 10 Introduction to Metropolitan Area Networks and Wide Area Networks.
20.1 Chapter 20 Network Layer: Internet Protocol Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
1 The Internet and Networked Multimedia. 2 Layering  Internet protocols are designed to work in layers, with each layer building on the facilities provided.
Module 8: Ethernet Switching
TELE202 Lecture 5 Packet switching in WAN 1 Lecturer Dr Z. Huang Overview ¥Last Lectures »C programming »Source: ¥This Lecture »Packet switching in Wide.
Switching breaks up large collision domains into smaller ones Collision domain is a network segment with two or more devices sharing the same Introduction.
Overview of computer communication and Networking Communication VS transmission Computer Network Types of networks Network Needs Standards.
UNDERSTANDING THE HOST-TO-HOST COMMUNICATIONS MODEL - OSI LAYER & TCP/IP MODEL 1.
Connection-Based vs. Connectionless Telephone: operator sets up connection between the caller and the receiver –Once the connection is established, conversation.
1 CHAPTER 8 TELECOMMUNICATIONSANDNETWORKS. 2 TELECOMMUNICATIONS Telecommunications: Communication of all types of information, including digital data,
Computer Networks with Internet Technology William Stallings
Anshul Kumar, CSE IITD CSL718 : Multiprocessors Interconnection Mechanisms Performance Models 20 th April, 2006.
Sem1 - Module 8 Ethernet Switching. Shared media environments Shared media environment: –Occurs when multiple hosts have access to the same medium. –For.
Packet switching network Data is divided into packets. Transfer of information as payload in data packets Packets undergo random delays & possible loss.
Anshul Kumar, CSE IITD ECE729 : Advanced Computer Architecture Lecture 27, 28: Interconnection Mechanisms In Multiprocessors 29 th, 31 st March, 2010.
William Stallings Data and Computer Communications
Interconnection Networks Alvin R. Lebeck CPS 220.
NETWORK HARDWARE CABLES NETWORK INTERFACE CARD (NIC)
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Connecting Devices CORPORATE INSTITUTE OF SCIENCE & TECHNOLOGY, BHOPAL Department of Electronics and.
Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks Protocols and Architecture Slide 1 Use of Standard Protocols.
Higher Computing Networking. Networking – Local Area Networks.
Data Communications & Computer Networks, Second Edition1 Chapter 8 Local Area Networks: Internetworking.
Networks Network Components. Learning Objectives Describe different media for transmitting data and their carrying capabilities. Explain the different.
WAN Transmission Media
Networks: Routing, Deadlock, Flow Control, Switch Design, Case Studies Alvin R. Lebeck CPS 220.
1 Switching and Forwarding Sections Connecting More Than Two Hosts Multi-access link: Ethernet, wireless –Single physical link, shared by multiple.
The Transport Layer Implementation Services Functions Protocols
Lecture (2).
Practical Issues for Commercial Networks
Interconnection Network Design
Networks Networking has become ubiquitous (cf. WWW)
CS 6290 Many-core & Interconnect
Networking.
CDA-5155 Computer Architecture Principles Fall 2000
Presentation transcript:

Lecture 22 Interconnection Networks Computer Architecture COE 501

Network Media Copper, 1mm think, twisted to avoid attenna effect (telephone) Used by cable companies: high BW, good noise immunity Light: 3 parts are cable, light source, light detector. Multimode light disperse (LED), Single mode sinle wave (laser) 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

Shared vs. Switched Media Shared media: nodes share a single interconnection medium (e.g., Ethernet) –Only one message sent at a time –Inexpensive : one medium used by all processors –Limited bandwidth : medium becomes the bottleneck –Needs arbitration Switched media : allow direct communication between source and destination nodes (e.g., ATM) –Multiple users at a time –More expensive : need to replicated medium –Higher total bandwidth –No arbitration –Added latency to go through the switch

Ethernet Protocol - Shared Ethernet is an example of a shared media - similar to a bus The ethernet nodes must coordinate so that only one message is sent at a time. –Nodes “listens” to the network to ensure it is not being used. –If the network is not being used, the node tries to send the message. –If another node tries to send a message at the same time, a collision occurs –Both nodes detect the collision and try to resend their messages after a random amount of time –Subsequent collisons result in exponentially increasing random time between attempts to resend data –What are advantages and disadvantages of this method?

Switch Topology Switched media have a topology that indicate how nodes are connected Topology determines –Degree: number of links from a node –Diameter: max number of links crossed between nodes –Average distance: number of links to random destination –Bisection: minimum number of links that separate the network into two halves –Bisection bandwidth: link bandwidth x bisection Warning: 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 actually constructed

Common Topologies TypeDegreeDiameterAve DistBisection 1D mesh 2N-1N/31 2D mesh 42(N 1/2 - 1)2N 1/2 / 3N 1/2 3D mesh 63(N 1/3 - 1)3N 1/3 / 3N 2/3 nD mesh 2nn(N 1/n - 1)nN 1/n / 3N (n-1) / n Ring2N/2N/42 2D torus4N 1/2 N 1/2 / 22N 1/2 HypercubeLog 2 N n=Log 2 N n/2N/2 2D Tree32Log 2 N ~2Log 2 N 1 CrossbarN-11 1N 2 /2 N = number of nodes, n = dimension

Butterfly or Omega Network N/2 Butterfly °°°°°° N/2 Butterfly °°°°°° All paths equal length Unique path from any input to any output Try to avoid conflicts

Multistage Fat Tree A multistage fat tree (CM-5) avoids congestion at the root node Randomly assign packets to different paths on way up to spread the load Increase degree, decrease congestion

Example Networks (Figure 7.19, pg 591) NameNumberTopologyBitsClock Link Bis. BWYear nCube/ten cube1 10 MHz iPSC/ cube116 MHz MP D grid125 MHz31, Delta5402D grid1640 MHz CM fat tree440 MHz2010, CS fat tree870 MHz5050, Paragon D grid16100 MHz2006, T3D D Torus16150 MHz30019, No standard topology! MBytes/second

Connection-Based vs. Connectionless Connection-based system: –Telephone: operator sets up connection between the caller and the receiver –Once the connection is established, the line is held until it completes –Share transmission lines over long distances by using switches to multiplex several conversations on the same lines »“Time division multiplexing” divide B/W transmission line into a fixed number of slots, with each slot assigned to a conversation –Often referred to as circuit-swtiching –Problem: lines busy based on number of conversations, not amount of information sent –Advantage: reserved bandwidth - call not interrupted once started

Connection-Based vs. Connectionless Connectionless system –Postal service : package routed to destination based on address –Each message is divided into packets, with an address per packet –Packets can each take different routes through the network –Often referred to as packet-switching –Disadvantage : additional information sent with each message

Store and Forward vs. Cut-Through Store-and-forward policy: each switch waits for the full packet to arrive in the switch before it is sent on to the next switch Cut-through routing or worm hole routing: switch examines the header, decides where to send the message, and then starts forwarding it immediately –In worm hole routing, when the head of the message is blocked the message stays strung out over the network, potentially blocking other messages (needs only buffer the size of the packet that is sent between switches). –Cut through routing lets the tail continue when the head is blocked, storing the whole message into a single switch. (Requires a buffer large enough to hold the largest packet).

Packet Formats Fields: Destination, Checksum(C), Length(L), Type(T) Data/Header Sizes in bytes: –CM5: (4 to 20)/4, Ethernet: (0 to 1500)/26, ATM: 48/5

Congestion Control Packet switched networks do not reserve bandwidth; this leads to contention Solution: prevent packets from entering until contention is reduced (e.g., entrance lights on interstate) Options: –Packet discarding: If a packet arrives at a switch and there is no room in the buffer, the packet is discarded, SW detects and resends –Flow control: between pairs of receivers and senders; use feedback to tell the sender when it is allowed to send the next packet »Back-pressure: separate wires to tell to stop »Window: give the original sender the right to send N packets before getting permission to send more (TCP uses) –Choke packets: Each packet received by busy switch in warning state sent back to the source via choke packet. Source reduces traffic to that destination by a fixed % (ATM Forum)

Example Architectures InterconnectMPPLANWAN ExampleCM-5EthernetATM Topology“Fat” treeLine, BusVariable, constructed from multistage switches Connection based?NoNoYes Data Transfer SizeVariable: Variable: Fixed: 4 to 20B0 to 1500B48B Store & Forward?NoN/AYes Congestion controlAt source: At source: Rate based Flow Listen forvia choke control E-net idle packets via back pressure

Deterministic—follows a pre- specified route –mesh: dimension-order routing »(x 1, y 1 ) -> (x 2, y 2 ) »first  x = x 2 - x 1, »then  y = y 2 - y 1, –hypercube: edge-cube routing »X = x o x 1 x 2... x n -> Y = y o y 1 y 2... y n »R = X xor Y »Traverse dimensions of differing address in order Adaptive—route based on network state (e.g., contention) Routing

Practical Issues InterconnectionMPPLANWAN ExampleCM-5EthernetATM StandardNoYesYes Fault Tolerance?NoYesYes Hot Insert?NoYesYes Standards: required for WAN, LAN! Fault Tolerance: Can nodes fail and still deliver messages to other nodes? required for WAN, LAN! Hot Insert: If the interconnection can survive a failure, can it also continue operation while a new node is added to the interconnection? required for WAN, LAN!

Protocols 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 layers, giving each layer responsibility for portion of overall communications task, called protocol families or protocol suites Transmission Control Protocol/Internet Protocol (TCP/IP) –This protocol family is the basis of the Internet –IP : layer above interconnection network - routes datagram to destination machine –TCP : layer above IP - guaranees reliable, in-order delivery and prevents corruption of data

TCP/IP packet Application sends message TCP breaks into 64KB segements, adds 20B header IP adds 20B header, sends to network If Ethernet, broken into 1500B packets with headers, trailers Header, trailers have length field, destination, window number, version,... TCP data (< 64KB) TCP Header IP Header IP Data Ethernet

Protocol 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 lower level Danger is each level increases latency

Connecting Networks Bridges: connect LANs together, passing traffic from one side to another depending on the addresses in the packet. –operate at the Ethernet protocol level –usually simpler and cheaper than routers Routers or Gateways: these devices connect LANs to WANs or WANs to WANs and resolve incompatible addressing. –Generally slower than bridges, they operate at the internetworking protocol (IP) level –Routers divide the interconnect into separate smaller subnets, which simplifies manageability and improves security

Summary Interconnection Networks Shared vs. Switched media Switch topology indicates how nodes are connected Switching network can be either connection-based (circuit switched) or connectionless (packet switched) In packet-switched networks congestion control is required Protocols allow different computers on different networks to communicate reliably