ECEC 355: Homework 2 - Processor Performance Analysis, Assignments of Electrical and Electronics Engineering

The second homework assignment for ecec 355, due on april 29, 2008. It covers chapters 2 and 4, and includes various problems related to processor design and performance analysis. Students are required to calculate the cpi, native mips ratings, and determine the speedup of a processor with improved clock rate.

Typology: Assignments

Pre 2010

Uploaded on 08/19/2009

koofers-user-qkp
koofers-user-qkp 🇺🇸

10 documents

1 / 2

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
ECEC 355: Homework 2 (Covers Chapter 2 and 4)
April 18, 2008
The homework is due April 29, 2008.
1. (10 points) Textbook problem 2.29
2. (20 points) Textbook problems 2.30 and 2.31
3. (5 points) Textbook problem 2.32
4. (15 points) Textbook problem 4.8, 4.10, and 4.12
Problems 5 and 6 are on the next page.
1
pf2

Partial preview of the text

Download ECEC 355: Homework 2 - Processor Performance Analysis and more Assignments Electrical and Electronics Engineering in PDF only on Docsity!

ECEC 355: Homework 2 (Covers Chapter 2 and 4)

April 18, 2008

The homework is due April 29, 2008.

1. (10 points) Textbook problem 2.

2. (20 points) Textbook problems 2.30 and 2.

3. (5 points) Textbook problem 2.

4. (15 points) Textbook problem 4.8, 4.10, and 4.

Problems 5 and 6 are on the next page.

  1. ( 15 points ) You are the lead designer of a new processor. The processor design and compiler are complete, and now you must decide whether to produce the current design as it stands or spend additional time improving it. You discuss this problem with your hardware engineering team and arrive at the following options: Leave the design as it stands. Call this base computer M base. It has a clock rate of 500 MHz, and the following measurements have been made using a simulator:

Optimize the hardware. The hardware team claims that it can improve the processor design to give it a clock rate of 600 MHz. Call this computer M opt. The following measurements were made using a simulator for M opt:

  1. What is the CPI for each computer? (5 points)
  2. What are the native MIPS ratings for M base and M opt? (5 points)
  3. How much faster is M opt than M base? (5 points)
  4. ( 10 points ) Amdahl’s law can also be written in terms of overall speedup as a function of two variables: the amount of improvement and the fraction of the original execution time that the enhanced hardware feature is being used. Derive this form of the equation from the following two equations.

Instruction class CPI Frequency A 2 40% B 3 30% C 3 20% D 5 10%

Instruction class CPI Frequency A 2 40% B 2 30% C 3 20% D 4 10%

speedup Execution time before improvement Execution time after improvement

=--------------------------------------------------------------------------------------

Execution time after improvement Execution time affected by improvement Amount of improvement

=-------------------------------------------------------------------------------------------------- +Execution time unaffected