作者swda078285 (挖哈哈)
看板Grad-ProbAsk
標題[理工] [OS]-成大97-資工所
時間Thu Mar 4 16:42:54 2010
1.
請問97成大os考古中第六題要如何計算?
題目:virtual address=32bits, page size=4KB, a page table entry occupies 4B
How many pages should the OS allocate for the page tables of a 12MB process
under the following mechanism?
(1)one-level paging (2)two-level paging
2.
還有第八題
有爬文找到一些高手解的答案
但是有點不是很懂
為什麼最後是*1KB,而不是4B
懇求高手解題
感謝^^
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 114.43.238.195
推 assassin88:上面有討論~ 03/04 16:47
推 lightergogo:8. 1kb是entry size 03/04 16:49
→ lightergogo:8. 應該是block size 03/04 16:51
→ lightergogo:4B是block address的大小 03/04 16:53
推 polomoss:請爬文~討論很多次了 03/04 19:29