Any help on any question is appreciated. Thanks! 4. (2 points) Describe any bene
ID: 3791826 • Letter: A
Question
Any help on any question is appreciated. Thanks!
4. (2 points) Describe any benefits of using shared memory over message passing communication.
5. (2 points) Describe any benefits of using message passing over shared memory for communication.
6. (2 points) In what ways is the microkernel approach to for OS structure similar to the modular approach?In what ways do they differ?
8. (2 points) Add the two additional states and transitions to the figure from question 7 as discussed in class.
9. (2 points) Describe the concept of medium term scheduling.
10. (4 points) There are five active processes P1, P2, P3, P4, and P5 given below. Apply multilevel queuescheduling (MQS) consisting of two queues (Queue 1 has absolute higher priority over queue 2).Processes DO NOT change queues, NOTE: this is not MLFQProcess CPU burst time Arrival time Priority queue
P1 12 0
2
P2 7 3
1
P3 9 6
2P4 9 12 2P5 4 13 1
Both queues use Round Robin scheduling, withTq1=5 (Priority queue 1) and Tq2=4(Priority queue 2).Show the Gantt chart and calculate individual and average waiting time, individual and average responsetime and individual and average turnaround time
11. (9 points) Consider this set of processes. Construct Gantt charts for the scheduling algorithms indicatedbelow and compute the individual and average waiting time, individual and average response time andindividual and average turnaround time for each algorithm
FCFS (non preemptive) , SJF(non preemptive) , and RR (TQ 4) :
Process Arrival time Burst time
P1 0 10P2 2 8P3 5 14P4 7 6P5 9 7 AVERAGE:
Provide Gantt charts and results for all three algorithms
Explanation / Answer
I am writing answer for Question no:9
Medium term scheduling is concerned with memory management. It is advantageous to swap out process when it is not executing. It is a part of the swapping .It’s speed in between longer and short term scheduler. A running process may become suspended if it makes an I/O request. Suspended processes cannot make any progress towards completion. In this condition, to remove the process from memory and make space for other processes, the suspended process is moved to the secondary storage. This process is called swapping, and the process is said to be swapped out or rolled out. Swapping may be necessary to improve the process mix. Also, we get more amount of physical memory which makes the execution of other process faster by decreasing the number of page faults.
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.