首页 > 试题广场 >

Consider the following page re

[问答题]

 Consider the following page reference string:

1, 2, 3, 4, 2, 1, 5, 6, 2, 1, 2, 3, 7, 6, 3, 2, 1, 2, 3, 6.

How many page faults would occur for the following replacement algorithms, assuming two or three frames? All frames are initially empty. 15 pts

1 LRU replacement 5 pts

2 FIFO replacement 5 pts

3 Optimal replacement 5 pts

三、 Answer 15 pts

Number of frames

LRU

FIFO

Optimal

2

18

18

15

3

15

16

11

发表于 2017-05-16 21:25:52 回复(0)