-
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
-
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
-
distributionofstoragemanagementandrecovery
模拟段式存储管理的分配与回收,能够输入给定的内存大小,进程的个数,每个进程的段数及段大小;当某进程提出申请空间的大小后,显示能否满足申请,以及为该进程分配资源后有关内存空间使用的情况。
(Analog-stage distribution of storage management and recovery, be able to enter a given memory size, number of processes, each process segment number and segment size when a space the size of the application process, the show can meet the application, as well as the The process, after the allocation of resources relating to the use of memory space.)
- 2020-09-17 16:37:55下载
- 积分: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
-
ss
说明: 请求页式虚存管理是常用的虚拟存储管理方案之一。通过请求页式虚存管理中对页面置换算法的模拟,有助于理解虚拟存储技术的特点,并加深对请求页式虚存管理的页面调度算法的理解。(Page requests virtual memory management is commonly used in the virtual storage management, one of the options. Page through the request of the management of virtual memory page replacement algorithm for simulation, helping to understand the characteristics of virtual storage technology, and better understanding of the request for virtual memory management Page page scheduling algorithm understanding.)
- 2008-06-20 21:20:07下载
- 积分:1
-
dos
一个虚拟DOS操作界面的小系统,一共有9条命令,可以在里面增加命令实现更多功能。(A virtual DOS interface small system, a total of 9 orders, which increased in order to achieve more.)
- 2007-12-16 16:15:20下载
- 积分:1
-
Bankers-algorithm-simulation
银行家算法模拟,适用于计算机操作系统课程设计的银行家算法的实现。(Bankers algorithm simulation for realization of computer courses on operating system design bankers algorithm.)
- 2015-12-14 13:34:41下载
- 积分:1
-
process_attemper
1、 :编写并调试一个模拟的进程调度程序,采用“最高优先数优先”调度算法对进程进行调度。 “最高优先数优先调度算法的基本思想是把CPU分配给就绪队列中优先数最高的进程。尝试静态优先数与动态优先数两种方法:
a) 静态优先数是指优先数在整个进程运行期间不再改变。优先数可以在数据输入时指定,也可以根据到达顺序、运行时间确定。
b) 动态优先数是指进程的优先数在创建进程时可以给定一个初始值,并且可以按一定原则修改优先数。例如进程获得一次CPU后就将其优先数减少1。或者进程等待的时间超过某一时限时增加其优先数的值。
2、 编写并调试一个模拟的进程调度程序,模拟实现多级反馈队列调度算法。
3、 编写并调试一个模拟的进程调度程序,模拟实现最低松弛度优先算法。
4、 程序与报告要求:
a) 对上述要求1、2、3,至少要完成一项,鼓励尝试多种算法。
b) 输出结果要尽量详细清晰,能够反映调度后队列变化,PCB内部变化。
c) 可以选择在Windows或Linux环境下编写、运行程序
d) 鼓励使用不同的开发工具在不同平台环境上进行开发比较。
e) 在实验报告中,一方面可以对实验结果进行分析,一方面可以对各种算法进行比较,分析它们的优劣,说明各种算法适用于哪些情况下的调度。
(1 : Prepare a simulation and debugging process scheduling procedures, "Priority number of the highest priority" to the process of scheduling algorithms for scheduling. "Highest priority priority scheduling algorithm for the basic idea is to place the CPU allocated to the priority queue highest process. Taste Examination several static and dynamic priority priority number two methods : a) static priority number is priority number in operation during the entire process will not change. priority number in the designated input data, can be reached under the order, running time determine. b) dynamic priority number refers to several priorities for the process of the creation process can be given an initial value, and according to the principle of amending certain priority number.)
- 2007-07-04 12:57:51下载
- 积分:1
-
pickmeup
说明: 几个算法分析和操作系统的上机小程序,vc,c#实现(several algorithm analysis and operating systems on the plane small program vc, c#)
- 2006-02-28 12:02:02下载
- 积分:1