{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Performance Homework

# Performance Homework - Performance Homework Assume you have...

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

Performance Homework: Assume you have three instruction classes that require cycles as indicated: A 1 cycle B 2 cycles C 3 cycles Work the following problems: You have two code sequences to implement a particular algorithm. One requires 5 of A 3 of B, and 3 of C Two requires 10 of A, 1 of B and 2 of C Both sequences are to be executed on the same processor. Which is faster? Which requires more memory? Which would appear to be faster if you use MIPS as a measure? _____ Work problem 4.8 in the text. Work problem 4.10 in text. Work problem 4.12 in text _____ Assume you are trying to choose among three processors that cost roughly the same amount of money. You will use them to run the same algorithm. The characteristics of each machine and number of instructions to implement your algorithm on each machine is indicated below. One: clock is 5 GHz, CPI is 3.8 , #instructions if 4.8 million Two clock is 4 GHz, CPI 3.5, #inst. 5 million Three clock is 3 GHz, CPI is 2.4, # instructions is 4 million.

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 / 3

Performance Homework - Performance Homework Assume you have...

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

View Full Document
Ask a homework question - tutors are online