Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

1. Compare the performance of the two computers: Computer A: CPI=1.2 #instructio

ID: 3758768 • Letter: 1

Question

1. Compare the performance of the two computers:

Computer A: CPI=1.2           #instructions=100       Clock rate=2GHz

Computer B: CPI=1.5           #instructions=120       Clock rate=2.2GHz

Which machine is faster and by how much [how many times faster]?

2. Assume the following performance measurements for a program:

Measurement

Computer A

Computer B

Instruction Count

10 billion

8 billion

Clock Rate

4 GHz

4 GHz

CPI

1.0

1.1

a) Which computer has the highest MIPS rating? IPS = Hz/CPI

b) Which computer is faster? Calculate the execution time for each computer, and performance differential.

Measurement

Computer A

Computer B

Instruction Count

10 billion

8 billion

Clock Rate

4 GHz

4 GHz

CPI

1.0

1.1

Explanation / Answer

1)

computer A

it will be CPI * instruction * time

time = 1/2ghz = 500 ps

500 * 100 * 1.2 = 60,000 ps

computer B

time = 1/2.2ghz = 454 ps

1.5 * 120 * 454 = 81720

so computer B is faster in performance. It is higher in performance by 81720/60000 = 1.362

2)

a)

computer A has higher mips rating(4/1) compared to B (4/1.1)

b)

computer A is faster has clock rate is same but CPI * instruction count is more for computer A then B.