13.2 Disks Mechanics of Disks Presented by Chao-Hsin Shih Feb 21, 2011
Mechanics of Disks Two principles moving piece of a disk driven – Disk assembly – consists of one or more circular platters 0’s and 1’s are represented by different patterns in the magnetic material Diameter: 3.5 inches – Head assembly
Components of disk Tracks - organize the disk. ( concentric circle on a single platter) Sectors – organize the track. Indivisible unit. Gaps - represent about 10% of the total track and are used to identify the beginnings of sectors. Blocks – logical units of data that are transferred between disk and main memory. Consists of one ore more sectors. (13.1.2)
Head Assembly Holds the disk heads. One head for each surface. Head crash Read/Alter the magnetism Attached to an arm. Move in and out together.
Megatron 747 disks Characteristics: – 8 platters providing 16 surfaces – 2 16 tracks per surface – 2 8 sectors per track – 2 12 bytes per sector Capacity: – 16(surface) * 2 16 (track) * 2 8 (sector) * 2 12 (byte) = 2 40 (byte) = terabyte Disk access: – 1 track holds 2 8 * 2 12 bytes (megabyte) – If blocks are 2 14 bytes, 2 8 * 2 12 / 2 14 = 32 blocks on a track
Thank you!
The Disk Controller A small processor capable of: – Control mechanical actuator: move head assembly – Select a sector in the cylinder at which the heads are positioned – Transfer bits – Buffer track in local memory
Disk Accessing Characteristics Three steps to access a block: – Disk controller positions the head assembly Seek Time – Disk controller wait while the first sector of the block moves under the head Rotational latency – All the sectors and the gaps pass under the head while the disk controller read/write data Transfer time Latency : seek time + rotational latency + transfer time (avg: 10ms, maximum: 20ms)
Data reading time The time takes to read a byte from Megatron 747 disk. Time properties of the disk: – Disk rotate: 7200rpm ( 8.33 ms/rotation) – start/stop: 1ms, 4000 cylinders/ms The head move 1 track in ms, innermost to outermost track: