Multiple Processor and Distributed Systems

Slides:



Advertisements
Similar presentations
Multiple Processor Systems
Advertisements

Multiple Processor Systems
Chapter 8-1 : Multiple Processor Systems Multiple Processor Systems Multiple Processor Systems Multiprocessor Hardware Multiprocessor Hardware UMA Multiprocessors.
Multiple Processor Systems
Multiple Processor Systems Chapter Multiprocessors 8.2 Multicomputers 8.3 Distributed systems.
REK’s adaptation of Prof. Claypool’s adaptation of
Other File Systems: LFS and NFS. 2 Log-Structured File Systems The trend: CPUs are faster, RAM & caches are bigger –So, a lot of reads do not require.
Multiple Processor Systems 8.1 Multiprocessors 8.2 Multicomputers 8.3 Distributed systems.
Parallel Computer Architectures
NFS. The Sun Network File System (NFS) An implementation and a specification of a software system for accessing remote files across LANs. The implementation.
Hardware/Software Concepts Tran, Van Hoai Department of Systems & Networking Faculty of Computer Science & Engineering HCMC University of Technology.
MULTICOMPUTER 1. MULTICOMPUTER, YANG DIPELAJARI Multiprocessors vs multicomputers Interconnection topologies Switching schemes Communication with messages.
File Systems (2). Readings r Silbershatz et al: 11.8.
Networked File System CS Introduction to Operating Systems.
Multiple Processor Systems. Multiprocessor Systems Continuous need for faster and powerful computers –shared memory model ( access nsec) –message passing.
Distributed Systems. Interprocess Communication (IPC) Processes are either independent or cooperating – Threads provide a gray area – Cooperating processes.
Multiple Processor Systems Chapter Multiprocessors 8.2 Multicomputers 8.3 Distributed systems.
OS2- Sem ; R. Jalili Introduction Chapter 1.
Kyung Hee University 1/41 Introduction Chapter 1.
Multiple Processor Systems. Multiprocessor Systems Continuous need for faster computers –shared memory model ( access nsec) –message passing multiprocessor.
 Remote Procedure Call (RPC) is a high-level model for client-sever communication.  It provides the programmers with a familiar mechanism for building.
Chapter 8-2 : Multicomputers Multiprocessors vs multicomputers Multiprocessors vs multicomputers Interconnection topologies Interconnection topologies.
MODERN OPERATING SYSTEMS Third Edition ANDREW S. TANENBAUM Chapter 8 Multiple Processor Systems Tanenbaum, Modern Operating Systems 3 e, (c) 2008 Prentice-Hall,
1 Multiple Processors, A Network, An OS, and Middleware Chapter Multiprocessors 8.2 Multicomputers 8.3 Distributed systems.
GLOBAL EDGE SOFTWERE LTD1 R EMOTE F ILE S HARING - Ardhanareesh Aradhyamath.
Cotter-cs431 Tanenbaum, Modern Operating Systems 3 e, (c) 2008 Prentice-Hall, Inc. All rights reserved Chapter 8 Multiple Processor Systems.
Introduction Chapter 1. Definition of a Distributed System (1) A distributed system is: A collection of independent computers that appears to its users.
1 Distributed Processing Chapter 1 : Introduction.
MODERN OPERATING SYSTEMS Third Edition ANDREW S. TANENBAUM Chapter 8 Multiple Processor Systems Tanenbaum, Modern Operating Systems 3 e, (c) 2008 Prentice-Hall,
Introduction Contain two or more CPU share common memory and peripherals. Provide greater system throughput. Multiple processor executing simultaneous.
Distributed Computing Systems CSCI 6900/4900. Review Definition & characteristics of distributed systems Distributed system organization Design goals.
TEXT: Distributed Operating systems A. S. Tanenbaum Papers oriented on: 1.OS Structures 2.Shared Memory Systems 3.Advanced Topics in Communications 4.Distributed.
Background Computer System Architectures Computer System Software.
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.
Distributed Systems: Distributed File Systems Ghada Ahmed, PhD. Assistant Prof., Computer Science Dept. Web:
Case Study -- Sun’s Network File System (NFS) NFS is popular and widely used. NFS was originally designed and implemented by Sun Microsystems for use on.
Distributed OS.
Chapter 12: File System Implementation
Distributed Operating Systems Spring 2004
MODERN OPERATING SYSTEMS Third Edition ANDREW S
Distributed Operating Systems
Definition of Distributed System
File System Implementation
File Transfer and access
Client-Server Interaction
Advanced Operating Systems
Parallel and Multiprocessor Architectures – Shared Memory
CSE 451: Operating Systems Autumn 2003 Lecture 16 RPC
Chapter 15: File System Internals
Distributed File Systems
Multiple Processor Systems
Multiple Processor Systems
Distributed File Systems
CSE 451: Operating Systems Winter Module 22 Distributed File Systems
Distributed File Systems
Distributed File Systems
CSE 451: Operating Systems Spring Module 21 Distributed File Systems
Distributed File Systems
CSE 451: Operating Systems Winter Module 22 Distributed File Systems
Chapter 15: File System Internals
Outline Review of Classical Operating Systems - continued
Distributed File Systems
Introduction Chapter 1.
Chapter 15: File System Internals
Distributed File Systems
CSE 451: Operating Systems Winter 2003 Lecture 16 RPC
Distributed File Systems
Network File System (NFS)
CSE 451: Operating Systems Messaging and Remote Procedure Call (RPC)
Presentation transcript:

