Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Iron Law (or Performance Equation): CPU time = (# instructions)(CPI)(Clock Period) #instructions: Number of instructions (operations) executed for a program CPI (Cycles per Instruction): avg

image text in transcribed

Iron Law (or Performance Equation): CPU time = (# instructions)(CPI)(Clock Period) #instructions: Number of instructions (operations) executed for a program CPI (Cycles per Instruction): avg number of cycles to complete an instruction Clock Period: Inverse of clock frequency (f) [Problem 1] Performance Problem - Use the Iron Law equation to help solve this trade-off problem. Note, rather than an average of the CPI for the entire program, instructions can be divided into 4 main groups: ALU (arithmetic and logic unit), load from memory, store to memory, and branch instructions. Percentage of Instruction CPI for CPU A CPI for CPU E 40% 1 2 Operation Type ALU Load Store Branch 30% 4 2 109 1 1 20% 1 1 Answer the following two questions: If CPU A and B have the same clock speed, how many times faster is B? By only changing the clock speed, how many times faster would that need to be for CPU A to match the performance of B

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

Machine Learning And Knowledge Discovery In Databases European Conference Ecml Pkdd 2014 Nancy France September 15 19 2014 Proceedings Part 2 Lnai 8725

Authors: Toon Calders ,Floriana Esposito ,Eyke Hullermeier ,Rosa Meo

2014th Edition

3662448505, 978-3662448502

More Books

Students also viewed these Databases questions