Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please answer all questions. Q2. Consider a direct mapped cache with 1 MB of data and 8-word block size with 32-bit address. (a) Draw the

Please answer all questions.

image text in transcribed

Q2. Consider a direct mapped cache with 1 MB of data and 8-word block size with 32-bit address. (a) Draw the flow diagram of the DMC and calculate the Cache size (5 marks) (5 marks) (b) Assume for a given CPU/DMC and MIPS program: instruction cache miss rate 2% data cache miss rate 4% miss penalty always 36 cycles CPI of 2 without memory stalls (perfect cache) frequency of load/stores 40% of instructions How much faster is a CPU with a perfect cache that never misses

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

=+4 How does one acquire a global mindset?

Answered: 1 week ago

Question

=+2 How can the effectiveness of global virtual teams be improved?

Answered: 1 week ago