Dr. Kalpakis CMSC 621, Advanced Operating Systems. Fall 2003 URL: Distributed System Architectures.

Slides:



Advertisements
Similar presentations
Multiple Processor Systems
Advertisements

Multiple Processor Systems
Distributed Systems Major Design Issues Presented by: Christopher Hector CS8320 – Advanced Operating Systems Spring 2007 – Section 2.6 Presentation Dr.
Database Architectures and the Web
Jaringan Informasi Pengantar Sistem Terdistribusi oleh Ir. Risanuri Hidayat, M.Sc.
U NIVERSITY OF M ASSACHUSETTS, A MHERST Department of Computer Science Emery Berger University of Massachusetts Amherst Operating Systems CMPSCI 377 Lecture.
Tanenbaum & Van Steen, Distributed Systems: Principles and Paradigms, 2e, (c) 2007 Prentice-Hall, Inc. All rights reserved DISTRIBUTED SYSTEMS.
Tam Vu Remote Procedure Call CISC 879 – Spring 03 Tam Vu March 06, 03.
Multiple Processor Systems
Ameoba Designed by: Prof Andrew S. Tanenbaum at Vrija University since 1981.
Distributed components
Network Operating Systems Users are aware of multiplicity of machines. Access to resources of various machines is done explicitly by: –Logging into the.
CS 582 / CMPE 481 Distributed Systems Communications.
Computer Science Lecture 2, page 1 CS677: Distributed OS Last Class: Introduction Distributed Systems – A collection of independent computers that appears.
EEC-681/781 Distributed Computing Systems Lecture 3 Wenbing Zhao Department of Electrical and Computer Engineering Cleveland State University
Multiple Processor Systems 8.1 Multiprocessors 8.2 Multicomputers 8.3 Distributed systems.
16: Distributed Systems1 DISTRIBUTED SYSTEM STRUCTURES NETWORK OPERATING SYSTEMS The users are aware of the physical structure of the network. Each site.
Distributed Systems Architecture Presentation II Presenters Rose Kit & Turgut Tezir.
DISTRIBUTED COMPUTING
Lecturer: Tamanna Haque Nipa
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.
Ch4: Distributed Systems Architectures. Typically, system with several interconnected computers that do not share clock or memory. Motivation: tie together.
Review: – computer networks – topology: pair-wise connection, point-to-point networks and broadcast networks – switching techniques packet switching and.
Multiple Processor Systems. Multiprocessor Systems Continuous need for faster and powerful computers –shared memory model ( access nsec) –message passing.
Miss Maheen Sadiq Under the guideline of Sir Syed Rizwan-ul-Hasan Assistant Professor CED, SSUET.
1 Computer Networks DA Chapter 1-3 Introduction.
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.
CS551 Distributed Operating Systems Colorado State University at Lockheed-Martin Lecture 1 -- Spring 2001.
Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks Introduction Slide 1 A Communications Model Source: generates.
1 Version 3.0 Module 11 TCP Application and Transport.
1 Next Few Classes Networking basics Protection & Security.
TCOM 509 – Internet Protocols (TCP/IP) Lecture 03_b Protocol Layering Instructor: Dr. Li-Chuan Chen Date: 09/15/2003 Based in part upon slides of Prof.
Overview of computer communication and Networking Communication VS transmission Computer Network Types of networks Network Needs Standards.
Types of Operating Systems
Advanced Computer Networks Topic 2: Characterization of Distributed Systems.
Chapter 15 – Part 2 Networks The Internal Operating System The Architecture of Computer Hardware and Systems Software: An Information Technology Approach.
Multiprossesors Systems.. What are Distributed Databases ? “ A Logically interrelated collection of shared data ( and a description of this data) physically.
Lecture 4: Sun: 23/4/1435 Distributed Operating Systems Lecturer/ Kawther Abas CS- 492 : Distributed system & Parallel Processing.
Multiple Processor Systems. Multiprocessor Systems Continuous need for faster computers –shared memory model ( access nsec) –message passing multiprocessor.
NFS : Network File System SMU CSE8343 Prof. Khalil September 27, 2003 Group 1 Group members: Payal Patel, Malka Samata, Wael Faheem, Hazem Morsy, Poramate.
Distributed DBMSs- Concept and Design Jing Luo CS 157B Dr. Lee Fall, 2003.
Chapter 6-- Operating Systems Overview Chapter 6 OPERATING SYSTEMS OVERVIEW 1.
William Stallings Data and Computer Communications
Types of Operating Systems 1 Computer Engineering Department Distributed Systems Course Assoc. Prof. Dr. Ahmet Sayar Kocaeli University - Fall 2015.
Distributed (Operating) Systems -Communication in Distributed Systems- Computer Engineering Department Distributed Systems Course Assoc. Prof. Dr. Ahmet.
Net 221D:Computer Networks Fundamentals
Computer Science Lecture 3, page 1 CS677: Distributed OS Last Class: Communication in Distributed Systems Structured or unstructured? Addressing? Blocking/non-blocking?
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.
Client-server communication Prof. Wenwen Li School of Geographical Sciences and Urban Planning 5644 Coor Hall
1 CS-550: Materials for the Final Exam - Tue., Dec. 11, 2001, 8 a.m. Distributed Systems 8.Client-server computing Architecture, Relational database applications.
Computer Networking A Top-Down Approach Featuring the Internet Introduction Jaypee Institute of Information Technology.
Distributed Operating Systems Spring 2004
Last Class: Introduction
Definition of Distributed System
CHAPTER 3 Architectures for Distributed Systems
Distributed OS.
Advanced Operating Systems
Outline Communication Primitives - continued Theoretical Foundations
Multiple Processor Systems
Outline Announcements Lab2 Distributed File Systems 1/17/2019 COP5611.
Chapter 15: File System Internals
Outline Review of Classical Operating Systems - continued
Computer Networking A Top-Down Approach Featuring the Internet
Outline Review of Quiz #1 Distributed File Systems 4/20/2019 COP5611.
Computer Networks DA2402.
Distributed Systems (15-440)
Last Class: Communication in Distributed Systems
Communication.
Presentation transcript:

