Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

You are building a computer with a hierarchical memory system that consists of separate instruction and data caches followed by main memory. You are using

You are building a computer with a hierarchical memory system that consists of separate
instruction and data caches followed by main memory. You are using a RISC-V multicycle
processor running at 5GHz.
(i) The instruction cache is perfect (i.e., always hits) but the data cache has a 15% miss
rate. On a cache miss, the processor stalls for 200ns to access main memory, then
resumes normal operation. Taking cache misses into account, what is the average
memory access time?
(ii) How many clock cycles per instruction (CPI) on average are required for loa5d and
store word instructions considering the non-ideal memory system?
(iii) Consider a benchmark application that has 25% loads, 10% stores, 11% branches, 2%
jumps, and 52% R-type instructions. Taking the nonideal memory system into account,
what is the average CPI for this benchmark?
(iv) Suppose that the instruction cache is also nonideal and has a 10% miss rate. What is
the average CPI for the benchmark in part (c)? Take into account both instruction and
data cache misses
image text in transcribed

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

Database Systems For Advanced Applications 27th International Conference Dasfaa 2022 Virtual Event April 11 14 2022 Proceedings Part 2 Lncs 13246

Authors: Arnab Bhattacharya ,Janice Lee Mong Li ,Divyakant Agrawal ,P. Krishna Reddy ,Mukesh Mohania ,Anirban Mondal ,Vikram Goyal ,Rage Uday Kiran

1st Edition

3031001257, 978-3031001253

More Books

Students also viewed these Databases questions

Question

Distinguish between poor and good positive and neutral messages.

Answered: 1 week ago

Question

Describe the four specific guidelines for using the direct plan.

Answered: 1 week ago