CGS 3763 Operating Systems Concepts Spring 2013

Slides:



Advertisements
Similar presentations
Thursday, June 08, 2006 The number of UNIX installations has grown to 10, with more expected. The UNIX Programmer's Manual, 2nd Edition, June, 1972.
Advertisements

1/27/2010CSCI 315 Operating Systems Design1 Processes Notice: The slides for this lecture have been largely based on those accompanying an earlier version.
1/28/2004CSCI 315 Operating Systems Design1 Operating System Structures & Processes Notice: The slides for this lecture have been largely based on those.
1/23/2008CSCI 315 Operating Systems Design1 Processes Notice: The slides for this lecture have been largely based on those accompanying the textbook Operating.
Processes and Resources
CSE451 Processes Spring 2001 Gary Kimura Lecture #4 April 2, 2001.
Operating Systems (CSCI2413) Lecture 3 Processes phones off (please)
Process Management. Processes Process Concept Process Scheduling Operations on Processes Interprocess Communication Examples of IPC Systems Communication.
CGS 3763 Operating Systems Concepts Spring 2013 Dan C. Marinescu Office: HEC 304 Office hours: M-Wd 11: :30 AM.
Computer Architecture and Operating Systems CS 3230: Operating System Section Lecture OS-1 Process Concepts Department of Computer Science and Software.
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition, Chapter 3: Processes.
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,
Chapter 2 Processes and Threads Introduction 2.2 Processes A Process is the execution of a Program More specifically… – A process is a program.
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: 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.
Process Control Management Prepared by: Dhason Operating Systems.
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.
SLC/VER1.0/OS CONCEPTS/OCT'99 1Processes Process Concept Process Scheduling Operation On Processes Cooperating Processes Threads Interprocess Communication.
Processes and threads.
Chapter 3: Process Concept
Topic 3 (Textbook - Chapter 3) Processes
Operating Systems (CS 340 D)
Sujata Ray Dey Maheshtala College Computer Science Department
Processes Chapter 3 These slides include text, figures, and information from Operating Systems Concepts, by Silberschatz, Galvin, and Gagne. They also.
OPERATING SYSTEMS CS3502 Fall 2017
Lecture Topics: 11/1 Processes Process Management
Process Management Presented By Aditya Gupta Assistant Professor
Chapter 3: Process Concept
Chapter 3: Processes.
Intro to Processes CSSE 332 Operating Systems
Operating Systems (CS 340 D)
CGS 3763 Operating Systems Concepts Spring 2013
Chapter 3: Processes.
CGS 3763 Operating Systems Concepts Spring 2013
Lecture 2: Processes Part 1
Chapter 1: Intro (excerpt)
CGS 3763 Operating Systems Concepts Spring 2013
CGS 3763 Operating Systems Concepts Spring 2013
CGS 3763 Operating Systems Concepts Spring 2013
CGS 3763 Operating Systems Concepts Spring 2013
Operating Systems Lecture 5.
CGS 3763 Operating Systems Concepts Spring 2013
Process & its States Lecture 5.
Mid Term review CSC345.
CGS 3763 Operating Systems Concepts Spring 2013
Chapter 3: Processes.
CGS 3763 Operating Systems Concepts Spring 2013
Process Description and Control
CGS 3763 Operating Systems Concepts Spring 2013
Processes Hank Levy 1.
Sujata Ray Dey Maheshtala College Computer Science Department
Process Description and Control
CGS 3763 Operating Systems Concepts Spring 2013
Process Description and Control
Process Description and Control
Chapter 3: Processes.
CS149D Elements of Computer Science
Chapter 2 Processes and Threads 2.1 Processes 2.2 Threads
Outline Chapter 2 (cont) Chapter 3: Processes Virtual machines
Processes Hank Levy 1.
Chapter 3: Processes Process Concept Process Scheduling
Chapter 3: Process Concept
CGS 3763 Operating Systems Concepts Spring 2013
Chapter 3: Process Management
Presentation transcript:

CGS 3763 Operating Systems Concepts Spring 2013 Dan C. Marinescu Office: HEC 304 Office hours: M-Wd 11:30 - 12:30 AM

Lecture 8 – Friday, January 25, 2013 Last time: Process; process state; a process in memory Today: Interrupts Kernel data structures for process management Week in review. Problem solving – chapter 3 Next time Creation and termination of processes Inter-process communication Shared memory Message passing Reading assignments Chapters 3 and 4 of the textbook Chapters 3 and 4 textbook slides 12/28/2018

The state of a process 12/28/2018

Interrupts  provide the means to react to internal and external events 12/28/2018

Interrupt handlers are a component of the kernel 12/28/2018

12/28/2018

12/28/2018

Kernel functions for program execution Process management Scheduling and resource allocation Interrupt handling Error handling 12/28/2018

System calls for process control Load Execute Create, terminate a process Block a process, abort Get process attributes/set process attributes Allocate/deallocate memory for a process 12/28/2018

Control data structure maintained by the kernel To carry out its functions the kernel must maintain information about all objects in the system. For example: Processes  Process Control Block (PCB) Open files  File Control Block (FCB) 12/28/2018

Process Control Block (PCB) The entry for a process contains the following information Process state Program counter CPU registers CPU scheduling information Memory-management information Accounting information I/O status information

Process Control Block (PCB)

CPU Switch From Process to Process

Process Scheduling Queues Job queue – set of all processes in the system Ready queue – set of all processes residing in main memory, ready and waiting to execute Device queues – set of processes waiting for an I/O device Processes migrate among the various queues