HW#5 - CprE 381 Computer Organization and Assembly Level...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
CprE 381 – Computer Organization and Assembly Level Programming Homework #5 Assigned: October 6 Due: October 13 (9:00am) [Note from Joe: This assignment is on assessing and understanding computer performance. As mentioned in class, one way to gain confidence in this type of problem solving is to make sure that your units make sense (e.g. performance is measured in time, CPI in cycles per instruction). Note that each question is independent from the previous ones unless a dependency is explicitly mentioned in the question text.] Reading: Patterson & Hennessy, Sections 1.4-1.9 1) Comparing Performance (a) Consider two different implementations, P1 and P2, of the same instruction set. There are five classes of instructions (A, B, C, D, and E) in the instruction set. P1 has a clock rate of 4 GHz. P2 has a clock rate of 6 GHz. The average number of cycles for each instruction class for P1 and P2 is as follows: Class CPI on P1 CPI on P2 A 1 2 B 2 2 C 3 2 D 4 4 E 3 4 Assume that peak performance is defined as the fastest rate that a computer can execute any instruction sequence. What are the peak performances of P1 and P2 expressed in instructions per second?? (b)
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 10/16/2010 for the course CPRE 381 taught by Professor Zambreno during the Spring '08 term at Iowa State.

Page1 / 3

HW#5 - CprE 381 Computer Organization and Assembly Level...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online