信息系统状态过程图_操作系统中的增强型过程状态图
信息系統(tǒng)狀態(tài)過(guò)程圖
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.
引入了增強(qiáng)的過(guò)程狀態(tài)圖 ,以維護(hù)操作系統(tǒng)的多程序程度。 多重編程的程度是在特定情況下主存儲(chǔ)器可以處理的最大進(jìn)程數(shù)。 它由中期調(diào)度員維護(hù)。 首先讓我們看一下圖表,然后再討論中期計(jì)劃程序的工作。
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.
虛線框代表系統(tǒng)的主內(nèi)存,它由就緒狀態(tài),運(yùn)行狀態(tài)和等待狀態(tài)組成。 對(duì)于系統(tǒng)來(lái)說(shuō),多重編程的程度保持不變。 一旦處于就緒狀態(tài)或等待狀態(tài)的進(jìn)程數(shù)超過(guò)了多編程級(jí)別的級(jí)別,則中期調(diào)度程序?qū)⒎謩e開(kāi)始將進(jìn)程轉(zhuǎn)移到已暫停的就緒狀態(tài)和已暫停的等待狀態(tài)。 一旦駐留在主存儲(chǔ)器中的進(jìn)程完成其執(zhí)行并進(jìn)入終止?fàn)顟B(tài),中期調(diào)度程序就會(huì)再次將它們轉(zhuǎn)移到主存儲(chǔ)器中的相應(yīng)狀態(tài)。
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.
主存儲(chǔ)器中剩余的整個(gè)過(guò)程與正常過(guò)程狀態(tài)圖中的相同。 兩者之間的區(qū)別僅在于,在增強(qiáng)型進(jìn)程狀態(tài)圖中 ,中期調(diào)度程序可保持多程序化的程度,從而消除了進(jìn)程向主內(nèi)存中的泛濫,從而提高了處理速度和性能。系統(tǒng)。
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.
此處,在增強(qiáng)的過(guò)程狀態(tài)圖中 ,搶占和非搶占的概念也適用。 如果操作系統(tǒng)允許搶占,則可以直接將進(jìn)程從運(yùn)行狀態(tài)切換到就緒狀態(tài)。 否則,如果操作系統(tǒng)遵循進(jìn)程計(jì)劃的非搶占模式,則會(huì)受到限制。
翻譯自: https://www.includehelp.com/operating-systems/enhanced-process-state-diagram.aspx
信息系統(tǒng)狀態(tài)過(guò)程圖
總結(jié)
以上是生活随笔為你收集整理的信息系统状态过程图_操作系统中的增强型过程状态图的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: 面试官:AtomicInteger是如何
- 下一篇: filterreader_Java Fi