Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - Virtual Memory Management
Search - Virtual Memory Management - List
DL : 0
编写一个程序,模拟一个页式虚拟存储管理系统。(不考虑地址转换) 其中,由系统随机产生进程; 进程大小、进程到达次序、时间、进程执行轨迹(页面访问顺序)也随机生成,但进程之间必须有并发存在,进程执行时间需有限,进程调度采用时间片轮转算法(以页面模拟); 物理块分配策略采取固定分配局部置换; 分配算法采用按比例分配算法; 调页采用请求调页方式; 置换采用LRU算法; 驻留集大小可调,观察驻留集大小对缺页率的影响。-Write a program that simulates a paged virtual memory management system. (Without regard to the address conversion) wherein the system generates a random process process size, the process order of arrival, time, the process execution trace (page access sequence) is randomly generated, but there must exist between concurrent processes, the process time required to perform a limited process scheduling algorithm using time slice (page-analog) physical block allocation strategy to take a fixed allocation of partial replacement allocation algorithm using a pro rata allocation algorithm paging using demand paging mode replacement using LRU algorithm resident set size adjustable observe the resident set size affect the rate of missing pages.
Date : 2025-12-31 Size : 2kb User : 冯妮

In this lab, you will write the memory management code for your operating system. Memory management has two components. The first component is a physical memory allocator for the kernel, so that the kernel can allocate memory and later free it. Your allocator will operate in units of 4096 bytes, called pages. Your task will be to maintain data structures that record which physical pages are free and which are allocated, and how many processes are sharing each allocated page. You will also write the routines to allocate and free pages of memory. The second component of memory management is virtual memory, which maps the virtual addresses used by kernel and user software to addresses in physical memory. The x86 hardware s memory management unit (MMU) performs the mapping when instructions use memory, consulting a set of page tables. You will modify JOS to set up the MMU s page tables according to a specification we provide.
Date : 2025-12-31 Size : 1.76mb User : Zhang

DL : 0
虚拟内存管理实验。 在Linux环境下编写一个内核模块,分别实现如下几个函数:  static void mtest_dump_vma_list(void):依次列出当前进程所占用的虚拟内存空间各段的读、写或执行权限。  static void mtest_find_vma(unsigned long addr):查找出虚拟地址addr所在的vma,并通过printk打印该段的起始地址、终止地址和段标志等信息。  static void mtest_find_page(unsigned long addr):找到虚拟地址addr对应的物理地址并打印。 为了测试和使用以上函数,需要在内核模块的初始化函数中创建一个名为mtest的/proc文件。mtest文件绑定的写函数mtest_write允许用户程序写入一串字符串:  如果写入的字符串是listvma则调用函数mtest_dump_vma_list(void);  如果写入的字符串是findvma0xffffffff则调用函数mtest_find_vma(0xffffffff),字符串的后几个字符是传递给函数的参数;  如果写入的字符串是findpage0xffffffff则调用函数mtest_find_page(0xffffffff),同样字符串的后几个字符是参数。-Virtual memory management
Date : 2025-12-31 Size : 448kb User : hesper
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.