Multiple Processor and Distributed Systems

Multiprocessor Systems Continuous need for faster computers shared memory model message passing multiprocessor wide area distributed system

Multiprocessor Hardware (2) UMA Multiprocessor using a crossbar switch

Multiprocessor Hardware (3) Multiprocessors using multistage switching networks can be built from 2x2 switches (a) 2x2 switch (b) Message format

Multiprocessor Hardware (4) Omega Switching Network

Multiprocessor OS Types (1) Bus Each CPU has its own operating system

Multiprocessor OS Types (2) Bus Master-Slave multiprocessors

Multiprocessor OS Types (3) Bus Symmetric Multiprocessors SMP multiprocessor model

Multicomputers Definition: Tightly-coupled CPUs that do not share memory Also known as cluster computers clusters of workstations (COWs)

Multicomputer Hardware (1) Interconnection topologies (a) single switch (b) ring (c) grid (d) double torus (e) cube (f) hypercube

Remote Procedure Call (1) Steps in making a remote procedure call the stubs are shaded gray

Distributed Systems (1) Achieving uniformity with middleware

Document-Based Middleware How the browser gets a page Asks DNS for IP address DNS replies with IP address Browser makes connection Sends request for specified page Server sends file TCP connection released Browser displays text Browser fetches, displays images

File System-Based Middleware (1) Transfer Models (a) upload/download model (b) remote access model

File System-Based Middleware (2) Naming Transparency (b) Clients have same view of file system (c) Alternatively, clients with different view

Network File System The Network File System (NFS) was developed to allow machines to mount a disk partition on a remote machine as if it were on a local hard drive. This allows for fast, seamless sharing of files across a network. Three aspects of NFS are of interest: the architecture, the protocol, and the implementation. 2/24/2019 BR

NFS architecture UNIX kernel protocol Client computer Server computer system calls Local Remote UNIX file system NFS client server Application program Virtual file system Other file system 2/24/2019 BR

NFS Architecture (contd.) Allows an arbitrary collection of clients and servers to share a common file system. In many cases all servers and clients are on the same LAN but this is not required. NFS allows every machine to be a client and server at the same time. Each NFS server exports one or more directories for access by remote clients. 2/24/2019 BR

NFS Protocol One of the goals o NFS is to support a heterogeneous system, with clients and servers running different operating systems on different hardware. It is essential the interface between clients and server be well defined. NFS accomplishes this goal by defining two client-server protocol: one for handling mounting and another for directory and file access. Protocol defines requests by clients and responses by servers. 2/24/2019 BR

Mounting Client requests a directory structure to be mounted, if the path is legal the server returns file handle to the client. Or the mounting can be automatic by placing the directories to mounted in the /etc/rc: automounting. 2/24/2019 BR

File Access NFS supports most unix operations except open and close. This is to satisfy the “statelessness” on the server end. Server need not keep a list of open connections. See the operations listed in earlier slides. (On the other hand consider your database connection… you create an object, connection is opened etc.) 2/24/2019 BR

Implementation After the usual system call layer, NFS specific layer Virtual File System (VFS) maintains an entry per file called vnode (virtual I-node) for every open file. Vnode indicate whether a file is local or remote. For remote files extra info is provided. For local file, file system and I-node are specified. Lets see how to use v-nodes using a mount, open, read system calls from a client application. 2/24/2019 BR

Vnode use To mount a remote file system, the sys admin (or /etc/rc) calls the mount program specifying the remote directory, local directory in which to be mounted, and other info. If the remote directory exist and is available for mounting, mount system call is made. Kernel constructs vnode for the remote directory and asks the NFS-client code to create a r-node (remote I-node) in its internal tables. V-node in the client VFS will point to local I-node or this r-node. 2/24/2019 BR

Remote File Access When a remote file is opened by the client, it locates the r-node. It then asks NFS Client to open the file. NFS file looks up the path in the remote file system and return the file handle to VFS tables. The caller (application) is given a file descriptor for the remote file. No table entries are made on the server side. Subsequent reads will invoke the remote file, and for efficiency sake the transfers are usually in large chunks (8K). 2/24/2019 BR