SlideShare a Scribd company logo
1 of 38
Chapter 4:  Processes ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Process Concept ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Process State ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Diagram of Process State
Process Control Block (PCB) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Process Control Block (PCB)
CPU Switch From Process to Process
Process Scheduling Queues ,[object Object],[object Object],[object Object],[object Object]
Ready Queue And Various I/O Device Queues
Representation of Process Scheduling
Schedulers ,[object Object],[object Object]
Addition of Medium Term Scheduling
Schedulers (Cont.) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Context Switch ,[object Object],[object Object],[object Object]
Process Creation ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Process Creation (Cont.) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Processes Tree on a UNIX System
Process Termination ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Cooperating Processes ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Producer-Consumer Problem ,[object Object],[object Object],[object Object]
Bounded-Buffer – Shared-Memory Solution ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Bounded-Buffer – Producer Process  ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Bounded-Buffer – Consumer Process ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Interprocess Communication (IPC) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Implementation Questions ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Direct Communication ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Indirect Communication ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Indirect Communication ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Indirect Communication ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Synchronization ,[object Object],[object Object],[object Object],[object Object]
Buffering ,[object Object],[object Object],[object Object],[object Object]
Client-Server Communication ,[object Object],[object Object],[object Object]
Sockets ,[object Object],[object Object],[object Object],[object Object]
Socket Communication
Remote Procedure Calls ,[object Object],[object Object],[object Object],[object Object]
Execution of RPC
Remote Method Invocation ,[object Object],[object Object]
Marshalling Parameters

More Related Content

What's hot

process management
 process management process management
process management
Ashish Kumar
 
Dynamic load balancing in distributed systems in the presence of delays a re...
Dynamic load balancing in distributed systems in the presence of delays  a re...Dynamic load balancing in distributed systems in the presence of delays  a re...
Dynamic load balancing in distributed systems in the presence of delays a re...
Mumbai Academisc
 
Chapter 14 replication
Chapter 14 replicationChapter 14 replication
Chapter 14 replication
AbDul ThaYyal
 
resource management
  resource management  resource management
resource management
Ashish Kumar
 

What's hot (19)

Distributed process and scheduling
Distributed process and scheduling Distributed process and scheduling
Distributed process and scheduling
 
Process Management-Process Migration
Process Management-Process MigrationProcess Management-Process Migration
Process Management-Process Migration
 
Chapter 11
Chapter 11Chapter 11
Chapter 11
 
process management
 process management process management
process management
 
Processes and Processors in Distributed Systems
Processes and Processors in Distributed SystemsProcesses and Processors in Distributed Systems
Processes and Processors in Distributed Systems
 
CS9222 ADVANCED OPERATING SYSTEMS
CS9222 ADVANCED OPERATING SYSTEMSCS9222 ADVANCED OPERATING SYSTEMS
CS9222 ADVANCED OPERATING SYSTEMS
 
Process Migration in Heterogeneous Systems
Process Migration in Heterogeneous SystemsProcess Migration in Heterogeneous Systems
Process Migration in Heterogeneous Systems
 
Dynamic load balancing in distributed systems in the presence of delays a re...
Dynamic load balancing in distributed systems in the presence of delays  a re...Dynamic load balancing in distributed systems in the presence of delays  a re...
Dynamic load balancing in distributed systems in the presence of delays a re...
 
Chapter 14 replication
Chapter 14 replicationChapter 14 replication
Chapter 14 replication
 
Data Replication in Distributed System
Data Replication in  Distributed SystemData Replication in  Distributed System
Data Replication in Distributed System
 
resource management
  resource management  resource management
resource management
 
Load balancing in Distributed Systems
Load balancing in Distributed SystemsLoad balancing in Distributed Systems
Load balancing in Distributed Systems
 
Distributed System Management
Distributed System ManagementDistributed System Management
Distributed System Management
 
Communications is distributed systems
Communications is distributed systemsCommunications is distributed systems
Communications is distributed systems
 
Replication
ReplicationReplication
Replication
 
Processor allocation in Distributed Systems
Processor allocation in Distributed SystemsProcessor allocation in Distributed Systems
Processor allocation in Distributed Systems
 
Message Passing, Remote Procedure Calls and Distributed Shared Memory as Com...
Message Passing, Remote Procedure Calls and  Distributed Shared Memory as Com...Message Passing, Remote Procedure Calls and  Distributed Shared Memory as Com...
Message Passing, Remote Procedure Calls and Distributed Shared Memory as Com...
 
Ch03 processes
Ch03 processesCh03 processes
Ch03 processes
 
Resource management
Resource managementResource management
Resource management
 

Viewers also liked

Ch3 OS
Ch3 OSCh3 OS
Ch3 OS
C.U
 
