Shortest Remaining Time

Slides:



Advertisements
Similar presentations
Goal: By the end of the lesson, students will be able to find the slope of a line from a graph.
Advertisements

Write the inverse: Is it true or false? If an animal is a panda, then it is black and white. If an animal is not a panda, then it is not black and white.
1 Session 15 Production Activity Control PAC in the MPC System –Shop Floor Control –Vendor Scheduling Production Activity Control Techniques –Basic Data.
Homework 2 Sarah Diesburg Operating Systems COP 4610.
Winchester Cathedral Maths Trail for KS2 Claire Evers.
Simulation. Example: A Bank Simulator We are given: –The number of tellers –The arrival time of each customer –The amount of time each customer requires.
1 6.3 Binary Heap - Other Heap Operations There is no way to find any particular key without a linear scan through the entire heap. However, if we know.
02/04/2008CSCI 315 Operating Systems Design1 CPU Scheduling Algorithms Notice: The slides for this lecture have been largely based on those accompanying.
SimLean Educate Interlude 1 – Level the Load Using an example of a generalised simulation of a theatre process.
Uniprocessor Scheduling III CPSC 410 Operating Systems Department of Physics, Computer Science and Engineering Christopher Newport University.
Uniprocessor Scheduling II
Advanced Life Support Group PHPLS The challenges and plans.
Least Common Multiple Objective: Finding Least Common Multiple (LCM)
Selection Sort Given n numbers to sort: Repeat the following n-1 times:  Mark the first unsorted number  Find the smallest unsorted.
Computer Architecture and Operating Systems CS 3230: Operating System Section Lecture OS-3 CPU Scheduling Department of Computer Science and Software Engineering.
Fair Resource Access & Allocation  OS Scheduling
Read, Read, Read, Read, Read!! The following presentation is a review over important computer terms. They are important for you to recognize and understand.
Scheduling Chap 2. Scheduling Introduction to Scheduling (1) Bursts of CPU usage alternate with periods of I/O wait –a CPU-bound process –an I/O bound.
Round Robin Scheduling A preemptive scheduling designed for Time Sharing Systems The Ready Queue is treated as a circular queue A small execution.
1 Our focus  scheduling a single CPU among all the processes in the system  Key Criteria: Maximize CPU utilization Maximize throughput Minimize waiting.
CPU Scheduling Algorithms Simulation using Java Kaushal Sinha CSC 4320 Spring 2007.
Math – Greatest Common Factor; Factoring by Grouping 1.
Data Structure & Algorithm II.  In a multiuser computer system, multiple users submit jobs to run on a single processor.  We assume that the time required.
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition, Lecture 7: CPU Scheduling Chapter 5.
Lecture 7: Scheduling preemptive/non-preemptive scheduler CPU bursts
Geometry 6.5 SWLT: Use the SSS & SAS Similarity Theorems.
Scanf n, a, b /* I-O wait */ for (i=1; i
Progress Report 2013/08/22. Model Modification Each core works under the same frequency due to hardware limitation. A task can have different processing.
Processor Scheduling Hank Levy. 22/4/2016 Goals for Multiprogramming In a multiprogramming system, we try to increase utilization and thruput by overlapping.
Process CPUArrival Time P P2 3 0 P3 3 0 The Gantt Chart for the schedule is: Waiting time for P1 = (7-7)=0; P2 = (0-0)=0; P3 = (3-0)
Time Remaining 20:00.
Inside 4 Bar Formation. 1. this is a combination of a bar that is the smallest of the last four and an inside bar against the previous bar. 2. This set.
Matthew’s Gospel Matthews Gospel is balanced out. He is one of the apostles. This gospel is almost the same as Lukes gospel. Mark 1:2. Behold, I am sending.
CPU Scheduling Operating Systems CS 550. Last Time Deadlock Detection and Recovery Methods to handle deadlock – Ignore it! – Detect and Recover – Avoidance.
16 Scheduling (focus on sequencing; FCFS, SPT, EDD pages , and Johnson’s rule pages ) Homework; 6, 7, 11.
Math 71A 5.3 – Greatest Common Factors and Factoring by Grouping 1.
First In First Out SJF is a scheduling policy that selects a waiting process with the smallest execution time to execute next. Shortest Job First Shortest.
Process Scheduling. Scheduling Strategies Scheduling strategies can broadly fall into two categories  Co-operative scheduling is where the currently.
Production Activity Control
NOIR Nominal, Ordinal, Interval, Ratio
Scheduling and Fairness
Chapter 2.2 : Process Scheduling
The global travel challenge
Scheduling (Priority Based)
Lecture 23: Process Scheduling for Interactive Systems
Batch Scheduling Algorithms
פרק שלישי – תזמון תהליכים
Process Management with OS
Operating Systems Lecture 15.
Sarah Diesburg Operating Systems COP 4610
مديريت موثر جلسات Running a Meeting that Works
Lesson Objectives Aims Key Words

Problem 8.3 John Doe has promised a total service time of 20 minutes. Processing time at the oven = 15 min Preparation = 2 min At most 3 minutes waiting.
Running a Digital Collection Day in 4 steps
60 MINUTES REMAINING.
Processor Scheduling Hank Levy 1.
Every number has its place!
Running Race Year 5NG.
CPU SCHEDULING CPU SCHEDULING.
Chapter 6: Scheduling Algorithms Dr. Amjad Ali
Scheduling 21 May 2019.
ITEC 202 Operating Systems
List the angles and sides from smallest to largest
Advent Coming, arrival, appearance.
Uniprocessor Scheduling
Scheduling Computing Theory – F453.
CPU Scheduling.
Chapter 5: CPU Scheduling
A Special Countdown.
Presentation transcript:

Shortest Remaining Time SRT Prepared by Ahmet Rizaner

Time = 0 A

Time = 1 A

Remaining times: A  1 B  6 So, A will continue Time = 2 A B

Time = 3 A B

So, B goes to waiting state Remaining times: B  5 C  4 So, B goes to waiting state And C to running state Time = 4 B C

Time = 5 B C

Remaining times: B  5 C  2 D  5 So, C will continue. Time = 6 C D B

Time = 7 C D B

Remaining times: B  5 D  5 E  2 So, E is next. Time = 8 C E D B

Time = 10 E D B

smallest arrival time) Remaining times: B  5 D  5 In such cases, chose the first started process. (process with the smallest arrival time) Time = 10 D B

Time = 15 B D

Time = 20 D

Prepared by Ahmet Rizaner