NOTE
Disk
In general, memory access latency is far lower than persistent storage such as disk. The exact speed relationship depends on HDD / SSD, caches, access patterns, and workload, so it should not be expressed as a fixed equality.
This is a historical learning note and may contain outdated or incomplete understanding.
1. Disk vs. Memory
| Disk | Memory | |
|---|---|---|
| Cost | Low | High |
| Capacity | Large | Small |
| Access speed | Slow; sequential I/O is usually more efficient than random I/O, especially on HDDs | Fast; actual performance is still affected by CPU cache, locality, and other factors |
| Storage characteristic | Data is usually retained after power-off | Data is lost after power-off |
- In general, memory access latency is far lower than that of persistent storage such as disks. The exact speed relationship depends on HDD / SSD, caches, access patterns, and workload, so it should not be expressed as a fixed equality.
Drag to pan, scroll to zoom, and click a node to expand or collapse it. Large maps start with deeper levels collapsed; click nodes to expand them.
Discussion
Sign in with GitHub to comment. Discussions are stored as GitHub Issues.View on GitHub