subject

A new company has proposed a number of different cache layouts for their system and you’ve
been asked to come in and calculate the overhead for each of the different caches. Their
system uses a cache with 512 B of data storage capable of addressing 4 GB of
byte-addressable memory. Stores will be handled by write-back and allocate-on-write policies.
Please be sure to show the work for your calculations.

A. The first design is a fully associative cache with a block size of 32 bytes, how many bytes of
overhead would the cache keep in total (including any necessary tag bits?, valid bits,? dirty
bits?, or LRU bits?)? [5]

B. Their next design utilizes a direct mapped cache with 16 different cache lines. How many
bytes of overhead would the cache keep in total (including any necessary tag bits?, valid
bits,? dirty bits?, or LRU bits?)? [5]

C. Finally, they’ve suggested a 2-way set associative cache with 4 different sets. How many
bytes of overhead would the cache keep in total (including any necessary tag bits?, valid
bits,? dirty bits?, or LRU bits?)? [5]

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 18:00
Jenna updated her status on a social network regarding her upcoming vacation. what information should jenna not provide when updating her status on a social networking site? a. her favorite quote b. her likes in popular culture c. her routine d. her opinions on social issues res
Answers: 1
question
Computers and Technology, 22.06.2019 06:30
Plz 40 points what are raster vectors? a bitmap image a vector file a type of printing press a small projector
Answers: 1
question
Computers and Technology, 22.06.2019 08:10
Ihave a music player on my phone. i can buy songs, add them to playlists and play them. obviously it would be redundant to store each song in each playlist; each playlist is just a list of pointers to the songs. for this lab you will simulate this behavior. your program will need to have options to: add songs to the system library (you will store the text of the first line of the song, rather than the audio) add playlists add songs to a playlist list playlists play a playlist list all of the songs in the library with a count of how many times each song has been played remove a song from a playlist remove a playlist remove a song from the library (and thus from all playlists that contain it) note that we will not be checking many error cases. in real programming this would be bad, you should usually try to recognize and respond to as many types of errors as you can. in the context of class we are trying to acquaint you with as many concepts as possible, so for the sake of educational efficiency we will not be checking most errors in this lab, you may assume that your user provides correct input. you may add all appropriate error testing if you wish, but we will not be testing for it.
Answers: 2
question
Computers and Technology, 22.06.2019 19:10
What a backup plan that you have created in a event you encounter a situation
Answers: 2
You know the right answer?
A new company has proposed a number of different cache layouts for their system and you’ve
be...
Questions
question
Mathematics, 24.04.2020 21:28
question
Mathematics, 24.04.2020 21:29
question
English, 24.04.2020 21:29
question
Mathematics, 24.04.2020 21:29