Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Given a 2.5 GHz CPU, (a) Compute the duration of one clock cycle. (b) Assume that this CPU spends 4 seconds to finish a program

Given a 2.5 GHz CPU,

(a) Compute the duration of one clock cycle.

(b) Assume that this CPU spends 4 seconds to finish a program of 500 million instructions. How many clock cycles does it take on average to execute an instruction of the program?

(c) Assume that this CPU spends 8 clock cycles to execute data pro- cessing (arithmetic and logical) instructions and 13 clock cycles to execute data transfer (load and store) instructions. Given a pro- gram of one million instructions including 60% data processing instructions and 40% data transfer instructions, how long does it take to run this program to completion?

(d) Assume that this CPU spends 8 clock cycles to fetch the operands from the cache (with a hit ratio of 0.7), and 18 cycles to fetch the operands from main memory (cache miss). How many clock cycles are needed on average to execute the instruction?

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 Processing Fundamentals Design And Implementation

Authors: KROENKE DAVID M.

1st Edition

8120322258, 978-8120322257

More Books

Students also viewed these Databases questions