[理工] 98成大OS
Assume a virtual memory addressing space of 8 Gbytes and
a physical memory addressing space of 2 Gbytes.
Let the size of a page be 2Kbytes.
What is the size of a page table in terms of the number of entries?
解答:
VM = 8G = 2^33
PM = 2G = 2^31
PageSize = 2K = 2^11
Page Table entries = 2^(33-11) = 2^22 entries
Page Table Size = 2^22 * entry size
我不懂的地方是,為什麼Page Table entries是Virtual Memory的8G除以PageSize?
這樣意思是VM entries數量 = PageTable entries數量?
解答中最後的entry size是指page size*8bit嗎?
不好意思因為翻書跟筆記都沒看到@@"
請高手指導...謝謝: )
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 115.82.8.38
推
02/15 14:20, , 1F
02/15 14:20, 1F
→
02/15 14:22, , 2F
02/15 14:22, 2F
→
02/15 14:22, , 3F
02/15 14:22, 3F
→
02/15 14:27, , 4F
02/15 14:27, 4F