U NIVERSITY OF M ASSACHUSETTS, A MHERST Department of Computer Science Emery Berger University of Massachusetts Amherst Operating Systems CMPSCI 377 Lecture.

Slides:



Advertisements
Similar presentations
Data Communications and Networking
Advertisements

INTRODUCTION TO COMPUTER NETWORKS Zeeshan Abbas. Introduction to Computer Networks INTRODUCTION TO COMPUTER NETWORKS.
Dr. Kalpakis CMSC 621, Advanced Operating Systems. Fall 2003 URL: Distributed System Architectures.
COS 461 Fall 1997 Networks and Protocols u networks and protocols –definitions –motivation –history u protocol hierarchy –reasons for layering –quick tour.
U NIVERSITY OF M ASSACHUSETTS, A MHERST Department of Computer Science Emery Berger University of Massachusetts Amherst Operating Systems CMPSCI 377 Lecture.
Computer Networks and the Internet CMPT 109 Montclair State University.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Communicating over the Network Network Fundamentals – Chapter 2.
Networks Types. Spring 2002Computer Network Applications Data Transfer During the ’70s: Minicomputers became affordable; Need to communicate information;
Wide Area Networks School of Business Eastern Illinois University © Abdou Illia, Spring 2007 (Week 11, Thursday 3/22/2007)
Distributed Hardware How are computers interconnected ? –via a bus-based –via a switch How are processors and memories interconnected ? –Private –shared.
Introduction to Networks and the Internet
Protocols and the TCP/IP Suite
1 Networking A computer network is a collection of computing devices that are connected in various ways in order to communicate and share resources. The.
INTRODUCTION TO COMPUTER NETWORKS INTRODUCTION Lecture # 1 (
©Brooks/Cole, 2003 Chapter 6 Computer Networks. ©Brooks/Cole, 2003 Understand the rationale for the existence of networks. Distinguish between the three.
Lecturer: Tamanna Haque Nipa
Lecture slides prepared for “Business Data Communications”, 7/e, by William Stallings and Tom Case, Chapter 8 “TCP/IP”.
Network Topologies.
Protocols and the TCP/IP Suite Chapter 4. Multilayer communication. A series of layers, each built upon the one below it. The purpose of each layer is.
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.
1 WHY NEED NETWORKING? - Access to remote information - Person-to-person communication - Cooperative work online - Resource sharing.
Review: – computer networks – topology: pair-wise connection, point-to-point networks and broadcast networks – switching techniques packet switching and.
CSCI-235 Micro-Computer in Science The Network. © Prentice-Hall, Inc Communications  Communication is the process of sending and receiving messages 
Networks for Distributed Systems n network types n Connection-oriented and connectionless communication n switching technologies l circuit l packet.
Computers Are Your Future Tenth Edition Chapter 8: Networks: Communicating & Sharing Resources Copyright © 2009 Pearson Education, Inc. Publishing as Prentice.
Lect1..ppt - 01/06/05 CDA 6505 Network Architecture and Client/Server Computing Lecture 2 Protocols and the TCP/IP Suite by Zornitza Genova Prodanoff.
Computer Communication & Networks Lecture # 02 Nadeem Majeed Choudhary
© McLean HIGHER COMPUTER NETWORKING Lesson 1 – Protocols and OSI What is a network protocol Description of the OSI model.
Introduction to Networks CS587x Lecture 1 Department of Computer Science Iowa State University.
1 Next Few Classes Networking basics Protection & Security.
UNDERSTANDING THE HOST-TO-HOST COMMUNICATIONS MODEL - OSI LAYER & TCP/IP MODEL 1.
1 Networking Chapter Distributed Capabilities Communications architectures –Software that supports a group of networked computers Network operating.
1 CHAPTER 8 TELECOMMUNICATIONSANDNETWORKS. 2 TELECOMMUNICATIONS Telecommunications: Communication of all types of information, including digital data,
Chapter 15 – Part 2 Networks The Internal Operating System The Architecture of Computer Hardware and Systems Software: An Information Technology Approach.
Networks. Common Xmit Media Shared Media Networks are a shared communication resource Only one user can access at a time.
Multiprossesors Systems.. What are Distributed Databases ? “ A Logically interrelated collection of shared data ( and a description of this data) physically.
CENG 490/510 Network Programming Russell Deaton Rm
Computer Security Workshops Networking 101. Reasons To Know Networking In Regard to Computer Security To understand the flow of information on the Internet.
Chapter 2 Protocols and the TCP/IP Suite 1 Chapter 2 Protocols and the TCP/IP Suite.
William Stallings Data and Computer Communications
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.
Types of computer networks LAN ( LOCAL AREA NETWORK ) WAN (WIDE AREA NETWROK )
Higher Computing Networking. Networking – Local Area Networks.
Data Communications and Networks Chapter 1 - Classification of network topologies Data Communications and Network.
Intro to Distributed Systems and Networks Hank Levy.
SYSTEM ADMINISTRATION Chapter 2 The OSI Model. The OSI Model was designed by the International Standards Organization (ISO) as a structural framework.
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.
What is a distributed system? A network of processes. The nodes are processes, and the edges are communication channels.
Data Communication Network Models
Intro to Distributed Systems Hank Levy. 23/20/2016 Distributed Systems Nearly all systems today are distributed in some way, e.g.: –they use –they.
Network Models. The OSI Model Open Systems Interconnection (OSI). Developed by the International Organization for Standardization (ISO). Model for understanding.
Introduction Chapter 1. TCP/IP Reference Model Why Another Model? Although the OSI reference model is universally recognized, the historical and technical.
Computer Engineering and Networks, College of Engineering, Majmaah University INTRODUCTION TO COMPUTER NETWORKS Mohammed Saleem Bhat
Network types Point-to-Point (Direct) Connection Dedicated circuit boards connected by cable; To transfer data from A to B: – A writes on its circuit board;
UDP: User Datagram Protocol. What Can IP Do? Deliver datagrams to hosts – The IP address in a datagram header identify a host – treats a computer as an.
INTRODUCTION TO COMPUTER NETWORKS BY: SAIKUMAR III MSCS, Nalanda College.
Networking Using the OSI Model.
INTRODUCTION TO COMPUTER NETWORKS
OSI Protocol Stack Given the post man exemple.
Chapter 16: Distributed System Structures
INTRODUCTION TO COMPUTER NETWORKS
INTRODUCTION TO COMPUTER NETWORKS
Network Architecture for Cyberspace
INTRODUCTION TO COMPUTER NETWORKS
OSI Reference Model Unit II
OSI Model 7 Layers 7. Application Layer 6. Presentation Layer
Presentation transcript:

