Sunday, November 25, 2007

Amdah's Law

Amdahl's Law that talks about the relative speedups you can expect in your application based on how much the application is serial and how much of it is parallel. So, if a very small portion of your application is parallel, even if we were to increase by 100X, the speed at which that parallel section runs, if it's still dominated by the serial portion, you're not going to overall see monstrous speedups. However, if that small portion of your application is working on data and over time you expect the amount of data your application is processing to grow exponentially, well, then the benefits of parallelizing that small portion is going to make a significant impact or theoretically could.
Taken from Parallel Programming with .net Hanselminutes

Optimal Threads in one Processor is one assuming that its is a CPU operation
Taken from Parallel Programming with .net Hanselminutes

No comments: