寄托天下
查看: 2551|回复: 4

[计算机] 请教CS的一道题 [复制链接]

Rank: 2

声望
0
寄托币
290
注册时间
2006-7-9
精华
0
帖子
2
发表于 2006-9-12 19:56:00 |显示全部楼层
A computer 有如下特征,virtual paging ,TLB,physical address cache,对此computer的性能进行评价:
缺页的次数比TCB(translation laookaside buffer)缺页的少(不全)
a,page fault 比cache mising 少
b.paging fault 比TLB missing 少
谁能解释一下 TCB(translation laookaside buffer)呢,谢谢!

使用道具 举报

Rank: 5Rank: 5

声望
0
寄托币
1897
注册时间
2004-7-27
精华
0
帖子
6
发表于 2006-9-12 21:32:45 |显示全部楼层
The TLB references physical memory addresses in its table. The TLB may reside between the CPU and the cache, or between the cache and primary storage memory. This depends on whether the cache is using virtual addressing or physical addressing.

If the cache is virtually addressed, requests are sent directly from the CPU to the cache, which then accesses the TLB as necessary. If the cache is physically addressed, the CPU does a TLB lookup on every memory operation, and the resulting physical address is sent to the cache. There are pros and cons to both implementations.

使用道具 举报

Rank: 2

声望
0
寄托币
57
注册时间
2006-8-4
精华
0
帖子
0
发表于 2006-9-13 09:56:39 |显示全部楼层

学习

。。。。。

my.lintun.com/heihei
到我的知客看看,哈!

使用道具 举报

Rank: 2

声望
0
寄托币
149
注册时间
2005-5-7
精华
0
帖子
1
发表于 2006-9-13 17:24:20 |显示全部楼层
应该是TLB吧。简单地说,cache是缓存数据和指令的,TLB是缓存数据和指令所在的页表项的。

使用道具 举报

Rank: 2

声望
0
寄托币
290
注册时间
2006-7-9
精华
0
帖子
2
发表于 2006-9-14 17:48:16 |显示全部楼层
非常感谢各位的指点!

使用道具 举报

RE: 请教CS的一道题 [修改]

问答
Offer
投票
面经
最新
精华
转发
转发该帖子
请教CS的一道题
https://bbs.gter.net/thread-527242-1-1.html
复制链接
发送
回顶部