Skip to content
WebsiteHosting.com

comparison Servers & hardware

HDD seek time: random versus sequential I/O

Reordering equal-sized reads can send a disk head farther between tracks. In this rotating-disk model, the extra travel raises seek cost while rotation and transfer costs stay the same.

Latest recorded source check · P0221

What it means

A rotating disk can do more work to read the same bytes if the request order sends its head back across tracks it just passed. A seek moves the head to the requested track. Rotational waiting is the wait for the requested data to turn under the head; transfer is the read itself. OpenDSA: Disk Drives

IBM’s disk-cost estimates distinguish seek and rotation overhead from the rate of data transfer. IBM Db2: Table space impact on query optimization The model below makes the distinction visible by holding rotation and transfer cost fixed per request while you change the head’s path.

Try it

Use known-synthetic for Track-map evidence and 0 for Initial head track. Keep Seek cost per track distance at 1 illustrative unit per track, Rotation cost per request at 2 units and Transfer cost per request at 1 unit. The requests are equal in size.

HDD seek time: random versus sequential I/O

Reorder synthetic block requests; display seek/rotation/transfer components using stated illustrative assumptions, including no-measurement labeling.

Simulation

Synthetic inputs only. This is not a measurement of your hardware or service.

Computed under the stated assumptions

Reordering equal-sized requests changes head movement in the declared track geometry. Rotation and transfer terms remain explicit instead of being hidden in one speed figure.

HDD seek time: random versus sequential I/O: synthetic scenario inputs

Scenario: Starting example

Each preset replaces all fields. Editing any field preserves the other values exactly, including invalid entries.

Mechanical cost components

Seek cost
3 illustrative units
Rotation cost
6 illustrative units
Transfer cost
3 illustrative units
Total cost
12 illustrative units
Head movement for the declared request order
From trackTo trackDistanceSeek unitsRotation unitsTransfer units
011 tracks121
121 tracks121
231 tracks121

Evaluated evidence

Request track sequence
1 · 2 · 3
Initial head track
0
Seek cost per track distance (illustrative units)
1
Rotation cost per request (illustrative units)
2
Transfer cost per request (illustrative units)
1
Track-map evidence
known-synthetic

Illustrative units, linear seek and constant rotation per request. No real track map, scheduling/cache prediction, measured IOPS or universal HDD/SSD ratio.

About this model

Every input is local synthetic evidence. Numbers stay as raw text until this model validates them. The shown evaluated values come from the same result as the explanation.

Presets replace the entire scenario. Reset restores all starting fields, scenario selection and model state; it does not change the open or closed state of this help or article FAQ.

No external request, device command, stored-input history or measurement is performed.

  1. Start with Request track sequence 1 2 3. The path 0 → 1 → 2 → 3 has three moves of one track each. That gives 3 seek units, 6 rotation units and 3 transfer units: 12 units total.
  2. Choose Reorder the same track requests (3 1 2). The path 0 → 3 → 1 → 2 covers 3 + 2 + 1 = 6 tracks of travel. Seek cost doubles to 6 units, but rotation still costs 6 and transfer still costs 3: 15 units total. The extra 3 units pay for travel, not more bytes.
  3. Try 1 1 1 with the same settings. Only the first move, from track 0 to track 1, costs a seek unit. Staying on track 1 eliminates the next two seeks, not the stipulated wait or the reads: the total is 1 + 6 + 3 = 10 units.

Enter 1–16 track numbers from 0 to 99, separated by single spaces. Use 2, not 2.0: a fractional or decimal-form track number, like an empty sequence, is invalid and produces no cost result. Reset restores the default scenario and inputs, returns the step and virtual time to zero, and clears errors, history and any comparison.

In practice

Choose Inspect the evidence boundary to set Track-map evidence to unknown. A valid list of logical block addresses does not by itself tell you which physical tracks the head visits. With no track map, the model returns unknown, not a zero seek cost.

Compare orders from the same starting track under the same cost assumptions, counting the first move as well as the moves between requests. Linear cost per track is a teaching assumption, not a universal seek-time law; the model does not account for controller scheduling or caching. Keep actual drive measurements separate from these illustrative totals. Equal byte counts describe the payload, not the path the head takes to read it.

Frequently asked questions

Editorial questions based on the listed sources and explicitly labeled local examples.

Why can equal byte counts take different times?

In the synthetic disk, different request orders move the head different distances. The payload is unchanged, but the seek term changes while explicit rotation and transfer terms remain visible.

Does the model measure a disk?

No. Its tracks and cost units are supplied teaching values. There is no disk access, measured latency, physical LBA-to-track map or benchmark result.

Can a controller reorder requests?

A real system’s scheduling is outside this example. You explicitly choose the order here; the result does not claim that a particular controller will execute that order or use an optimal schedule.

Are seek and transfer time the same thing?

No. Seek represents moving to a track, while transfer represents moving the requested data. The cited cost model treats overhead and transfer separately; this lab additionally exposes a stated rotation allowance.

Sources & model boundaries

Primary references used for this explanation. The interactive example is an educational model, not a live check.

  1. Table space impact on query optimization

    Container characteristics; OVERHEAD and TRANSFERRATE. Disk-cost estimates distinguish seek/rotation-related overhead from transfer rate.

    Checked .

  2. OpenDSA: Disk Drives

    Sections13.2.1.1 read steps;13.2.1.2 seek/order;13.2.1.3 simplification note. Mechanical access separates seek, rotational waiting and transfer; request locality can change positioning work with the same payload.

    Checked .

Report an issue. Include the article URL and ID, not passwords or access keys.