{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

InClassActivity03-sol

# InClassActivity03-sol - Activity#03 SOLUTIONS Last Name...

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

6 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 “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 = 2 × 42% + 3 × 25% + 3 × 20% + 5 × 13% = 2.84 cycles / instruction 500 × 10 6 cycles / sec MIPS = = 176.06 × 10 instr / sec = 176 MIPS 2.84 cycles / instr 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 = 2 × 42% + 3 × 25% + 3 × 20% + 4 × 13% = 2.71 cycles / instruction 600 × 10 6 cycles / sec MIPS = = 221.4 × 10 instr / sec = 221 MIPS 2.71 cycles / instr 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. Time Jaguar 568 Therefore, performance improvement = = = 1.26 times faster. Time EH 452 Grading Policy: 10 pts for correct answer, 4 pts partial, 0 pts no answer. ECE-562 Computer Organization, Fall 2007

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

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### Page1 / 4

InClassActivity03-sol - Activity#03 SOLUTIONS Last Name...

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

View Full Document
Ask a homework question - tutors are online