1、 *学院 计算机科学系 课程设计报告 设计名称:设计名称: 软件课程设计软件课程设计 设计题目:设计题目: 页面置换算法模拟程序页面置换算法模拟程序 学生学号:学生学号: * 专业班级:专业班级: 学生姓名:学生姓名: 学生成绩:学生成绩: 指导教师(职称) :指导教师(职称) : 课题工作时间:课题工作时间: 摘 要 操作系统(英语;Operating System,简称 OS)是一管理电脑硬件与软件资源的程 序,同时也是计算机系统的内核与基石。操作系统身负诸如管理与配置内存、决定系统 资源供需的优先次序、控制输入与输出设备、操作网络与管理文件系统等基本事务。操 作系统是管理计算机系统的全部
2、硬件资源包括软件资源及数据资源;控制程序运行;改善 人机界面;为其它应用软件提供支持等,使计算机系统所有资源最大限度地发挥作用,为 用户提供方便的、有效的、友善的服务界面。操作系统是一个庞大的管理控制程序,大 致包括 5 个方面的管理功能:进程与处理机管理、作业管理、存储管理、设备管理、文件 管理。 在地址映射过程中, 若在页面中发现所要访问的页面不再内存中, 则产生缺页中断。 当发生缺页中断时操作系统必须在内存选择一个页面将其移出内 存,以便为即将调入 的页面让出空间。而用来选择淘汰哪一页的规则叫做页面置换算法(Page-Replacement Algorithms)。 A.A. 关键词:操
3、作系统;OPT 页面置换算法; FIFO 先进先出的算法;LRR 最近最 少使用算;LFR 最少访问页面算法;NUR 最近最不经常使用算法 Abstract Operating system (in English; Operating System, referred to as OS) is a computer hardware and software resources management procedures, but also the core and foundation of the computer system. Who are charged with operati
4、ng systems such as memory management and allocation, supply and demand determine the priority of system resources, control input and output devices, operation and management of network file systems and other basic services. The operating system is managing all the hardware resources of computer syst
5、ems including software resources and data resources; control program is running; to improve human-machine interface; provide support for other applications, so that computer systems play a role in maximizing all resources to provide users with convenient effective, friendly service interface. Operat
6、ing system is a huge management control procedures, including the five aspects of general management functions: process and processor management, operations management, storage management, device management, document management. In the address mapping process, if found to be in the page to access the page no longer in memory, then generate a page fault. When a page fault occurs the operating