Characteristics
"block" and "page" have different meanings in this context
"page" => unit that we can read or write (couple KBs)
pages cannot be individually re-written
"block" => unit that is erased together (maybe 100s of KBs)
Write:
Metrics:
Comparison
HDDs | SSDs | |
---|---|---|
Capacity | + | - |
Latency | - | + (no moving parts) |
Random IOPS | - | + (low latency & in parallel) |
Throughput (Sequential) | - | + (little better) |
Throughput (Random Writes) | - | + (but block erase is a concern) |
Throughput (Random Reads) | - | + |
Block devices can be divided into partitions:
RAID (Redudant Array of Inexpensive Disks) controllers: make multiple devices appear as one:
Redundancy: same data on >1 disk, usually used to avoid data loss when one device dies.