2082 1

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).

ProcessesCPU Burst TimeArrival Time
A92
B111
C10
D23
E74

[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...

Up nextWhen does page fault occur?Given the 7 page reference strings 7, 0, 1, 2, 0, 3, 0, 4, 2, 3