InClassActivity03-sol - 1/31/02 4:11 PM Activity #03...

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

View Full Document Right Arrow Icon
ECSE-2660 Computer Architecture, Networks, & Operating Systems, Spring 2002 Page 1 of 4 Activity #03 SOLUTIONS Last Name First Name Student ID Number 3.1 3.2 Total morning afternoon 70 points 30 points 100 points Activity 3.1 (First hour) A. The current machine (codenamed “Jaguar”) 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 “Jaguar-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 Jaguar-EH: Table 1. Jaguar and Jaguar-EH Instruction Class CPI Frequency EH CPI EH Frequency A 2 42% 2 42% B 3 25% 3 25% C 3 20% 3 20% D 5 13% 4 13% a. (10 points) Calculate the CPI and native MIPS ratings for Jaguar. Answer: Average CPI = n instructio cycles / 84 . 2 % 13 5 % 20 3 % 25 3 % 42 2 = × + × + × + × MIPS = MIPS instr instr cycles cycles 176 sec / 10 06 . 176 / 84 . 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 Jaguar-EH. Answer: Average CPI = n instructio cycles / 71 . 2 % 13 4 % 20 3 % 25 3 % 42 2 = × + × + × + × MIPS = MIPS instr instr cycles cycles 221 sec / 10 4 . 221 / 71 . 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. (10 points) How much faster is Jaguar-EH compared to Jaguar? Answer: The improvement is the ratio of the MIPs: Average instruction execution time on Jaguar = 2.84 cycles/instruction × 2ns/cycle = 568 ns. Average instruction execution time on EH = 2.71 cycles/instruction × 1.667ns/cycle = 452 ns. Therefore, performance improvement = 26 . 1 452 568 = = EH Jaguar Time Time times faster. Grading Policy: 10 pts for correct answer, 4 pts partial, 0 pts no answer.
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.

Page1 / 4

InClassActivity03-sol - 1/31/02 4:11 PM Activity #03...

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