Distributive operating system

23
Distributed Operating System By Muhammad Adeel Rajput Scientist/Instector

Transcript of Distributive operating system

Page 1: Distributive operating system

Distributed Operating System

ByMuhammad Adeel Rajput

Scientist/Instector

Page 2: Distributive operating system

System Architecture

Hardware

Operating System

Application Software

User / Machine

Page 3: Distributive operating system

Hardware

• Can be• Input Device• Processing Device• Memory / Storage Device• Output Device

Page 4: Distributive operating system

Operating System• Consist of:

– Kernel• Is heart of any OS. It is responsible of Managing Hardware and Software

resources efficiently.– Command Interpreter

• Is used to provide communication between hardware and software / user through software (i.e. it translate human written program / instruction into instruction set that is understandable by the hardware).

– Device Drivers• These are the software which are written for specific hardware supported by

the OS. When new hardware driver is installed , it becomes part of OS.– Utility Software

• These are small programs helps OS to perform different tasks i.e. formatting disk, tuning memory etc.

Page 5: Distributive operating system

User / Machine

• User of system can be machine or human both can directly or indirectly (through application software) communicate with the operating system.

Page 6: Distributive operating system

Application Software• Theses are software which are used to take input from user /

machine and provide output after processing by the hardware.

• For instance a CD ROM reads data(i.e. Pictures) from optical disk and showed onto screen. Or play a movie etc.

• Application Software can not run without operating system.• Common examples are

– Word Processing Software– Spread Sheets Software– Graphics Designing Software – Database Software etc

Page 7: Distributive operating system

Types of Operating System

• Standalone– Is a type of OS which is not connected to any other computer

in the network hence there is no concept of resource sharing.• Networked– Is a type of OS in which two or more computers / peripherals

are connected in a network for resource sharing (i.e. peripherals, Disk space)

• Distributed– Is a type of Network OS in which not only devices are

connected with each other but also shares (memory & processor) with each other.

Page 8: Distributive operating system

Stand Alone OS Architecture

Page 9: Distributive operating system

Network OS Architecture

Processor

Network OS Services

kernel

Machine A Machine B Machine C

kernel kernel

Local Memory

Processor

Network OS Services

Local Memory

Processor

Network OS Services

Local Memory

Page 10: Distributive operating system

Kernel

Processor

Structure of Parallel Computing

Shared Memory

Kernel

Machine A Machine B Machine C

Processor

Kernel

Processor

Page 11: Distributive operating system

Structure of DOS

Distributed Applications

Distributed Operating system services

Machine A Machine B Machine C

kernel kernel kernel

Shared Memory & Processor

Page 12: Distributive operating system

Distributed Applications

Distributed applications (distributed apps) are applications or software that runs on multiple computers within a network at the same time and can be stored on servers or with cloud computing. Unlike traditional applications that run on a single system, distributed applications run on multiple systems simultaneously for a single task or job.

Software that executes on two or more computers in a network. In a client-server environment, distributed applications have two parts: (1) the 'front end' that requires minimal computer resources and runs on the client computer(s), and (2) the 'back end' that requires large amounts of data crunching power and/or specialized hardware, and runs on a suitably equipped server computer.

Page 13: Distributive operating system

Parallel Processing

• It is type of distributed computing in which a process is divided into lightweight processes called threads.

• All threads run concurrently on different computing machines with sharing memory.

Page 14: Distributive operating system

Parallel Computing

• It is type of distributed computing in which a process is divided into lightweight processes called threads.

• All threads run concurrently on different computing machines without sharing memory.

Page 15: Distributive operating system

Distributed Memory System

• In distributed memory system each system has its own memory commutations are done locally however if remote data is required then it can be done through communication with one or more computers.

Page 16: Distributive operating system

Shared Memory System

• In Shared memory system multiple processors shares single memory. Processor dos not needs to know where the data is being saved. But whenever there are performance penalties and race conditions then processor has to track data location to avoid such conditions.

Page 17: Distributive operating system

Inter-process communication (IPC)

• Is a mechanism that provides communication between two or more processes – With-in single system memory.– With-in a network having shared or separate

memory.– Between two processes reside on different

networks.

Page 18: Distributive operating system

IPC (Through Kernel) System A

Processor

Kernel

Process 1(Browser)

Process 2(DNS)

Process 3(Email)

Process 4 (FTP)

Process 5 (Ping)

Page 19: Distributive operating system

www.yahoo.com what is IP ?

IPC (Through Kernel) System A

Processor

Kernel

Process 1(Browser)

Process 2(DNS)

Process 3(Email)

Process 4 (FTP)

Process 5 (Ping)

Page 20: Distributive operating system

www.yahoo.com what is IP ?

IPC (Through Kernel) System A

Processor

Kernel

Process 1(Browser)

Processing …

Process 3(Email)

Process 4 (FTP)

Process 5 (Ping)

Page 21: Distributive operating system

IP is 202.154.11.91

IPC (Through Kernel) System A

Processor

Kernel

Process 1(Browser)

Process 2(DNS)

Process 3(Email)

Process 4 (FTP)

Process 5 (Ping)

Page 22: Distributive operating system

Local Procedure Call

• Is a method in which a procedure calls another procedure which is reside on another system within/outside of the Network.

Processor

Kernel

Process 1(Browser)

Process 2(DNS)

Page 23: Distributive operating system

Remote Procedure Call

• Is a method in which a procedure calls another procedure which is reside within the system.

Processor

Kernel

Process 1(Browser)

P 2(Local DNS)

Processor

Kernel

Process 1(Browser)

P 2(Local DNS)

LAN/WAN LAN/WAN