A two-level memory system has eight(page 0 to page 7)virtual page on a disk to
be mapped into four page frames (PFs) in the main memory. Assume each page has
4 words.The i-th page in disk consists of word address from 4i to 4i+3,where
i=0,1,2,....,7.A certain program trace generated the following word address.
0,1,2,8,10,15,16,7,9,4,5,13,14,30,14,30,31,11,12,14,15,19,20,22,23,3,4,5,6
(1)show the successive virtual pages residing in the four page frames using
LRU.assuming that the main memory PFs are empty initially. Compute Hit Ratio.
(2)Repeat the above using circular FIFO.Assuming that the main memory PFs are
position Compute the Hit Ratio.
請問這題要怎麼做阿...
--
一切....
似乎不再那麼重要....
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 125.230.13.214