Ch2 OS
Ch2 OSCh2 OS
Ch2 OS
C.U
 
Chapter 9 OS
Chapter 9 OSChapter 9 OS
Chapter 9 OS
C.U
 
Tutorial4 Threads
Tutorial4  ThreadsTutorial4  Threads
Tutorial4 Threads
tech2click
 
Stroustrup c++0x overview
Stroustrup c++0x overviewStroustrup c++0x overview
Stroustrup c++0x overview
Vaibhav Bajaj
 
Process Synchronization And Deadlocks
Process Synchronization And DeadlocksProcess Synchronization And Deadlocks
Process Synchronization And Deadlocks
tech2click
 
Operating System 5
Operating System 5Operating System 5
Operating System 5
tech2click
 
Tales of an Open Scholar
Tales of an Open ScholarTales of an Open Scholar
Tales of an Open Scholar
ethan.watrall
 
Ch12 OS
Ch12 OSCh12 OS
Ch12 OS
C.U
 
Empress Carlota Maroof
Empress Carlota MaroofEmpress Carlota Maroof
Empress Carlota Maroof
anaq
 
Entrepreneur Assignment
Entrepreneur AssignmentEntrepreneur Assignment
Entrepreneur Assignment
so_hell85
 

Viewers also liked (20)

Ch3 OS
Ch3 OSCh3 OS
Ch3 OS
 
Ch2 OS
Ch2 OSCh2 OS
Ch2 OS
 
Chapter 9 OS
Chapter 9 OSChapter 9 OS
Chapter 9 OS
 
Tutorial4 Threads
Tutorial4  ThreadsTutorial4  Threads
Tutorial4 Threads
 
Stroustrup c++0x overview
Stroustrup c++0x overviewStroustrup c++0x overview
Stroustrup c++0x overview
 
Mid1 Revision
Mid1  RevisionMid1  Revision
Mid1 Revision
 
Introduction to Ruby on Rails
Introduction to Ruby on RailsIntroduction to Ruby on Rails
Introduction to Ruby on Rails
 
Process Synchronization And Deadlocks
Process Synchronization And DeadlocksProcess Synchronization And Deadlocks
Process Synchronization And Deadlocks
 
Operating System 5
Operating System 5Operating System 5
Operating System 5
 
Unit II - 2 - Operating System - Threads
Unit II - 2 - Operating System - ThreadsUnit II - 2 - Operating System - Threads
Unit II - 2 - Operating System - Threads
 
Unit II - 3 - Operating System - Process Synchronization
Unit II - 3 - Operating System - Process SynchronizationUnit II - 3 - Operating System - Process Synchronization
Unit II - 3 - Operating System - Process Synchronization
 
Olympic Logos
Olympic LogosOlympic Logos
Olympic Logos
 
Tales of an Open Scholar
Tales of an Open ScholarTales of an Open Scholar
Tales of an Open Scholar
 
CUNY interactive 08
CUNY interactive 08CUNY interactive 08
CUNY interactive 08
 
Foundations of Open Source Economic Development Presentation 2 Curve 1
Foundations of Open Source Economic Development Presentation 2 Curve 1Foundations of Open Source Economic Development Presentation 2 Curve 1
Foundations of Open Source Economic Development Presentation 2 Curve 1
 
Ch12 OS
Ch12 OSCh12 OS
Ch12 OS
 
Empress Carlota Maroof
Empress Carlota MaroofEmpress Carlota Maroof
Empress Carlota Maroof
 
Entrepreneur Assignment
Entrepreneur AssignmentEntrepreneur Assignment
Entrepreneur Assignment
 
Turismo y Sostenibilidad
Turismo y SostenibilidadTurismo y Sostenibilidad
Turismo y Sostenibilidad
 
Workshop
WorkshopWorkshop
Workshop
 

Similar to Ch4 OS

Module-6 process managedf;jsovj;ksdv;sdkvnksdnvldknvlkdfsment.ppt
Module-6 process managedf;jsovj;ksdv;sdkvnksdnvldknvlkdfsment.pptModule-6 process managedf;jsovj;ksdv;sdkvnksdnvldknvlkdfsment.ppt
Module-6 process managedf;jsovj;ksdv;sdkvnksdnvldknvlkdfsment.ppt
KAnurag2
 
operating system for computer engineering ch3.ppt
operating system for computer engineering ch3.pptoperating system for computer engineering ch3.ppt
operating system for computer engineering ch3.ppt
gezaegebre1
 
Inter-Process communication in Operating System.ppt
Inter-Process communication in Operating System.pptInter-Process communication in Operating System.ppt
Inter-Process communication in Operating System.ppt
NitihyaAshwinC
 
