-
Storage_Simulator0001
在采用多道程序设计的系统中,往往有若干个进程同时处于就绪状态。当就绪进程个数大于处理机数时,就必须依照某种策略来决定哪些进程优先占用处理机。本实验模拟在单处理机情况下的处理机调度,帮助学生加深了解处理机调度的工作。
二、实验类型
设计型。
三、预习内容
预习课本处理机调度有关内容,包括进程占用处理机的策略方法。
四、实验要求与提示
设计进程调度算法,进程数不定;包含几种调度算法,并加以实现;输出进程的调度过程——进程的状态、链表等。要求使用优先权法和轮转法模拟进程调度过程。
【提示】:简化假设
1) 进程为计算型的(无I/O)
2) 进程状态:ready、running、finish
3) 进程需要的CPU时间以时间片为单位确定
【提示】:算法描述
1) 优先权法——动态优先权,当前运行进程用完时间片后,其优先权减去一个常数。
2) 轮转法
(err)
- 2008-06-12 19:04:46下载
- 积分:1
-
coolPACK
制冷专业软件,非常实用,可计算制冷系统,制冷剂的物性(Refrigeration professional software is very useful, computable refrigeration system, refrigerant properties)
- 2008-07-16 12:49:39下载
- 积分:1
-
clock页面置换算法
clock页面置换算法
用CLOCK置换算法仿真请求分页系统
1、设计目的:用高级语言编写和调试一个内存分配程序,加深对内存分配算法的理解。
2、设计要求:
1) 实现请求分页存储管理方式的页面置换算法:CLOCK算法
2) 内存物理块数固定为15个,对多个作业采用可变分配全局置换的策略分配物理块
3) 作业数量与作业大小(10-20页)可在界面进行设置
4) 所有作业按RR算法进行调度,时间片长度为1秒
5) 可为每个作业随机产生引用的页面串,也可以人工输入引用的页面串,页面串长度50---100,要求必须包括作业所有的页面,可作为样例数据保存
6) 可读取样例数据(要求存放在外部文件中)进行作业数量、作业大小、页面串长度的初始化
7) 要求采用可视化界面,模拟内存分配和使用情况图,可在运行过程中随时暂停,查看当前内存物理块使用情况。
8) 每次全部作业运行结束后,要求打印出访问命中率 (clock page replacement algorithm)
- 2013-05-12 10:42:56下载
- 积分:1
-
可变分区
说明: 可变分区,一个很重要的操作系统原代码,很详细的拉,个人下载参考参考。(Variable Division, a very important source operating system, a very detailed and pulling personal information. Download.)
- 2006-01-10 20:58:02下载
- 积分:1
-
EOSApp
1)设计一程序,由一个进程创建三个子进程,三个子进程一个是生产者进程,两个是消费者进程。
2)父子进程都使用父进程创建的共享存储区进行通信,由生产者进程将一个数组中的十个数值发送到由5个缓冲区组成的共享内存中。?
3)两个消费者进程轮流接收并输出这十个数值,同时将两个消费者进程读出的数值进行累加求各和。
4)考虑生产者进程生产的速度和消费者进程速度。(1) a program is designed to create three sub processes from one process, three sub processes is the producer process, and the two is the consumer process.
2) the father child process communicates with the shared storage area created by the parent process, and sends ten values in one array to the shared memory composed of 5 buffers by the producer process. L
3) the two consumer processes take turns to receive and output the ten values, and add values to each of the two consumer processes.
4) take into account the production speed of the producer process and the speed of the consumer process.)
- 2020-12-23 09:19:08下载
- 积分:1
-
mybank_cPP
银行家算法模拟程序的实现
用可视(图形)化界面完成银行家算法的模拟程序。
模拟程序能够实现对不同数目进程,不同数目资源种类,不同当前状态的测试,通过银行家算法判断任意次数的资源请求是否会得意满足,并对提出资源请求的进程作出正确处理。
模拟程序还需要能够正确回收资源,并在回收资源后判断是否需要唤醒阻塞进程,如需要则将先前因申请资源失败而被阻塞的进程唤醒,并提供资源分配(Bankers algorithm simulation program realization
)
- 2020-11-11 23:49:46下载
- 积分:1
-
FIFOLRU
1.虚拟存储器的引入
局部性原理:程序在执行时在一较短时间内仅限于某个部分;相应的,它所访问的存储空间也局限于某个区域,它主要表现在以下两个方面:时间局限性和空间局限性。
2.虚拟存储器的定义
虚拟存储器是只具有请求调入功能和置换功能,能从逻辑上对内存容量进行扩充的一种存储器系统
(1. The introduction of virtual memory locality principle: program execution in a relatively short period of time limited to a particular part of it Accordingly, it has access to the storage space is also limited to a particular region, it is mainly manifested in the following two aspects: the time limitations and space limitations. 2. The definition of virtual memory Virtual memory is just a request for redeployment of functions and displacement functions, from the logical to expand the memory capacity of a memory system)
- 2010-01-08 15:10:19下载
- 积分:1
-
jinchengdiaodu
加深进程概念的理解;掌握选择进程调度算法的准则;掌握进程调度算法。
(Deepen the process of understanding of the concept master scheduling criteria selection process algorithm master process scheduling algorithm.)
- 2013-12-10 13:42:14下载
- 积分:1
-
hujianbo
我的银行家算法,大家来看看。
若要密码
265913(I bankers algorithm, we take a look at. To password 265913)
- 2007-01-05 16:48:04下载
- 积分:1
-
PlayWithDataStructureSourceCode
本教材以操作系统原理为主线,结合当今主流操作系统设计方法。(The principles of materials to the main line operating system, combined with today' s mainstream operating system design.)
- 2011-11-01 17:18:27下载
- 积分:1