-
LRU
利用LRU算法仿真请求页面系统
1、设计内容:用高级语言编写和调试一个内存分配程序,加深对内存分配算法的理解。
2、设计要求:
1) 实现请求分页存储管理方式的页面置换算法:近期最久未使用算法(LRU)
2) 内存物理块数固定为3个,对多个作业采用可变分配全局置换的策略分配物理块
3) 作业数量与作业大小(0-9页)可在界面进行设置
4) 所有作业按RR算法进行调度,时间片长度为1秒
5) 可为每个作业随机产生引用的页面串,也可以人工输入引用的页面串,页面串长度50---100,要求必须包括作业所有的页面,可作为样例数据保存
6) 可读取样例数据(要求存放在外部文件中)进行作业数量、作业大小、页面串长度的初始化
7) 要求采用可视化界面,模拟内存分配和使用情况图,可在运行过程中随时暂停,查看当前内存物理块使用情况。
8) 每次全部作业运行结束后,要求打印出访问命中率
(Request page using LRU algorithm simulation system)
- 2011-07-06 17:33:06下载
- 积分:1
-
2440uCos2-src-images-20100609
用ADS开发的2440程序,并且有UCOS2操作系统(With the the ADS development of 2440 program)
- 2013-05-11 16:48:06下载
- 积分:1
-
test1
生产者消费者问题-经典进程同步问题——生产者消费者问题及其同步方案;(produce&comsumer produce&comsumerproduce&comsumerproduce&comsumer)
- 2018-05-03 19:36:23下载
- 积分:1
-
dinning
哲学家进餐的问题,用程序模拟实现,解释死锁的产生、解除以及预防(dining philosophers problem, simulation procedures, explained Deadlock in lifting and prevention)
- 2006-12-08 11:52:24下载
- 积分:1
-
Disassembly_Tutorial
这本书是专门为黑客基本的分析程序使用调试器和汇编器的方法。这是有问题的巨大兴趣,但在现实中,很少有对谁掌握了专业水平,这些方法的程序员。(This book is dedicated to the basics of hacking—methods of analyzing programs using a debugger and disassembler. There is huge interest in this topic, but in reality, there are very few programmers who have mastered these methods on a professional level.
)
- 2009-09-07 17:59:33下载
- 积分:1
-
simulink燃气轮机模型 LM2500
说明: simulink燃气轮机模型
可进行仿真(simulink
gas turbine LM2500)
- 2021-01-26 14:48:37下载
- 积分:1
-
NASM_c
NASM加C语言实现的一个简单的内核,自己写操作系统资料(NASM plus C language implementation of a simple kernel, the operating system to write their own data)
- 2010-01-20 20:34:30下载
- 积分:1
-
Page-replacement
页面置换算法的模拟实现及命中率对比.通过模拟实现几种基本页面置换的算法,了解虚拟存储技术的特点(Simulation of page replacement algorithm, and the hit rate compared to several basic page replacement algorithm through simulation to understand the characteristics of virtual storage technology)
- 2012-03-29 14:59:46下载
- 积分:1
-
stm32f103rct6步进电机freeRTOS掉电保存
stm32f103rct6步进电机
基于freeRTOS
掉电存储(stm32f103rct6 stepper
based freeRTOS)
- 2020-06-15 22:45:01下载
- 积分:1
-
最佳适应法
采用首次适应法、最佳适应法或最差适应法,编写一内存分配和回收模拟程序。 动态地随机产生新的“内存分配”或“内存回收”请求,再按照你选定的分配算法修改这个数组。由于这个实验的重点在于内存分配,所以不考虑与某内存区相关的进程情况。(used first to adapt, adapt best or the worst adaptation law, the preparation of a memory allocation and recovery simulation program. Dynamic random to create a new "memory allocation" or "memory recovery" request, then you have chosen in accordance with the allocation algorithm to change the array. As the focus of this experiment is memory allocation, it is not considered relevant to a certain memory area of the process.)
- 2004-09-07 01:37:09下载
- 积分:1