討論串[理工] [OS] page fault
共 4 篇文章
首頁
上一頁
1
下一頁
尾頁
內容預覽:
當我昨天在做這題時,就有個問題: 它給的記憶體的單位和int大小為多少?. 關於這問題,因為我們不知道記憶體單位是byte還是 word,而且int的大小. 以C99規定,它僅規範了int至少要有多少 byte。所以很明顯的是,我們必須. 明確地在答案中給予假設!!. 我的假設:. 記憶體單位: w
(還有280個字)
內容預覽:
三個小題看起來差不多, 容許我只做第一小題. 題目說有一個process負責處理矩陣的運算, 座落在mem[0-199], 也就是占用一個frame. 那就剩下三個frame. 假設, 題目是row-major, 而一個int 占用4個bytes,. 那麼每50次存取會產生一次page fault,
(還有3個字)
內容預覽:
consider the two-dimensional array A;. int A[100][200];. where A[0][0] is stored at location 200, in a paged memory system with pagesof size 200. a sm
(還有517個字)
內容預覽:
page reference string:1,4,2,3,4,2,5,7,3,2,1,7. How many pafe faults would occur for each of the LRU and FIFO replacement. algorithm?Remember all frame
(還有44個字)
首頁
上一頁
1
下一頁
尾頁