{
  "id": "systems",
  "name": "Systems",
  "path": "/systems/",
  "question": "Trace a system's behaviour",
  "description": "Systems entries connect a visible symptom to the process, descriptor, page, or cache line underneath it. They prefer a small experiment over a metaphor.",
  "entries": [
    {
      "id": "systems/cpu-cache-lines-sequential-reads",
      "title": "CPU Cache Lines and Sequential Reads",
      "url": "https://www.fieldnotely.xyz/systems/cpu-cache-lines-sequential-reads/",
      "summary": "CPUs fetch memory in fixed-size cache lines, commonly 64 bytes, so a sequential read uses every fetched byte while a scattered read wastes most of each line and pays the full latency per useful value.",
      "aliases": [
        "cache line",
        "spatial locality",
        "prefetching"
      ],
      "kind": "concept",
      "topic": "cpu",
      "scope": "Modern x86-64 and ARM64 CPUs",
      "updated": "2026-11-29"
    },
    {
      "id": "systems/process-working-directory",
      "title": "The Current Working Directory of a Process",
      "url": "https://www.fieldnotely.xyz/systems/process-working-directory/",
      "summary": "Each process carries its own current working directory in kernel state, and relative paths are resolved from it, so the same path string can name different files in different processes.",
      "aliases": [
        "cwd",
        "current working directory",
        "chdir"
      ],
      "kind": "concept",
      "topic": "process",
      "scope": "POSIX-like systems; Unix and Windows processes",
      "updated": "2026-11-29"
    },
    {
      "id": "systems/file-descriptor-lifetime",
      "title": "The Lifetime of a File Descriptor",
      "url": "https://www.fieldnotely.xyz/systems/file-descriptor-lifetime/",
      "summary": "A file descriptor lasts until it is closed, until the process exits, or until an exec replaces the process and the descriptor is close-on-exec; closing it only drops one reference, and the file's data disappears when its last link and last open reference are gone.",
      "aliases": [
        "file descriptor",
        "fd close",
        "open file description"
      ],
      "kind": "concept",
      "topic": "io",
      "scope": "POSIX-like systems; Linux and macOS",
      "updated": "2026-11-29"
    },
    {
      "id": "systems/virtual-physical-pages",
      "title": "Virtual and Physical Pages",
      "url": "https://www.fieldnotely.xyz/systems/virtual-physical-pages/",
      "summary": "The MMU translates each virtual page number through a per-process page table to a physical page frame and adds the page offset; the kernel fills in those mappings lazily as page faults occur.",
      "aliases": [
        "virtual memory",
        "page table",
        "physical page frame"
      ],
      "kind": "concept",
      "topic": "memory",
      "scope": "x86-64 and ARM64; Linux memory management",
      "updated": "2026-11-29"
    }
  ]
}
