a. The following table shows the priority of three tasks base on the timeline execution of the tasks in Figure Q4.1. In this figure 'E' represents a single tick of execution time, 'Q' represents an execution tick with access to the Q critical section and 'V' represents an execution tick with access to the V critical section. Answer the following questions. Table Q4.1 Process Taskl Task2 Task3 task Priority High Medium Low

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question
Problem Solving: Priority Inversion
a. The following table shows the priority of three tasks base on the timeline execution of the
tasks in Figure Q4.1. In this figure 'E' represents a single tick of execution time, 'Q'
represents an execution tick with access to the Q critical section and 'V' represents an
execution tick with access to the V critical section. Answer the following questions.
Table Q4.1
i.
ii.
iii.
Process
Taskl
Task2
Task3
task 1
task
task2
Priority
High
Medium
Low
1
task3 EQ
1
1 I
E V
I
2 4
E
1
1
1
VV
1
V
1
1
EE
I
T
I
T
6 8
I
1
1
1
I
QQQ
1
Figure Q4
I
1
QEE
1
T
I
I
I
T
Base on the sketch discuss priority inversion situation.
I
E
10 12 14 16 18
1
time
Redraw the timeline and show the following three situations in the timeline.
Executing
Preempted
Blocked
Sketch two timeline diagrams to show different solutions to limit the effect of priority
inversion using priority inheritance and original ceiling priority protocol, the ceiling
values for resources Q and V is high or 3. Discuss the differences, if any.
Transcribed Image Text:Problem Solving: Priority Inversion a. The following table shows the priority of three tasks base on the timeline execution of the tasks in Figure Q4.1. In this figure 'E' represents a single tick of execution time, 'Q' represents an execution tick with access to the Q critical section and 'V' represents an execution tick with access to the V critical section. Answer the following questions. Table Q4.1 i. ii. iii. Process Taskl Task2 Task3 task 1 task task2 Priority High Medium Low 1 task3 EQ 1 1 I E V I 2 4 E 1 1 1 VV 1 V 1 1 EE I T I T 6 8 I 1 1 1 I QQQ 1 Figure Q4 I 1 QEE 1 T I I I T Base on the sketch discuss priority inversion situation. I E 10 12 14 16 18 1 time Redraw the timeline and show the following three situations in the timeline. Executing Preempted Blocked Sketch two timeline diagrams to show different solutions to limit the effect of priority inversion using priority inheritance and original ceiling priority protocol, the ceiling values for resources Q and V is high or 3. Discuss the differences, if any.
Expert Solution
steps

Step by step

Solved in 3 steps with 5 images

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education