CPU Pipeline Architecture
Follow instructions through a five-stage pipeline, distinguish latency from throughput, and connect issue width to out-of-order execution.
Related
6 min read · intermediate
CPU pipelines, memory hierarchies, the Linux kernel, filesystems, and networking.
Follow instructions through a processor and understand what limits its throughput.
Starting knowledge: Instructions, registers and basic program execution
Select a concept. Explore its connections, or open the full explanation.
Previewing Pipeline architecture.
Start with stage timing and width, follow the dependencies that cause stalls, then explore how prediction chooses the next instructions.
From pipeline capacity to useful work
Distinguish latency from throughput, compare pipeline depth and width, and connect ready work to out-of-order execution.
Read conceptUsed in: connections 1 to 1 of 1.
Explore the power constraint behind architectural choices. This is context for CPU design, not a prerequisite for the pipeline demos.
Lines show suggested reading within a branch. Connections offer optional ways to explore; they are not a checklist of prerequisites.
Follow instructions through a five-stage pipeline, distinguish latency from throughput, and connect issue width to out-of-order execution.
6 min read · intermediate
Trace data, structural and control hazards, understand forwarding and load-use stalls, and connect register dependencies to scheduling.
9 min read · advanced
Replay branch outcomes to compare predictors, then connect local and global history to speculative execution, recovery and profiling.
9 min read · intermediate
Explore how smaller transistors promised more speed at the same power, why voltage limits broke that bargain, and how chip design adapted.
8 min read · intermediate
Explore the inner workings of RAM through beautiful animations and interactive visualizations. Understand memory cells, addressing, and the memory hierarchy.
12 min read · intermediate
Learn how memory controllers manage CPU-RAM data flow. Interactive demos of channels, ranks, banks, and command scheduling for optimal bandwidth.
18 min read
Discover how memory interleaving distributes addresses across banks for parallel access. Boost memory bandwidth in DDR5 and GPU systems.
6 min read · intermediate
Explore NUMA architecture and memory locality in multi-socket systems. Understand local vs remote memory access latency and optimization strategies.
8 min read · advanced
Deep dive into CPU cache lines — interactive cache simulator with configurable associativity and replacement policies, false sharing MESI protocol visualization, access pattern benchmarks, and optimization techniques.
22 min read · intermediate
Master sequential vs strided memory access patterns. Learn how cache efficiency and hardware prefetching affect application performance.
8 min read · intermediate
Structure of Arrays vs Array of Structures as instruments: cache-line fill, SIMD gather vs contiguous load, GPU coalescing, and AoSoA hybrids — when layout is a 10× decision.
12 min read · intermediate
Master virtual memory and TLB address translation with interactive demos. Learn page tables, page faults, and memory management optimization.
16 min read · advanced
Explore Linux memory management through interactive visualizations. Understand virtual memory, page tables, TLB, swapping, and memory allocation.
22 min read
Learn how Transparent Huge Pages (THP) reduces TLB misses by promoting 4KB to 2MB pages. Understand performance benefits and memory bloat tradeoffs.
18 min read · intermediate
Explore Linux kernel architecture: user and kernel space, cooperating subsystems, cached and uncached file reads, and how containers share one kernel.
10 min read
Linux system calls visualized: how user programs communicate with the kernel, protection rings, argument registers, error handling, and syscall performance.
12 min read
Master Linux process management through interactive visualizations. Understand process lifecycle, fork/exec operations, zombies, orphans, and CPU scheduling.
15 min read
Master Linux kernel modules through interactive visualizations. Learn how to load, unload, develop, and debug kernel modules that extend Linux functionality.
15 min read
Visualize the complete Linux boot sequence from BIOS/UEFI to login. Learn how GRUB, kernel, and systemd work together with interactive visualizations.
15 min read
Learn how initramfs enables Linux boot by loading essential drivers before the root filesystem mounts. Explore early userspace initialization.
15 min read
Compare Linux init systems through interactive visualizations. Understand the evolution from SysV Init to systemd, service management, and boot orchestration.
15 min read
Explore Linux filesystems through interactive visuals. Learn VFS, compare ext4 vs Btrfs vs ZFS, and understand file operations.
10 min read
Understand Linux inodes - the metadata structures behind every file. Learn about hard links, soft links, and inode limits.
15 min read
Master Linux mount options like noatime and async for performance tuning and security hardening. Interactive guide to fstab configuration.
12 min read
Follow a filesystem transaction from journal to checkpoint. Explore crash recovery, ext4 journal modes, and the limits of data durability.
8 min read
Follow filesystem copy-on-write from a changed block to a committed root. Explore snapshot sharing, space reclamation, and the trade-offs in Btrfs and ZFS.
10 min read
RAID storage visualized: RAID 0, 1, 5, 6, and 10 levels explained. Learn how they work, when to use them, and disk failure recovery.
18 min read
Explore checksum verification, Merkle-tree reads, mirror repair, and scrubbing through interactive examples of silent corruption and recovery.
8 min read
Learn FUSE (Filesystem in Userspace) for building custom filesystems. Understand how NTFS-3G, SSHFS, and cloud storage work.
18 min read
Explore ext4, the default Linux filesystem with journaling, extents, and proven reliability. Learn how ext4 protects your data.
8 min read
XFS internals end-to-end: allocation groups for lock-free parallel metadata, B+ trees instead of bitmaps, extent-based allocation that scales to terabytes, and delayed allocation that turns scattered writes into contiguous extents.
10 min read
Trace how Btrfs shares extents, creates snapshots, distributes copies, compresses writes, and repairs checksum errors when a good replica exists.
13 min read · intermediate
Master ZFS filesystem with pooled storage, RAID-Z, snapshots, and checksums. Learn enterprise-grade data integrity on Linux.
20 min read · intermediate
Learn FAT32 and exFAT filesystems for cross-platform USB drives and SD cards. Understand file size limits and compatibility.
12 min read
NTFS internals from the Master File Table outward: 1 KB attribute records, resident vs non-resident $DATA, run lists, alternate data streams, the $LogFile journal, and why dual-boot Linux distros prefer ntfs3 over ntfs-3g.
10 min read
Master Linux namespaces — the kernel mechanism that makes containers possible. Learn how mount, PID, network, and user namespaces create isolated environments, with interactive demos.
15 min read · intermediate
Control groups as instruments: noisy neighbors, v1 vs v2 membership, CFS cpu.max periods, memory.high vs memory.max OOM, and how Docker flags become cgroup files.
12 min read · intermediate
Discover how containers work by combining namespaces, cgroups, and OverlayFS. Build a mental model of Docker internals through interactive visualizations.
18 min read · advanced
Understand how containerized processes access GPU hardware through device files, bind mounts, and the NVIDIA container runtime. Learn the kernel driver vs user-space library distinction.
12 min read · advanced
Explore the TCP/IP protocol stack, packet encapsulation, and how data travels through network layers from application to physical transmission.
10 min read · intermediate
Master the Linux networking stack through interactive visualizations. Understand TCP/IP layers, sockets, iptables, routing, and network namespaces.
30 min read · intermediate
Step a packet through a home router to see how NAT rewrites addresses and ports, what it breaks, how hole punching and NAT-T work around it, and why it is not security.
9 min read · beginner
Follow a packet inside an encrypted VPN tunnel, separate wrapping from NAT, compare full and split routing, and see what Wi-Fi, ISPs and VPN servers can observe.
9 min read · beginner
Learn client-server communication patterns including short polling, long polling, and WebSockets. Compare HTTP protocols for real-time web applications.
13 min read · beginner
Learn short polling in networking - a simple HTTP pattern for periodic data fetching. See why 70-90% of requests waste bandwidth and when to use alternatives.
4 min read · beginner
Learn HTTP long polling - a server-side technique that holds connections open until data arrives. Achieve near real-time updates with standard protocols.
4 min read · beginner
Master WebSocket protocol for real-time bidirectional communication over TCP. Learn handshakes, frames, and building low-latency web applications.
4 min read · beginner
Compare Wayland vs X11 display servers on Linux. Learn about architecture, performance, security, and modern graphics stack.
20 min read
Learn nvidia-modeset for display configuration on Linux. Understand kernel mode-setting, DRM integration, and GPU drivers.
20 min read · intermediate