[理工] 幾個計組觀念
有些觀念想請教大家
1.A branch history table buffer is typically indexed by the
load instr. address.
這句話是錯的
應該怎麼改呢?
2.Pipeining is a technique that can effectively increase the
clock rate.
這句話為什麼是正確的呢?
在我的印象中
pipeline不會改善單一指令的latency
而是改善整體的throughput
3.關於3C中的2個C,我想釐清一些觀念:
Compulsory misses:
可藉由增大block size來降低compulsory miss
我的想法是這樣的
因為block size變大
所以block數目變少(index bits數減少)
被access的block再度被access的機率比原本還高了
所以冷開機失誤會減少
但是如果block size變太大就會增加miss penalty
因為一次要抓一個block
變太大的話抓的成本就高
張凡講義有提到
"Very large block could increase miss rate."
這句我想不通為什麼...
Capacity misses:
可藉由增加cach size來降低capacity miss
可能造成的負面效果是
access time可能會增加
請問為什麼會有這個負面效果呢?
4.There is no cache coherency problem for the
write-through cache since the data are written
into the next level of memory,and thus the data
are consistent between the two caches.
請問這段話錯在哪裡呢?
5.A system using a write-through cache as its private
cache will not have cache coherency problem since the
written data are also updated in the main memory.
請問這句為什麼錯呢?
拜託各位了
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 210.66.250.26
※ 文章網址: https://www.ptt.cc/bbs/Grad-ProbAsk/M.1485161679.A.C7E.html
推
01/23 16:56, , 1F
01/23 16:56, 1F
→
01/23 16:57, , 2F
01/23 16:57, 2F
→
01/23 16:57, , 3F
01/23 16:57, 3F
→
01/23 16:58, , 4F
01/23 16:58, 4F
→
01/23 17:00, , 5F
01/23 17:00, 5F
→
01/23 17:00, , 6F
01/23 17:00, 6F
→
01/23 17:01, , 7F
01/23 17:01, 7F
→
01/23 17:02, , 8F
01/23 17:02, 8F
→
01/23 17:02, , 9F
01/23 17:02, 9F
→
01/23 17:03, , 10F
01/23 17:03, 10F
推
01/23 17:17, , 11F
01/23 17:17, 11F
→
01/23 17:17, , 12F
01/23 17:17, 12F
→
01/23 17:18, , 13F
01/23 17:18, 13F
→
01/23 17:18, , 14F
01/23 17:18, 14F
→
01/23 17:18, , 15F
01/23 17:18, 15F
→
01/23 17:18, , 16F
01/23 17:18, 16F
推
01/23 17:22, , 17F
01/23 17:22, 17F
→
01/23 17:23, , 18F
01/23 17:23, 18F
→
01/23 17:23, , 19F
01/23 17:23, 19F
推
01/23 18:13, , 20F
01/23 18:13, 20F
→
01/23 18:26, , 21F
01/23 18:26, 21F
推
01/23 19:24, , 22F
01/23 19:24, 22F
→
01/24 16:05, , 23F
01/24 16:05, 23F
→
01/24 16:05, , 24F
01/24 16:05, 24F
推
01/24 21:59, , 25F
01/24 21:59, 25F
推
01/25 02:45, , 26F
01/25 02:45, 26F
→
01/25 02:45, , 27F
01/25 02:45, 27F