Process Virtualization. Process Process is a program that has initiated its execution. A program is a passive entity; whereas a process is an active entity.

Slides:



Advertisements
Similar presentations
Processes Management.
Advertisements

CHAPTER 2 PROCESSOR SCHEDULING PART I By U ğ ur HALICI.
Day 08 Operating systems concepts and Processes. Functions of an OS.
A. Frank - P. Weisberg Operating Systems Process Scheduling and Switching.
Chapter 3: Processes. 3.2 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts Objectives Understand Process concept Process scheduling Creating.
1/27/2010CSCI 315 Operating Systems Design1 Processes Notice: The slides for this lecture have been largely based on those accompanying an earlier version.
CMPT 300: Operating Systems I Ch 3: Processes Dr. Mohamed Hefeeda
1/23/2008CSCI 315 Operating Systems Design1 Processes Notice: The slides for this lecture have been largely based on those accompanying the textbook Operating.
CSSE Operating Systems
Operating Systems (CSCI2413) Lecture 3 Processes phones off (please)
CE Operating Systems Lecture 5 Processes. Overview of lecture In this lecture we will be looking at What is a process? Structure of a process Process.
Process Management. Processes Process Concept Process Scheduling Operations on Processes Interprocess Communication Examples of IPC Systems Communication.
Exec Function calls Used to begin a processes execution. Accomplished by overwriting process imaged of caller with that of called. Several flavors, use.
Process by Dr. Amin Danial Asham. References Operating System Concepts ABRAHAM SILBERSCHATZ, PETER BAER GALVIN, and GREG GAGNE.
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition, Chapter 3: Processes.
8-Sep Operating Systems Yasir Kiani. 8-Sep Agenda for Today Review of previous lecture Process scheduling concepts Process creation and termination.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 3: Processes Process Concept Process Scheduling Operations on Processes Cooperating.
Computer Studies (AL) Operating System Process Management - Process.
Processes – Part I Processes – Part I. 3.2 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts Review on OSs Upon brief introduction of OSs,
11/13/20151 Processes ICS 240: Operating Systems –William Albritton Information and Computer Sciences Department at Leeward Community College –Original.
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition, Chapter 3: Processes.
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition, Chapter 3: Process-Concept.
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition, Chapter 3: Process-Concept.
Operating Systems (CS 340 D) Dr. Abeer Mahmoud Princess Nora University Faculty of Computer & Information Systems Computer science Department.
Processes. Process Concept Process Scheduling Operations on Processes Interprocess Communication Communication in Client-Server Systems.
Cs431-cotter1 Processes and Threads Tanenbaum 2.1, 2.2 Crowley Chapters 3, 5 Stallings Chapter 3, 4 Silberschaz & Galvin 3, 4.
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition, Chapter 3: Processes.
Chapter 3: Processes. 3.2 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts Chapter 3: Processes Process Concept Process Scheduling Operations.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 4: Processes Process Concept Process Scheduling Types of shedulars Process.
ITC250 Copyright 2008© ITC 1 Assessment -4- Choose the correct answer.
Silberschatz, Galvin and Gagne  2002 Modified for CSCI 399, Royden, Operating System Concepts Operating Systems Lecture 8 Processes II Read Ch.
Advanced Operating Systems CS6025 Spring 2016 Processes and Threads (Chapter 2)
Operating System Components) These components reflect the services made available by the O.S. Process Management Memory Management I/O Device Management.
Multiprogramming. Readings r Chapter 2.1 of the textbook.
Lecture 3 Process.
Processes and threads.
Chapter 3: Processes.
Process Management Process Concept Why only the global variables?
Chapter 3: Process Concept
Topic 3 (Textbook - Chapter 3) Processes
Operating System Concepts
Operating Systems (CS 340 D)
Sujata Ray Dey Maheshtala College Computer Science Department
Lecture Topics: 11/1 Processes Process Management
Process Management Presented By Aditya Gupta Assistant Professor
Chapter 3: Process-Concept
Processes Overview: Process Concept Process Scheduling
Chapter 3: Process Concept
Chapter 3: Processes Source & Copyright: Operating System Concepts, Silberschatz, Galvin and Gagne.
Chapter 3: Processes.
Intro to Processes CSSE 332 Operating Systems
Operating Systems (CS 340 D)
Chapter 3: Processes.
Operating Systems CPU Scheduling.
Lecture 2: Processes Part 1
ICS 143 Principles of Operating Systems
Recap OS manages and arbitrates resources
Operating Systems Lecture 6.
Process & its States Lecture 5.
Chapter 3: Processes.
Operating System Concepts
Processes Hank Levy 1.
Sujata Ray Dey Maheshtala College Computer Science Department
Chapter 3: Processes.
Outline Chapter 2 (cont) Chapter 3: Processes Virtual machines
Processes Hank Levy 1.
Chapter 6: Scheduling Algorithms Dr. Amjad Ali
Chapter 3: Processes Process Concept Process Scheduling
Chapter 3: Process Concept
Presentation transcript:

Process Virtualization

Process Process is a program that has initiated its execution. A program is a passive entity; whereas a process is an active entity.

Process structure A process includes:  program section - contains a copy of the machine code instructions  user data section - to hold variable data values  system data section - to hold process context info when process interrupted - program counter, processor registers, etc and system information about resources allocated to process, etc.  user and system data sections obviously may be different from one run of a process to another

Process State As a process executes, it changes state. new: The process is created by OS ready: The process is waiting to be assigned to a processor. running: Instructions are being executed on processor waiting: The process is waiting for some event to occur terminated: The process has finished execution.

Process Control Block (PCB) PCB - data structure that contains Information associated with each process: Process ID Process State Program Counter Register Contents Starting address of the process Size of the process Pointer to Child Process Pointer to Next PCB (Sibling Pointer) Resource Pointer

Process Scheduling Queues Job queue – Set of all processes just created by Long-term scheduler (new state processes). Ready queue – set of all processes that are in main memory, ready to execute (ready state processes). Device queues – set of processes waiting to use an I/O device (waiting state processes).

Queueing Diagram

Schedulers Long-term scheduler (LTS) (or job scheduler) – selects which processes should be brought into the ready queue. Short-term scheduler (STS) (or CPU scheduler) – selects which process should be executed next on CPU.

Schedulers  Short-term scheduler is invoked very frequently (milliseconds) -> (must be fast).  Long-term scheduler is invoked very infrequently (seconds, minutes) -> (may be slow).  The long-term scheduler controls the degree of multiprogramming - this is the number of processes in the system that can be scheduled onto the CPU I.e. number of processes competing for CPU as a resource.

Schedulers  Long-term schedule should choose a good process mix; otherwise it may lead to either low CPU utilization (if I/O bound processes are selected only) or low Device utilization (if CPU bound processes are selected only).