[理工] [OS]-multi level paging
請教一下..
consider the following hardware configuration virtual address =32 bits,
page size=4kbytes, and a page table entry occupies 4 bytes.
How many pages should the OS allocate for the pages table of a 12Mbyte process
under the following paging mechanisms?
a)one-level paging
b)two-level paging.(assuming that the number of entries in a first-level
page table is the same as that in a second-level page table)
----
a)這題我是這樣算,2^20 * 4 = 4MB, 12MB/4MB=3個page table
b)算出來答案很怪...
請教一下,b)這題要怎麼算呢?
謝謝幫忙
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 59.112.234.203
推
03/02 13:42, , 1F
03/02 13:42, 1F
推
03/02 13:54, , 2F
03/02 13:54, 2F
推
03/02 14:10, , 3F
03/02 14:10, 3F
→
03/02 14:13, , 4F
03/02 14:13, 4F
→
03/02 14:14, , 5F
03/02 14:14, 5F
→
03/02 14:23, , 6F
03/02 14:23, 6F
推
03/02 14:28, , 7F
03/02 14:28, 7F
→
03/02 14:29, , 8F
03/02 14:29, 8F
→
03/02 14:31, , 9F
03/02 14:31, 9F
推
03/02 14:33, , 10F
03/02 14:33, 10F
推
03/02 16:28, , 11F
03/02 16:28, 11F
討論串 (同標題文章)
以下文章回應了本文:
完整討論串 (本文為第 1 之 3 篇):