A processor is a person, machine, computer, or robot etc., which works on a task. To solve a scheduling problem typically the tasks are scheduled to minimize.

Slides:



Advertisements
Similar presentations
Washington WASHINGTON UNIVERSITY IN ST LOUIS Real-Time: Periodic Tasks Fred Kuhns Applied Research Laboratory Computer Science Washington University.
Advertisements

Chapter 3: Planning and Scheduling Lesson Plan
1 IOE/MFG 543 Chapter 8: Open shops Section 8.1 (you may skip Sections 8.2 – 8.5)
Johnson’s Rule Johnson’s rule: A procedure that minimizes makespan when scheduling a group of jobs on two workstations. Step 1. Find the shortest processing.
Evaluating Heuristics for the Fixed-Predecessor Subproblem of Pm | prec, p j = 1 | C max.
CSE 522 Real-Time Scheduling (4)
Greed is good. (Some of the time)
Chapter 8: Scheduling “Science is organized knowledge. Wisdom is organized life.” -Immanuel Kant.
Precedence Constrained Scheduling Abhiram Ranade Dept. of CSE IIT Bombay.
Scheduling Two people are camping out and wish to cook a simple supper consisting of soup and hamburgers. In order to prepare the supper, several tasks.
Precedence Constrained Scheduling Abhiram Ranade Dept. of CSE IIT Bombay.
Introduction to Operations Research (II)
Short Term Scheduling Introduction What – Scheduling or timing of operations Where – Timing of operations affects the overall strategy Why – Reduce costs,
The Mathematics of Scheduling Chapter 8. How long does it take to build a house? It depends on Size of the house Type of construction Number of workers.
CSE 421 Algorithms Richard Anderson Lecture 6 Greedy Algorithms.
1 The Greedy Method CSC401 – Analysis of Algorithms Lecture Notes 10 The Greedy Method Objectives Introduce the Greedy Method Use the greedy method to.
Sequencing Problem.
Scheduling – Day 2. Production Planning Process Process Planning Strategic Capacity Planning Aggregate Planning Master Production Scheduling Material.
CHAPTER 19 Scheduling Operations Management, Eighth Edition, by William J. Stevenson Copyright © 2005 by The McGraw-Hill Companies, Inc. All rights reserved.
Ted Stelle- Arroz con Pollo Arroz con Pollo Arroz con Pollo (Rice with Chicken)
Graysen, Tyler, and Nate. o 18 tomatoes, diced o 9 onions, finely chopped o 18 limes, juiced o 1 cup and 2 tablespoons chopped fresh cilantro o 9 jalapeno.
Computer Architecture and Operating Systems CS 3230: Operating System Section Lecture OS-3 CPU Scheduling Department of Computer Science and Software Engineering.
OPERATING SYSTEMS CPU SCHEDULING.  Introduction to CPU scheduling Introduction to CPU scheduling  Dispatcher Dispatcher  Terms used in CPU scheduling.
Critical Path Analysis
Computer Science and Engineering Parallel and Distributed Processing CSE 8380 March 01, 2005 Session 14.
Excursions in Modern Mathematics, 7e: Copyright © 2010 Pearson Education, Inc. 8 The Mathematics of Scheduling 8.1The Basic Elements of Scheduling.
Planning and Scheduling Chapter 3 Jennifer Holland February 2, 2010.
Spring 2015 Mathematics in Management Science Machine Scheduling Problem Statement of MSP Assumptions & Goals Priority Lists List Processing Algorithm.
Excursions in Modern Mathematics, 7e: Copyright © 2010 Pearson Education, Inc. 8 The Mathematics of Scheduling 8.1The Basic Elements of Scheduling.
Spring 2015 Mathematics in Management Science Critical Path Scheduling Critical Paths & Times Backflow Algorithm Critical Times PL Critical Path Algorithm.
Static Process Scheduling Section 5.2 CSc 8320 Alex De Ruiter
© J. Christopher Beck Lecture 6: Time/Cost Trade-off in Project Planning.
10/6 Production Sequencing Roll call/collect homework issues w/ Excel for CPM lecture: production sequencing small groups assign homework.
1 Operation Scheduling- II The Multi-Machine Case Look! There are two machines.
Outline Introduction Minimizing the makespan Minimizing total flowtime
RTOS task scheduling models
Scheduling. Scheduling: The allocation of resources over time to accomplish specific tasks. Demand scheduling: A type of scheduling whereby customers.
Chicken & Noodles Homemade of Course!. Ingredients 1 chicken 1 onion 1 T dried parsley 2 quarts water 1 stalk celery 1 carrot 2 T chicken base ½ t poultry.
Crown copyright 2008 Fajitas Session: 15.
Parallel Machine Scheduling
6.2 Solve a System by Using Linear Combinations
Lecture Topics: 11/15 CPU scheduling: –Scheduling goals and algorithms.
I can describe the differences between Hamilton and Euler circuits and find efficient Hamilton circuits in graphs. Hamilton Circuits I can compare and.
Planning and Scheduling.  A job can be made up of a number of smaller tasks that can be completed by a number of different “processors.”  The processors.
8.2: Digraphs (continue). Digraphs Example 1) TASKSTIMETASKS BEFORE A3 B10C,F,G C2A D4G E5C F8A,H G7H H5.
Critical Paths and Scheduling Tasks Circuits, Paths, and Schedules.
Critical Path Scheduling (Txt: 8.5 & SOL: DM.10) CLASSWORK (DAY 30) EXAMPLE IN CLASS HOMEWORK (DAY 30): WORKSHEET DAY 30 QUIZ NEXT BLOCK.
Spicy Chicken and written *Assessment* N5 HPC Starter Tasks: 1.Personal hygiene 2.Collect ingredients/recipe 3.Start to prepare your vegetables.
1 Job Shop Scheduling. 2 Job shop environment: m machines, n jobs objective function Each job follows a predetermined route Routes are not necessarily.
Chapter 3: Planning and Scheduling. Planning and Scheduling - Topics Resolving Conflict via Coloring Bin Packing Scheduling Tasks Critical-Path Schedules.
PROCESS MANAGEMENT IN MACH
CHAPTER 8 Operations Scheduling
CE/EE 129A Instruction Team 11/19/2014
How to make Jollof Rice Martha Akotey.
Minimum Spanning Tree.
Scheduling Theory By Sarah Walker 12/4/2018.
TDC 311 Process Scheduling.
With spring onions and sweetcorn
8 Job Sequencing & Operations Scheduling CHAPTER Arranged by
Planning and Scheduling
NET 424: REAL-TIME SYSTEMS (Practical Part)
Planning and Scheduling
Fajitas Ingredients 1/2 lime 1 clove garlic 1/2 green chilli
Sequencing Sequencing: Determine the order in which jobs at a work center will be processed. Workstation: An area where one person works, usually with.
List Processing (SOL: DM.10)
Shortest-Job-First (SJR) Scheduling
Warm Up – 3/25 - Tuesday Bill is taking a sales trip starting in Atlanta. Draw a graph that represents this table. Find the nearest neighbor tour from.
Chapter 3: Planning and Scheduling Lesson Plan
The End Of The Line For Static Cyclic Scheduling?
CPU Scheduling David Ferry CSCI 3500 – Operating Systems
Presentation transcript:

