The following page table 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...


The following page table 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.




























































































Page



Page Frame



Reference


Bit



0



7



0



1





0



2



14



0



3



13



0



4



15



0



5



8



0



6



0



0



7





0



8



4



0



9



5



0



10





0



11



1



0



12



9



0



13



3



0



14





0



15



2



0




  1. Convert the following virtual addresses (in hexadecimal) to the equivalent physical addresses. You may provide answers in either hexadecimal or decimal. Also set the reference bit for the appropriate entry in the page table.



  • 0xE13C

  • 0x5A97

  • 0x59D8

  • 0x1002

  • 0xCCB1



  1. Using the above addresses as a guide, provide an example of a logical address (in hexadecimal) that results in a page fault.

  2. From what set of page frames will the LRU page-replacement algorithm choose in resolving a page fault?



Jun 08, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here