请求分页存储管理系统的设计与实现.rar

上传者: 44134712 | 上传时间: 2021-07-16 18:05:28 | 文件大小: 56KB | 文件类型: RAR
通过《操作系统》课程实训,达到以下目的:(1)巩固和加深对操作系统(OS)原理的理解,初步掌握操作系统组成模块和应用接口的使用方法,提高进行工程设计和系统分析的能力;(2)通过相关课题的设计,锻炼学生解决复杂工程问题的能力;(3)通过选做相关的课题,提高学生查阅资料、相互交流沟通的能力,锻炼学生使用信息化工具的能力; 请求页式管理是一种常用的虚拟存储管理技术。本设计通过请求页式存储管理中页面置换算法模拟设计,了解虚拟存储技术的特点,掌握请求页式管理的页面置换算法。 (1)从置换算法中任选 2 种(OPT、 FIFO、LRU、Clock);(2)建立页表;(3) 设计的输入数据要能体现算法的思想(4) 模拟缺页中断过程;(5)求出各置换算法中的缺页次数和置换次数以及依次被换出的页号;(6)利用Java Swing进行图形化界面设计。 在此次实训过程中,我先是完成了FIFO、LRU、OPT、Clock四个算法的实现,之后结合Java的Swing图形化界面,将算法融入到图形化界面中,并且可以进行序列长度和运行时间的初始化,紧接着,可以将序列和物理块进行随机生成序列,最后,在算法执行中,可以将缺页中断过程显示在文本区域内,并且在文本区域内可以显示缺页次数、置换次数、被换页号的实时统计。

文件下载

资源详情

[{"title":"( 39 个子文件 56KB ) 请求分页存储管理系统的设计与实现.rar","children":[{"title":"操作系统代码","children":[{"title":"zzr-homework","children":[{"title":".project <span style='color:#111;'> 388B </span>","children":null,"spread":false},{"title":"OPTtest.txt <span style='color:#111;'> 1005B </span>","children":null,"spread":false},{"title":"LRUtest.txt <span style='color:#111;'> 1005B </span>","children":null,"spread":false},{"title":"src","children":[{"title":"zzrpage","children":[{"title":"All.java <span style='color:#111;'> 20.56KB </span>","children":null,"spread":false},{"title":"PrinMain.java <span style='color:#111;'> 4.29KB </span>","children":null,"spread":false},{"title":"PrinNext.java <span style='color:#111;'> 8.54KB </span>","children":null,"spread":false},{"title":"MyPrint.java <span style='color:#111;'> 2.24KB </span>","children":null,"spread":false},{"title":"Main.java <span style='color:#111;'> 1.81KB </span>","children":null,"spread":false}],"spread":true},{"title":"zzrwork","children":[{"title":".project <span style='color:#111;'> 383B </span>","children":null,"spread":false},{"title":"FIFOThread.java <span style='color:#111;'> 5.23KB </span>","children":null,"spread":false},{"title":"OPTThread.java <span style='color:#111;'> 5.34KB </span>","children":null,"spread":false},{"title":".classpath <span style='color:#111;'> 190B </span>","children":null,"spread":false},{"title":"ClockThread.java <span style='color:#111;'> 5.41KB </span>","children":null,"spread":false},{"title":"LRUThread.java <span style='color:#111;'> 5.56KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"FIFOtest.txt <span style='color:#111;'> 1004B </span>","children":null,"spread":false},{"title":".settings","children":[{"title":"org.eclipse.jdt.core.prefs <span style='color:#111;'> 598B </span>","children":null,"spread":false}],"spread":true},{"title":"Clocktest.txt <span style='color:#111;'> 1007B </span>","children":null,"spread":false},{"title":".classpath <span style='color:#111;'> 301B </span>","children":null,"spread":false},{"title":"bin","children":[{"title":"zzrpage","children":[{"title":"PrinNext$myaction.class <span style='color:#111;'> 5.18KB </span>","children":null,"spread":false},{"title":"PrinMain$myaction.class <span style='color:#111;'> 1.80KB </span>","children":null,"spread":false},{"title":"PrinNext.class <span style='color:#111;'> 3.18KB </span>","children":null,"spread":false},{"title":"Main.class <span style='color:#111;'> 1.64KB </span>","children":null,"spread":false},{"title":"PrinMain$1.class <span style='color:#111;'> 832B </span>","children":null,"spread":false},{"title":"All.class <span style='color:#111;'> 7.84KB </span>","children":null,"spread":false},{"title":"All$1action.class <span style='color:#111;'> 7.33KB </span>","children":null,"spread":false},{"title":"PrinMain.class <span style='color:#111;'> 2.83KB </span>","children":null,"spread":false},{"title":"Main$myaction.class <span style='color:#111;'> 911B </span>","children":null,"spread":false},{"title":"MyPrint$action.class <span style='color:#111;'> 1.09KB </span>","children":null,"spread":false},{"title":"MyPrint.class <span style='color:#111;'> 2.82KB </span>","children":null,"spread":false}],"spread":false},{"title":"zzrwork","children":[{"title":".project <span style='color:#111;'> 383B </span>","children":null,"spread":false},{"title":"LRUThread.class <span style='color:#111;'> 5.80KB </span>","children":null,"spread":false},{"title":"ClockThread.class <span style='color:#111;'> 5.25KB </span>","children":null,"spread":false},{"title":"OPTThread.class <span style='color:#111;'> 5.23KB </span>","children":null,"spread":false},{"title":"FIFOThread.class <span style='color:#111;'> 5.46KB </span>","children":null,"spread":false},{"title":".classpath <span style='color:#111;'> 190B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"输入输出文件","children":[{"title":"OPTtest.txt <span style='color:#111;'> 1005B </span>","children":null,"spread":false},{"title":"LRUtest.txt <span style='color:#111;'> 1005B </span>","children":null,"spread":false},{"title":"FIFOtest.txt <span style='color:#111;'> 1004B </span>","children":null,"spread":false},{"title":"Clocktest.txt <span style='color:#111;'> 1007B </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明