作者aerystyle (阿che)
看板Grad-ProbAsk
標題[理工] [OS]成大99-電通甲
時間Mon Feb 7 23:34:38 2011
process arrival time burst time priority
P1 0 10 3
P2 1 1 1
P3 2 2 3
P4 3 1 4
P5 4 5 2
使用FCFS、SJF、nonpreemptive priority(a small priority implies higher priority)
RR(quantum = 3)、SRJF(自己外加)
1.求每個scheduling的 turnaround time?
2.求每個scheduling的 waiting time?
下面是我自己求的答案不知道是否有誤
1.FCFS:57
SJF :56
SRJF:30
RR :41
2.FCFS:38
SJF :37
SRJF:11
RR :22
nonpreemptive priority 不確定是否在此CASE與FCFS相同
謝謝各位的幫忙
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 114.42.233.25
→ kevinsky:the same 02/08 00:24
→ aerystyle:nonpreemptive priority的部分有解嗎? 02/08 00:53