信息系统状态过程图_操作系统中的增强型过程状态图
信息系統狀態過程圖
The enhanced process state diagram was introduced for maintaining the degree of multiprogramming by the Operating System. The degree of multiprogramming is the maximum number of processes that can be handled by the main memory at a particular instance. It is maintained by the Mid Term Schedulers. Let us first have a look at the diagram and will then talk about the working of the Mid Term Schedulers.
引入了增強的過程狀態圖 ,以維護操作系統的多程序程度。 多重編程的程度是在特定情況下主存儲器可以處理的最大進程數。 它由中期調度員維護。 首先讓我們看一下圖表,然后再討論中期計劃程序的工作。
The dotted box represents the Main memory of the system, which consists of the Ready state, the Running state, and the Waiting state. The degree of multiprogramming remains constant for a system. As soon as the number of processes in the ready state or the waiting state exceeds the degree of multiprogramming level, then the Mid Term Scheduler starts transferring the processes to the suspended ready state and to the suspended wait state respectively. As soon as the processes residing in the main memory complete their execution and goes into the termination state, the Mid Term Schedulers again transfers them into their respective states in the main memory.
虛線框代表系統的主內存,它由就緒狀態,運行狀態和等待狀態組成。 對于系統來說,多重編程的程度保持不變。 一旦處于就緒狀態或等待狀態的進程數超過了多編程級別的級別,則中期調度程序將分別開始將進程轉移到已暫停的就緒狀態和已暫停的等待狀態。 一旦駐留在主存儲器中的進程完成其執行并進入終止狀態,中期調度程序就會再次將它們轉移到主存儲器中的相應狀態。
The entire remaining processing inside the main memory is the same as in the normal Process State Diagram. The difference between the two is only that in the enhanced Process state diagram, the degree of multiprogramming is maintained by the Mid Term Schedulers by which, the flooding of processes into the main memory is eliminated, and this increases the processing speed and the performance of the system.
主存儲器中剩余的整個過程與正常過程狀態圖中的相同。 兩者之間的區別僅在于,在增強型進程狀態圖中 ,中期調度程序可保持多程序化的程度,從而消除了進程向主內存中的泛濫,從而提高了處理速度和性能。系統。
Here, in the enhanced Process state diagram also, the concept of preemption and non-preemption is applicable. If the Operating system allows preemption, then the switching of the process from the running state to ready state directly is allowed. Else, it is restricted if the Operating System follows the no-preemption mode of process scheduling.
此處,在增強的過程狀態圖中 ,搶占和非搶占的概念也適用。 如果操作系統允許搶占,則可以直接將進程從運行狀態切換到就緒狀態。 否則,如果操作系統遵循進程計劃的非搶占模式,則會受到限制。
翻譯自: https://www.includehelp.com/operating-systems/enhanced-process-state-diagram.aspx
信息系統狀態過程圖
總結
以上是生活随笔為你收集整理的信息系统状态过程图_操作系统中的增强型过程状态图的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 面试官:AtomicInteger是如何
- 下一篇: filterreader_Java Fi