[理工] [OS]-CPU 排程
Process Arrival time Burst time Priority
A 2 6 4
B 0 9 3
C 3 10 2
D 5 5 1
請問一下 Process C 在下列排班的 turnaround time
1.FCFS
2.Preemptive Priority(lower first)
3.Non-Pre Priority
可以幫我算一下答案嗎?
算的跟解答不同@@
謝謝
--
┌這篇文章讓您覺得?─────────────────────────────┐
│ │
│ 一"一 \ / >\\\< ╯ ╰ ∩ ∩ ▁ ▁ >_< ㄧ ㄧ+ │
│ 皿 ε □ ▽ ▇Δ ▇ ╰╯ ╯ │
│ 北七 亂喔 害羞 莎笅 爽啦 哭爸 XD 科科 │
└──────────────────────────────────────┘
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 122.116.14.2
推
12/21 18:12, , 1F
12/21 18:12, 1F
→
12/21 18:34, , 2F
12/21 18:34, 2F
另外在這邊再問一下,
using a longer time-quantum size in RR scheduling
a)increase the system throughput
b)decrease the application response time
c)increase the context switch overhead
我知道c是錯的,應該為減少
但是a,b我不知道怎麼判斷and why?
※ 編輯: polomoss 來自: 122.116.14.2 (12/21 18:38)
推
12/21 19:02, , 3F
12/21 19:02, 3F
推
12/21 19:07, , 4F
12/21 19:07, 4F
→
12/21 20:41, , 5F
12/21 20:41, 5F
推
12/22 13:43, , 6F
12/22 13:43, 6F
→
12/22 13:43, , 7F
12/22 13:43, 7F