[理工] Disk size 計算 memory access

看板Grad-ProbAsk作者 (三十八)時間8年前 (2017/02/16 14:21), 8年前編輯推噓1(106)
留言7則, 3人參與, 最新討論串1/1
A 255-GB disk has 65536 cylinders with 255 sectors per track and 512 bytes per sector. How many platters and heads does this disk have? 請問一下這題要怎麼算 本魯一直搞不太懂Disk的計算題 Consider a computer system that has cache memory,main memory and disk, and an operationg system that uses virtual memory. It takes 2ns to access a word from the cache, 10ns to access aword from the main memory , and 10ms to access a word from the disk. If the cache hit rate is 95% and main memory hit rate (after a cache miss) is 99%,what isthe average time in ns to access a word? 謝謝! -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 150.116.123.65 ※ 文章網址: https://www.ptt.cc/bbs/Grad-ProbAsk/M.1487226082.A.B63.html ※ 編輯: ex8338 (150.116.123.65), 02/16/2017 14:39:52

02/16 16:43, , 1F
platters and heads應該是算有幾個磁盤 設有X個
02/16 16:43, 1F

02/16 16:44, , 2F
X*65536*255*512 B = 255 GB 解X=32
02/16 16:44, 2F

02/16 16:45, , 3F
第二題用AMAT算
02/16 16:45, 3F

02/16 17:14, , 4F
補充一樓 如果是雙面可寫platter只要16個 head仍然32個
02/16 17:14, 4F

02/16 19:11, , 5F
恩恩同樓上,現在偶 雙面的disk了
02/16 19:11, 5F

02/16 19:13, , 6F
第二題AMAT: 2ns*+0.05*10ns+0.01*10ms
02/16 19:13, 6F

02/16 21:09, , 7F
感謝補充orz
02/16 21:09, 7F
文章代碼(AID): #1OfKJYjZ (Grad-ProbAsk)