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: 操作系统课程设计,页面置换算法,包含了先进先出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: 页面置换算法
设计一个虚拟存储区和内存工作区,编程序演示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: C++写的操作系统原理及实现,模拟页面置换算法OPT的源码-C++ Write the operating system and realize the principle of simulated OPT page replacement algorithm for the source Platform: |
Size: 199680 |
Author:woaic |
Hits:
Description: C++代码写的有关页面置换算法的程序 实现OPT 算法 (最优置换算法) 、LRU 算法 (Least Recently) 、 FIFO 算法 (First IN First Out)的模拟-C++ code written on the page replacement algorithm OPT program algorithm (the optimal replacement algorithm), LRU algorithm (Least Recently), FIFO algorithm (First IN First Out) of the simulation Platform: |
Size: 1911808 |
Author:lee |
Hits:
Description: 该程序描述了在操作系统里的页面替换算法,主要是FIFO、OPT、LRU这三种。-This procedure described in the operating system s page replacement algorithm, mainly FIFO, OPT, LRU three. Platform: |
Size: 1024 |
Author:嘉何月 |
Hits:
Description: 操作系统页面置换模拟系统
本软件模拟操作系统的页面置换,共有FIFO、LRU、OPT三种算法可供选择。用户可自行选择随机或手动输入指令序列的地址,本系统将自动显示各种算法的缺页率,以及那一条指令导致缺页-Analog system operating system page replacement operating system, the software simulate page replacement, total FIFO, LRU, OPT three algorithms to choose from. Users can choose a random sequence of instructions or manually enter the address, the system will automatically display the page fault rate of the algorithm, and the instructions which lead to missing pages Platform: |
Size: 62464 |
Author:xuzekun |
Hits:
Description: 页面置换算法的实现。里面包含了 LRU ,FIFO, 简单CLOCK,改进的CLOCK,OPT,随机算法这几种算法,然后根据情况选择算法。 -Page replacement algorithm. Which contains the LRU, FIFO, simple and CLOCK to improved CLOCK, OPT, random selection algorithm algorithm for these types of algorithms, and then depending on the circumstances. Platform: |
Size: 2048 |
Author:王心 |
Hits: