-
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
-
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
-
fptree
FP-growth算法的改进C++程序,具有较好的扩展性和应用性,本程序改成用行读取,然后在内存中解析。更有效的方式是采用块读取方式(本人在以前项目中验证过,速度大为提高。)(FP-growth algorithm C++ Procedures, have good scalability and application, the procedure changed to use line to read, and then resolve in memory. More effective approach is the use of block-read mode (I tested before the project, speed greatly improved.))
- 2008-02-23 11:36:19下载
- 积分:1
-
shiyan4
广东工业大学计算机学院操作系统4源代码 (Guangdong University of Computer Science 4 source code operating system)
- 2013-01-15 17:20:42下载
- 积分:1
-
LinuxGroupMan
说明: Unix 成组链接法
模拟UNIX系统的空闲块成组链接法,实现磁盘存储空间的管理(Unix Group Links UNIX System Simulation of spare pieces Group link, disk storage space to achieve the management)
- 2020-12-12 19:59:15下载
- 积分: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
-
ch01
说明: ucos2 vc++移植代码 通过VC++编译,每2S显示一次任务(ucos2 vc++ code migration)
- 2010-03-18 21:32:43下载
- 积分:1
-
OSDemo
操作系统实验演示代码(三个实验,作业管理,内存管理,文件管理)(Experimental demonstration of the operating system code (three experiments, operations management, memory management, document management))
- 2020-06-26 11:00:02下载
- 积分:1
-
fifo
页面置换先进先出算法,请大家试试,本人鉴定没问题(FIFO page replacement algorithm, please try, I did not identify the problem)
- 2021-01-13 14:18:47下载
- 积分:1
-
33
说明: 作业调度——先来先服务,最短作业优先,最高响应比优先(Job scheduling- a first-come first-served, shortest job first, highest priority response ratio)
- 2011-07-01 19:41:37下载
- 积分:1