-
页面调度算法
页式虚拟存储器的页面置换算法一般有: 最佳置换算法(OPT),先进先出置换算法(FIFO),最近最久未使用置换算法(LRU),Clock置换算法,最少使用置换算法(LFU),页面缓存算法(PBA)等。 先进先出(FIFO)置换算法是最直观的置换算法,由于它可能是性能最差的算法,故实际应用极少。在这里我只使用前面三种算法来进行页面调度(Page replacement algorithms for page virtual memory generally include the best permutation algorithm (OPT), advanced first out permutation (FIFO), the most recent unused replacement algorithm (LRU), Clock permutation algorithm, minimum use of permutation (LFU), and page caching algorithm (PBA). The first in first out (FIFO) replacement algorithm is the most intuitive replacement algorithm, because it may be the worst performing algorithm, so there are few practical applications. Here I only use the first three algorithms for page scheduling.)
- 2018-05-22 13:02:20下载
- 积分: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
-
geekos-0.3.0
Geekos 全部project,基于Geekos的操作系统设计与实现(all the geekos project)
- 2017-12-02 09:36:17下载
- 积分:1
-
Operatingsystemconcepts
说明: 《操作系统概念第六版翻译版》,国外操作系统经典教材,是学习操作系统原理深入而全面的学习资料("Operating system concepts 6th edition translated version" foreign classic Chinese version of the operating system tutorial is to learn the operating system in-depth and comprehensive learning material)
- 2009-09-03 20:04:53下载
- 积分:1
-
bosa_debug
BOSA简介及调试方法 GN25L95使用方法介绍(BOSA GN25L95 profile, and debugging method using method is introduced)
- 2021-04-15 16:38:54下载
- 积分:1
-
MyProcess
MFC实现的,界面有好,实现了进程调度的算法
能够模拟操作系统的进程调度 适合初学者(MFC implementation, the interface is good, a process scheduling algorithm to achieve
To simulate the operating system process scheduling for beginners)
- 2011-12-02 11:30:08下载
- 积分:1
-
4
说明: 这是一个操作系统中关于调度问题中的先来先服务调度算法。(This is an operating system on the scheduling of a first-come first-served scheduling.)
- 2011-06-19 22:42:58下载
- 积分:1
-
7464062
操作系统的作业调度模拟,分享给大家学习用()
- 2018-03-29 18:25:10下载
- 积分:1
-
基于c++的银行家算法
说明: 基于c++的简易银行家算法。。。。....(A simple banker algorithm based on C + +....)
- 2020-06-24 00:20:02下载
- 积分:1
-
youxiandudiaodu
操作系统学习中的模拟CUP如何调度外部进程的算法—优先度调用算法(Analog CUP in the operating system, learn how to schedule external process algorithm- priority call algorithm)
- 2012-08-22 21:45:12下载
- 积分:1