文件名称:Vir_Mem
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:2.06kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
2.设计一个虚拟存储区和内存工作区,并使用下述算法计算访问命中率。
1) 最佳置换算法(Optimal)
2) 先进先出法(Fisrt In First Out)
3) 最近最久未使用(Least Recently Used)
4) 最不经常使用法(Least Frequently Used)
5) 最近未使用法(No Used Recently)
其中,命中率=1-页面失效次数/页地址流长度。
试对上述算法的性能加以较各:页面个数和命中率间的关系;同样情况下的命中率比较。
-2. To design a virtual memory storage area and work area, and access using the following algorithm to calculate the hit rate. 1) The best replacement algorithm (Optimal) 2) FIFO (Fisrt In First Out) 3) most recently from lack of use (Least Recently Used) 4) the least frequently used method (Least Frequently Used) 5) does not use a recently (No Used Recently) where hit rate = 1- invalid page number/page address stream length. Test the performance of the algorithms to be compared with each: the page number and the relationship between hit rate the same hit rate in case of comparison.
1) 最佳置换算法(Optimal)
2) 先进先出法(Fisrt In First Out)
3) 最近最久未使用(Least Recently Used)
4) 最不经常使用法(Least Frequently Used)
5) 最近未使用法(No Used Recently)
其中,命中率=1-页面失效次数/页地址流长度。
试对上述算法的性能加以较各:页面个数和命中率间的关系;同样情况下的命中率比较。
-2. To design a virtual memory storage area and work area, and access using the following algorithm to calculate the hit rate. 1) The best replacement algorithm (Optimal) 2) FIFO (Fisrt In First Out) 3) most recently from lack of use (Least Recently Used) 4) the least frequently used method (Least Frequently Used) 5) does not use a recently (No Used Recently) where hit rate = 1- invalid page number/page address stream length. Test the performance of the algorithms to be compared with each: the page number and the relationship between hit rate the same hit rate in case of comparison.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Vir_Mem.c
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.