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

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 19:20, manny2085
Amedian in the road will be marked with a white sign that has a black arrow going to the left of the median. true false
Answers: 1
image
Computers and Technology, 22.06.2019 21:30, aesthetickait
How do you take a green screen out of the video while editing?
Answers: 2
image
Computers and Technology, 23.06.2019 00:20, kathlynskare06
Ihave been given the number of guns per 100, and the total firearm-related deaths per 100,000. i have to find the actual number of guns per country and actual number of gun-related deaths. if somebody could show me how to do 1 question, i can finish the rest, i am just confused. tia
Answers: 3
image
Computers and Technology, 23.06.2019 04:31, legendman27
Jennifer has to set up a network in a factory with an environment that has a lot of electrical interference. which cable would she prefer to use? jennifer would prefer to use because its metal sheath reduces interference.
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 in other subjects:

Konu
Mathematics, 14.09.2020 14:01
Konu
Social Studies, 14.09.2020 14:01
Konu
Social Studies, 14.09.2020 14:01
Konu
Mathematics, 14.09.2020 14:01
Konu
Mathematics, 14.09.2020 14:01
Konu
History, 14.09.2020 14:01
Konu
Computers and Technology, 14.09.2020 14:01
Konu
French, 14.09.2020 14:01
Konu
Mathematics, 14.09.2020 14:01
Konu
Social Studies, 14.09.2020 14:01