作者assassin88 (2010)
看板Grad-ProbAsk
标题Re: [理工] [计组]-交大98-资联
时间Sun Jan 17 18:09:59 2010
※ 引述《b76516 (阿聪)》之铭言:
: 请问 98交大计组第5题
: 5. (08%) Virtually addressed cache is accessed with a virtual address, while
: physically addressed cache is accessed with a physical address.
: (i)(2%) Which kind of cache takes the TLB out of normal cache access path,
: reducing cache latency?
: (ii)(2%) Which kind of cache has aliasing problem?
: (iii)(2%) Assume physically addressed cache is used, is it possible to have
: TLB miss, but page table and cache hit for a data access?
: (iv)(2%) Assume virtually addressed cache is used, is it possible to have TLB
: miss, but page table and cache hit for a data access? Please explain your
: answer.
: 请问第一小题是问 用哪种方式mapping的cache嘛?
: 第二小题什麽是 aliasing problem?
: 第三跟第四小题考虑 physically addressed cache
: 跟 virtually addressed cache 这两种有什麽不同嘛?
: 谢谢
一、差不多,答案为Vitual。
二、aliasing 简单来说就是可以经由两个 virtual addr. 对应到一个相同的 physical
addr.,答案同上。
三、这种是cache型态不同所造成的不同,
共有三类:physical addressed、virtual addressed、
virtual index physical tagged。
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 61.57.105.93