-
distributionofstoragemanagementandrecovery
模拟段式存储管理的分配与回收,能够输入给定的内存大小,进程的个数,每个进程的段数及段大小;当某进程提出申请空间的大小后,显示能否满足申请,以及为该进程分配资源后有关内存空间使用的情况。
(Analog-stage distribution of storage management and recovery, be able to enter a given memory size, number of processes, each process segment number and segment size when a space the size of the application process, the show can meet the application, as well as the The process, after the allocation of resources relating to the use of memory space.)
- 2020-09-17 16:37:55下载
- 积分:1
-
caozuoxitongshiyanwendang
操作系统的实验文档 包含设计与说明 带源码例子(Document contains the operating system design and description of experimental)
- 2010-11-17 11:26:54下载
- 积分:1
-
ss
说明: 请求页式虚存管理是常用的虚拟存储管理方案之一。通过请求页式虚存管理中对页面置换算法的模拟,有助于理解虚拟存储技术的特点,并加深对请求页式虚存管理的页面调度算法的理解。(Page requests virtual memory management is commonly used in the virtual storage management, one of the options. Page through the request of the management of virtual memory page replacement algorithm for simulation, helping to understand the characteristics of virtual storage technology, and better understanding of the request for virtual memory management Page page scheduling algorithm understanding.)
- 2008-06-20 21:20:07下载
- 积分:1
-
OS
说明: 包含操作系统全部试验以及实验报告,稍微修改下就可以了(Contains the operating system all the tests and lab reports, a slight modification can be the next)
- 2010-05-26 11:29:03下载
- 积分:1
-
mybank_cPP
银行家算法模拟程序的实现
用可视(图形)化界面完成银行家算法的模拟程序。
模拟程序能够实现对不同数目进程,不同数目资源种类,不同当前状态的测试,通过银行家算法判断任意次数的资源请求是否会得意满足,并对提出资源请求的进程作出正确处理。
模拟程序还需要能够正确回收资源,并在回收资源后判断是否需要唤醒阻塞进程,如需要则将先前因申请资源失败而被阻塞的进程唤醒,并提供资源分配(Bankers algorithm simulation program realization
)
- 2020-11-11 23:49:46下载
- 积分:1
-
reply_1_646228
银行家算法,希望大家喜欢(bankers algorithm, hope you like)
- 2004-11-10 19:41:05下载
- 积分:1
-
yinhangjiasuanfa
这是我做的操作系统里面的银行家算法的源程序,发上来供大家参考。(caozuoxitongyinhangjiasuanfa)
- 2009-05-22 23:40:08下载
- 积分: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
-
subject_3
对于OPT算法,在有多个页面可选的情况下,先淘汰较早进入的页面)。
3. 计算缺页次数及缺页率。
测试用例格式如下:
输入:
算法(1 OPT,2 FIFO,3 LRU)
内存块数
页面序列(页面1,页面2,页面3,...)
输出:
页面变化时内存块装入页面列表1-是否命中/页面变化时内存块装入页面列表2-是否命中/...
缺页次数
其中:
页面变化时内存块装入页面列表:内存块1装入页面,内存块2装入页面,内存块3装入页面...,未装入任何页面时由 -”表示
是否命中:1-命中,0-缺页">
- 2021-04-27 00:48:45下载
- 积分:1
-
Storage_Simulator0001
在采用多道程序设计的系统中,往往有若干个进程同时处于就绪状态。当就绪进程个数大于处理机数时,就必须依照某种策略来决定哪些进程优先占用处理机。本实验模拟在单处理机情况下的处理机调度,帮助学生加深了解处理机调度的工作。
二、实验类型
设计型。
三、预习内容
预习课本处理机调度有关内容,包括进程占用处理机的策略方法。
四、实验要求与提示
设计进程调度算法,进程数不定;包含几种调度算法,并加以实现;输出进程的调度过程——进程的状态、链表等。要求使用优先权法和轮转法模拟进程调度过程。
【提示】:简化假设
1) 进程为计算型的(无I/O)
2) 进程状态:ready、running、finish
3) 进程需要的CPU时间以时间片为单位确定
【提示】:算法描述
1) 优先权法——动态优先权,当前运行进程用完时间片后,其优先权减去一个常数。
2) 轮转法
(err)
- 2008-06-12 19:04:46下载
- 积分:1