[理工] [計組]張凡計組下 p69
求解 看了半天不知道怎麼算
Consider a machine with 32-bit virtual address,32bit physical addresses,
and a 4KB page size.Consider a two-level page table system where each
table occupies one full page.Assume each page table entry is 32 bits long.
To map the full virtual address space,how much memory will be used by the
page table?
answer:The number of entries in the page table = 4KB/4B = 1024
Amount of memory used = 4KB+1024*(4KB) = 4.1MB
為什麼number of entries 不是VPN => 2^32/2^11,然後page table用了多少memory是要
怎麼看?
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 140.134.240.203 (臺灣)
※ 文章網址: https://www.ptt.cc/bbs/Grad-ProbAsk/M.1665483455.A.F6D.html
推
10/12 00:55,
1年前
, 1F
10/12 00:55, 1F
→
10/12 00:55,
1年前
, 2F
10/12 00:55, 2F
→
10/12 00:55,
1年前
, 3F
10/12 00:55, 3F
→
10/12 00:59,
1年前
, 4F
10/12 00:59, 4F
→
10/12 00:59,
1年前
, 5F
10/12 00:59, 5F
→
10/12 00:59,
1年前
, 6F
10/12 00:59, 6F
→
10/12 00:59,
1年前
, 7F
10/12 00:59, 7F
→
10/12 12:34,
1年前
, 8F
10/12 12:34, 8F
→
10/12 12:35,
1年前
, 9F
10/12 12:35, 9F
推
10/13 13:50,
1年前
, 10F
10/13 13:50, 10F
→
10/13 13:50,
1年前
, 11F
10/13 13:50, 11F
→
10/13 13:52,
1年前
, 12F
10/13 13:52, 12F