A processor is a person, machine, computer, or robot etc., which works on a task. To solve a scheduling problem typically the tasks are scheduled to minimize completion times. Make sure to consider importance of a task, does one task need to be completed before another task.

ASSUMPTIONS AND RULES If a processor starts working on a task, the work will continue until that task is complete. No processor stays idle if there is a task to be done. The CPA has an associated order- requirement digraph. The tasks are arranged in a priority list that is independent of the digraph.

Goals of CPA Minimize the completion time for a given number of processors Minimize processor idle time Minimize the number of processors needed to complete the job in a specified time. A task is considered ready if all its predecessors (prerequisite tasks) in the digraph have been completed.

LIST PROCESSING ALGORITHM 1.Assignment of Processors: The lowest numbered idle processor is assigned to the highest priority ready task until either all processors are assigned or all ready tasks are being worked on 2.Status Check: When a processor completes a task, that processor becomes idle. Check for ready tasks and tasks not yet completed and determine which of the following applies a)If there is a ready task repeat step 1. b)If there are no ready tasks bunt not every task has been completed, the idle processor remains idle until more tasks are completed. c)If all tasks are completed, the job is done.

EXAMPLE: T1 3 T2 8 T3 7 T4 4 T5 7

T1 3 T2 8 T3 7 T4 4 T5 7

EXAMPLE: T1 3 T2 8 T3 7 T4 4 T5 7

T1 3 T2 8 T3 7 T4 4 T5 7

Tortillas Chicken 1 onion Seasoning Tomatoes Cilantro T1: slice chicken & onions – 5 min T2: Cook chicken – 10 min T3: Cook onions – 5 min T4: Add seasoning – 1 min T5: Chop tomato – 4 min T6: Mix tomato and cilantro – 2 min T7: Warm tortillas – 1 min T8: Serve – 1 min

T2 10 T3 5 T4 1 T5 4 T1 5 T6 2 T7 1 T8 1

T2 10 T3 5 T4 1 T5 4 T1 5 T6 2 T7 1 T8 1

1.Find a task that heads a critical (longest) path in the order-requirement digraph 2.Place the task found in step 1 next in the priority list 3.Remove the task found in step 1 from the digraph 4.If all tasks have been removed, the list is completed. If tasks remain return to step one.

T1 5 T2 3 T3 7 T4 2 T5 2 T6 3 T7 1 T8 4

Critical path algorithm on 3 processors

List process algorithm on 3 processors

Critical path algorithm on 2 processors

Critical path algorithm on 3 processors