







Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Process management in high performance computing systems, focusing on process states, process scheduling policies, and context switching. The importance of maximizing processor utilization, the role of the process scheduler, and the differences between preemptive and non-preemptive scheduling policies. It also introduces the concept of process state transition and context switch.
Typology: Slides
1 / 13
This page cannot be seen from the preview
Don't miss anything!








2
Example: A parent process that made the wait() system call is waiting (sleeping) for its child process to terminate
4
utilization: fraction of time that the processor is busy
Determined by the process scheduler
5
Minimize average program execution time Fairness to all the programs in execution
7
Preemptive policy: one where the OS `preempts’ the running process from the CPU even though it is not waiting for something Idea: give a process some maximum amount of CPU time before preempting it, for the benefit of the other processes CPU time slice: maximum amount of CPU time allotted to a process before preempting it from the CPU
8
Running Ready Waiting preempted or yields CPU scheduled waiting for an event to happen the awaited event happens
10
Idea: Maintain a queue of ready processes Queue: a data structure with 2 operations
front P 1 P 2 P 5 back
11
Idea: Maintain a queue of ready processes Queue: a data structure with 2 operations
front P 2 P 5 back after P 1 has been scheduled to run
13
Maintain a FCFS ReadyQ When the currently running process is preempted, schedule the process from the front of the ReadyQ Insert the previously running process at the end of the ReadyQ This is much fairer than any of the non- preemptive scheduling policies