[理工] 100 暨大資工 os memory
virtual address is 32bits
2 level paging
first level paging uses 6 bits
second level paging uses 12 bits
(a)how many enties are there in the first level paging table
and in each of the secong level paging table?
這題應該就是first level 有 2^6個entry
second level 有2^12個entry
應該對吧?
(b)assuming that each entry occupies 4 bytes,estimate the
total memory used for all the second level paging?
2^12 * 2^2 = 2^14 bytes
這樣算對嗎?
不知道有沒有我想的那麼簡單
題目寫各佔10分
不知道有沒有陷阱
謝謝!
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 59.124.143.199
推
12/24 14:05, , 1F
12/24 14:05, 1F
→
12/24 14:05, , 2F
12/24 14:05, 2F
→
12/24 14:05, , 3F
12/24 14:05, 3F
→
12/24 15:30, , 4F
12/24 15:30, 4F