distributed operating system, Lecture notes of Computer Engineering and Programming

distributed operating system in MTech

Typology: Lecture notes

2017/2018

Uploaded on 12/28/2018

ramesh-karlagunta
ramesh-karlagunta 🇮🇳

1 document

1 / 83

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Distributed Operating
Systems - Introduction
Prof. Nalini
Venkatasubramanian
(
includes slides from Prof. Petru Eles and Profs.
textbook slides by Kshemkalyani/Singhal
)
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35
pf36
pf37
pf38
pf39
pf3a
pf3b
pf3c
pf3d
pf3e
pf3f
pf40
pf41
pf42
pf43
pf44
pf45
pf46
pf47
pf48
pf49
pf4a
pf4b
pf4c
pf4d
pf4e
pf4f
pf50
pf51
pf52
pf53

Partial preview of the text

Download distributed operating system and more Lecture notes Computer Engineering and Programming in PDF only on Docsity!

Distributed OperatingSystems - Introduction

Prof. NaliniVenkatasubramanian(

includes slides from Prof. Petru Eles and Profs.

textbook slides by Kshemkalyani/Singhal

Process/Thread Management

Scheduling

Communication

Synchronization

Memory Management

Storage Management

FileSystems Management

Protection and Security

Networking

What does an OS do?

Hardware Architectures

Multiprocessors

Tightly coupled

Shared memory

Cache

CPU

Cache

CPU

Memory

Parallel Architecture

Hardware Architectures

Multicomputers

Loosely coupled

Private memory

Autonomous

Memory

CPU

Memory

CPU

Memory

CPU

Distributed Architecture

Distributed Operating System(DOS)

Distributed Computing Systems commonly use twotypes of Operating Systems.



Network Operating Systems



Distributed Operating System

Differences between the two types



System Image



Autonomy



Fault Tolerance Capability

Operating System Types

Multiprocessor OS

Looks like a virtual uniprocessor, contains only one copy of the OS, communicates via sharedmemory, single run queue

Network OS

Does not look like a virtual uniprocessor, contains n copies of the OS, communicates via shared files,n run queues

Distributed OS

Looks like a virtual uniprocessor (more or less), contains n copies of the OS, communicates via messages, n run queues

Transparency

Location transparency

processes, cpu’s and other devices, files

Replication transparency (of files)

Concurrency transparency

(user unaware of the existence of others)

Parallelism

User writes serial program, compiler and OS

do the rest

Performance

Throughput - response time

Load Balancing (static, dynamic)

Communication is slow compared tocomputation speed

fine grain, coarse grain parallelism

Remote Procedure Call

A convenient way to construct a client-server connectionwithout explicitly writing send/ receive type programs(helps maintain transparency).

Remote Procedure Calls (RPC) 

General message passing model. Providesprogrammers with a familiar mechanism for buildingdistributed applications/systems

Familiar semantics (similar to LPC)



Simple syntax, well defined interface, ease of use, generalityand IPC between processes on same/different machines.

It is generally synchronous

Can be made asynchronous by using multi-threading

RPC continued…



Transparency of RPC



Syntactic Transparency



Semantic Transparency



Unfortunately achieving exactly the same semantics for RPCs and LPCs isclose to impossible



Disjoint address spaces



More vulnerable to failure



Consume more time (mostly due to communication delays)

Implementing RPC Mechanism

Uses the concept of stubs; A perfectly normal LPCabstraction by concealing from programs the interfaceto the underlying RPC

Involves the following elements



The client



The client stub



The RPC runtime



The server stub



The server

RPC servers and protocols…

RPC Messages (call and reply messages)

Server Implementation



Stateful servers



Stateless servers

Communication Protocols



Request(R)Protocol



Request/Reply(RR) Protocol



Request/Reply/Ack(RRA) Protocol

RPC NG: DCOM & CORBA

Object models allow services and functionality to becalled from distinct processes

DCOM/COM+(Win2000) and CORBA IIOP extend this toallow calling services and objects on different machines

More OS features (authentication,resourcemanagement,process creation,…) are being moved todistributed objects.