ํ‹ฐ์Šคํ† ๋ฆฌ ๋ทฐ

728x90
๋ฐ˜์‘ํ˜•

Figure 1. Moving-head disk mechanism.

 ํ•˜๋“œ ๋””์Šคํฌ๋Š” ๊ทธ๋ฆผ 1๊ณผ ๊ฐ™์€ ๊ตฌ์กฐ๋กœ ๊ตฌ์„ฑ๋˜์–ด ์žˆ๋‹ค. ๋””์Šคํฌ Access Time์€ Seek time + Rotational delay + Transfer time์œผ๋กœ ๊ณ„์‚ฐํ•  ์ˆ˜ ์žˆ๋‹ค. ๋”ฐ๋ผ์„œ ํ•˜๋“œ ๋””์Šคํฌ์˜ ํšŒ์ „ํ•˜๋Š” ํŠน์„ฑ์„ ๊ณ ๋ คํ•˜์—ฌ ์š”์ฒญ๋œ ์ž‘์—…์„ ํšจ์œจ์ ์œผ๋กœ ์ฒ˜๋ฆฌํ•œ๋‹ค๋ฉด, ์ž‘์—… ์ฒ˜๋ฆฌ ์‹œ๊ฐ„์„ ๊ฐ์†Œ ์‹œํ‚ฌ ์ˆ˜ ์žˆ์„ ๊ฒƒ์ด๋‹ค.

 

๋””์Šคํฌ ์Šค์ผ€์ค„๋ง ์•Œ๊ณ ๋ฆฌ์ฆ˜

Figure 2. FCFS disk scheduling.
Figure 3. SSTF disk scheduling.
Figure 4. SCAN disk scheduling.

 

Figure 5. C-SCAN disk scheduling.
Figure 6. C-LOOK disk scheduling.

  • FCFS (First-Come First-Served) : ๊ฐ€์žฅ ๋จผ์ € ์š”์ฒญ๋œ ์ž‘์—…์„ ๋จผ์ € ์ฒ˜๋ฆฌํ•˜๋Š” ๋ฐฉ์‹
  • SSTF (Shortest Seek Time First) : ์š”์ฒญ๋œ ์ž‘์—… ์ค‘ ํ—ค๋“œ์˜ ์›€์ง์ž„์ด ๊ฐ€์žฅ ์งง๊ฒŒ ์›€์ง์ด๋Š” ์ž‘์—… ๋ถ€ํ„ฐ ์ฒ˜๋ฆฌํ•˜๋Š” ๋ฐฉ์‹
  • SCAN : ์—˜๋ ˆ๋ฒ ์ดํ„ฐ ์ฒ˜๋Ÿผ ํ•œ๋ฐฉํ–ฅ์œผ๋กœ ํƒ์ƒ‰์„ ํ•˜๊ณ , ๋‹ค์‹œ ๋‹ค๋ฅธ ๋ฐฉํ–ฅ์œผ๋กœ ํƒ์ƒ‰์„ ํ•˜๋Š” ๋ฐฉ์‹
  • C-SCAN : SCAN ์•Œ๊ณ ๋ฆฌ์ฆ˜์—์„œ ํ•œ๋ฐฉํ–ฅ์œผ๋กœ ํƒ์ƒ‰์ด ๋๋‚˜๋ฉด ๋ฐ˜๋Œ€ ๋ฐฉํ–ฅ์œผ๋กœ ๊ฐ€๋ฉด์„œ ๋ฐ์ดํ„ฐ๋ฅผ ์ฝ๋Š” ๊ฒƒ์ด ์•„๋‹Œ, ์ฆ‰์‹œ ์œ„์น˜๋ฅผ ๋ฐ˜๋Œ€์˜ ์‹œ์ž‘ ์œ„์น˜๋กœ ์˜ฎ๊ฒจ์„œ ํƒ์ƒ‰์„ ์ง„ํ–‰ํ•จ.
  • C-LOOK : 0๋ฒˆ์— ๋ฐ์ดํ„ฐ๊ฐ€ ์กด์žฌํ•˜์ง€ ์•Š๋”๋ผ๋„, ํƒ์ƒ‰์„ ์ง€์†ํ•˜๋Š” Scan์˜ ๋‹จ์ ์„ ๋ณด์™„ํ•œ ๋ฐฉ์‹
728x90
๋ฐ˜์‘ํ˜•
๋Œ“๊ธ€
๊ธ€ ๋ณด๊ด€ํ•จ
์ตœ๊ทผ์— ์˜ฌ๋ผ์˜จ ๊ธ€
์ตœ๊ทผ์— ๋‹ฌ๋ฆฐ ๋Œ“๊ธ€