Question
Asked Aug 10, 2019
7070 views
Consider a 4-way set associative cache made up of 64-bit words. The number of words
per line is 8 and the number of sets 4096 sets. What is the cache size?
a) 1 MB
b) 10 MB
c) 4 MB
d) 512 KB
help_outline

Image Transcriptionclose

Consider a 4-way set associative cache made up of 64-bit words. The number of words per line is 8 and the number of sets 4096 sets. What is the cache size? a) 1 MB b) 10 MB c) 4 MB d) 512 KB

fullscreen
check_circle

Expert Answer

Step 1

Cache size:

The cache size can be calculated using the following formula:

Number of sets x
Associative number x
Cache size=
(1)
Number of words per line x
Number of bit word
help_outline

Image Transcriptionclose

Number of sets x Associative number x Cache size= (1) Number of words per line x Number of bit word

fullscreen
Step 2

Calculation:

Substitute “4096” for “number of sets”, “4” for “Associative number”, “8” for “Nu...

Cache size-(4096x4x8x8)
1048576 bytes
=1MB
help_outline

Image Transcriptionclose

Cache size-(4096x4x8x8) 1048576 bytes =1MB

fullscreen

Want to see the full answer?

See Solution

Check out a sample Q&A here.

Want to see this answer and more?

Solutions are written by subject experts who are available 24/7. Questions are typically answered within 1 hour.*

See Solution
*Response times may vary by subject and question.
Tagged in

Engineering

Computer Engineering

Operating Systems

Related Computer Engineering Q&A

Find answers to questions asked by student like you

Show more Q&A add
question_answer

Q: Consider the window size is 10, bandwidth is 1500 bps, transmission delay is 2 ms and propagation de...

A: Formula for Throughput:In Go-back-N protocol, the formula for computing the throughput is given belo...

question_answer

Q: this question is from fundamentals of logic. related to boolean algebra. I am unable to decipher the...

A: Click to see the answer

question_answer

Q: In Eclipse write a loop which asks 5 integers from user (Scanner) and calculates and prints their av...

A: To input integer value from the scanner class   you need to use Scanner  class which is declared in ...

question_answer

Q: Assume the following declarations and initializations (MIN, MAX, num) are made just before each sub-...

A: 1. Program plan:Define the class.Define the “main()” function.Initialize the necessary variables.The...

question_answer

Q: Write a program in Eclipse called LoopMinMax that reads in 4 values from the user and prints the low...

A: Algorithm: The program has the following algorithm:The class name is “LoopMinMax” and in the main me...

question_answer

Q: What is the reduced form of the function F X(XY)+X(X+Y)? a) Y b) X c) 0 d) 1

A: Reduction:The reduced form of the function “F” is computed as follows:

question_answer

Q: Hello, I am trying to write a program: Write a .py file like MainFiles.py In that .py, create a func...

A: A python file is created named as MainFiles.py:Def main( ):Print(“ Welcome to python”)The above pyth...

question_answer

Q: Multiple industries are considering the conversion of existing vehicles to autonomously operated veh...

A: Solution:Multiple industries are considering the conversion of existing vehicles to autonomously ope...

question_answer

Q: Imagine you’d like a contractor to build a software application for you that operates like Windows C...

A: Statement of objectives (SOO):It provides an overall objective which serves as the basis for the sta...