Systems study
Offline — showing the cached copy.
Home / OS Theory

OS Theory — CPU, RAM & Algorithms

The models underneath the kernel: why a cache line is 64 bytes, why a sorted array runs faster, and which replacement policy actually survives a scan.

Textbook theory with modern hardware in mind. Cycle counts are orders of magnitude, not constants.

  1. 011. The CPU pipeline
  2. 022. The cache hierarchy
  3. 033. Coherence and false sharing
  4. 044. DRAM and NUMA
  5. 055. Locality and cache-aware algorithms
  6. 066. Amdahl, Little and queueing
  7. 077. CPU scheduling algorithms
  8. 088. Page replacement
  9. 099. Cache eviction algorithms
  10. 1010. Mutual exclusion algorithms
  11. 1111. I/O and disk scheduling
  12. 1212. Data structures the kernel actually uses