我试图理解这些调度算法:
- 先到先得 (FCFS)
- 最短作业优先 (SJF)
- 最短剩余时间 (SRT)
- 循环赛 (RR)
所以,给定一些输入:
Process Name: A; Arrival Time: 0; Expected CPU Running Time: 3
Process Name: B; Arrival Time: 1; Expected CPU Running Time: 5
Process Name: C; Arrival Time: 3; Expected CPU Running Time: 2
Process Name: D; Arrival Time: 9; Expected CPU Running Time: 5
Process Name: E; Arrival Time: 12; Expected CPU Running Time: 5
FCFS 将调度为AAABBBBBCCDDDDDEEEEE
.
我似乎无法弄清楚其余的。有人可以帮我解释一下区别吗?
我试过谷歌搜索,但我从 SJF 得到的结果有点令人困惑。