Computer Science and Engineering Copyright by Hesham El-Rewini Advanced Computer Architecture CSE 8383 April 6, 2006 Session 22.

Slides:



Advertisements
Similar presentations
Chapter 3: Introduction to Data Communications and Networking
Advertisements

Introduction to Computer Administration. Computer Network - Basic Concepts Computer Networks Computer Networks Communication Model Communication Model.
Distributed Processing, Client/Server and Clusters
Information Technology Foundations-BIT 112 TECHNOLOGY GUIDE FOUR Basics of Telecommunications and Networks.
Distributed Processing, Client/Server, and Clusters
Department of Computer Engineering University of California at Santa Cruz Networking Systems (1) Hai Tao.
1 6/22/ :39 Chapter 9Fiber Channel1 Rivier College CS575: Advanced LANs Chapter 9: Fibre Channel.
Computer Science Lecture 2, page 1 CS677: Distributed OS Last Class: Introduction Distributed Systems – A collection of independent computers that appears.
Introduction to PVM PVM (Parallel Virtual Machine) is a package of libraries and runtime daemons that enables building parallel apps easily and efficiently.
1 Lecture 24: Interconnection Networks Topics: communication latency, centralized and decentralized switches (Sections 8.1 – 8.5)
LAN Risanuri Hidayat. LAN-Local Area Network A LAN is a high-speed data network that covers a relatively small geographic area. It typically connects.
Review on Networking Technologies Linda Wu (CMPT )
20101 Chapter 7 The Application Layer Message Passing.
Chapter 1: Overview Lecturer: Alias Mohd Telecommunications Department Faculty of Electrical Engineering UTM SET 4573: Data Communication and Switching.
Your Interactive Guide to the Digital World Discovering Computers 2012.
Chapter 9A Network Basics.
Networks A network is a collection of computers and devices connected together via communications devices and transmission media Advantages of a network.
Chapter 9 Message Passing Copyright © Operating Systems, by Dhananjay Dhamdhere Copyright © Operating Systems, by Dhananjay Dhamdhere2 Introduction.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Communicating over the Network Network Fundamentals – Chapter 2.
Lecture 2 TCP/IP Protocol Suite Reference: TCP/IP Protocol Suite, 4 th Edition (chapter 2) 1.
1 Chapter Client-Server Interaction. 2 Functionality  Transport layer and layers below  Basic communication  Reliability  Application layer.
CSCI-235 Micro-Computer in Science The Network. © Prentice-Hall, Inc Communications  Communication is the process of sending and receiving messages 
Lecture 9 Networked Systems Network Operating Systems Introduction to Sockets TCP Client-Server Applications.
Computer Science and Engineering Copyright by Hesham El-Rewini Advanced Computer Architecture.
Local Area Network By Bhupendra Ratha, Lecturer
Unit 1—Computer Basics Lesson 7 Networks.
Storage Area Network Presented by Chaowalit Thinakornsutibootra Thanapat Kangkachit
Basic Concepts of a Computer Network
1 Chapter 2. Communication. STEM-PNU 2 Layered Protocol TCP/IP : de facto standard Our Major Concern Not always 7-layered Protocol But some other protocols.
Objectives Overview Discuss the purpose of the components required for successful communications and identify various sending and receiving devices Differentiate.
Internetworking An internetwork is typically comprised of many physical networks over which data travels There are many different types of physical networks:
Local Area Network Daniel Shin CS 147, Section 3 November 18, 2008.
CS/IS 465: Data Communication and Networks 1 CS/IS 465 Data Communications and Networks Lecture 28 Martin van Bommel.
Parallel Computing A task is broken down into tasks, performed by separate workers or processes Processes interact by exchanging information What do we.
High Performance Cluster Computing Architectures and Systems Hai Jin Internet and Cluster Computing Center.
1 CHAPTER 8 TELECOMMUNICATIONSANDNETWORKS. 2 TELECOMMUNICATIONS Telecommunications: Communication of all types of information, including digital data,
The Socket Interface Chapter 21. Application Program Interface (API) Interface used between application programs and TCP/IP protocols Interface used between.
What is a Network? Living Online Lesson 1 Mrs. Elzey.
5 SECTION A 1 Network Building Blocks  Network Classifications  LAN Standards  Network Devices  Clients, Servers, and Peers  Physical Topology  Network.
Computer Science and Engineering Parallel and Distributed Processing CSE 8380 February Session 11.
Hwajung Lee.  Interprocess Communication (IPC) is at the heart of distributed computing.  Processes and Threads  Process is the execution of a program.
Lecture (Mar 23, 2000) H/W Assignment 3 posted on Web –Due Tuesday March 28, 2000 Review of Data packets LANS WANS.
Communication Networks - Overview CSE 3213 – Fall November 2015.
© Chinese University, CSE Dept. Distributed Systems / Distributed Systems Topic 3: Communication Dr. Michael R. Lyu Computer Science & Engineering.
Parallel and Distributed Programming Kashif Bilal.
Slide 4-1 Chapter 4 Terms Data Communications and Networking Considerations Introduction to Information Systems Judith C. Simon.
Computer Science and Engineering Copyright by Hesham El-Rewini Advanced Computer Architecture CSE 8383 April 11, 2006 Session 23.
PVM: Parallel Virtual Machine anonymous ftp ftp ftp.netlib.org cd pvm3/book get pvm-book.ps quit
Message-Passing Computing Chapter 2. Programming Multicomputer Design special parallel programming language –Occam Extend existing language to handle.
Distributed systems (NET 422) Prepared by Dr. Naglaa Fathi Soliman Princess Nora Bint Abdulrahman University College of computer.
Computer Science and Engineering Copyright by Hesham El-Rewini Advanced Computer Architecture CSE 8383 March 20, 2008 Session 9.
Interconnect Networks Basics. Generic parallel/distributed system architecture On-chip interconnects (manycore processor) Off-chip interconnects (clusters.
Computer Science and Engineering Advanced Computer Architecture CSE 8383 April 24, 2008 Session 12.
Chapter 1 : Computer Networks. Lecture 2. Computer Networks Classification: 1- Depend on the geographical area. 2- Depend on functional relationship.
Computer Science and Engineering Copyright by Hesham El-Rewini Advanced Computer Architecture CSE 8383 May 2, 2006 Session 29.
Module 16: Distributed System Structures Silberschatz, Galvin and Gagne ©2005 Operating System Concepts – 7 th Edition, Apr 4, 2005 Distributed.
1 Chapter 2. Communication. STEMPusan National University STEM-PNU 2 Layered Protocol TCP/IP : de facto standard Our Major Concern Not always 7-layered.
Computer Science and Engineering Parallel and Distributed Processing CSE 8380 February Session 12.
Computer Science and Engineering Parallel and Distributed Processing CSE 8380 April 7, 2005 Session 23.
Computer Science and Engineering Parallel and Distributed Processing CSE 8380 April 28, 2005 Session 29.
Management Information Systems - Introduction. The telecommunication system Telecommunication System – consists of hardware and software that transmits.
SYSTEM MODELS FOR ADVANCED COMPUTING Jhashuva. U 1 Asst. Prof CSE
CHAPTER 8 Communication and Network Copyright © Cengage Learning. All rights reserved.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Communicating over the Network Network Fundamentals – Chapter 2.
Last Class: Introduction
Parallel Virtual Machine
LAN Risanuri Hidayat.
Chapter 16: Distributed System Structures
Networks Networking has become ubiquitous (cf. WWW)
Presentation transcript:

Computer Science and Engineering Copyright by Hesham El-Rewini Advanced Computer Architecture CSE 8383 April 6, 2006 Session 22

Computer Science and Engineering Copyright by Hesham El-Rewini Contents Communication Patterns Message Passing in PVM (Section 8.4) Network Computing (Chapter 7)

Computer Science and Engineering Copyright by Hesham El-Rewini Routing Efficiency Two Parameters Channel Traffic (number of channels used to deliver the message involved) Communication Latency (distance)

Computer Science and Engineering Copyright by Hesham El-Rewini Multicast on a mesh (5 unicasts) Traffic ? Latency ?

Computer Science and Engineering Copyright by Hesham El-Rewini Multicast on a mesh (multicast pattern 1) Traffic ? Latency ?

Computer Science and Engineering Copyright by Hesham El-Rewini Multicast on a mesh (multicast pattern 2) Traffic ? Latency ?

Computer Science and Engineering Copyright by Hesham El-Rewini Broadcast (tree structure)

Computer Science and Engineering Copyright by Hesham El-Rewini Message Passing in PVM (Revisit) User application Library Daemon User application Library Daemon Sending TaskReceiving Task

Computer Science and Engineering Copyright by Hesham El-Rewini Standard PVM asynchronous communication A sending task issues a send command (point 1) The message is transferred to the daemon (point 2) Control is returned to the user application (points 3 & 4) The daemon will transmit the message on the physical wire sometime after returning control to the user application (point 3)

Computer Science and Engineering Copyright by Hesham El-Rewini Standard PVM asynchronous communication (cont.) The receiving task issues a receive command (point 5) at some other time In the case of a blocking receive, the receiving task blocks on the daemon waiting for a message (point 6). After the message arrives, control is returned to the user application (points 7 & 8) In the case of a non-blocking receive, control is returned to the user application immediately (points 7 & 8)

Computer Science and Engineering Copyright by Hesham El-Rewini Send (3 steps) 1. A send buffer must be initialized 2. The message is packed into the buffer 3. The completed message is sent to its destination(s)

Computer Science and Engineering Copyright by Hesham El-Rewini Receive (2 steps) 1. The message is received 2. The received items are unpacked

Computer Science and Engineering Copyright by Hesham El-Rewini Message Buffers Buffer Creation (before packing) Bufid = pvm_initsend(encoding_option) Bufid = pvm_mkbuf(encoding_option) Encoding optionMeaning 0XDR 1No encoding 2Leave data in place

Computer Science and Engineering Copyright by Hesham El-Rewini Message Buffers (cont.) Data Packing pvm_pk*() pvm_pkstr() – one argument pvm_pkstr(“This is my data”); Others – three arguments 1. Pointer to the first item 2. Number of items to be packed 3. Stride pvm_pkint(my_array, n, 1); Packing functions can be called multiple times to pack data into a single message

Computer Science and Engineering Copyright by Hesham El-Rewini Sending a message Point to point (one receiver) info = pvm_send(tid, tag) broadcast (multiple receivers) info = pvm_mcast(tids, n, tag) info = pvm_bcast(group_name, tag) Pack and Send (one step) info = pvm_psend(tid, tag, my_array, length, data type)

Computer Science and Engineering Copyright by Hesham El-Rewini Receiving a message Blocking bufid = pvm_recv(tid, tag) -1  wild card in either tid or tag Nonblocking bufid = pvm_nrecv(tid, tag) bufid = 0 (no message was received) Timeout bufid = pvm_trecv(tid, tag, timeout) bufid = 0 (no message was received)

Computer Science and Engineering Copyright by Hesham El-Rewini Different Receive in PVM Pvm_recv() wait Time Funciton is called Time is expired Message arrival Blocking Pvm_nrecv() Continue execution Non-blocking Pvm_trecv() wait Timeout Resume execution

Computer Science and Engineering Copyright by Hesham El-Rewini Data unpacking pvm_upk*() pvm_upkstr() – one argument pvm_upkstr(string); Others – three arguments 1. Pointer to the first item 2. Number of items to be unpacked 3. Stride pvm_upkint(my_array, n, 1);

Computer Science and Engineering Copyright by Hesham El-Rewini Networks Computing Four categories WAN MAN LAN SAN Internet TCP/IP

Computer Science and Engineering Copyright by Hesham El-Rewini Other Network technologies Fast Ethernet and Gigabit Ethernet The Fiber Distributed Data Interface (FDDI) High-Performance Parallel Interface (HIPPI) Asynchronous Transfer Mode (ATM) Scalable Coherent Interface (SCI)

Computer Science and Engineering Copyright by Hesham El-Rewini HiPPI ATM 10 Base T 100 Base T SCI SANLANMAN WAN 10Mbps 100Mbps 1000Mbps 10Gbps 1000 Base T FDDI A representation of network technologies

Computer Science and Engineering Copyright by Hesham El-Rewini Client/Server Systems Interconnection Network Interconnection Network Server Threads Client Server Client

Computer Science and Engineering Copyright by Hesham El-Rewini Sockets Sockets are used to provide the capability of making connections from one application running on one machine to another running on a different machine. Once a socket is created, it can be used to wait for an incoming connection (passive socket) or can be used to initiate connection (active socket). Client Serve r A Socket Connection

Computer Science and Engineering Copyright by Hesham El-Rewini A Client Server Framework for Parallel Applications Interconnection Network Interconnection Network Master (Supervisor) Server 1 Server 2 Server 3Server n Client Slaves (Workers)

Computer Science and Engineering Copyright by Hesham El-Rewini Computer Clusters  Advances in commodity processors and network technology  Network of PCs and workstations connected via LAN or WAN forms a Parallel System  Compete favorably (cost/performance)

Computer Science and Engineering Copyright by Hesham El-Rewini Cluster Architecture M C P I/O OS M C P I/O OS M C P I/O OS Middleware Programming Environment Interconnection Network Home cluster

Computer Science and Engineering Copyright by Hesham El-Rewini Internet Grids Dependable, consistent, pervasive, and inexpensive access to high end computing. Geographically distributed platforms.