arthrop0d

Brief articles on varied topics.

linux

24 articles tagged linux.

  1. Linux cgroups v2: Hierarchical Resource Control

    How cgroups v2 groups processes into a hierarchy and controls their CPU, memory, and I/O use.

    linuxoperating systems

  2. Linux Pressure Stall Information

    PSI measures how long Linux tasks wait for CPU, memory, or I/O, exposing contention that utilization and load averages can hide.

    linuxoperating systemsobservability

  3. Linux Futexes and the Contended Lock Path

    How Linux futexes keep uncontended locks in user space and use kernel wait queues and targeted wakeups when threads must sleep.

    linuxconcurrencyoperating systems

  4. Linux epoll Interest and Ready Lists

    How epoll tracks readiness, how level-triggered and edge-triggered modes differ, and how event loops avoid missing readable or writable work.

    linuxoperating systems

  5. Copy-on-Write Forks and Process Page Tables

    How fork shares physical pages, converts writes into page faults, and delays copying until a process actually changes memory.

    operating systemslinux

  6. Overlay Filesystem Copy-Up in Containers

    How overlay filesystems copy image files into a container’s writable layer, and why that affects disk usage and write latency.

    containerslinuxoperating systems

  7. Linux cgroups v2: Hierarchical Resource Control

    How cgroups v2 accounts for CPU, memory, and processes, enforces limits, and gives container runtimes workload isolation.

    containerslinuxoperating systems

  8. Linux Futexes and User-Space Synchronization

    How Linux futexes keep uncontended locks in user space and use kernel sleep queues to block and wake threads under contention.

    linuxoperating systemsconcurrency

  9. 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

  10. 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

  11. 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

  12. 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

  13. 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

  14. 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

  15. 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

  16. 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

  17. 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

  18. 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

  19. 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

  20. 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

  21. 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

  22. 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

  23. 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

  24. 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