Differences between revisions 2 and 18 (spanning 16 versions)
Revision 2 as of 2004-01-25 18:27:14
Size: 1144
Editor: yakko
Comment:
Revision 18 as of 2005-06-27 22:26:15
Size: 1102
Editor: yakko
Comment:
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
{{{
           Performance for entire task using the enhancement when possible
Speedup = -----------------------------------------------------------------
              Performance for entire taks without using the enhancement
{{{#!latex2
$$Speedup = \frac{Performance~using~enhancement~when~possible}{Performance~without~enhancement}$$
Line 13: Line 11:
[[latex($$SpeedupOverall = \frac{Old~Execution~Time}{New~Execution~Time}$$)]] (1)

{{{#!latex2
$$New~Exec~Time = Old~Exec~Time \left( 1 - FractionEnhanced + \frac{FractionEnhanced}{SpeedupEnhanced}\right)$$
}}}
Line 14: Line 18:
                  Old Execution Time
SpeedupOverall = --------------------
                  New Execution Time
or
Line 18: Line 20:
                                                                    FractionEnhanced
New Execution Time = Old Execution Time ( (1 - FractionEnhanced) + ------------------ )
                                                                    SpeedupEnhanced
                       Execution Time affected by Improvement
New Execution Time = -------------------------------------- + Execution Time unaffected
                            Amount of Improvement (x times)
Line 22: Line 24:
--> So we have
Line 25: Line 27:
                                         FractionEnhanced
               (1 - FractionEnhanced) + ------------------ )
                                         SpeedupEnhanced
   FractionEnhanced
   (1 - FractionEnhanced) + ------------------ )
                                           SpeedupEnhanced

Back to ComputerTerms

$$Speedup = \frac{Performance~using~enhancement~when~possible}{Performance~without~enhancement}$$

See SpeedUp

Notice that we are talking about the entire task here and that performance (speedup) is defined in terms of execution time! So we have to define the following:

latex($$SpeedupOverall = \frac{Old~Execution~Time}{New~Execution~Time}$$) (1)

$$New~Exec~Time = Old~Exec~Time \left( 1 - FractionEnhanced + \frac{FractionEnhanced}{SpeedupEnhanced}\right)$$

or

                       Execution Time affected by Improvement
New Execution Time =   --------------------------------------  + Execution Time unaffected
                            Amount of Improvement (x times) 

So we have
                                     1
SpeedupOverall = --------------------------------------------
                                           FractionEnhanced
                 (1 - FractionEnhanced) + ------------------ )
                                           SpeedupEnhanced

Back to ComputerTerms

AmdahlsLaw (last edited 2020-01-23 23:15:20 by scot)