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 21:00
Kirk found a local community college with a two-year program and he is comparing the cost with that of an out-of-state two-year school. what is the expected total cost for one year at the local community college if kirk lives at home? what is the expected total cost for one year at the out-of-state school if kirk lives on campus?
Answers: 2
question
Computers and Technology, 23.06.2019 11:20
Http is the protocol that governs communications between web servers and web clients (i.e. browsers). part of the protocol includes a status code returned by the server to tell the browser the status of its most recent page request. some of the codes and their meanings are listed below: 200, ok (fulfilled)403, forbidden404, not found500, server errorgiven an int variable status, write a switch statement that prints out the appropriate label from the above list based on status.
Answers: 2
question
Computers and Technology, 23.06.2019 15:20
What does a bonus object do? a. subtracts lives b. keeps track of a player's health c. gives a player an advantage d. makes text appear
Answers: 1
question
Computers and Technology, 23.06.2019 20:00
How much current flows through the alternator brushes? a. 2–5 a b. 25–35 a, depending on the vehicle c. 5–10 a d. 10–15 a
Answers: 2
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
question
Mathematics, 06.04.2021 07:00
question
Mathematics, 06.04.2021 07:00
question
Mathematics, 06.04.2021 07:00
question
Mathematics, 06.04.2021 07:00