Ch2_Processes_and_process_management_1.ppt
Ch2_Processes_and_process_management_1.pptCh2_Processes_and_process_management_1.ppt
Ch2_Processes_and_process_management_1.ppt
Mohammad Almuiet
 
Communication And Synchronization In Distributed Systems
Communication And Synchronization In Distributed SystemsCommunication And Synchronization In Distributed Systems
Communication And Synchronization In Distributed Systems
guest61205606
 

Similar to Ch4 OS (20)

Chapter 3 - Processes
Chapter 3 - ProcessesChapter 3 - Processes
Chapter 3 - Processes
 
Module-6 process managedf;jsovj;ksdv;sdkvnksdnvldknvlkdfsment.ppt
Module-6 process managedf;jsovj;ksdv;sdkvnksdnvldknvlkdfsment.pptModule-6 process managedf;jsovj;ksdv;sdkvnksdnvldknvlkdfsment.ppt
Module-6 process managedf;jsovj;ksdv;sdkvnksdnvldknvlkdfsment.ppt
 
Process Management.ppt
Process Management.pptProcess Management.ppt
Process Management.ppt
 
operating system for computer engineering ch3.ppt
operating system for computer engineering ch3.pptoperating system for computer engineering ch3.ppt
operating system for computer engineering ch3.ppt
 
Inter-Process communication in Operating System.ppt
Inter-Process communication in Operating System.pptInter-Process communication in Operating System.ppt
Inter-Process communication in Operating System.ppt
 
Task communication
Task communicationTask communication
Task communication
 
Operating Systems Part II-Process Scheduling, Synchronisation & Deadlock
Operating Systems Part II-Process Scheduling, Synchronisation & DeadlockOperating Systems Part II-Process Scheduling, Synchronisation & Deadlock
Operating Systems Part II-Process Scheduling, Synchronisation & Deadlock
 
Ch2_Processes_and_process_management_1.ppt
Ch2_Processes_and_process_management_1.pptCh2_Processes_and_process_management_1.ppt
Ch2_Processes_and_process_management_1.ppt
 
OSLec 4& 5(Processesinoperatingsystem).ppt
OSLec 4& 5(Processesinoperatingsystem).pptOSLec 4& 5(Processesinoperatingsystem).ppt
OSLec 4& 5(Processesinoperatingsystem).ppt
 
Ch03- PROCESSES.ppt
Ch03- PROCESSES.pptCh03- PROCESSES.ppt
Ch03- PROCESSES.ppt
 
unit-2.pdf
unit-2.pdfunit-2.pdf
unit-2.pdf
 
Chapter 3.pdf
Chapter 3.pdfChapter 3.pdf
Chapter 3.pdf
 
5_Interprocess Communication.pptx
5_Interprocess Communication.pptx5_Interprocess Communication.pptx
5_Interprocess Communication.pptx
 
LM9 - OPERATIONS, SCHEDULING, Inter process xommuncation
LM9 - OPERATIONS, SCHEDULING, Inter process xommuncationLM9 - OPERATIONS, SCHEDULING, Inter process xommuncation
LM9 - OPERATIONS, SCHEDULING, Inter process xommuncation
 
OperatingSystem02..(B.SC Part 2)
OperatingSystem02..(B.SC Part 2)OperatingSystem02..(B.SC Part 2)
OperatingSystem02..(B.SC Part 2)
 
Bt0070
Bt0070Bt0070
Bt0070
 
Operating system 19 interacting processes and ipc
Operating system 19 interacting processes and ipcOperating system 19 interacting processes and ipc
Operating system 19 interacting processes and ipc
 
Producer Consumer Problem in C explained.ppt
Producer Consumer Problem in C explained.pptProducer Consumer Problem in C explained.ppt
Producer Consumer Problem in C explained.ppt
 
Chapter two process.pptx
Chapter two process.pptxChapter two process.pptx
Chapter two process.pptx
 
Communication And Synchronization In Distributed Systems
Communication And Synchronization In Distributed SystemsCommunication And Synchronization In Distributed Systems
Communication And Synchronization In Distributed Systems
 

More from C.U

Ch21 OS
Ch21 OSCh21 OS
Ch21 OS
C.U
 
Ch18 OS
Ch18 OSCh18 OS
Ch18 OS
C.U
 
Ch20 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ch9 OS
 
Ch8 OS
Ch8 OSCh8 OS
Ch8 OS
 
Ch7 OS
Ch7 OSCh7 OS
Ch7 OS
 
Ch1 OS
Ch1 OSCh1 OS
Ch1 OS
 
Ch5 OS
Ch5 OSCh5 OS
Ch5 OS
 
Flash Memory OS
Flash Memory OSFlash Memory OS
Flash Memory OS
 
Protocols Overview
Protocols OverviewProtocols Overview
Protocols Overview
 
2204
22042204
2204
 

Ch4 OS