第1章-计算机设计基本原理(第1讲) 下载本文

25性能和成本?完成任务的时间(执行时间) 执行时间(execution time),响应时间(response time),延迟时间(latency)?单位时间(每天、小时、星期、秒等)内完成的任务数量(性能)吞吐率(throughput),带宽(bandwidth)高级计算机体系结构课件2008湖南科技大学计算机学院朱更明2008.09

26性能和成本(续)1Performance(X)?ExTime(X)―X 比Y 快n 倍”(―X is n times faster than Y”)是指:ExTime(Y)Performance(X)?ExTime(X)Performance(Y)高级计算机体系结构课件2008湖南科技大学计算机学院朱更明2008.09

27Amdahl’s Law?Speedup=(Performance for entire task using the enhancement)/ (Performance for entire task without using the enhancement)?Speedup=(Execution time for entire task without using the enhancement)/ (Execution time for entire task using the enhancement)高级计算机体系结构课件2008

湖南科技大学计算机学院朱更明

2008.09

28Amdahl’s Law Depends on Two Factors?FractionenhancedThe fraction of the computation time in the original machine that can be converted to take advantage of the enhancement–(可改进部分占用的时间)/(改进前整个任务的执行时间)< 1(增强比例)–例:改进前整个任务60秒,可改进部分为20秒,则Fractionenhanced=20/60高级计算机体系结构课件2008湖南科技大学计算机学院朱更明2008.09