Activity03 Soln - ECSE-2660 Computer Architecture,...

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

View Full Document Right Arrow Icon

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

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

Unformatted text preview: ECSE-2660 Computer Architecture, Networks, & Operating Systems, Spring 2001 Page 1 of 4 Activity #03 SOLUTIONS Last Name First Name Student ID Number 3.1 3.2 Total Grader Initials 70 points 30 points 100 points Activity 3.1 (First hour) A. The current machine (codenamed Porsche) has a clock rate of 500MHz, and has the specs on the left Table 1.: The hardware team claims that it can improve the clock rate to 600MHz. The codename for this improved machine is Porsche-EH. A standard practice in the computer industry is to perform extensive simulations of new designs before producing them. For instance, we can run a series of benchmark programs on a simulator for a new processor, and make valuable measurements. Such a study yielded the data shown in the last two columns for Porsche-EH: Table 1. Porsche and Porsche-EH Instruction Class CPI Frequency EH CPI EH Frequency A 2 42% 2 42% B 3 25% 3 25% C 3 24% 3 24% D 5 9% 4 9% a. (10 points) Calculate the CPI and native MIPS ratings for Porsche. Answer: Average CPI = n instructio cycles / 76 . 2 % 9 5 % 24 3 % 25 3 % 42 2 = + + + MIPS = MIPS instr instr cycles cycles 181 sec / 10 16 . 181 / 76 . 2 sec / 10 500 6 6 = = Grading policy: 5 pts each part. 5 pts for correct answer 2 pts partial, 0 pts no answer. b. (10 points) Calculate the CPI and native MIPS ratings for Porsche-EH. Answer: Average CPI = n instructio cycles / 67 . 2 % 9 4 % 24 3 % 25 3 % 42 2 = + + + MIPS = MIPS instr instr cycles cycles 225 sec / 10 72 . 224 / 67 . 2 sec / 10 600 6 6 = = Grading policy: 5 pts each part. 5 pts for correct answer, 2 pts partial, 0 pts no answer. c. (5 points) How much faster is Porsche-EH compared to Porsche? Answer: Consider a program with 100 instructions Exec. time on Porsche = 100 instructions 2.76 cycles/instruction 2ns/cycle = 552ns. Exec. time on EH = 100 instructions 2.67 cycles/instruction 1.667ns/cycle = 445ns. Therefore, performance improvement = 24 . 1 445 552 = = EH Porche Time Time times faster....
View Full Document

This note was uploaded on 04/25/2010 for the course ECSE ecse-2340 taught by Professor Wozny during the Spring '09 term at Rensselaer Polytechnic Institute.

Page1 / 4

Activity03 Soln - ECSE-2660 Computer Architecture,...

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