subject

Assume the system with 256B memory and 64B cache and the block size of 16 bytes. I. e., there are 4 blocks in the cache.
2. Assume the system as question 1. Assume cache is initially empty, i. e., all 4 cache blocks are invalid. Consider the memory reference sequence: D6, 58, D8, 9A, DE, 5C.

(a) Indicate if it is a hit or misss for each memory reference if it is direct-mapped cache. What is the miss ratio?(Hint: Three memory block 50-5F, 90-9F, and D0-DF would be copied to the same block in the cache because their block index is the same, 1.)

(b) Indicate if it is a hit or misss for each memory reference if it is fully-associative cache? What is the miss ratio?

(c) Indicate if it is a hit or misss for each memory reference if it is 2-way set-associative cache? What is the miss ratio? Assume to replace the block which has been used "least recently".(Hint: Three memory block 50-5F, 90-9F, and D0-DF would be copied to the same "set" in the cache because their "set" index is the same, 1. In each set, there are 2 blocks.)

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 10:00
Which is a false statement considering copyright law? a. when people upload something to the internet they automatically receive a copyright for the work b. the work does not have to contain a copyright notice to be considered having a copyright c. copyright is legal term describing rights given to the creators for literary and artistic works d. personal pictures are always covered by copyrights
Answers: 1
question
Computers and Technology, 22.06.2019 16:00
Why should characters such as / \ " ' * ; - ? [ ] ( ) ~ ! $ { } < > # @ & | space, tab, and newline be avoided in file names?
Answers: 2
question
Computers and Technology, 22.06.2019 18:00
Write a method named addall that could be placed inside the hashintset class. this method accepts another hashintset as a parameter and adds all elements from that set into the current set, if they are not already present. for example, if a set s1 contains [1, 2, 3] and another set s2 contains [1, 7, 3, 9], the call of s1.addall(s2); would change s1 to store [1, 2, 3, 7, 9] in some order. you are allowed to call methods on your set and/or the other set. do not modify the set passed in. this method should run in o(n) time where n is the number of elements in the parameter set passed in.
Answers: 2
question
Computers and Technology, 23.06.2019 11:00
What is the name of the sound effect that danny hears
Answers: 1
You know the right answer?
Assume the system with 256B memory and 64B cache and the block size of 16 bytes. I. e., there are 4...
Questions
Questions on the website: 13722367