Scheduling Homework 2

Due Monday April 27 in class

Problem 1

Consider three periodic processes J1 J2 J3 with the computation times and periods given in the following table:

C

T

J1

1

4

J2

4

10

J3

3

12

Problem 2

Consider two periodic processes J1 J2 with computation times and periods given as follows:

C

T

J1

2

4

J2

3

6

Problem 3

Consider four periodic processes J1 J2 J3 J4 with periods, computation times, and periodic deadlines as follows:

T

C

D

J1

10

2

6

J2

10

2

5

J3

10

3

8

J4

10

2

9

Assume also that J2 and J3 can start only after J1 terminates, and that J4 can start after both J2, J3 terminate.

Problem 4

Give a scheduling problem where the following algorithms behave in different ways:

  1. Normal resource management
  2. Priority inheritance
  3. Priority ceiling

To specify a scheduling problem, you need to provide the following:

For instance, you can say something similar to the following:

Draw schedules for each of the three algorithms demonstrating the different executions that result.

CMPE 117 Spring 2008/Scheduling homework 2 (last edited 2008-04-23 12:50:15 by LucaDeAlfaro)