Question

Define two periodic processes P1 = (3,6,6) and P2 = (2,4,4) where (x,y,z) refers to (compute...

  1. Define two periodic processes P1 = (3,6,6) and P2 = (2,4,4) where (x,y,z) refers to (compute time, deadline, period). Suppose they have fixed scheduling priorities p1 and p2 respectively. Assume non-preemptive scheduling. (a) Is there a feasible schedule when p1 > p2. Your schedule should cover 18 time units. (b) Repeat using p1 < p2.
  1. Assume two periodic processes P1 = (15,30,30) and P2 = (20,50,50). (a) Assume the round robin scheduling policy with one unit time intervals. Show the schedule for these processes. (b) Is there a feasible schedule using the rate monotonic method. Your schedule should cover 100 time units.
  1. Using Rate Monotonic Scheduling, determine if the following task set is schedulable (may require use of utilization bound test, the response time test and/or completion time test).

Task

Execution time

Period

1

3

10

2

4

16

3

3

12

4

2

20

  1. Using Rate Monotonic Scheduling, determine if the following task set is schedulable (may require use of utilization bound test, the response time test and/or completion time test).

Task

Execution time

Period

1

20

100

2

30

150

3

90

200

This is software engineering

0 0
Add a comment Improve this question Transcribed image text
Know the answer?
Add Answer to:
Define two periodic processes P1 = (3,6,6) and P2 = (2,4,4) where (x,y,z) refers to (compute...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • software engineering 4. Using Rate Monotonic Scheduling, determine if the following task set is schedulable (may...

    software engineering 4. Using Rate Monotonic Scheduling, determine if the following task set is schedulable (may require use of utilization bound test, the response time test and/or completion time test). Execution time 20 30 90 Period 100 150 200 Task

  • Process Serv Service time ice Period ProcessS ServicePer Service Period time time P1 P2 P3 17...

    Process Serv Service time ice Period ProcessS ServicePer Service Period time time P1 P2 P3 17 64 16 P1 P2 P3 48 240 16 P1 P2 P3 70 a) Which of the 3 cases (X, Y, or Z) shown is a feasible schedule likely to be set using Rate Monotonic as the scheduling algorithm? case b) Fill in the Gantt charts (Process number) for the most feasible case up to the time shown 10 1 12 16 18 19 20

  • Process Serv Service time ice Period ProcessS ServicePer Service Period time time P1 P2 P3 17...

    Process Serv Service time ice Period ProcessS ServicePer Service Period time time P1 P2 P3 17 64 16 P1 P2 P3 48 240 16 P1 P2 P3 70 a) Which of the 3 cases (X, Y, or Z) shown is a feasible schedule likely to be set using Rate Monotonic as the scheduling algorithm? case b) Fill in the Gantt charts (Process number) for the most feasible case up to the time shown 10 1 12 16 18 19 20

  • Three processes P1, P2 and P3 with related information are given in the following table: Process...

    Three processes P1, P2 and P3 with related information are given in the following table: Process Burst Time (ms) Arrival Time(ms) P1400 P2 3 0 10 P3 L T 20 T is a positive integer (T>0). If you use a preemptive shortest job first scheduling algorithm to schedule the three processes, make a Gantt chart, and calculate different waiting times of three processes. Please show a professional perfect solution with necessary details.

  • Q.2] Answer the following questions Process Burst Time Priority P1 3 1 P2 8 3 P3...

    Q.2] Answer the following questions Process Burst Time Priority P1 3 1 P2 8 3 P3 2 4 P4 4 5 P5 5 1 (21 points) Consider the set of processes shown in the table above, with the length of the CPU-burst time given in milliseconds. The processes are assumed to have arrived in the order P5, P4, P3, P2 , and P1, all approximately at time 0. Draw three Gantt charts illustrating the execution of these processes using SJF,...

  • Please answer the following question in C++ language Consider the following set of processes, with the...

    Please answer the following question in C++ language Consider the following set of processes, with the length of the CPU burst time given in milliseconds: Process            Burst Time      Priority P1. 7 5 P2 2 4 P3 11 3 P4 9 1 P5 5 3 The processes are assumed to have arrived in the order P1,P2, P3, P4, P5, all at time 0. a. Draw four Gantt charts that illustrate the execution of these processes using the following scheduling algorithms: FCFS, SJF, nonpreemptive...

  • The processes are assumed to have arrived in the order of P1, P2, P3, P4, P5, P6 and P7 all at time 0.

    Table 1 shows the list of processes and burst time for each processesTable 1 ProcessBurst TimeP113P25P323P43P531P66P714 The processes are assumed to have arrived in the order of P1, P2, P3, P4, P5, P6 and P7 all at  time 0. a)    Calculate the average waiting time when each of the below scheduling algorithm is used. Assume that a quantum 8 is being used:i.) First Come, First Server                                                                      (6 marks)ii.) Round Robin                                                                                       (6 marks)iii.) Shortest Job First, non preemptive                                                      (6 marks)

  • The following processes are being scheduled using a preemptive, roundrobin scheduling algorithm. Each process is assigned...

    The following processes are being scheduled using a preemptive, roundrobin scheduling algorithm. Each process is assigned a numerical priority, with a higher number indicating a higher relative priority. In addition to the processes listed below, the system also has an idle task (which consumes no CPU resources and is identified as I ). This task has priority 0 and is scheduled whenever the system has no other available processes to run. The length of a time quantum is 5 units....

  • scheduling program in C, please help 1 Objectives This programming project is to simulate a few...

    scheduling program in C, please help 1 Objectives This programming project is to simulate a few CPU scheduling policies discussed in the class. You will write a C program to implement a simulator with different scheduling algorithms. The simulator selects a task to run from ready queue based on the scheduling algorithm. Since the project intends to simulate a CPU scheduler, so it does not require any actual process creation or execution. When a task is scheduled, the simulator will...

  • Question I This question carries 20% of the marks for this assignment. You are asked to...

    Question I This question carries 20% of the marks for this assignment. You are asked to develop a set of bash shell script: Write a script that asks for the user's salary per month. If it is less or equals to 800, print a message saying that you need to get another job to increase your income, what you earn is the Minim living cost. If the user's salary is higher than 800 and below 2000, print a message telling...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT