Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Execution of a 1 , 0 0 0 , 0 0 0 - instruction program takes 2 . 5 ms on a 2 . 5

Execution of a 1,000,000-instruction program takes 2.5 ms on a 2.5 GHz core. The hardware monitor reports a cache miss ratio of 6% for the application. Main memory access takes on average 80 ns, while cache access has a latency of 800 ps. Given that all ALU instructions are executed effectively in a single clock cycle, calculate the following. a. The fraction of application instructions that performed ALU operations. b. If the core has a 16 KB cache and doubling the cache size decreases the miss rate by 1% for that particular application, what would be the required cache size (in powers of 2) to cut the execution time in half? c. What would the program runtime and resulting speedup be if all accessed data fits in the cache?

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

1. Ask students to put their names on the backs of their papers.

Answered: 1 week ago