In-class performance problems

# In-class performance problems - 10% on character. If you...

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

1. Given that you have a machine that runs a program in 150 seconds on computer A which has a 4 GHz clock. We wish to assist a designer build a new machine capable of running our program in 80 seconds. Hardware considerations require that the new machine will have a CPI 1.4 times greater than the old machine. What clock rate must the new design have? 2. My computer takes 150 seconds to run a particular program. If I double its performance, what will the new run time be? 3. Assume that you have four instruction classes, A,B,C,D A requires 3 cycles B requires 2 cycles C requires 1 cycle D requires 5 cycles Choose the most efficient (best performance) between the following two code sequences. One 5 A, 7 B, 10 C, 4 D Two 6 A, 3 B, 12 C, 7 D Also, which of the two appears fastest if MIPS is used as a measure? Which would require the most memory? 4. You have a machine which, on average, spends 60% on FP, 30% on integer, and

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.

Unformatted text preview: 10% on character. If you wish to improve the performance of your machine, which component would you work on? a. what would be the performance improvement if you increase FP by a factor of 10? b. What would be the performance improvement if you increase int by a factor of 10? c. Could you double the performance of this machine by improving only one component? d. If yes, what would you have to do to double performance? 5. You are evaluating three processors that have the following performance characteristics for a particular algorithm that you run frequently. One: clock is 3 GHz, CPI is 4.0, #inst. 5 billion Two: clock 4 GHz, CPI is 4.5, #inst. 6 billion Three clock is 2 GHz, CPI is 3.0, # inst 4 billion Rate the three processors in decreasing order of performance, what is the actual execution for each processor for your program?...
View Full Document

## In-class performance problems - 10% on character. If you...

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

View Full Document
Ask a homework question - tutors are online