作者predatorK (predator')
看板Grad-ProbAsk
標題[理工] [OS]Memory一問
時間Fri Feb 4 21:49:35 2011
先祝大家新年快樂!
可憐的考生剩不到兩周了,外面還在喧鬧慶祝新年,真是辛苦大家了。
Consider the operation of the computer memory paging system with 64 bits
address space,with 16KB size pages and 256MB main memory.
(a)If an inverted page table is used for the system,how many entries does
the table have?
(b)If one-level physical page table is used,how many entries does the
table have?
這題給的答案是:
ANS:
(a)256MB/16MB=16K
(b)16K=2^14
2^64/2^14=2^50
我的想法跟她的答案剛好相反,為什麼inverted page table要看main memory有多大呢?
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 180.176.14.222
推 boy5548:invertes page table看有幾個frame就是幾個entry 02/04 21:57
→ boy5548: d 02/04 21:58
→ boy5548:而frame的數量就是physical memory/page size 02/04 21:58
推 cakeboy:inverted是以physical 為紀錄對象 physical memory 有多大 02/04 21:59