没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
Act 1 Computer Abstractions and Technology
Exercise 1
(1) <A4-A6> P55 1.5
Consider three dierent processors P1, P2, and P3 executing the same
instruction set. P1 has a 3GHz clock rate and a CPI of 1.5. P2 has a 2.5GHz
clock rate and a CPI of 1.0. P3 has a 4.0GHz clock rate and has a CPI of
2.2.
1. Which processor has the highest performance expressed in instruc-
tions per second?
2. If the processors each execute a program in 10 seconds, nd the
number of cycles and the number of instructions.
3. We are trying to reduce the execution time by 30%, but this leads
to an increase of 20% in the CPI. What clock rate should we have to get
this time reduction?
answer:
1.
performance of P1 (instructions/sec) = 3 × 10
9
/ 1.5 = 2 × 10
9
performance of P2 (instructions/sec) = 2.5 × 10
9
/ 1.0 = 2.5 × 10
9
performance of P3 (instructions/sec) = 4 × 10
9
/ 2.2 = 1.8 × 10
9
2.
cycles (P1) = 10 × 3 × 10
9
= 30 × 10
9
s
cycles (P2) = 10 × 2.5 × 10
9
= 25 × 10
9
s
cycles (P3) = 10 × 4 × 10
9
= 40 × 10
9
s
3.
No.instructions (P1) = 30 × 10
9
/ 1.5 = 20 × 10
9
No.instructions (P2) = 25 × 10
9
/ 1.0 = 25 × 10
9
No.instructions (P3) = 40 × 10
9
/ 2.2 = 18.18 × 10
9
CP I
new
= CP I
old
× 1.2, then CPI (P1) = 1.8, CPI (P2) = 1.2, CPI (P3)
= 2.6
f = No.instr. × CP I/time, then
f(P 1) = 20 × 10
9
× 1.8 / 7 = 5.14GHz
f(P 2) = 25 × 10
9
× 1.2 / 7 = 4.28GHz
1
资源评论
楽逸——
- 粉丝: 470
- 资源: 1
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 算法竞赛中的离散化 概念总结和基本操作全解
- 算法竞赛位运算(简单易懂)
- 常用一维二维 前缀和与差分算法模板总结
- SAR成像算法+后向投影(BP)算法+星载平台实测数据
- 横向循环焦点轮播图横向循环焦点轮播图横向循环焦点轮播图横向循环焦点轮播图横向循环焦点轮播图横向循环焦点轮播图横向循环焦点轮播图横向循环焦点轮播图横向循环焦点轮播图横向循环焦点轮播图横向循环焦点轮播图横
- 基于Java和HTML的留言墙、验证码、计算器基础项目设计源码
- 基于JAVA C/C++的嵌入式设备组网平台物联网框架设计源码
- 基于Java开发的高性能全文检索工具包jsearch设计源码
- 基于多语言技术的pt遨游助手手机版设计源码
- 基于若依框架的染云盘V1.0.2设计源码
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功