Computers and Technology

In this exercise, we will examine how replacement policies affect miss rate. assume a two-way set associative cache with four one-word blocks. consider the following word address sequence: 0, 1, 2, 3, 4, 2, 3, 4, 5, 6, 7, 0, 1, 2, 3, 4, 5, 6, 7, 0. consider the following address sequence: 0, 2, 4, 8, 10, 12, 14, 16, 05.20.1 [5] < ยงยง5.4, 5.8> assuming an lru replacement policy, which accesses are hits? 5.20.2 [5] < ยงยง5.4, 5.8> assuming an mru (most recently used) replacement policy, which accesses are hits? 5.20.3 [5] < ยงยง5.4, 5.8> simulate a random replacement policy by flipping a coin. for example, "heads" means to evict the first block in a set and "tails" means to evict the second block in a set. how many hits does this address sequence exhibit? 5.20.4 [10] < ยงยง5.4, 5.8> describe an optimal replacement policy for this sequence. which accesses are hits using this policy? 5.20.5 [10] < ยงยง5.4, 5.8> describe why it is difficult to implement a cache replacement policy that is optimal for all address sequences. 5.20.6 [10] < ยงยง5.4, 5.8> assume you could make a decision upon each memory reference whether or not you want the requested address to be cached. what effect could this have on miss rate?

answer
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 07:30, haleyblu6351
By refraining from constructing a building until they are certain that it will not cause harm to the environment, an organization is adhering to the
Answers: 2
image
Computers and Technology, 23.06.2019 02:30, jaueuxsn
Which component acts as a platform on which application software runs
Answers: 2
image
Computers and Technology, 23.06.2019 21:20, nicki76
In microsoft word, when you highlight existing text you want to replace, you're in              a.  advanced mode.    b.  automatic mode.    c.  basic mode.    d.  typeover mode
Answers: 1
image
Computers and Technology, 24.06.2019 00:00, amy7233
Afashion designer wants to increase awareness about her brand. which network can she use and why she can use the blank to blank her products online. answers for the first blank: internet, extranet, or intranet answers for the second blank: market, design, and export
Answers: 1
Do you know the correct answer?
In this exercise, we will examine how replacement policies affect miss rate. assume a two-way set as...

Questions in other subjects:

Konu
Chemistry, 21.01.2021 01:30
Konu
Mathematics, 21.01.2021 01:30