Consider the page table for a system with 16-bit virtual and physical addresses and 4,096-byte pages. The reference bit for a page 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 that the page is not in memory. The page-replacement algorithm is localized LRU, and all numbers are provided in decimal. a. Convert the following virtual addresses (in hexadecimal) to the equivalent physical addresses. You may provide answers in either hexadecimal or decimal. Also, update the reference bit for the appropriate entry in the page table. i. 0x621C ii. 0xF0A3 iii. 0xBC1A iv. 0x5BAA v. 0x0BA1 b. Using the above addresses as a guide, provide an example of a logical address (in hexadecimal) that results in a page fault. c. From what set of page frames will the LRU page-replacement algorithm choose n resolve a page fault?
Consider the page table for a system with 16-bit virtual and physical
addresses and 4,096-byte pages.
The reference bit for a page 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 that the page is not in memory. The page-replacement algorithm
is localized LRU, and all numbers are provided in decimal.
a. Convert the following virtual addresses (in hexadecimal) to the equivalent
physical addresses. You may provide answers in either hexadecimal or
decimal. Also, update the reference bit for the appropriate entry in the
page table.
i. 0x621C
ii. 0xF0A3
iii. 0xBC1A
iv. 0x5BAA
v. 0x0BA1
b. Using the above addresses as a guide, provide an example of a logical
address (in hexadecimal) that results in a page fault.
c. From what set of page frames will the LRU page-replacement algorithm
choose n resolve a page fault?
Trending now
This is a popular solution!
Step by step
Solved in 3 steps with 2 images