arthrop0d

Brief articles on varied topics.

linux

16 articles tagged linux.

  1. Linux Page Cache and Dirty-Page Writeback

    How Linux caches file data in memory, serves reads and writes through cached pages, and flushes dirty data to durable storage.

    linuxoperating systems

  2. Copy-on-Write fork() and Copying Page Faults

    How Linux makes fork() cheap by sharing memory pages until parent or child writes to one.

    linuxoperating systemsperformance

  3. Linux epoll Interest and Ready Lists

    How epoll records monitored file descriptors, reports readiness, and changes an event loop’s obligations under level- and edge-triggered modes.

    linuxoperating systems

  4. Linux cgroup v2 memory.high and Memory Reclaim

    How memory.high applies reclaim and throttling before memory.max can trigger an out-of-memory kill, including hierarchical accounting.

    linuxoperating systems

  5. Linux io_uring Shared Rings and Batching

    How io_uring moves requests through shared submission and completion rings, and how batching and polling reduce syscall and scheduling costs.

    linuxoperating systemsperformance

  6. Copy-on-Write Memory During Linux fork

    How Linux lets forked processes share physical pages safely until a write requires a private copy.

    linuxoperating systems

  7. Linux TLB Shootdowns on Multicore Systems

    How Linux keeps per-CPU virtual-to-physical translation caches correct, and why invalidating them with IPIs can hurt multicore performance.

    linuxoperating systemsperformance

  8. Linux Page-Cache Readahead

    How Linux detects sequential file access, reads pages early, and limits wasted I/O when access becomes sparse or random.

    linuxoperating systemsperformance

  9. Linux Dirty Pages, Writeback, and fsync

    How Linux caches file writes in RAM, writes them back in the background, and uses fsync to establish a durability boundary.

    linuxoperating systemsperformance

  10. Linux Copy-on-Write Across forked Processes

    How Linux shares forked processes’ pages, changes their page tables, and copies memory only when a write triggers a page fault.

    linuxoperating systemsperformance

  11. Linux Seccomp-BPF System Call Filters

    How Linux seccomp-BPF examines system calls and lets a process allow, reject, trap, or kill them.

    computer securitylinux

  12. Linux Futexes and User-Space Mutex Waiting

    A futex lets a mutex use atomic user-space operations normally and enter the kernel only when a contending thread must sleep or be woken.

    linuxconcurrencyoperating systems

  13. Linux epoll Readiness Notification

    How epoll tracks monitored file descriptors, reports readiness, and changes event-loop I/O with level-triggered and edge-triggered modes.

    linuxoperating systems

  14. Copy-Up in Container Overlay Filesystems

    How Linux overlay filesystems combine read-only image layers with a writable container layer and copy files up when a write requires them.

    containerslinuxperformance

  15. Linux PID Namespaces and the Responsibilities of PID 1

    Understand how Linux PID namespaces provide isolated process IDs and why their PID 1 must handle signals and reap orphaned children.

    containerslinuxoperating systems

  16. Linux TLB Shootdowns and Their Performance Cost

    How Linux keeps per-core address-translation caches consistent when page-table entries change, and why that coordination can slow workloads.

    linuxoperating systemsperformance

← All tags