Home /Modules/operating-system/SPECIFICATION.md

SPECIFICATION.md

lib/operating-system/ssd/SPECIFICATION.md · 50 line(s) · markdown

Solid-State Drives — Specification (ssd)

A solid-state drive stores data in NAND flash with no moving parts. lib/operating-system/ssd models the finite set of variants by the dimensions that distinguish real drives: host interface, form factor, NAND cell type, capacity, and throughput.

Host interface

InterfaceLinkRepresentative seq. readRepresentative seq. write
SATA III6 Gb/s~560 MB/s~530 MB/s
NVMe PCIe 3.0 x4~3.9 GB/s~3,500 MB/s~3,000 MB/s
NVMe PCIe 4.0 x4~7.9 GB/s~7,000 MB/s~5,500 MB/s
NVMe PCIe 5.0 x4~15.8 GB/s~14,000 MB/s~12,000 MB/s

SATA throughput is capped by the 6 Gb/s link; NVMe runs the NVM Express command set directly over PCIe lanes. Values are representative flagship figures the SLeeLa classes carry as defaults; refine with setThroughput.

Form factors

NAND cell type

TypeBits/cellEnduranceUse
SLC1highestcache / enterprise write-heavy
MLC2highlegacy high-end
TLC3moderatemainstream (most consumer drives)
QLC4lowerhigh-capacity, read-centric

Manufacturers

NAND fabs and SSD brands include Samsung, SK Hynix (incl. Solidigm), Micron (consumer brand Crucial), Western Digital/SanDisk, Kingston, Seagate, Intel, Corsair, and Sabrent. SLSSDCatalog exposes representative models from each by name (e.g. Samsung 990 PRO, WD WD_BLACK SN850X, Crucial T700).

Mapping into the Sleela VM

SLSSD.capacityBlocks() converts capacity + logical block size into the VM block count. When an SSD is selected as the boot disk, SLMachineModel passes that to the VM's block store (the same block interface lib/cpu/SLHardDrive uses), with MEDIA_SSD media so the machine boots from solid-state storage.