-
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
-
Storage_Simulator0001
在采用多道程序设计的系统中,往往有若干个进程同时处于就绪状态。当就绪进程个数大于处理机数时,就必须依照某种策略来决定哪些进程优先占用处理机。本实验模拟在单处理机情况下的处理机调度,帮助学生加深了解处理机调度的工作。
二、实验类型
设计型。
三、预习内容
预习课本处理机调度有关内容,包括进程占用处理机的策略方法。
四、实验要求与提示
设计进程调度算法,进程数不定;包含几种调度算法,并加以实现;输出进程的调度过程——进程的状态、链表等。要求使用优先权法和轮转法模拟进程调度过程。
【提示】:简化假设
1) 进程为计算型的(无I/O)
2) 进程状态:ready、running、finish
3) 进程需要的CPU时间以时间片为单位确定
【提示】:算法描述
1) 优先权法——动态优先权,当前运行进程用完时间片后,其优先权减去一个常数。
2) 轮转法
(err)
- 2008-06-12 19:04:46下载
- 积分:1
-
writerandreader
计科操作系统课程“读者写者”问题的经典解决。(Branch of the operating system programs, " wrote the reader" as a problem to solve classic.)
- 2009-05-13 15:29:02下载
- 积分:1
-
system
操作系统作业源代码,方便学习操作系统课程的同学使用 (this is the codes for students who learn computer system.)
- 2013-12-30 21:07:39下载
- 积分:1
-
caozuoxitongshiyanwendang
操作系统的实验文档 包含设计与说明 带源码例子(Document contains the operating system design and description of experimental)
- 2010-11-17 11:26:54下载
- 积分:1
-
code
哈夫曼编码和解码
LRU算法模拟
银行家算法模拟
页面地址重定位模拟
进程调度模拟
FIFO算法模拟(Huffman encoding and decoding algorithm simulates LRU algorithm simulation banker page address relocation simulation process scheduling simulation algorithm FIFO simulation)
- 2017-02-03 09:11:55下载
- 积分:1
-
模拟进程调度
模拟操作系统进程调度的算法采用时间片轮转法和优先权法(operating system simulation process scheduling algorithm-time Web-law and law priority)
- 2005-05-15 19:51:27下载
- 积分:1
-
diaodu
这是一个进程调度问题~~~~还是有很多的问题哦(This is a process of scheduling problem ~ ~ ~ ~ still has many problems Oh)
- 2007-10-22 19:11:43下载
- 积分: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
-
ComputerSystems--AProgrammersPerspective
从程序员的角度看计算机操作系统~
很不错的书
大家都加油了(Computer Systems--A Programmer s Perspective)
- 2010-09-17 21:30:36下载
- 积分:1