Assuming a base CPI of 1.0 without any memory stalls, what | StudySoup

Textbook Solutions for Computer Organization and Design

Chapter 5 Problem 5.6.3

Question

Assuming a base CPI of 1.0 without any memory stalls, what is the total CPI for P1 and P2? Which processor is faster?

For the next three problems, we will consider the addition of an L2 cache to P1 to presumably make up for its limited L1 cache capacity. Use the L1 cache capacities and hit times from the previous table when solving these problems. The L2 miss rate indicated is its local miss rate.

\(\begin{array}{|c|c|c|}
\hline \text { L2 Size } & \text { L2 Miss Rate } & \text { L2 Hit Time } \\
\hline \text { 1 MiB } & 95 \% & 5.62 \mathrm{~ns} \\
\hline
\end{array}\)

Solution

Step 1 of 2

Given, main memory access takes 70ns and that memory accesses are 36% of all instruction.

\(\text { Total } C P I=\text { base } C P I+\text { load } \times\left(\frac{\text { memory accesses }}{L 1 \text { hit time }}\right) \times L 1 \text { miss rate }\)

Subscribe to view the
full solution

Title Computer Organization and Design 5 
Author David A. Patterson
ISBN 9780124077263

Assuming a base CPI of 1.0 without any memory stalls, what

Chapter 5 textbook questions

×

Login

Organize all study tools for free

Or continue with
×

Register

Sign up for access to all content on our site!

Or continue with

Or login if you already have an account

×

Reset password

If you have an active account we’ll send you an e-mail for password recovery

Or login if you have your password back