看板 Grad-ProbAsk 關於我們 聯絡資訊
Which of th following statement are generally true? a)Caches take adventage of temporal locality b)On a read , the value returned depends on which blocks are in the cache. c)Most of the cost of the memory hierarchy is at the highest level. d)Most of the capacity of the memory hierarchy is at the lowest level. (answer )a , d 我想問的是 為什麼 c 是錯的呢? cost 高的不是在 較高層的記憶體嗎? -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 114.41.128.136
tsarnfeng:抱歉 脫離已久 看到回一下 highest level 是指memory吧 11/26 22:04
tsarnfeng:那您覺得caches的cost比較高還是memory 11/26 22:05
SiriusCloud:題目指的cost 到底是 硬體成本 還是 時間成本阿? 11/26 22:06
SiriusCloud:硬體的話 不是cache 比較高嗎? 如果是耗時 不是mem嗎 11/26 22:06
tsarnfeng:我覺得cost是指硬體 請知道的回答一下 11/26 22:14
genius945:時間成本的話,false沒什麼問題,不過我覺得是問硬體的金 11/26 22:18
genius945:錢成本,我的想法是,高層的單位大小cost會比低層多 11/26 22:19
genius945:但是不見得低層花的錢比較少,ex周遭有人買了無數硬碟... 11/26 22:19
genius945:但高層,如cache,所花的錢不見得比較多,因為量大小不同 11/26 22:20
tsarnfeng:這邊指的應該是指同單位的cost 如:都1M cache 跟 memory 11/26 22:27
genius945:他沒說同單位吧? 他只說記憶體架構最多花在最上層,TorF 11/26 22:28
metalalive:他這邊COST指的是miss penalty八,highest level指的 11/26 22:43
metalalive:L1,L2 cache , lowest level指的是 disk storage之類的 11/26 22:44
metalalive:這樣想的話,就是越低階層的記憶體,搜尋的成本會越大 11/26 22:46
SiriusCloud:對阿 我好奇的是哪個cost ? 11/26 22:58
jim055006:硬體吧!! 11/27 23:32
sneak: 他沒說同單位吧? 他只 https://daxiv.com 09/11 14:37