The main memory of a computer is addressed by bytes, the logical address and physical address are both 32 bits, and the page table entry size is 4B. Please answer the following questions
(1) If you use the first-level page table paging storage management method, the logical address structure
Page number (20 bits) In-page offset (12 bits)
Q: How many bytes is the page size? How many bytes does the page table occupy at most?
Let me talk about the answer first and then analyze:
page size=page offset size=2^12B=4KB
number of page table entries=2^20
page table occupancy bytes=(2^20)*4B=4MB
Operating system homepage addressing questions
Guess you like
Origin blog.csdn.net/aqiuisme/article/details/114185908
Recommended
Ranking