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

A benchmark program is run on a 3 GHz processor. The executed program consists o

ID: 3699908 • Letter: A

Question

A benchmark program is run on a 3 GHz processor. The executed program consists of 10,000,000 instruction executions, with the following instruction mix and clock cycle count: 3. Instruction Count 4,500,000 3,200,000 1,500,000 800,000 Instruction Type Cycles per Instruction Integer arithmetic Data transfer 2 Floating point Control transfer 2 Determine: a. Effective CPI. b. MIPS rate. c. FLOPS rate d. Program Execution time. e. If the processor is replaced by a 4.5 GHz processor, what is the Speed up, if any?

Explanation / Answer

Solution:

3)

Let's calculate the effective CPI

We need to consider the amount of utilization every process is occupying to calculate the effective CPI

Effective CPI= (4500000/10000000) * 1 + (3200000/10000000) * 2 + (1500000/10000000) * 3 + (800000/10000000) * 2

= 1.7

b)

MIPS rate=

The clock rate is 3 GHz

to execute 1 instruction it will take= 1/(3 * 10^9)= 0.33 ns

in MIPS= 1/0.33 * 10^-9= 3000 MIPS

c)

FLOPS rate= 3 * 10^9= 3 GFLOPS

d)

Execution time= instruction count * CPI/clock rate= 10000000*1.7/(3*10^9)= 0.00566666666 sec

e)

Execution time= instruction count * CPI/clock rate= 10000000*1.7/(4.5*10^9)= 0.00377777777 sec

Speedup= 0.00566666666 sec/0.00377777777= 1.50000000132= 1.5

I hope this helps if you find any problem. Please comment below. Don't forget to give a thumbs up if you liked it. :)

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote