首页> 外文会议>Western Canadian Conference on Computing Education >Teaching page replacement algorithms with a Java-based VM simulator
【24h】

Teaching page replacement algorithms with a Java-based VM simulator

机译:使用基于Java的VM模拟器教授页面替换算法

获取原文

摘要

Computer system courses have long benefited from simulators in conveying important concepts to students. We have modified the Java source code of the MOSS virtual memory simulator to allow users to easily switch between different page replacement algorithms including FIFO, LRU, and Optimal replacement algorithms. The simulator clearly demonstrates the behavior of the page replacement algorithms in a virtual memory system, and provides a convenient way to illustrate page faults and their corresponding page fault costs. Equipped with a GUI for control and page table visualization, it allows the student to visually see how page tables operate and which pages page replacement algorithms evict in case of a page fault. Moreover, class projects may be assigned requiring operating system students to code new page replacement algorithms which they want to simulate and integrate them into the MOSS VM simulator code files thus enhancing the students' Java coding skills. By running various simulations, students can collect page replacement statistics thus comparing the performance of various replacement algorithms.
机译:长期以来,计算机系统课程都从模拟器中受益,可以将重要的概念传达给学生。我们修改了MOSS虚拟内存模拟器的Java源代码,以使用户可以轻松地在不同的页面替换算法(包括FIFO,LRU和最佳替换算法)之间进行切换。该模拟器清楚地演示了虚拟内存系统中页面替换算法的行为,并提供了一种方便的方式来说明页面错误及其相应的页面错误成本。配备了用于控件和页面表可视化的GUI,它使学生可以直观地查看页面表的操作方式以及在发生页面故障时逐出哪些页面页面替换算法。此外,可以分配班级项目,要求操作系统的学生编写新的页面替换算法,他们希望对其进行模拟并将其集成到MOSS VM模拟器代码文件中,从而提高学生的Java编码技能。通过运行各种模拟,学生可以收集页面替换统计信息,从而比较各种替换算法的性能。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号