返回信息流☆─────────────────────────────────────☆
dashao (计忆邮心 !) 于 (Tue Oct 23 02:13:30 2007) 提到:
运行在Simple-Scalar上边。。。。
假设给你110美元,
然后让你去在10种不同的Cache,
10种不同的ALU组件,
8种不同的乘法器,
5种不同的内存组件
和6种不同的主频中选择合适的搭配。。
然后通过相关参数用Simple-Scalar进行模拟。。。
得到执行棋盘游戏的CPI和执行时间,要求尽可能在110刀以内选择最好的搭配。。
最后的评分标准有两种:
1。如果你觉得自己的搭配够牛,那就只要把日志给TA,他那你的执行和最佳选择作比较。
计算公式为Coolness=1.05*b/t。。。(b是最佳的执行时间,t是自己的执行时间)。如果算出来的coolness大于1(与最佳的选择差距在5%以内),那这道题得满分。。否则要扣很多分。。
2。不肯定自己的一定好,那就认认真真写出来选择配件的步骤和测试的过程。。如果理解得好也能得满分。。。
The Real Task: You want to speed up the CPU, but the approved extra budget is only $110 (per CPU).
We list the possible improvements you can make together with their price. Remember that you cannot
exceed $110!
A. You can improve the il1 cache. Options:
• 8k, 32 byte, 1 way = (256:32:1:l) $0
• 8k, 32 byte, 2 way = (128:32:2:l) $5
• 8k, 32 byte, 4 way = (64:32:4:l) $15
• 16k, 32 byte, 1 way = (512:32:1:l) $10
• 16k, 32 byte, 2 way = (256:32:2:l) $15
• 16k, 32 byte, 4 way = (128:32:4:l) $25
• 32k, 32 byte, 1 way = (1024:32:1:l) $20
• 32k, 32 byte, 2 way = (512:32:2:l) $30
• 32k, 32 byte, 4 way = (256:32:4:l) $50
B: You can also improve dl1 cache. Options:
• 8k, 32 byte, 1 way = (256:32:1:l) $0
• 8k, 32 byte, 2 way = (128:32:2:l) $5
• 8k, 32 byte, 4 way = (64:32:4:l) $12
• 16k, 32 byte, 1 way = (512:32:1:l) $10
• 16k, 32 byte, 2 way = (256:32:2:l) $14
• 16k, 32 byte, 4 way = (128:32:4:l) $22
• 32k, 32 byte, 1 way = (1024:32:1:l) $20
• 32k, 32 byte, 2 way = (512:32:2:l) $28
• 32k, 32 byte, 4 way = (256:32:4:l) $45
Note: the specs are the same, but the prices are a little bit lower.
C: You can improve the ul2 cache. Options:
• 64k, 64 byte, 2 way = (512:64:2:l) $0
• 64k, 64 byte, 4 way = (256:64:4:l) $11
• 64k, 128 byte, 2 way = (256:128:2:l) $3
• 64k, 128 byte, 4 way = (128:128:4:l) $16
• 128k, 64 byte, 2 way = (1024:64:2:l) $10
• 128k, 64 byte, 4 way = (512:64:4:l) $21
• 128k, 128 byte, 2 way = (512:128:2:l) $14
• 128k, 128 byte, 4 way = (256:128:4:l) $27
• 256k, 128 byte, 2 way = (1024:128:2:l) $30
• 256k, 128 byte, 4 way = (512:128:4:l) $55
D: You may increase the number of integer ALUs. Options:
• 1 $0
• 2 $8
• 3 $18
• 4 $30
• 5 $45
• 6 $60
How-to: modify the -res:ialu flag.
E: You may increase the number of integer MULTs. Options:
• 1 $0
• 2 $12
• 3 $30
• 4 $55
• 5 $70
• 6 $100
How-to: modify the res:imult flag.
F: You may increase the number of memory ports. Options:
• 1 $0
• 2 $5
• 3 $14
• 4 $28
• 5 $50
• 6 $75
G: You may invest in faster silicon and increase the clock frequency:
• 100 MHz $0
• 110 MHz $7
• 120 MHz $18
• 130 MHz $32
• 140 MHz $50
• 150 MHz $75
Coolness: let your execution time be t. We don’t disclose what is the execution time of the best solution, but let us denote it as b.
Then, let coolness = 1.05 b/t
Note that you may have coolness 1 even if you do slightly worse than b. Do either i) or ii):
i) If you think that your coolness 1, then hand over only the simulation log for your chosen optimization without any comment. By default that log includes the optimizations that you chose. You’ll get maximum points if coolness 1. However, if coolness < 1, you’ll be severely penalized. No grading complaints.
ii) Describe in detail your experiment. Justify your comments by attaching simulation logs. We are interested to see what conclusions you drew after each simulation, and how did you understand to modify the options, accordingly. Regardless of your coolness factor, you can get maximum points for a well-written exercise.
Final Note: we regard i) cooler than ii), but it’s your risk!
☆─────────────────────────────────────☆
watercool (张揄扬) 于 (Wed Oct 24 08:14:10 2007) 提到:
完全不会。。
假如给我110刀,我就买Destiny MG和Tiger zaku MG, 剩下的钱是运费。。
☆─────────────────────────────────────☆
zack (stop bothering me) 于 (Thu Oct 25 00:24:41 2007) 提到:
赞……还有tax
【 在 watercool 的大作中提到: 】
: 完全不会。。
: 假如给我110刀,我就买Destiny MG和Tiger zaku MG, 剩下的钱是运费。。
这是一条镜像帖。来源:北邮人论坛 / overseas / #6938同步于 2007/11/13
该镜像源已超过 30 天没有更新,可能在源站已被删除。
Overseas机器人发帖
[合集] 有意思的作业题
BlackTulip
2007/11/13镜像同步0 回复
订阅后,新回复会通过你的通知中心匿名送达。
0 条回复
暂无回复 · 你可以订阅本帖等待新回复。