Description: 程序功能主要分为3个部分,分别是对OPT、FIFO、LRU三种页面置换算法的实现。要求3部分的设计应该尽可能使用近似的实现方法。-procedures main function is divided into three parts, namely the OPT, FIFO, three pages replacement LRU algorithm implementation. Part of the three requirements should be designed as far as possible to use similar methods to achieve. Platform: |
Size: 10240 |
Author:gjb |
Hits:
Description: 这是一个页面置换算法的实现,功能描述:输入可用内存页面数和一个作业访问逻辑页号的序列 *给出FIFO、LRU、OPT算法的缺页中断率 *本程序中设初始页框里的页号与实际页号都不同-This is a page replacement algorithm to achieve functional description : Importation of a few pages available memory and a logic operation visit, the page is given sequence* FIFO, the LRU, OPT algorithm vacancy rate* Page interrupted the proceedings set up the initial page listing page, and the actual page numbers are different Platform: |
Size: 3072 |
Author:齐大永 |
Hits:
Description: 基本算法思想 OPT:该算法的基本思想是用二维数组page2[40][2] 的第一列存储装入内存的页面,而第二列用作标记位计数器。每当发生缺页时,就从内存中调出一页,首先将内存中的页面一一与要调入内存中的页面之后的页面比较,如果两个页面不相等,则内存中相应的页面的标记位计数器加一,直至到有相等的页面,则该页面的比较停止,再重复以上操作,直至内存中的页面全部比较完。然后找出内存中页面的标记位最大的页面,而该页就是要置换出来的页。 FIFO: 该算法的基本思想是用队列queue存储内存中的页面,队列的特点是先进先出,与该算法是一致的,所以每当发生缺页时,就从队头删除一页,即队头指针加一,而从队尾加入缺页,队尾指针加一。 LRU: 该算法的基本思想是用二维数组page2[40][2] 的第一列存储装入内存的页面,而第二列用作标记位计数器。每当使用页面时,该页面的标记位计数器加一。发生缺页时,就从内存中页面标记最小的一页,调出该页,并且该页后面的页面在数组中的位置前移,而缺页就放在数组后面。-basic algorithm thinking OPT : The basic idea of the algorithm is a two-dimensional array page2 [40] [2], the first storage pages loaded into memory, and the second for the markers out counter. Whenever there are missing pages, from memory a redeployment, the first memory pages on January 1 and transferred to the memory page after page, two pages, if not equal, then the corresponding memory pages marked increase a bit counter, until the equivalent of a page, the page more stop and then to repeat the operation, until the memory of all the pages compared End. Then find memory pages marking the largest-page, the page is to the replacement page. FIFO : The basic idea of the algorithm is used queue queue storage memory pages, and the queue is FIFO features, and the algorithm is the same, so whe Platform: |
Size: 26624 |
Author:何泽荣 |
Hits:
Description: 演示了linux下的常用页面置换算法(FIFO,LRU,OPT,LFU,NUR),并计算了相应的命中率。程序用随机函数产生指令序列,然后变换成相应的页地址流。-demonstration of the commonly used algorithm replacement pages (FIFO, the LRU, OPT, LFU, NUR), and calculated the corresponding hit rate. Procedures used functions to generate random instruction sequences, and then converted into the corresponding page addresses flow. Platform: |
Size: 2048 |
Author:衣明玉 |
Hits:
Description: 分别实现最佳置换算法(optimal)、先进先出(FIFO)页面置换算法和最近最久未使用(LRU)置换算法,并给出各算法缺页次数和缺页率。-respectively optimal replacement algorithm (optimal), FIFO (FIFO) page replacement algorithm and the most recent time on the use (LRU) replacement algorithm, the algorithm is given na na page number and page rate. Platform: |
Size: 3072 |
Author:asdf |
Hits:
Description: 操作系统课程设计,页面置换算法,包含了先进先出fifo、最近最久未使用lru、还有最佳opt三种算法。代码简单易懂,编译通过。-courses on operating system design, page replacement algorithms, including the FIFO fifo. the most recent time on the use of LRU, the three best opt algorithm. Code straightforward compile. Platform: |
Size: 1024 |
Author:wz |
Hits:
Description: 内存管理的四种页面置换算法 FIFO LRU NUR OPT-Memory management page replacement algorithm for the four FIFO LRU NUR OPT Platform: |
Size: 223232 |
Author:子小 |
Hits:
Description: 页面置换算法模拟 包括先来先服务 以及最近最久未使用-Page replacement algorithm for simulation, including first-come, first serve and, more recently, the use of the most long Platform: |
Size: 3072 |
Author:chengly |
Hits:
Description: 页面置换算法
设计一个虚拟存储区和内存工作区,编程序演示FIFO、LRU、OPT算法的具体实现过程,并计算访问命中率.-Page replacement algorithm for the design of a virtual memory storage area and work area, programmed demo FIFO, LRU, OPT algorithm concrete realization of the process and calculate the percentage of hits of the visit. Platform: |
Size: 188416 |
Author:井 |
Hits:
Description: 操作系统实践课程实验,页面置换的4种方法,FIFO等-Practice Course experimental operating system, page replacement of the four kinds of methods, FIFO, etc. Platform: |
Size: 1024 |
Author:gf |
Hits:
Description: 操作系统WIndows页面置换算法、先进先出算法、以及FIFO和LRU算法(最新最少使用算法)-OS WIndows page replacement algorithm, FIFO algorithm, and FIFO and LRU algorithms (at least using the latest algorithm) Platform: |
Size: 135168 |
Author:青青 |
Hits:
Description: 分别实现最佳置换算法(optimal)、先进先出(FIFO)页面置换算法和最近最久未使用(LRU)置换算法,并给出各算法缺页次数和缺页率。
-Respectively, to achieve optimal replacement algorithm (optimal), First In First Out (FIFO) page replacement algorithm and the most-recently-used recently (LRU) replacement algorithm, and gives the algorithm the number of missing pages and missing page rate. Platform: |
Size: 84992 |
Author:唐艰苦 |
Hits: