深入理解计算机系统
A Tour of Computer Systems
1.9 Important Themes
1.9.1 Amdahl’s Law
The main idea is that when we speed up one part of a system, the effect on the overall system performance depends on both how significant this part was and how much it sped up. Consider a system in which executing some application requires time . Suppose some part of the system requires a fraction α of this time, and that we improve its performance by a factor of .
The overall execution time would thus be
From this, we can compute the speedup as .
This is the major insight of Amdahl’s law—to significantly speed up the entire system, we must improve the speed of a very large fraction of the overall system.