-
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
-
OSDemo
操作系统实验演示代码(三个实验,作业管理,内存管理,文件管理)(Experimental demonstration of the operating system code (three experiments, operations management, memory management, document management))
- 2020-06-26 11:00:02下载
- 积分: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
-
avoid-deadlock
操作系统实验-死锁避免算法,word文档,详细,全,可执行,自己写的,希望快点能在贵网站下载。。。(Operating System Experiment- Deadlock avoidance algorithm, word documents, detailed, full, enforceable, wrote it myself, hope quickly in your website. . .)
- 2013-10-28 19:05:59下载
- 积分:1
-
caozuoxitong
操作系统综合实验报告 关于单处理器系统的进程调度的实验报告分析以及源码(Operating a comprehensive report on the experimental process of scheduling a single processor system analysis and the source of the experimental report)
- 2010-01-08 18:53:47下载
- 积分:1
-
fl2
操作系统 实验二 进程同步与互斥
实现的基本的进程的同步、互斥,并用银行家算法实现与死锁预防(Second, the process of experimental operating system synchronization and mutex realize the basic process synchronization, mutual exclusion, and bankers with the deadlock prevention algorithm)
- 2008-04-21 15:51:39下载
- 积分:1
-
fifo
页面置换先进先出算法,请大家试试,本人鉴定没问题(FIFO page replacement algorithm, please try, I did not identify the problem)
- 2021-01-13 14:18:47下载
- 积分:1
-
dinning
哲学家进餐的问题,用程序模拟实现,解释死锁的产生、解除以及预防(dining philosophers problem, simulation procedures, explained Deadlock in lifting and prevention)
- 2006-12-08 11:52:24下载
- 积分:1
-
FCFS
系统调度中先进先出FCFS算法代码 操作系统课设可用(FIFO system FCFS scheduling algorithm code class-based operating system available)
- 2015-11-30 20:53:48下载
- 积分: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