Accounting information and limits

Slides:



Advertisements
Similar presentations
Chapter 3 Process Description and Control
Advertisements

Introduction CSCI 444/544 Operating Systems Fall 2008.
Threads, SMP, and Microkernels Chapter 4. Process Resource ownership - process is allocated a virtual address space to hold the process image Scheduling/execution-
CSC 501 Lecture 2: Processes. Von Neumann Model Both program and data reside in memory Execution stages in CPU: Fetch instruction Decode instruction Execute.
Process Description and Control
Process Description and Control Chapter 3. Major Requirements of an Operating System Interleave the execution of several processes to maximize processor.
Page 1 Processes and Threads Chapter Processes 2.2 Threads 2.3 Interprocess communication 2.4 Classical IPC problems 2.5 Scheduling.
Scheduler Activations Effective Kernel Support for the User-Level Management of Parallelism.
1 Process Description and Control Chapter 3. 2 Process Management—Fundamental task of an OS The OS is responsible for: Allocation of resources to processes.
CSCE 351: Operating System Kernels
Ceng Operating Systems Chapter 2.1 : Processes Process concept Process scheduling Interprocess communication Deadlocks Threads.
CS-502 Fall 2006Processes in Unix, Linux, & Windows 1 Processes in Unix, Linux, and Windows CS502 Operating Systems.
Unix & Windows Processes 1 CS502 Spring 2006 Unix/Windows Processes.
1 Process Description and Control Chapter 3 = Why process? = What is a process? = How to represent processes? = How to control processes?
Operating Systems (CSCI2413) Lecture 3 Processes phones off (please)
Processes in Unix, Linux, and Windows CS-502 Fall Processes in Unix, Linux, and Windows CS502 Operating Systems (Slides include materials from Operating.
BINA RAMAMURTHY UNIVERSITY AT BUFFALO System Structure and Process Model 5/30/2013 Amrita-UB-MSES
Operating System 3 PROCESS DESCRIPTION AND CONTROL.
Chapter 3 Process Description and Control Operating Systems: Internals and Design Principles, 6/E William Stallings Patricia Roy Manatee Community College,
Processes and Threads.
Chapter 3 Process Description and Control Operating Systems: Internals and Design Principles, 6/E William Stallings Patricia Roy Manatee Community College,
Introduction to Processes CS Intoduction to Operating Systems.
CSC 501 Lecture 2: Processes. Process Process is a running program a program in execution an “instantiation” of a program Program is a bunch of instructions.
Operating System 3 PROCESS DESCRIPTION AND CONTROL.
Chapter 3 Process Description and Control
Processes and Threads CS550 Operating Systems. Processes and Threads These exist only at execution time They have fast state changes -> in memory and.
1 RTOS Design Some of the content of this set of slides is taken from the documentation existing on the FreeRTOS website
Lecture 3 Process Concepts. What is a Process? A process is the dynamic execution context of an executing program. Several processes may run concurrently,
1 Chapter 2.1 : Processes Process concept Process concept Process scheduling Process scheduling Interprocess communication Interprocess communication Threads.
OPERATING SYSTEM SUPPORT DISTRIBUTED SYSTEMS CHAPTER 6 Lawrence Heyman July 8, 2002.
1 Review of Process Mechanisms. 2 Scheduling: Policy and Mechanism Scheduling policy answers the question: Which process/thread, among all those ready.
Java Thread and Memory Model
Chapter 2 Process Management. 2 Objectives After finish this chapter, you will understand: the concept of a process. the process life cycle. process states.
1 Process Description and Control Chapter 3. 2 Process A program in execution An instance of a program running on a computer The entity that can be assigned.
Processes 2 Introduction to Operating Systems: Module 4.
The Teacher Computing Scheduling [CP5]. The Teacher Computing Multiprogramming A number of jobs are queued and loaded into memory to be processed. A number.
Threads, SMP, and Microkernels Chapter 4. Processes and Threads Operating systems use processes for two purposes - Resource allocation and resource ownership.
Advanced Operating Systems CS6025 Spring 2016 Processes and Threads (Chapter 2)
REAL-TIME OPERATING SYSTEMS
PROCESS MANAGEMENT IN MACH
Applied Operating System Concepts -
Day 23 Virtual Memory.
Day 24 Virtual Memory.
Operating Systems: A Modern Perspective, Chapter 6
Chapter 3: Processes.
Processes in Unix, Linux, and Windows
Real-time Software Design
System Structure and Process Model
Chapter 3: Processes.
System Structure and Process Model
System Structure B. Ramamurthy.
Threads, SMP, and Microkernels
Processes in Unix, Linux, and Windows
System Structure and Process Model
Process & its States Lecture 5.
Process Description and Control
Process Description and Control
Processes Hank Levy 1.
Operating System 3 PROCESS DESCRIPTION AND CONTROL
Lesson Objectives Aims Key Words
Process Description and Control
Process Description and Control
Chapter 3: Processes.
Thomas E. Anderson, Brian N. Bershad,
Processes in Unix and Windows
Chapter 2 Processes and Threads 2.1 Processes 2.2 Threads
CS510 Operating System Foundations
Process Description and Control
Foundations and Definitions
Process State Model -Compiled by Sheetal for CSIT
Presentation transcript:

Accounting information and limits

Add the process to the ready list

 Initial allocation of memory and resources must be a subset of parent’s and be assigned as shared  Initial priority of the process can be greater than the parent’s

Management of processes in UNIX

How processes are managed after creation in UNIX

1. Suspend - Change process state to suspended A process may suspend only its descendants  May include cascaded suspension Stop the process if the process is in running state and save the state of the processor in the process control block  If process is already in blocked state, then leave it blocked, else change its state to ready state  If need be, call the scheduler to schedule the processor to some other process

2. Activate - Change process state to active Change one of the descendant processes to ready state Add the process to the ready list

3. Destroy - Remove one or more processes Cascaded destruction Only descendant processes may be destroyed  If the process to be “killed" is running, stop its execution   Free all the resources currently allocated to the process  Remove the process control block associated with the killed process Change priority - Set a new priority for the process Change the priority in the process control block Move the process to a different queue to reflect the new priority

3.4.2 Scheduling in UNIX

Scheduler decides the process to run first by using a scheduling algorithm

3.4.2.1 Type of scheduling used in UNIX

Pre-emptibility 3.6 Security

An important kernel design decision is the choice of the abstraction levels where the security mechanisms and policies should be implemented. Kernel security mechanisms play a critical role in supporting security at higher levels.

One approach is to use firmware and kernel support for fault tolerance (see above), and build the security policy for malicious behavior on top of that (adding features such as cryptography mechanisms where necessary), delegating some responsibility to the compiler. Approaches that delegate enforcement of security policy to the compiler and/or the application level are often called language-based security.

Static

Dynamic