Operating Systems208210 marksNumerical: CPU scheduling FCFS Round RobinUser level threads
Question Differentiate between user thread and kernel thread. Given the following information about processes, compute the average waiting time and turnaround time for FCFS and Round Robin (Quantum = 2). | Processes | CPU Burst Time | Arrival Time | |-----------|----------------|--------------| | A
Question
Differentiate between user thread and kernel thread. Given the following information about processes, compute the average waiting time and turnaround time for FCFS and Round Robin (Quantum = 2).
| Processes | CPU Burst Time | Arrival Time |
|---|---|---|
| A | 9 | 2 |
| B | 11 | 1 |
| C | 1 | 0 |
| D | 2 | 3 |
| E | 7 | 4 |
[2+8]
Feature User Thread Kernel Thread --------- Management Managed by a user-level thread library Managed directly by the OS kernel Kernel awareness Kernel is unaware of them Kernel is aware and schedules them Context switch Fast, no kernel mode switch Slower, requires kernel mode switch Blocking One...