Fakultät für informatik informatik 12 technische universität dortmund Lab 3: Scheduling Solution - Session 10 - Heiko Falk TU Dortmund Informatik 12 Germany.

Slides:



Advertisements
Similar presentations
TWO STEP EQUATIONS 1. SOLVE FOR X 2. DO THE ADDITION STEP FIRST
Advertisements

LEUCEMIA MIELOIDE AGUDA TIPO 0
Fakultät für informatik informatik 12 technische universität dortmund Resource Access Protocols Peter Marwedel Informatik 12 TU Dortmund Germany 2008/12/06.
Fakultät für informatik informatik 12 technische universität dortmund Optimizations - Compilation for Embedded Processors - Peter Marwedel TU Dortmund.
You have been given a mission and a code. Use the code to complete the mission and you will save the world from obliteration…
Technische universität dortmund fakultät für informatik informatik 12 Specifications and Modeling Peter Marwedel TU Dortmund, Informatik
Technische Universität München + Hewlett Packard Laboratories Dynamic Workload Management for Very Large Data Warehouses Juggling Feathers and Bowling.
Copyright © 2003 Pearson Education, Inc. Slide 1 Computer Systems Organization & Architecture Chapters 8-12 John D. Carpinelli.
1 Copyright © 2010, Elsevier Inc. All rights Reserved Fig 2.1 Chapter 2.
1 Chapter 40 - Physiology and Pathophysiology of Diuretic Action Copyright © 2013 Elsevier Inc. All rights reserved.
By D. Fisher Geometric Transformations. Reflection, Rotation, or Translation 1.
Properties Use, share, or modify this drill on mathematic properties. There is too much material for a single class, so you’ll have to select for your.
ALGEBRA Number Walls
Business Transaction Management Software for Application Coordination 1 Business Processes and Coordination.
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
Title Subtitle.
0 - 0.
ALGEBRAIC EXPRESSIONS
DIVIDING INTEGERS 1. IF THE SIGNS ARE THE SAME THE ANSWER IS POSITIVE 2. IF THE SIGNS ARE DIFFERENT THE ANSWER IS NEGATIVE.
MULTIPLYING MONOMIALS TIMES POLYNOMIALS (DISTRIBUTIVE PROPERTY)
ADDING INTEGERS 1. POS. + POS. = POS. 2. NEG. + NEG. = NEG. 3. POS. + NEG. OR NEG. + POS. SUBTRACT TAKE SIGN OF BIGGER ABSOLUTE VALUE.
MULTIPLICATION EQUATIONS 1. SOLVE FOR X 3. WHAT EVER YOU DO TO ONE SIDE YOU HAVE TO DO TO THE OTHER 2. DIVIDE BY THE NUMBER IN FRONT OF THE VARIABLE.
SUBTRACTING INTEGERS 1. CHANGE THE SUBTRACTION SIGN TO ADDITION
MULT. INTEGERS 1. IF THE SIGNS ARE THE SAME THE ANSWER IS POSITIVE 2. IF THE SIGNS ARE DIFFERENT THE ANSWER IS NEGATIVE.
FACTORING Think Distributive property backwards Work down, Show all steps ax + ay = a(x + y)
FACTORING ax2 + bx + c Think “unfoil” Work down, Show all steps.
Addition Facts
Year 6 mental test 5 second questions
Year 6 mental test 10 second questions Numbers and number system Numbers and the number system, fractions, decimals, proportion & probability.
Around the World AdditionSubtraction MultiplicationDivision AdditionSubtraction MultiplicationDivision.
ZMQS ZMQS
Fakultät für informatik informatik 12 technische universität dortmund Classical scheduling algorithms for periodic systems Peter Marwedel TU Dortmund,
Photo Composition Study Guide Label each photo with the category that applies to that image.
Richmond House, Liverpool (1) 26 th January 2004.
BT Wholesale October Creating your own telephone network WHOLESALE CALLS LINE ASSOCIATED.
Pinwheel Scheduling for Power-Aware Real-Time Systems Gaurav Chitroda Komal Kasat Nalini Kumar.
Outline Introduction Assumptions and notations
ABC Technology Project
O X Click on Number next to person for a question.
© S Haughton more than 3?
1 Directed Depth First Search Adjacency Lists A: F G B: A H C: A D D: C F E: C D G F: E: G: : H: B: I: H: F A B C G D E H I.
Twenty Questions Subject: Twenty Questions
Linking Verb? Action Verb or. Question 1 Define the term: action verb.
Squares and Square Root WALK. Solve each problem REVIEW:
Basel-ICU-Journal Challenge18/20/ Basel-ICU-Journal Challenge8/20/2014.
1..
Energy & Green Urbanism Markku Lappalainen Aalto University.
Lets play bingo!!. Calculate: MEAN Calculate: MEDIAN
Past Tense Probe. Past Tense Probe Past Tense Probe – Practice 1.
Understanding Generalist Practice, 5e, Kirst-Ashman/Hull
Chapter 5 Test Review Sections 5-1 through 5-4.
GG Consulting, LLC I-SUITE. Source: TEA SHARS Frequently asked questions 2.
1 First EMRAS II Technical Meeting IAEA Headquarters, Vienna, 19–23 January 2009.
Event 4: Mental Math 7th/8th grade Math Meet ‘11.
Addition 1’s to 20.
25 seconds left…...
Test B, 100 Subtraction Facts
11 = This is the fact family. You say: 8+3=11 and 3+8=11
Week 1.
We will resume in: 25 Minutes.
©Brooks/Cole, 2001 Chapter 12 Derived Types-- Enumerated, Structure and Union.
Bottoms Up Factoring. Start with the X-box 3-9 Product Sum
1 Unit 1 Kinematics Chapter 1 Day
O X Click on Number next to person for a question.
PSSA Preparation.
How Cells Obtain Energy from Food
Technische universität dortmund fakultät für informatik informatik 12 Specifications, Modeling, and Model of Computation Jian-Jia Chen (slides are based.
Fakultät für informatik informatik 12 technische universität dortmund Lab 4: Exploiting the memory hierarchy - Session 14 - Peter Marwedel Heiko Falk TU.
Fakultät für informatik informatik 12 technische universität dortmund Lab 3: Scheduling - Session 10 - Peter Marwedel Heiko Falk TU Dortmund Informatik.
Presentation transcript:

fakultät für informatik informatik 12 technische universität dortmund Lab 3: Scheduling Solution - Session 10 - Heiko Falk TU Dortmund Informatik 12 Germany

- 2 - technische universität dortmund fakultät für informatik  h. falk, informatik 12, 2008 TU Dortmund Exercise 1: Rate Monotonic Scheduling Parameters: p 1 = 5, c 1 = 3p 2 = 8, c 2 = 3 Processor Utilization: μ = Σ ( c i / p i )  n( 2 (1/n) – 1) μ = 3/5 + 3/8 = 39/40 = > 2( 2 (1/2) - 1) =  A process may miss its deadline. i =1 n

- 3 - technische universität dortmund fakultät für informatik  h. falk, informatik 12, 2008 TU Dortmund Exercise 1: Rate Monotonic Scheduling Schedule:

- 4 - technische universität dortmund fakultät für informatik  h. falk, informatik 12, 2008 TU Dortmund Exercise 2: Aperiodic Scheduling Least Laxity Schedule: Laxity l i = d i - c i

- 5 - technische universität dortmund fakultät für informatik  h. falk, informatik 12, 2008 TU Dortmund Exercise 2: Aperiodic Scheduling Earliest Deadline First Schedule:

- 6 - technische universität dortmund fakultät für informatik  h. falk, informatik 12, 2008 TU Dortmund Exercise 3: Latest Deadline First Scheduling T2T3 T1T4 T5 c 1 = 2d 1 = 15 c 2 = 5d 2 = 20 c 3 = 4d 3 = 12 c 4 = 3d 4 = 15 c 5 = 3d 5 = 20 Stack:

- 7 - technische universität dortmund fakultät für informatik  h. falk, informatik 12, 2008 TU Dortmund Exercise 3: Latest Deadline First Scheduling T2T3 T1T4 T5 c 1 = 2d 1 = 15 c 2 = 5d 2 = 20 c 3 = 4d 3 = 12 c 4 = 3d 4 = 15 c 5 = 3d 5 = 20 Stack:

- 8 - technische universität dortmund fakultät für informatik  h. falk, informatik 12, 2008 TU Dortmund Exercise 3: Latest Deadline First Scheduling T2T3 T1T4 T5 c 1 = 2d 1 = 15 c 2 = 5d 2 = 20 c 3 = 4d 3 = 12 c 4 = 3d 4 = 15 c 5 = 3d 5 = 20 Stack:

- 9 - technische universität dortmund fakultät für informatik  h. falk, informatik 12, 2008 TU Dortmund Exercise 3: Latest Deadline First Scheduling T2T3 T1T4 T5 c 1 = 2d 1 = 15 c 2 = 5d 2 = 20 c 3 = 4d 3 = 12 c 4 = 3d 4 = 15 c 5 = 3d 5 = 20 Stack:

technische universität dortmund fakultät für informatik  h. falk, informatik 12, 2008 TU Dortmund Exercise 3: Latest Deadline First Scheduling T2T3 T1 T4 T5 c 1 = 2d 1 = 15 c 2 = 5d 2 = 20 c 3 = 4d 3 = 12 c 4 = 3d 4 = 15 c 5 = 3d 5 = 20 Stack:

technische universität dortmund fakultät für informatik  h. falk, informatik 12, 2008 TU Dortmund Exercise 3: Latest Deadline First Scheduling T2T3 T1 T4 T5 c 1 = 2d 1 = 15 c 2 = 5d 2 = 20 c 3 = 4d 3 = 12 c 4 = 3d 4 = 15 c 5 = 3d 5 = 20 Stack:

technische universität dortmund fakultät für informatik  h. falk, informatik 12, 2008 TU Dortmund Exercise 3: Latest Deadline First Scheduling T2T3 T1 T4 T5 c 1 = 2d 1 = 15 c 2 = 5d 2 = 20 c 3 = 4d 3 = 12 c 4 = 3d 4 = 15 c 5 = 3d 5 = 20 Stack:

technische universität dortmund fakultät für informatik  h. falk, informatik 12, 2008 TU Dortmund Exercise 3: Latest Deadline First Scheduling T2T3 T1 T4 T5 c 1 = 2d 1 = 15 c 2 = 5d 2 = 20 c 3 = 4d 3 = 12 c 4 = 3d 4 = 15 c 5 = 3d 5 = 20 Stack:

technische universität dortmund fakultät für informatik  h. falk, informatik 12, 2008 TU Dortmund Exercise 3: Latest Deadline First Scheduling T2 T3 T1 T4 T5 c 1 = 2d 1 = 15 c 2 = 5d 2 = 20 c 3 = 4d 3 = 12 c 4 = 3d 4 = 15 c 5 = 3d 5 = 20 Stack:

technische universität dortmund fakultät für informatik  h. falk, informatik 12, 2008 TU Dortmund Exercise 3: Latest Deadline First Scheduling T2 T3 T1 T4 T5 c 1 = 2d 1 = 15 c 2 = 5d 2 = 20 c 3 = 4d 3 = 12 c 4 = 3d 4 = 15 c 5 = 3d 5 = 20 Stack:

technische universität dortmund fakultät für informatik  h. falk, informatik 12, 2008 TU Dortmund Exercise 3: Latest Deadline First Scheduling T2 T3 T1 T4 T5 c 1 = 2d 1 = 15 c 2 = 5d 2 = 20 c 3 = 4d 3 = 12 c 4 = 3d 4 = 15 c 5 = 3d 5 = 20 Stack:

technische universität dortmund fakultät für informatik  h. falk, informatik 12, 2008 TU Dortmund Exercise 3: Latest Deadline First Scheduling T2 T3 T1 T4 T5 c 1 = 2d 1 = 15 c 2 = 5d 2 = 20 c 3 = 4d 3 = 12 c 4 = 3d 4 = 15 c 5 = 3d 5 = 20 Stack: Execution order: In opposite order! T2T3T5T4T1 Resulting Schedule:

technische universität dortmund fakultät für informatik  h. falk, informatik 12, 2008 TU Dortmund Exercise 4: Resource Constrained Scheduling

technische universität dortmund fakultät für informatik  h. falk, informatik 12, 2008 TU Dortmund Exercise 4: Resource Constrained Scheduling Problems of this Schedule  Task T4 of highest Priority thwarted by T1, T2 and T3:  At time 5, T4 has to wait until T1 frees the printer.  T1 can only free the printer after T2 and T3 finished execution  Despite highest priority, T4 terminates very late at time 34  Priority Inversion!  Ways out: Scheduling with Priority Inheritance

technische universität dortmund fakultät für informatik  h. falk, informatik 12, 2008 TU Dortmund Exercise 4: Resource Constrained Scheduling