Question
for OS-virtual memory: 1. If there are 100 frames and 5 processes, how many frames should be given to each process? a. Equal proportion: b.
2. In a 1,024-KB segment, memory is allocated using the buddy system. Using Figure 9.26 as a guide, draw a tree illustrating how the following memory requests are allocated: [5 marks]
Request 6-KB
Request 256 bytes
Request 956 bytes
Request 1,500 bytes
Request 70-KB
Next, modify the tree for the following releases of memory. Perform coalescing whenever possible:
Release 256 bytes
Release 956 bytes
Release 1,500 bytes
3. The page table given below is for a system with 16-bit virtual and physical addresses and with 4,096-byte pages. The reference bit is set to 1 when the page has been referenced. Periodically, a thread zeroes out all values of the reference bit. A dash for a page frame indicates the page is not in memory. The page-replacement algorithm is localized LRU, and all numbers are provided in decimal.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started