i need it in 6 hours
| Asked 43 views |
C++ or Java Programming assignment.This program assignment is designed to implement a simulation program which shows the the demand paging scheme with page replacement of virtual memory systems. As the system resource, a certain amout of memory spaces is allocated as the physical memory. In order to provide the demand paging scheme, a frame allocation and a page replacement algorithms are supposed to be incorporated into the system kernel. Page demand will be simulated according to a reference string. 7, 0, 1, 2, 0, 3, 0, 4, 2, 3, 0, 3, 2, 1, 2, 0, 1, 7, 0, 1 You may or may not create processes or threads to generate the above page faults. In order to implement virtual memory, you will make the page tables have special bits in each page table entry.
First Phase: Demand paging using page faults should show that the kernel, memory management unit (MMU), dynamically loads virtual pages on demand by allocating a frame from a pool of free frames. Second Phase: Implement a page replacement algorithm, enabling your system (kernel) to evict any virtual page from physical memory in order to free up a physical page frame to effectively handle a page fault. This demand paging and page replacement together allow the kernel to execute more processes than can fit in the available physical memory. Frame allocation will be simplifed by adopting equal or proportional allocation. |
11 years ago 15
- Which has the greatest impact on the physical geography of the Earth: human interference or natural disasters? Explain.
- Market Research & Targeting (Module 2)
- WriteMaster
- Business homework
- Accounting Book Help 2
- Write a program that reads three whole numbers and displays the average of the three numbers Solution
- CIS 407 Week 4 Web Forms with Database Interaction Solution
- english essay
- Earth
- Explain the significance of such a ritual. The essay should be at least 500 words