The SPEC benchmarks present results with respect to a standard machine by normalizing the benchmarks. That is, a set of benchmarks is run on a reference machine and the times obtained for each of the benchmarks. When a test machine is benchmarked, its times are divided by the results on the reference machine. What are the advantages and disadvantages of giving benchmarks with respect to a reference machine?
What will be an ideal response?
Suppose benchmarks did not normalize their results with respect to a standard machine. The time to run three programs might be 3s, 20s and 100s. How do we average these results? As they are times, we could take the average time and say it is (3 + 20 + 100)/3 = 41s. The problem is that this average depends on the size of the three programs. If one program is particularly big, it will dominate the average and benchmarks will become a reflection of how fast this large program runs on the various machines. In other words, one program is dominating the test.
Normalizing solves the problem of the domination of one program, because now all programs are related to the time run on a standard machine. Suppose that a standard machine takes 2, 5, 100 seconds to run three benchmarks and that the test machine takes 1, 2.5, 40 seconds. If we normalize times with respect to the standard we get 1/2, 2.5/5, 40/100 = 0.5, 0.5, 0.4. Now you can see that the test machine is twice as fast at executing two tasks and 2.5 times as fast on one task.
You might also like to view...
Answer the following statements true (T) or false (F)
1) It is useful to define a class for which no objects may be defined. 2) It is legal to have all member functions of a class be pure virtual functions. 3) A derived class destructor always invokes the base class destructor. 4) The base class destructor must be virtual. 5) This is legal code. ``` class B { public: // . . . virtual void f() = 0; }; int main() { B b1, b2; /*. . .*/ } ```
The first two hexadecimal digits in an RGB color represent the amount of green.
Answer the following statement true (T) or false (F)
What are the two approaches to the storage of data in a computer-based system?
What will be an ideal response?
In Excel, the what-if analysis tool to use for finding the input needed for one cell to arrive at the desired result in another cell is called ____________.
a. Goal Find b. Goal Value c. Goal Analysis d. Goal Seek