arthrop0d

Brief articles on varied topics.

operating systems

35 articles tagged operating systems.

  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. Windows I/O Completion Ports Explained

    How Windows queues completed asynchronous I/O and lets a bounded worker pool process it without one thread per request.

    microsoftoperating systemsconcurrency

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

  5. TLB Shootdowns and Cross-Core Address Invalidation

    How operating systems invalidate stale virtual-address translations across CPU cores when page-table mappings change.

    operating systemsperformance

  6. Memory Barriers and Safe Producer-Consumer Handoffs

    How CPUs and compilers reorder memory operations, and how release-acquire barriers make shared-data handoffs safe.

    operating systemsconcurrency

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

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

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

  10. Windows I/O Completion Ports

    How Windows queues kernel completion packets so a small worker pool can handle many asynchronous file and socket operations.

    microsoftoperating systems

  11. TLB Shootdowns and Cross-Core Page-Table Invalidation

    How CPUs cache virtual-to-physical mappings, why page-table changes require cross-core invalidation, and where the performance cost comes from.

    operating systemsperformancecomputer science

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

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

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

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

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

  17. TLB Shootdowns and Cross-Core Translation Invalidation

    How operating systems keep per-core address-translation caches correct when a process’s page tables change.

    performanceoperating systems

  18. RCU Read-Side Critical Sections and Grace Periods

    How RCU lets readers access shared data without locks while writers publish replacements and reclaim old versions safely.

    concurrencyoperating systems

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

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

  21. Linux Page Cache and Dirty-Page Writeback

    How Linux serves file reads from memory and turns modified cached pages into storage writes and durable data.

    operating systemsperformance

  22. Linux Futexes: User-Space Fast Paths and Kernel Wait Queues

    Futexes let synchronization stay in user space when uncontended and use kernel wait queues only when threads must sleep.

    concurrencyoperating systems

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

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

  25. Cgroups v2 Resource Control for Containers

    How cgroups v2 hierarchies account for and limit CPU time, memory, and process creation inside containers.

    containersoperating systemsperformance

  26. Linux epoll: Interest Lists, Ready Lists, and Triggers

    How epoll tracks watched descriptors, reports readiness, and lets one thread handle many connections with level- or edge-triggered events.

    operating systemsnetworkingconcurrency

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

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

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

  30. TLB Shootdowns and Deferred Invalidation

    How CPUs keep page-table changes safe, why TLB shootdowns interrupt other cores, and how batching reduces their performance cost.

    operating systemsconcurrencyperformance

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

  32. Windows Job Objects for Process Control

    Windows job objects group processes so services can account for descendants, enforce resource limits, receive events, and terminate a whole workload.

    microsoftoperating systems

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

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

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