Question: Illustrate and list the times when the processes start running, finish running, and when the context switches take place. Calculate the average response time

Illustrate and list the times when the processes start running, finish running, and when the context switches Process Process Priority Class NORMAL PRIORITY_CLASS   C Thread A1 A2 BELOW NORMAL PRIORITY_CLASS B1 B2 C1

Illustrate and list the times when the processes start running, finish running, and when the context switches take place. Calculate the average response time for the different threads. Show your working. Calculate the average turnaround time for the different threads. Show your working. Process Process Priority Class NORMAL PRIORITY_CLASS C Thread A1 A2 BELOW NORMAL PRIORITY_CLASS B1 B2 C1 Thread Priority Class THREAD PRIORITY NORMAL THREAD PRIORITY_NORMAL THREAD PRIORITY_HIGHEST THREAD PRIORITY_NORMAL THREAD PRIORITY_TIME_CRITICAL 60 100 100 Table 1: Processes and threads to schedule. REALTIME PRIORITY_CLASS Process Priority BELOW NORMAL PRIORITY_CLASS NORMAL PRIORITY_CLASS REALTIME PRIORITY_CLASS Thraead Priority THREAD PRIORITY_IDLE THREAD PRIORITY_LOWEST THREAD PRIORITY BELOW NORMAL THREAD PRIORITY_NORMAL THREAD PRIORITY ABOVE NORMAL THREAD PRIORITY_HIGHEST THREAD PRIORITY_TIME_CRITICAL THREAD PRIORITY_IDLE THREAD PRIORITY_LOWEST THREAD PRIORITY_BELOW NORMAL THREAD PRIORITY_NORMAL THREAD PRIORITY ABOVE NORMAL THREAD PRIORITY_HIGHEST THREAD PRIORITY_TIME_CRITICAL THREAD PRIORITY_IDLE THREAD PRIORITY_LOWEST THREAD PRIORITY_BELOW NORMAL THREAD PRIORITY_NORMAL Arrival Time (ms) 0 0 THREAD PRIORITY ABOVE NORMAL THREAD PRIORITY_HIGHEST THREAD PRIORITY_TIME_CRITICAL Priority Level 1 45679516TBSGK 10 15 16 22 23 24 25 26 31 Table 2: Process and thread priority classes and levels. Burst Time (ms) 110 90 60 60 20

Step by Step Solution

3.44 Rating (151 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Answer To calculate the average response time and turnaround time for the given processes and threads well perform a simple scheduling simulation Heres how well do it First lets clarify the process an... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Operating System Questions!