[理工] [OS]Memory一問
先祝大家新年快樂!
可憐的考生剩不到兩周了,外面還在喧鬧慶祝新年,真是辛苦大家了。
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
推
02/04 21:57, , 1F
02/04 21:57, 1F
→
02/04 21:58, , 2F
02/04 21:58, 2F
→
02/04 21:58, , 3F
02/04 21:58, 3F
推
02/04 21:59, , 4F
02/04 21:59, 4F