Dr. Kalpakis CMSC 621, Advanced Operating Systems. Fall 2003 URL: Distributed System Architectures

CMSC 621, Fall URL: Distributed Systems A distributed system is a system that consists of several machines that do not share memory or clock communicate via messages over a network have their own memory and other resources run their own OS different approaches in managing local and remote resources due to their different costs of using and managing them

CMSC 621, Fall URL: Why Distributed Systems? Significant price/performance over centralized time-sharing systems resource sharing enhanced performance improved reliability and availability modular expandability Architecture types minicomputer (#cpus / #users << 1) workstation (#cpus / #users ~= 1) processor pool (#cpus / #users >> 1) Distributed OS offer transparency in using system resources

CMSC 621, Fall URL: Main Issues in Distributed Systems Global knowledge of system state Naming and name resolution of system resources Scalability Compatibility Process synchronization Resource management data & computation migration distributed scheduling Security Structure of system S/W

CMSC 621, Fall URL: Global Knowledge & Syncrhonization Complete and accurate knowledge of all processes and resources is not easily available difficulties arise due to absence of global shared memory absence of global clock unpredictable message delays challenges decentralized system wide control total temporal ordering of system events process synchronization (mutex, deadlocks, starvation)

CMSC 621, Fall URL: Naming Name/directory service maps logical names of system objects to physical addresses of those objects replicated directories + increase availability, reliability, and performance - replica maintenance and storage needed partitioned directories can overcome some of the problems with replicated directories but finding relevant partition is still an issue

CMSC 621, Fall URL: Scalability & Interoperability System performance should degrade gracefully, if at all, as the system grows interoperability levels of system resources binary level (same binaries) execution level (same source code) protocol level (same set of protocols)

CMSC 621, Fall URL: Resource Management & Security Resource management make local & remote resources available to users transparently and in an effective and efficient manner approaches data migration (distributed file systems and shared memory) computation migration (e.g. RPC) distributed scheduling Security authentication authorization

CMSC 621, Fall URL: Structure of Distributed Operating Systems monolithic kernel one size fits all (diskless workstations, multiprocessors, and file servers) collective kernel collection of largely independent processes providing different system services micro-kernel provides essential services needed by all object-oriented system services are implemented as collection of objects client-server

CMSC 621, Fall URL: Introduction to Communication Networks WANs, MANs, and LANs Consist of computers, links, switches, routers, bridges use the store-and-forward technique usage modes: packet switching vs circuit switching ISO/OSI Reference model 7 layers: physical, datalink (transmission error recovery & flow control), network (routing & congestion control), transport, session, presentation, and application layers LAN topologies bus and tree topologies using the CSMA/CD and token bus protocols ring topologies using the token ring and slotted ring protocols

CMSC 621, Fall URL: Communication Primitives SEND & RECEIVE message primitives buffered vs un-buffered options for message primitives message copy path: source user buffer => source kernel buffer => destination kernel buffer => destination user buffer types of communication primitives blocking vs non-blocking primitives reliable or unreliable primitives synchronous vs asynchronous primitives

CMSC 621, Fall URL: Communication Primitives Difficulties with SEND & RECEIVE message primitives pairing responses with requests data representation addressing and failure recovery debugging & correctness

CMSC 621, Fall URL: Remote Procedure Call (RPC) Mechanism processes can communicate with remote processes via a procedure call and the help of stub procedure code (for both local and remote procedures) that Local stub queries a binding server for server address of remote procedure, packs the procedure parameters, and then sends them to remote stub procedure remote stub procedure unpacks parameters, performs local procedure call, and then returns results to local stub, Local stub unpacks the results and returns them to the calling local process a binding server resolves procedure names to server addresses Core issues structure of RPC and binding parameter and result passing (by value or by reference) handling of failures – RPC semantics

CMSC 621, Fall URL: RPC Semantics RPC calls can fail due to computer or communication failures semantics of an RPC call P() Correctness conditions: C1  C2 ==> W1  W2 where Ci denote RPC calls and Wi work done on shared data, and  denotes a “happened before” relation SuccessFailure #execs Partial execs At least once>= 10 or morepossible Exactly once10 or 1possible At most once10 or 1none

CMSC 621, Fall URL: RPC Issues Implementation issues for the RPC mechanism low latency RPC calls (use UDP) high-throughput RPC calls (use TCP) increase concurrency of RPC calls via Multi-RPC Parallel RPC asynchronous calls Shortcomings of the RPC mechanism does not allow for returning incremental results remote procedures are not first-class citizens (e.g. can not be used everywhere where local procedures/variables can be used)