行程管理 Process management

  1. 行程管理介紹
  2. Shortest Remaining Time First(SRTF) Scheduling
    1. 說明:最短剩餘時間優先排程

行程管理介紹

在現代作業系統中,行程管理(英語:Process management)是作業系統的功能之一,特別是多任務處理的狀況下,這是必要的功能。 作業系統將資源分配給各個行程,讓行程間可以分享與交換資訊,保護每個行程擁有的資源,不會被其他行程搶走,以及使行程間能夠同步。

參考網站:
https://www.tw511.com/24/269/9612.html
https://zys-notes.blogspot.com/2020/10/blog-post_15.html#google_vignette

Shortest Remaining Time First(SRTF) Scheduling

說明:最短剩餘時間優先排程

參考網站: https://zys-notes.blogspot.com/2020/10/blog-post_15.html#google_vignette

圖片來自1.bp.blogspot.com

根據定義,可得到
Turn around time = Exit time – Arrival time
Waiting time = Turn Around time – Burst time

參考網站:https://slideplayer.com/slide/5345576/17/images/15/%E5%8F%AF%E6%90%B6%E5%85%88%E5%9F%B7%E8%A1%8C%E7%9A%84+SJF%E7%AF%84%E4%BE%8B+Process+Arrival+Time+Burst+Time+P+P.jpg

圖片來自slideplayer.com
转载请注明来源,欢迎对文章中的引用来源进行考证,欢迎指出任何有错误或不够清晰的表达。可以邮件至 kimfei2014@gmail.com
github