Home /Modules/operating-system/SPECIFICATION.md

SPECIFICATION.md

lib/operating-system/hdd/SPECIFICATION.md · 48 line(s) · markdown

Hard Disk Drives — Specification (hdd)

A hard disk drive stores data on rotating magnetic platters read by moving heads. lib/operating-system/hdd models the finite set of HDD variants by form factor, spindle speed, interface, recording technology, cache, and capacity.

Spindle speed and performance

RPMTypical useRepresentative sustained transfer
5400laptop / low-power / archival~180 MB/s
7200desktop / NAS / mainstream~260 MB/s
10000performance / enterprise~250 MB/s
15000enterprise transactional~300 MB/s

Rotational drives are bandwidth-competitive for sequential transfer but have millisecond-scale seek latency, which is the defining difference from an SSD.

Interfaces

Recording technology

Form factors

Manufacturers

The HDD market has consolidated to three makers: Seagate (IronWolf, Exos), Western Digital (WD Red/Gold/Blue), and Toshiba (N300, MG). All three are exposed by SLHardDiskCatalog.

Mapping into the Sleela VM

SLHardDisk.capacityBlocks() converts capacity + block size into the VM block count. When an HDD is the selected boot/bulk device, SLMachineModel hands that to the VM block store with MEDIA_HDD media, so the emulated machine uses rotational storage.