看板 Grad-ProbAsk 關於我們 聯絡資訊
※ 引述《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