码迷,mamicode.com
首页 > 其他好文 > 详细

the OS maintains a number of queues

时间:2016-12-23 22:15:53      阅读:188      评论:0      收藏:0      [点我收藏+]

标签:rmi   algorithm   turn   sig   edit   ready   final   locate   orm   

 

COMPUTER ORGANIZATION AND ARCHITECTURE DESIGNING FOR PERFORMANCE NINTH EDITION

 

技术分享

 

To do its job, the OS maintains a number of queues. Each queue is simply a
waiting list of processes waiting for some resource. The long-term queue is a list of
jobs waiting to use the system. As conditions permit, the high-level scheduler will
allocate memory and create a process for one of the waiting items. The short-term
queue consists of all processes in the ready state. Any one of these processes could
use the processor next. It is up to the short-term scheduler to pick one. Generally,
this is done with a round-robin algorithm, giving each process some time in turn.
Priority levels may also be used. Finally, there is an I/O queue for each I/O device.
More than one process may request the use of the same I/O device. All processes
waiting to use each device are lined up in that device’s queue.

the OS maintains a number of queues

标签:rmi   algorithm   turn   sig   edit   ready   final   locate   orm   

原文地址:http://www.cnblogs.com/yuanjiangw/p/6215995.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!