计算机体系结构第 1 次作业
学号:2017218007 姓名:文华 班级:物联网工程 17-2 班
1.13 [10/20/20] <1.9> Your company is trying to choose between purchasing the Opteron or
Itanium 2. You have analyzed your company’s applications, and 60% of the time it will be
running applications similar to wupwise, 20% of the time applications similar to ammp, and 20%
of the time applications similar to apsi.
a. [10] If you were choosing just based on overall SPEC performance, which would you choose
and why?
b. [20] What is the weighted average of execution time ratios for this mix of applications for the
Opteron and Itanium 2?
c. [20] What is the speedup of the Opteron over the Itanium 2?
解:
a.
∵Itanium/Opteron
因为 Opteron 的 wupwise, ammp 和 apsi 分别为 51.5、136.0 与 150.0 秒,且从题设可知
该公司的程序时间占比为 wupwise 60%,ammp 20%及 apsi 20%,因此 Opteron 的 SPEC
指标计算如下(设总时间为 N):
SPEC
Opteron
= 0.6N × 51.5 + 0.2N × 136.0 + 0.2N × 150.0 = 88.1N.
同理可计算 Itanium 2 的 SPEC:
SPEC
Itanium2
= 0.6N × 56.1 + 0.2N × 132 + 0.2N × 231.0 = 106.26N.
又∵
显然对于该公司的程序 Itanium 2 更合适.
∴选 Itanium 2.
评论0