Group no.2 Presented to : Eng.Ahmed Hassan Sunday, March 04,2012.

Slides:



Advertisements
Similar presentations
CPU Scheduling Tanenbaum Ch 2.4 Silberchatz and Galvin Ch 5.
Advertisements

Topic : Process Management Lecture By: Rupinder Kaur Lecturer IT, SRS Govt. Polytechnic College for Girls,Ludhiana.
OS, , Part II CPU Scheduling Department of Computer Engineering, PSUWannarat Suntiamorntut.
Operating Systems Process Scheduling (Ch 3.2, )
Maninder Kaur OPERATING SYSTEM Maninder Kaur 11 Oct 2010.
Operating System CS105. Objectives Role of an operating system Manages resources – Memory – CPU – Secondary storage – I/O devices Memory CPU Hard Disk.
Chapter 5 CPU Scheduling. CPU Scheduling Topics: Basic Concepts Scheduling Criteria Scheduling Algorithms Multiple-Processor Scheduling Real-Time Scheduling.
Chapter 9 Uniprocessor Scheduling Operating Systems: Internals and Design Principles, 6/E William Stallings Dave Bremer Otago Polytechnic, N.Z. ©2008,
Chapter 9 Uniprocessor Scheduling Operating Systems: Internals and Design Principles, 6/E William Stallings Dave Bremer Otago Polytechnic, N.Z. ©2008,
Chapter 3 Operating Systems. Chapter 3 Operating Systems 3.1 The Evolution of Operating Systems 3.1 The Evolution of Operating Systems 3.2 Operating System.
Operating System Process Scheduling (Ch 4.2, )
Operating System I Process Scheduling. Schedulers F Short-Term –“Which process gets the CPU?” –Fast, since once per 100 ms F Long-Term (batch) –“Which.
Uniprocessor Scheduling Chapter 9. Aim of Scheduling The key to multiprogramming is scheduling Scheduling is done to meet the goals of –Response time.
Introduction to Operating Systems – Windows process and thread management In this lecture we will cover Threads and processes in Windows Thread priority.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 6: CPU Scheduling Basic Concepts Scheduling Criteria Scheduling Algorithms.
Cs238 CPU Scheduling Dr. Alan R. Davis. CPU Scheduling The objective of multiprogramming is to have some process running at all times, to maximize CPU.
CS 104 Introduction to Computer Science and Graphics Problems Operating Systems (2) Process Management 10/03/2008 Yang Song (Prepared by Yang Song and.
Chapter 11 Operating Systems
OUTLINE What is the Process Management? What is it covers? pprocess state pprocess table, pprocess scheduling.
Real-Time Kernels and Operating Systems. Operating System: Software that coordinates multiple tasks in processor, including peripheral interfacing Types.
1 Uniprocessor Scheduling Chapter 9. 2 Aims of Scheduling Assign processes to be executed by the processor(s) Response time Throughput Processor efficiency.
Chapter 5: CPU Scheduling
Informationsteknologi Tuesday, October 9, 2007Computer Systems/Operating Systems - Class 141 Today’s class Scheduling.
Operating Systems Process Scheduling (Ch 4.2, )
1 Wednesday, June 14, 2006 "Beware of bugs in the above code; I have only proved it correct, not tried it." - Donald Knuth.
1 Lecture 10: Uniprocessor Scheduling. 2 CPU Scheduling n The problem: scheduling the usage of a single processor among all the existing processes in.
Operating System Process Scheduling (Ch 4.2, )
1 Uniprocessor Scheduling Chapter 9. 2 Aim of Scheduling Main Job: Assign processes to be executed by the processor(s) and processes to be loaded in main.
OPERATING SYSTEMS CPU SCHEDULING.  Introduction to CPU scheduling Introduction to CPU scheduling  Dispatcher Dispatcher  Terms used in CPU scheduling.
Chapter 9 Uniprocessor Scheduling Operating Systems: Internals and Design Principles, 6/E William Stallings Patricia Roy Manatee Community College, Venice,
 Introduction, concepts, review & historical perspective  Processes ◦ Synchronization ◦ Scheduling ◦ Deadlock  Memory management, address translation,
Chapter 6 Scheduling. Basic concepts Goal is maximum utilization –what does this mean? –cpu pegged at 100% ?? Most programs are I/O bound Thus some other.
Operating Systems Lecture Notes CPU Scheduling Matthew Dailey Some material © Silberschatz, Galvin, and Gagne, 2002.
Multiprocessor and Real-Time Scheduling Chapter 10.
Chapter 101 Multiprocessor and Real- Time Scheduling Chapter 10.
Uniprocessor Scheduling Chapter 9. Aim of Scheduling Minimize response time Maximize throughput Maximize processor efficiency.
Cpr E 308 Spring 2004 Real-time Scheduling Provide time guarantees Upper bound on response times –Programmer’s job! –Every level of the system Soft versus.
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition, Chapter 5: CPU Scheduling.
Course Title: “Operating System” Chapter No: 04 “Process Scheduling” Course Instructor: ILTAF MEHDI IT Lecturer, MIHE, Kart-i Parwan, Kabul.
CE Operating Systems Lecture 7 Threads & Introduction to CPU Scheduling.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 6: CPU Scheduling Basic Concepts Scheduling Criteria Scheduling Algorithms.
Chapter 5 Processor Scheduling Introduction Processor (CPU) scheduling is the sharing of the processor(s) among the processes in the ready queue.
1 Uniprocessor Scheduling Chapter 9. 2 Aim of Scheduling Response time Throughput Processor efficiency.
Uniprocessor Scheduling Chapter 9. Aim of Scheduling Response time Throughput Processor efficiency.
Chapter 5: CPU Scheduling. 5.2 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts Chapter 5: CPU Scheduling Basic Concepts Scheduling Criteria.
Uniprocessor Scheduling
Chapter 5: Process Scheduling. 5.2 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts Basic Concepts Maximum CPU utilization can be obtained.
1 11/29/2015 Chapter 6: CPU Scheduling l Basic Concepts l Scheduling Criteria l Scheduling Algorithms l Multiple-Processor Scheduling l Real-Time Scheduling.
CIS250 OPERATING SYSTEMS Chapter 6 - CPU Scheduling Basic Concepts The objective of multi-programming is have a program running at all times Maximize.
RTOS task scheduling models
Uniprocessor Scheduling Chapter 9. Aim of Scheduling Assign processes to be executed by the processor or processors: –Response time –Throughput –Processor.
Silberschatz and Galvin  Operating System Concepts Module 5: CPU Scheduling Basic Concepts Scheduling Criteria Scheduling Algorithms Multiple-Processor.
What is an Operating System? Various systems and their pros and cons –E.g. multi-tasking vs. Batch OS definitions –Resource allocator –Control program.
CS333 Intro to Operating Systems Jonathan Walpole.
For a good summary, visit:
Purpose of Operating System Part 2 Monil Adhikari.
Uniprocessor Process Management & Process Scheduling Department of Computer Science Southern Illinois University Edwardsville Spring, 2016 Dr. Hiroshi.
1 CPU Scheduling Basic Concepts Scheduling Criteria Scheduling Algorithms Multiple-Processor Scheduling Real-Time Scheduling.
CPU Scheduling CSCI Introduction By switching the CPU among processes, the O.S. can make the system more productive –Some process is running at.
1 Uniprocessor Scheduling Chapter 3. 2 Alternating Sequence of CPU And I/O Bursts.
Chapter 9 Uniprocessor Scheduling Operating Systems: Internals and Design Principles, 6/E William Stallings Dave Bremer Otago Polytechnic, N.Z. ©2008,
Introduction to operating systems What is an operating system? An operating system is a program that, from a programmer’s perspective, adds a variety of.
CPU Scheduling Scheduling processes (or kernel-level threads) onto the cpu is one of the most important OS functions. The cpu is an expensive resource.
EEE Embedded Systems Design Process in Operating Systems 서강대학교 전자공학과
Chapter 6: CPU Scheduling
TDC 311 Process Scheduling.
Threads Chapter 4.
Chapter 5: CPU Scheduling
CS703 - Advanced Operating Systems
Uniprocessor Scheduling
Presentation transcript:

Group no.2 Presented to : Eng.Ahmed Hassan Sunday, March 04,2012

 Operating system (OS)  Examples of Operating system  RTOS  Soft versus Hard RTOS  Operating System Scheduling  Types of operating system scheduling  Scheduling algorithms Scope

 A program that controls the execution of application programs  An interface between applications and hardware Operating System

 Memory Addressing & Management  Interrupt & Exception Handling  Process & Task Management  Process Scheduling & Synchronization  File System  Timing Operating System handles

 RTOS – Real-Time Operating System  Single-user, Single-task: example PalmOS  Single-user, Multi-task: MS Windows and MacOS  Multi-user, Multi-task: UNIX Examples of Operating Systems

 A real-time operating system (RTOS)  It is an operating system (OS) intended to serve real-time application requests.  It is part of program (or source code) that was written for manage the CPU usability of microcontroller and it help to improve the efficiency of CPU in managing the tasks or process. What is RTOS

 valued more for how quickly it can respond than for the amount of work it can perform in a given period of time.  Real-time operating systems themselves have two varieties, soft real-time systems and hard real-time systems. What is RTOS (cont.)

 In a soft real-time system, tasks are completed as fast as possible without having to be completed within a specified timeframe.  In a hard real-time operating system however, not only tasks must be completed within the specified timeframe, but they must also be completed correctly. Soft vs. Hard RTOS

 Scheduling is the method by which threads, processes or data flows are given access to system resources. Operating System Scheduling

 The need for a scheduling algorithm arises from the requirement for most modern systems to perform  multitasking (execute more than one process at a time) and,  multiplexing (transmit multiple flows simultaneously). Operating System Scheduling(cont.)

 Throughput:- number of processes that complete their execution per time unit.  Waiting Time:- equal CPU time to each process.  Turnaround:- total time between submission of a process and its completion.  Response Time:- amount of time it takes from when a request was submitted. The scheduler is concerned with

How Scheduling manage task execution  A task, also referred to as a thread, is an independent section of a program complete with its own stack and CPU register space.  Each task is assigned a priority, and is always placed in one of dormant, ready, running, waiting.

 A task is ready when it is available for execution but its priority is less than the current task priority of the system.  Consequently, a task is running when its current priority is met and the CPU starts to execute it.  A task is considered in wait mode when it is waiting for a resource to become available How Scheduling manage tasks execution (cont.)

 Long-term scheduling  Medium-term scheduling  Short-term scheduling Types of OS scheduling

 These are algorithms used for distributing resources among parties which simultaneously and asynchronously request them. Scheduling Algorithms

 First in first out also known “First Come First served ( FCFS ) “  Shortest remaining time or (SJF)  Fixed priority pre-emptive scheduling  Round-robin scheduling  Multilevel queue scheduling Scheduling Algorithms(cont.)