寄托天下
查看: 2401|回复: 2
打印 上一主题 下一主题

[未归类] CS SUB 我们讨论点具体的题目吧 [复制链接]

Rank: 2

声望
0
寄托币
171
注册时间
2007-3-17
精华
0
帖子
0
跳转到指定楼层
楼主
发表于 2007-7-15 16:07:54 |只看该作者 |倒序浏览
30.    Changing a certain cache from direct mapped to two-way set-associative caused the hit ratio measured for a certain set of benchmarks to improve from 0.91 to 0.96, with TC = 20 ns, and TM = 70 ns. What is the speedup, assuming no change in TC from the set-associative multiplexer? Speedup is the ratio of the time to complete a process without the improvement to the same process with the improvement.
             (A) 1.00   (B) 1.11   (C) 0.89   (D) 0.96   (E) 1.89


这个 TM  TC  是什么意思? 是什么的缩写?

这是一道关联计算机体系结构中 计算机性能计算的问题  这题该怎么做呢??


大家也别光顾报名了    还是讨论一点具体的题目吧
0 0

使用道具 举报

Rank: 1

声望
0
寄托币
5
注册时间
2007-3-16
精华
0
帖子
0
沙发
发表于 2007-7-17 13:19:33 |只看该作者
TC--大概指的是 Cache access time
TM--大概指的是 Memory access time
这道题我算的是1.11,不知道对不对。
我也要考cs sub,可以交流一下吗?

使用道具 举报

Rank: 2

声望
1
寄托币
76
注册时间
2006-8-13
精华
0
帖子
1
板凳
发表于 2007-7-25 13:26:47 |只看该作者
Before the improvement, the total time to service all requests is
91*2+9*7=245
After the improvement, the total time to service all requests is
96*2+4*7 = 220

245/220 ~= 1.11

So the answer should be B.

我的email 是 wcon006@gmail.com
欢迎讨论其他问题

[ 本帖最后由 jameswang99 于 2007-7-25 13:33 编辑 ]

使用道具 举报

RE: CS SUB 我们讨论点具体的题目吧 [修改]

问答
Offer
投票
面经
最新
精华
转发
转发该帖子
CS SUB 我们讨论点具体的题目吧
https://bbs.gter.net/thread-703001-1-1.html
复制链接
发送
回顶部