Disk Struct

download Disk Struct

of 3

Transcript of Disk Struct

  • 8/6/2019 Disk Struct

    1/3

    1

    Disk Storage

    CIT 595Spring 2007

    17 - 2CIT 595

    Magnetic Disk Physical Structure

    Each platter(disc-shaped) iscoated with magnetic material onboth surfaces

    Each platter surface has armextended from fixed position

    Tip of the arm containsread/write headfor reading orwriting data

    The arm moves the heads fromthe spindle edge to the edge ofthe disc

    17 - 3CIT 595

    Magnetic Disk: Physical Structure

    Copyright: Howstuffworks.com 17 - 4CIT 595

    Low-Level Disk Formatting

    Track Width is 1-2 microns(micrometer)

    A sector contains fixed numberof bytes

    E.g. 215 bytes or 4096 bytes

    Divided in header (stores

    sector number), data andECC

    Width of 1 bit in a sector is 0.1to 0.2 microns

    Cylinder: is a set of tracks onall the surfaces at a fixed armposition

    Platter Surface View

  • 8/6/2019 Disk Struct

    2/3

  • 8/6/2019 Disk Struct

    3/3

    3

    17 - 9CIT 595

    Access Time

    Seektime is the time that it takes for a disk arm tomove into position over the desired cylinder

    Quoted by disk manufactures to be between 4-5ms

    Also depends disk schedule i.e. in what order do you accessthe blocks (done by OS or disk controller)

    Rotationaldelay is the time that it takes for the desiredsector to move into position beneath the read/write head

    On Avg: Half the rotational Speed

    Current rotational speed is 7200 RPM (revolutions/min) givingus ~4.2 ms

    Access Time= Seek time + Rotational delay

    17 -10CIT 595

    Transfer Time

    Transfer Time= Time for read/write + Access TimeCalculation for read or write time can be derived from specified

    transfer rate e.g. 60 MB/Sec

    Example: What is transfer time for reading 512 bytes ofdata? Assume seek time on average is 4.5 ms

    Transfer T = Time for Read + Seek Time + Rotational

    = 512 B/ (60 MB/sec) + 4.5 + 4.2

    = 0.00853 + 4.5 + 4.2

    = 8.70853 ms