Explore BrainMass
Share

# Performance

This content was COPIED from BrainMass.com - View the original, and get the already-completed solution here!

(See attached file for full problem description)

Need help on problems 4.19, 4.20, 4.21, and 4.22.

https://brainmass.com/computer-science/program-execution/performance-84114

#### Solution Preview

4.19.
Execution time on floating point before enhancement = 10/2 = 5 seconds
Execution time on floating point after enhancement = 5 * 1/5 = 1 second
Execution time after improvement = 1 + (10 - 5) = 6 seconds

Speedup = Execution time before improvement / Execution time after improvement = 10/6 = 5/3 = 1.67

4.20 Let me assume the new floating-point unit is as described in Exercise 4.19, i.e., it has a performance improvement of 5 times faster, and let x be the percentage of the initial execution time floating-point instructions have to account for, then

Execution time after improvement = 100 * x * 1/5 + 100 * (1 -x) = 100 - 80 *x

So the speed up = Execution time ...

#### Solution Summary

The solution assists with the given questions on performance.

\$2.19