U NIVERSITY OF M ASSACHUSETTS, A MHERST Department of Computer Science Emery Berger University of Massachusetts Amherst Operating Systems CMPSCI 377 Lecture 19: Network Structures

U NIVERSITY OF M ASSACHUSETTS, A MHERST Department of Computer Science 2 Next Few Classes Networking basics Distributed services , www, telnet Distributed operating systems Distributed file systems

U NIVERSITY OF M ASSACHUSETTS, A MHERST Department of Computer Science 3 Distributed Systems distributed system: set of physically separate processors connected by one or more communication links no shared clock or memory Many systems today distributed in some way , file servers, network printers, remote backup, web... P2 P1 P3 P4

U NIVERSITY OF M ASSACHUSETTS, A MHERST Department of Computer Science 4 Parallel vs. Distributed Systems Tightly-coupled systems: “parallel processing” Processors share clock, memory, run one OS Frequent communication Loosely-coupled systems: “distributed computing” Each processor has own memory, runs independent OS Infrequent communication

U NIVERSITY OF M ASSACHUSETTS, A MHERST Department of Computer Science 5 Advantages of Distributed Systems Resource sharing Computational speedup Reliability Communication

U NIVERSITY OF M ASSACHUSETTS, A MHERST Department of Computer Science 6 Advantages of Distributed Systems Resource sharing Resources need not be replicated Shared files Expensive (scarce) resources can be shared Color laser printers Processors present same environment to user Keeping files on file server

U NIVERSITY OF M ASSACHUSETTS, A MHERST Department of Computer Science 7 Advantages, continued Computational speedup n processors = n times computational power Problems must be decomposable into subproblems Trivial = embarrassingly parallel Coordination & communication required between cooperating processes Synchronization Exchange of results

U NIVERSITY OF M ASSACHUSETTS, A MHERST Department of Computer Science 8 Advantages, continued Reliability Replication of resources provides fault tolerance One node crashes, user works on another one Performance degradation but system available Must avoid single point of failure Single, centralized component of system Example: central file servers

U NIVERSITY OF M ASSACHUSETTS, A MHERST Department of Computer Science 9 Advantages, continued Communication Users/processes on different systems can communicate Mail, transaction processing systems like airlines & banks, www

U NIVERSITY OF M ASSACHUSETTS, A MHERST Department of Computer Science 10 Distributed Systems Issues Operating systems support for distribution Communication & networks Transparency Security Reliability Performance & scalability Programming models

U NIVERSITY OF M ASSACHUSETTS, A MHERST Department of Computer Science 11 Networks Goal: provide efficient, correct, robust message passing between two separate nodes Local area network (LAN) – connects nodes in single building, fast & reliable (Ethernet) Media: twisted-pair, coax, fiber Bandwidth: MB/s Wide area network (WAN) – connects nodes across large geographic area (Internet) Media: fiber, microwave links, satellite channels Bandwidth: 1.544MB/s (T1), 45 MB/s (T3)

U NIVERSITY OF M ASSACHUSETTS, A MHERST Department of Computer Science 12 Network Topologies Connection of nodes impacts: Maximum & average communication time Fault tolerance Expense Two basic topologies: Point-to-point Bus

U NIVERSITY OF M ASSACHUSETTS, A MHERST Department of Computer Science 13 Point-to-Point Network Topologies Fully-connected Each message takes one “hop” Node failure – no effect on communication with others Expensive – impractical for WANs

U NIVERSITY OF M ASSACHUSETTS, A MHERST Department of Computer Science 14 Point-to-Point Network Topologies Partially connected Links between some, but not all nodes Less expensive, less tolerant to failures Single node failure can partition network Sending message takes several hops Needs routing algorithms

U NIVERSITY OF M ASSACHUSETTS, A MHERST Department of Computer Science 15 Point-to-Point Network Topologies Tree structure: network hierarchy Messages fast between direct descendants Max message cost? Not failure tolerant Any interior node fails – network partitioned

U NIVERSITY OF M ASSACHUSETTS, A MHERST Department of Computer Science 16 Point-to-Point Network Topologies Star network: all nodes connect to central node Each message takes how many hops? Not failure tolerant Inexpensive – sometimes used for LANs

U NIVERSITY OF M ASSACHUSETTS, A MHERST Department of Computer Science 17 Point-to-Point Network Topologies One-directional ring Given n nodes, max hops? Inexpensive Fault-tolerant?

U NIVERSITY OF M ASSACHUSETTS, A MHERST Department of Computer Science 18 Point-to-Point Network Topologies Bi-directional ring Given n nodes, max hops? Inexpensive Fault-tolerant? One node? Two?

U NIVERSITY OF M ASSACHUSETTS, A MHERST Department of Computer Science 19 Point-to-Point Network Topologies Doubly-connected ring: nodes connected to neighbors & one more distant Given n nodes, max hops? Fault-tolerant? More expensive

U NIVERSITY OF M ASSACHUSETTS, A MHERST Department of Computer Science 20 Bus Network Topologies Bus nodes connect to common network Linear bus – single shared link Nodes connect directly to each other via bus Inexpensive (linear in # of nodes) Tolerant of node failures Ethernet LAN

U NIVERSITY OF M ASSACHUSETTS, A MHERST Department of Computer Science 21 Bus Network Topologies Ring bus – single shared circular link Same technology & tradeoffs as linear bus

U NIVERSITY OF M ASSACHUSETTS, A MHERST Department of Computer Science 22 Principles of Network Communication Data broken into packets Basic unit of transfer Packets sent through network Computers & routers at switching points control packet flow Road analogy: Packets = cars Network = roads Computer = traffic lights (intersection) Too many packets on shared link/node = traffic jam

U NIVERSITY OF M ASSACHUSETTS, A MHERST Department of Computer Science 23 Communication Protocols Protocol: agreed-upon rules for communication Protocol stack: layers that comprise networking software Each layer N provides service to layer N+1

U NIVERSITY OF M ASSACHUSETTS, A MHERST Department of Computer Science 24 Traditional Layers Application layer – applications that use the net Presentation layer – data format conversion (big/little endian) Session layer – implements communication strategy (e.g., RPC) Transport layer – reliable end-to-end communication Network layer – routing & congestion control Data link control layer – reliable point-to-point communication over unreliable channel Physical layer – electrical/optical signaling across “wire”

U NIVERSITY OF M ASSACHUSETTS, A MHERST Department of Computer Science 25 TCP/IP Protocol Stack Internet standard protocol stack TCP: reliable protocol – packets received in order UDP (user datagram protocol) – unreliable No guarantee of delivery

U NIVERSITY OF M ASSACHUSETTS, A MHERST Department of Computer Science 26 Packet Format Contains all info needed to recreate original message Packets may arrive out of order = need sequence number Data segment contains headers for higher protocol layers & application data

U NIVERSITY OF M ASSACHUSETTS, A MHERST Department of Computer Science 27 Summary Virtually all computer systems contain distributed components Networks connect them Key tradeoffs: Speed Reliability Expense