看板 P_RedWolf作者 ch890333 (紅狼)標題 [OS] 羅習五 11/04時間 Tue Nov 4 10:07:31 2008
投影片更新!!
※non-preemptable kernel
理論上task在進入kernel後 完成後直接回到user mode
non-的話 task在kernel可被中斷然後繼續做完(但橘色線在kernel中會做到自動跳出)
在回到user mode前先進去scheduler抓下一項
※preemptable kernel
task 在interrupt後可馬上接schedule後切換到user space
橘色線可被優先權更高的事情中斷 不一定要做到在kernel中自動停止
-強大但是xxxx over head很多 吃很多空間
non-preemptbale
server 因為over head低
preemptable
Low-xxxxxxx(更新的投影片裡有....)
Dispatcher
http://en.wikipedia.org/wiki/Dispatcher
Dispatcher - Wikipedia, the free encyclopedia
Dispatchers are communications personnel responsible for receiving and transmitting pure and reliable messages, tracking vehicles and equipment, and recording other important information.[1] A number of organizations, including police and fire departments, emergency medical services, taxicab provide ...
Scheduling Criteria
-cpu操勞程度
-單位時間完成件數
-單一程式執行時間
-程式等待時間
-回應時間/output 和執行時間不盡相同
turnaround time - 進門要包好兩百個便當 直到把兩百個便當領走
respond time - 老闆可以邊包邊告訴你進度
waiting time - 包一個便當的出現了 先幫他包 因為200者不過多一點點
--
紅狼太難畫了 我可不可以畫隻紅色的波利就好?
『紅色波利』
◢◣
--
* Origin: 中正築夢園 (CcuDream.twbbs.org) ★ From: 140.123.104.233
--
※ 同主題文章:
[OS] 羅習五 11/04
11-04 10:07 ch890333.