subject

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?

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 08:00
Someone with this coz i donโ€™t really know what i can choose, just pick whatever u want. homework - you need to choose a website that you like or use frequently. you must visit the website and discuss 6 different features/parts/aspects of the website that you think makes it good. (100 words)
Answers: 2
question
Computers and Technology, 22.06.2019 11:20
The kurt vonnegut commencement speech, the neiman-marcus chocolate chip cookie recipe, and the get-well emails to the dying boy are examples of select one: a. social engineering b. hoax emails c. email viruses d. worms
Answers: 1
question
Computers and Technology, 22.06.2019 19:10
10. when you create a pivottable, you need to specify where to find the data for the pivottable. is it true
Answers: 2
question
Computers and Technology, 23.06.2019 09:30
The place where the extended axis of the earth would touch the celestial sphere is called the celestial
Answers: 1
You know the right answer?
In this exercise, we will examine how replacement policies affect miss rate. assume a two-way set as...
Questions
question
Mathematics, 04.02.2021 14:10
question
Spanish, 04.02.2021 14:10
question
Mathematics, 04.02.2021 14:10
question
Mathematics, 04.02.2021 14:10
question
Mathematics, 04.02.2021 14:10
question
English, 04.02.2021 14:10
question
Mathematics, 04.02.2021 14:10
Questions on the website: 13722363