Based on Chapter 3 of [Hai19]
(Usage hints for this presentation)
Computer Structures and Operating Systems 2023
Dr. Jens Lechtenbörger (License Information)
CPU scheduling
Figure © 2016 Julia Evans, all rights reserved; from julia's drawings. Displayed here with personal permission.
sleep
system call
(recall Simpler2Threads)
Figure 3.3 of [Hai17]
Figure by Max Hailperin under CC BY-SA 3.0; converted from GitHub
Key ingredients
This task is available for self-study in Learnweb.
Perform Round Robin scheduling given the following situation:
q=4 | Thread | Arrival Time | Service Time |
---|---|---|---|
T1 | 0 | 3 | |
T2 | 1 | 6 | |
T3 | 4 | 3 | |
T4 | 9 | 6 | |
T5 | 10 | 2 |
This document is part of an Open Educational Resource (OER) course on Operating Systems. Source code and source files are available on GitLab under free licenses.
Except where otherwise noted, the work “OS04: Scheduling”, © 2017-2023 Jens Lechtenbörger, is published under the Creative Commons license CC BY-SA 4.0.
In particular, trademark rights are not licensed under this license. Thus, rights concerning third party logos (e.g., on the title slide) and other (trade-) marks (e.g., “Creative Commons” itself) remain with their respective holders.