Computer Organisation and Architecture · Secondary Memory
Disk Structure: Tracks and Sectors
Overview
Secondary memory is essentially a disk, and its organisation is studied starting from a single disk surface.
The surface is divided into concentric circles called tracks, and each track is divided into sectors, the smallest unit of data transferred between the disk and main memory.
These concepts extend to stacked platters through the cylinder, and they determine how disk capacity is computed.
Key concepts
- Disk surface: the basic unit of study; a surface is organised into concentric circles that all share the same center.
- Track: one concentric circle on the disk surface.
- Sector: one arc-shaped piece of a track; the surface is cut into many such sectors.
- Sector size: almost all hard drives use a standard sector size of 512 bytes.
- Page size: set by the memory system and independent of the 512-byte sector size (commonly 4 KB).
- Smallest unit of data transfer: the sector is the minimum amount of data transferred between the hard disk and other units such as main memory.
- Cylinder: multiple disks (platters) can be stacked one above the other; the set of tracks at the same radius on all surfaces is a cylinder. The same track/sector concepts extend to the cylinder.
How it works
- Take one surface of the disk as the basic unit.
- Divide the surface into concentric circles (same center) — these are the tracks.
- Divide each track into arc segments — these are the sectors.
- Each sector holds a fixed amount of data; the industry standard is 512 bytes per sector.
- Data moves between the disk and main memory in whole sectors — a sector is the minimum transfer unit.
- Stack several such disks one above the other; corresponding tracks across surfaces form a cylinder.
Formulas
-
number of tracks = number of concentric circles on the surface
-
sectors per track = how many sectors each track is divided into
-
bytes per sector = size of one sector (standard = 512 bytes)
-
With multiple surfaces/platters, the number of tracks is replaced by (tracks per surface × number of surfaces), or equivalently (cylinders × heads).
-
Disk surface tracks and sectors
Drawing the diagram…
- Shows how a disk surface divides into tracks and sectors, and how stacked platters form a cylinder.
Worked examples
To find the capacity of one disk, the three quantities needed are:
- how many tracks there are,
- how many sectors there are per track,
- the size of a sector in bytes (bytes per sector).
The capacity is obtained by multiplying these three quantities, giving the total capacity of the hard disk in bytes.
Illustration with the standard sector size: if a surface has tracks and each track has sectors of 512 bytes, then
Revision summary
- Secondary memory is essentially a disk; study one surface first, then stack disks to form a cylinder.
- A track is a concentric circle on the disk surface; all tracks share the same center.
- A sector is one division of a track.
- Standard sector size = 512 bytes; page size is an independent main-memory parameter (commonly 4 KB).
- The sector is the smallest unit of data transfer between hard disk and main memory.
- To find disk capacity you must know: number of tracks, sectors per track, and bytes per sector.
- Some capacity is lost to formatting (e.g., intersector gaps), so usable capacity is less than the computed total.
Previous-year exam insights
- Disk capacity = (number of surfaces/heads) × (tracks per surface = cylinders) × (sectors per track) × (bytes per sector);
a double-sided platter has 2 surfaces, so N platters give 2N heads/surfaces.
Asked inUGC NET 2020 - Capacity of one track = sectors per track × bytes per sector;
capacity of one surface = tracks per surface × sectors per track × bytes per sector.
Asked inUGC NET 2020 - Number of cylinders equals the number of tracks per surface (a cylinder is the set of tracks at the same radius across all surfaces).
Asked inUGC NET 2020 - Transfer time for a block = (bytes to transfer / bytes per track) × rotation time, where rotation time = 60/RPM seconds;
average rotational latency = half a rotation = 30/RPM seconds.
Asked inISRO 2011 - Sustained data transfer rate = sectors per track × bytes per sector × rotations per second (RPM/60).
Asked inISRO 2011 - In cycle stealing (DMA), the fraction of memory cycles stolen per word = (memory cycle time) / (time between successive word transfers from disk);
the disk supplies one word per (word size / data rate) seconds.
Asked inGATE 2004