<?xml version="1.0" encoding="UTF-8"?>

<record version="2" id="3622">
 <title>proof of Amdahl's Law</title>
 <name>ProofOfAmdahlsLaw</name>
 <created>2002-11-26 16:27:43</created>
 <modified>2005-03-12 06:49:59</modified>
 <type>Proof</type>
<parent id="1133">Amdahl's Law</parent>
 <selfproof>0</selfproof>
 <creator id="1075" name="lieven"/>
 <author id="1075" name="lieven"/>
 <classification>
	<category scheme="msc" code="68M20"/>
 </classification>
 <preamble>% this is the default PlanetMath preamble.  as your knowledge
% of TeX increases, you will probably want to edit this, but
% it should be fine as is for beginners.

% almost certainly you want these
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{amsfonts}

% used for TeXing text within eps files
%\usepackage{psfrag}
% need this for including graphics (\includegraphics)
%\usepackage{graphicx}
% for neatly defining theorems and propositions
%\usepackage{amsthm}
% making logically defined graphics
%\usepackage{xypic}

% there are many more packages, add them here as you need them

% define commands here</preamble>
 <content>Suppose an algorithm needs $n$ operations to compute the result. With 1 processor, the algorithm will take $n$ time units. With $N$ processors, the $(1-f)n$ parallelizable operations will take $\frac{(1-f)n}{N}$ time units and the remaining $fn$ non parallelizable operations will take $fn$ time units for a total running time of $fn+\frac{(1-f)n}{N}$ time units. So the speedup $S$ is $\frac{n}{fn+\frac{(1-f)n}{N}}=\frac{1}{f+\frac{1-f}{N}}$.</content>
</record>
