Explore BrainMass
Share

Explore BrainMass

    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.

    © BrainMass Inc. brainmass.com October 9, 2019, 6:17 pm ad1c9bdddf
    https://brainmass.com/computer-science/program-execution/performance-84114

    Attachments

    Solution Preview

    Please see the attached file.

    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