[理工] [OS] 97交大資聯 disk

看板Grad-ProbAsk作者 (無法顯示)時間15年前 (2011/08/03 20:29), 編輯推噓1(103)
留言4則, 1人參與, 最新討論串1/1
consider a 6000 rpm disk, which is of one single head, 11 tracks, and 110 sectors in total. Let the seek time is linearly proportional to the number of tracks traveled, and to move the head across one track takes 1ms. Suppose that the current head position is at track 0, sector0. It takes ____ milli-seconds to seek to track 10, sector 5. (note that tracks and sectors are numbered from 0) 洪捷的解答給 10 + 5*10^(-6) ms 請問這個要怎麼算? 謝謝 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 218.166.113.34

08/08 15:33, , 1F
head從track0移到track10要花10mili-seconds 從sector0
08/08 15:33, 1F

08/08 15:33, , 2F
轉到sector 5 要轉半圈 (因為一track有10個sector)
08/08 15:33, 2F

08/08 15:33, , 3F
故旋轉時間是 0.5/6000rpm = 0.5/100rps = 0.005s = 5
08/08 15:33, 3F

08/08 15:33, , 4F
mili-seconds 所以共花 15 mili-seconds
08/08 15:33, 4F
文章代碼(AID): #1EEJz2Dm (Grad-ProbAsk)