Purchase Solution

Performance

Not what you're looking for?

Ask Custom Question

(See attached file for full problem description)

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

Purchase this Solution

Solution Summary

The solution assists with the given questions on performance.

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 ...

Purchase this Solution


Free BrainMass Quizzes
C# variables and classes

This quiz contains questions about C# classes and variables.

Excel Introductory Quiz

This quiz tests your knowledge of basics of MS-Excel.

Javscript Basics

Quiz on basics of javascript programming language.

Java loops

This quiz checks your knowledge of for and while loops in Java. For and while loops are essential building blocks for all Java programs. Having a solid understanding of these constructs is critical for success in programming Java.

Basic UNIX commands

Use this quiz to check your knowledge of a few common UNIX commands. The quiz covers some of the most essential UNIX commands and their basic usage. If you can pass this quiz then you are clearly on your way to becoming an effective UNIX command line user.