看板 Grad-ProbAsk 關於我們 聯絡資訊
[I/O] 題目1:http://ppt.cc/i0w3 我的做法:http://ppt.cc/4MZl 請教一下 1.請問我做法最後一項有錯嗎...跟他答案有點出入 是不是因為這句話的關係scattered around the " disk " randomly? 2.關於"傳送data的時間" "總data量/trasfer rate"只能用在data是在同一個track上而已嗎? 3.如果他的敘述改成 scattered around the " disk " randomly → scattered around the " same track " randomly 這樣我那個做法 "總data量/Trasfer rate" 就能用了嗎? [device] 題目2:http://ppt.cc/IB6n 請教關於 combinational logic / sequential logic / both 這三種邏輯電路該怎麼判斷比較快? 不知道我的判斷方式有沒有錯 combinational logic:純粹邏輯閘 sequential logic:有記憶性的 both:.........不知道........ [MEM] 題目3:http://ppt.cc/HBgE 答案:http://ppt.cc/eQnR 請問該怎麼解讀這句話 a cache that has eight-word (32-byte) blocks and holds 256 bytes of data (ps:一般給法 a 64KB cache and block size is 8 byte這稍微看的懂..) 他eight-word (32-byte) blocks→他是指有8個block,每個block1個word嗎? 但是看他答案Assume that array[0] . . . array[31] is in block 0→他是一個block 32個 word嗎... 另外這題該從什麼方向切入比較好...看好久 以上 求解 >///< -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 101.8.54.1
A4P8T6X9:1. block太分散,所以每個都要seek time跟旋轉。 02/18 09:56
WashFreeID:第三題1, 每次跑array[0], array[256] 兩個都miss 02/18 17:49
WashFreeID:因為direct map上兩個index同tag不同 02/18 17:50
WashFreeID:array[256],之後array[0]仍然衝突 所以1/2 02/18 17:51
WashFreeID:2. 第一次跑array[0], array[255], array[510] 02/18 17:53
WashFreeID:三個miss, array[510]會取代array[255]的block 02/18 17:53
WashFreeID:但接下來array[0]都hit, array[255]把上一輪array[510] 02/18 17:54
WashFreeID:取代,miss,array[510]再取代array[255],miss 02/18 17:54
WashFreeID:所以除了第一次MMM,接下來都HMM, missrate 2/3 02/18 17:55