Tagged articles
461 articles
Page 3 of 5
Liangxu Linux
Liangxu Linux
May 5, 2023 · Fundamentals

Why Does the Kernel Enter an Idle Loop and How Does It Wake Up?

When no runnable processes are available, the kernel switches to an idle loop that repeatedly executes the HLT instruction until an interrupt occurs, after which it resumes normal scheduling by switching from the idle process to a ready task.

Operating Systemhlt instructionidle loop
0 likes · 3 min read
Why Does the Kernel Enter an Idle Loop and How Does It Wake Up?
MaGe Linux Operations
MaGe Linux Operations
May 2, 2023 · Fundamentals

What’s New in Linux Kernel 6.3? Key Features and Hardware Support Explained

Linux kernel 6.3, released after two months of development, brings a host of new power‑management drivers for ARM and RISC‑V, filesystem enhancements, expanded Thunderbolt and HID support, and numerous hardware driver updates, offering developers fresh capabilities while requiring manual compilation for immediate use.

Hardware Supportkernellinux-6.3
0 likes · 5 min read
What’s New in Linux Kernel 6.3? Key Features and Hardware Support Explained
Open Source Linux
Open Source Linux
Apr 28, 2023 · Fundamentals

How Does Linux Process Incoming and Outgoing Network Packets?

Linux handles network traffic through a layered TCP/IP stack, where incoming packets travel from the NIC’s DMA‑filled ring buffer through interrupt handling, protocol layers, and finally to the application, while outgoing packets follow the reverse path, with each layer adding its own headers and processing.

LinuxNetwork StackTCP/IP
0 likes · 11 min read
How Does Linux Process Incoming and Outgoing Network Packets?
Laravel Tech Community
Laravel Tech Community
Apr 23, 2023 · Operations

Ubuntu 23.04 “Lunar Lobster” Release Highlights: Kernel, systemd, Toolchain, Security, and Desktop Updates

Ubuntu 23.04 “Lunar Lobster”, the latest short‑term support release, brings the Linux 6.2 kernel with Rust module support, systemd v252.5, upgraded toolchains (OpenJDK 17, .Net 7, Go 1.20, Rust 1.67, Python 3.11), security enhancements, Netplan improvements, and a refreshed desktop installer with GNOME 44 and updated applications.

LinuxUbuntukernel
0 likes · 5 min read
Ubuntu 23.04 “Lunar Lobster” Release Highlights: Kernel, systemd, Toolchain, Security, and Desktop Updates
AI Cyberspace
AI Cyberspace
Apr 11, 2023 · Fundamentals

Inside Linux Kernel: From Boot to Intel I350 NIC Driver Initialization

This article walks through the Linux kernel boot sequence, the initialization of the kernel networking stack, the registration and initialization steps of the Intel I350 (IGB) network driver, and demonstrates how to inspect the resulting network interface using ifconfig and ethtool commands.

LinuxNetwork DriverPCI
0 likes · 18 min read
Inside Linux Kernel: From Boot to Intel I350 NIC Driver Initialization
Liangxu Linux
Liangxu Linux
Apr 6, 2023 · Operations

How Linux Compacts Memory to Eliminate Fragmentation

This article explains the problem of memory fragmentation in Linux, describes the compaction algorithm that moves free pages together, and walks through the key kernel functions—alloc_pages_node, __alloc_pages_direct_compact, try_to_compact_pages, isolate_migratepages, migrate_pages, and unmap_and_move—detailing their roles in gathering movable pages and relocating them to create contiguous memory blocks.

LinuxMemory Fragmentationalloc_pages
0 likes · 10 min read
How Linux Compacts Memory to Eliminate Fragmentation
Bin's Tech Cabin
Bin's Tech Cabin
Apr 4, 2023 · Fundamentals

Why Does Linux Need a Slab Allocator? Unveiling the Secrets of Kernel Memory Pools

This article revisits Linux memory allocation, then dives deep into the slab allocator—explaining its relationship with the buddy system, its internal layout, the differences between slab, slub and slob, and how the kernel uses slab caches, per‑CPU caches, and NUMA nodes to efficiently allocate and free small memory objects.

LinuxSLUBSlab Allocator
0 likes · 66 min read
Why Does Linux Need a Slab Allocator? Unveiling the Secrets of Kernel Memory Pools
Liangxu Linux
Liangxu Linux
Mar 27, 2023 · Fundamentals

Can Linux Reach True Line‑Speed? Deep Dive into Kernel Packet Forwarding Bottlenecks

This article explains why Linux’s native networking stack falls short of line‑speed, analyzes the core latency sources such as DMA, memory copying, routing look‑ups and lock contention, and proposes a comprehensive set of kernel‑level redesigns—including VOQ queues, lock‑free data structures, and user‑space stacks—to achieve near‑wire‑speed forwarding.

DMALinuxVOQ
0 likes · 39 min read
Can Linux Reach True Line‑Speed? Deep Dive into Kernel Packet Forwarding Bottlenecks
AI Cyberspace
AI Cyberspace
Mar 27, 2023 · Fundamentals

Understanding Linux Memory Allocation: Buddy, Slab, and Slub Explained

Linux’s memory allocation mechanisms—Buddy for main memory and Slab/Slub for CPU cache—aim to maximize memory utilization, minimize fragmentation, and boost allocation efficiency, with detailed explanations of their structures, operation steps, and how to inspect them via /proc interfaces.

LinuxMemory ManagementSLUB
0 likes · 9 min read
Understanding Linux Memory Allocation: Buddy, Slab, and Slub Explained
AI Cyberspace
AI Cyberspace
Mar 24, 2023 · Fundamentals

Unlock Faster Linux Performance with Huge Pages: Why and How

This article explains Linux huge pages, their performance benefits, implementation details, configuration steps, and the impact on memory reporting, including guidance on using and disabling Transparent Huge Pages for optimal system tuning.

Huge PagesLinuxMemory Management
0 likes · 14 min read
Unlock Faster Linux Performance with Huge Pages: Why and How
Alibaba Cloud Native
Alibaba Cloud Native
Mar 10, 2023 · Cloud Native

Uncovering the Root Causes of ACK Cluster Network Latency: kubelet, softirq, and cgroup Insights

A detailed post‑mortem explains how excessive cgroup files, kubelet's sys‑CPU usage, soft‑interrupt scheduling delays, and a buggy page‑free routine caused intermittent hundreds‑of‑milliseconds network latency in an Alibaba Cloud ACK cluster, and how targeted CPU binding and kernel patches resolved the issue.

Cloud NativeKubernetesNetwork Latency
0 likes · 14 min read
Uncovering the Root Causes of ACK Cluster Network Latency: kubelet, softirq, and cgroup Insights
Programmer DD
Programmer DD
Feb 24, 2023 · Fundamentals

Linus Torvalds Slams Unannotated Pull Requests in Linux 6.3 Merge Window

Linus Torvalds opened the Linux 6.3 merge window and sharply criticized numerous pull requests lacking clear log messages, calling them garbage and urging developers to always explain their changes, warning that undocumented merges clutter the code history and hinder readability.

Code reviewDevelopmentkernel
0 likes · 3 min read
Linus Torvalds Slams Unannotated Pull Requests in Linux 6.3 Merge Window
Liangxu Linux
Liangxu Linux
Feb 9, 2023 · Fundamentals

How Linux’s Virtual File System Turns Everything Into a File

The article explains Linux’s Virtual File System (VFS) as an interface layer that treats all objects as files, illustrates the concept with Java‑style interface examples, then details the underlying C structures—file, file_operations, dentry, inode—and shows how the kernel links them to enable diverse file systems.

DentryLinuxc++
0 likes · 10 min read
How Linux’s Virtual File System Turns Everything Into a File
Baidu App Technology
Baidu App Technology
Feb 2, 2023 · Fundamentals

Inside iOS: How Mach Virtual Memory and Memory Pressure Work

This article explains the architecture of Mach virtual memory in iOS, details its page‑based management, describes the core data structures and kernel APIs, analyzes the Objective‑C alloc implementation, and walks through the memory‑pressure (Jetsam) mechanism that triggers low‑memory warnings.

MachMemory ManagementVirtual Memory
0 likes · 21 min read
Inside iOS: How Mach Virtual Memory and Memory Pressure Work
Alibaba Terminal Technology
Alibaba Terminal Technology
Jan 16, 2023 · Mobile Development

How to Extend iOS App Virtual Address Space and Boost Memory Limits

This article explores iOS memory optimization by enabling the 'com.apple.developer.kernel.extended-virtual-addressing' entitlement to expand virtual address space and the 'com.apple.developer.kernel.increased-memory-limit' entitlement to raise memory caps, detailing implementation steps, kernel analysis, test results, and practical implications for app stability.

Memory ManagementVirtual Address Spaceentitlements
0 likes · 11 min read
How to Extend iOS App Virtual Address Space and Boost Memory Limits
IT Services Circle
IT Services Circle
Jan 12, 2023 · Fundamentals

Understanding Linux Load Average: Calculation, Exposure, and Relation to CPU Usage

Linux load average, a key performance metric, is computed by periodically aggregating per‑CPU runnable and uninterruptible task counts into a global instantaneous load, then applying an exponential weighted moving average to produce 1‑, 5‑, and 15‑minute averages, which are exposed to user space via the /proc/loadavg pseudo‑file.

EWMALinuxLoad Average
0 likes · 18 min read
Understanding Linux Load Average: Calculation, Exposure, and Relation to CPU Usage
Efficient Ops
Efficient Ops
Jan 4, 2023 · Fundamentals

Understanding Linux: Kernel, Shell, Filesystem, and Process Management

This comprehensive guide explains Linux's core components—including the kernel, shell, memory and process management, virtual file system, device drivers, networking, and mounting—while detailing filesystem types, directory structures, link types, and practical commands for managing partitions and mounts.

FilesystemLinuxOperating System
0 likes · 37 min read
Understanding Linux: Kernel, Shell, Filesystem, and Process Management
Coolpad Technology Team
Coolpad Technology Team
Dec 27, 2022 · Fundamentals

Fragment Deduplication Support in erofs-utils mkfs

This article explains the implementation of fragment deduplication in the erofs-utils mkfs tool, describing the hash‑based fragment lookup, the conditions for fixing fragments during compression, the generation of additional extents, and the integration of these steps into the existing packing workflow.

Filesystemcompressionfragment deduplication
0 likes · 8 min read
Fragment Deduplication Support in erofs-utils mkfs
IT Architects Alliance
IT Architects Alliance
Dec 24, 2022 · Operations

Unlocking Linux Observability: A Hands‑On Guide to eBPF with Real‑World Examples

This article introduces eBPF, explains its origins and how it extends BPF for kernel‑level observability, compares it with SystemTap and DTrace, outlines common use cases, details its loading‑compile‑execute workflow, and provides step‑by‑step Python/BCC examples with installation instructions and advanced latency measurement code.

BCCLinuxNetworking
0 likes · 21 min read
Unlocking Linux Observability: A Hands‑On Guide to eBPF with Real‑World Examples
21CTO
21CTO
Oct 25, 2022 · Fundamentals

Should Linux Drop i486 Support? Linus Torvalds Explains the Rationale

The article discusses Linus Torvalds' push to remove i486 CPU support from the Linux kernel, outlining historical context, technical reasons like the need for the cmpxchg8b instruction, and the diminishing relevance of 32‑bit x86 hardware in modern development.

CPU architecturecmpxchg8bdeprecation
0 likes · 4 min read
Should Linux Drop i486 Support? Linus Torvalds Explains the Rationale
Laravel Tech Community
Laravel Tech Community
Oct 18, 2022 · Information Security

Linux Kernel Remote Code Execution Vulnerability (CVE-2022-42721)

A remote code execution vulnerability (CVE-2022-42721) affecting Linux kernel versions 5.1 through 5.19.14 allows local attackers to inject malicious WLAN frames that corrupt the mac80211 BSS handling list, enabling execution of arbitrary code, and can be mitigated by upgrading to kernel 5.19.15 or later.

Remote Code ExecutionVulnerabilitycve-2022-42721
0 likes · 2 min read
Linux Kernel Remote Code Execution Vulnerability (CVE-2022-42721)
Open Source Linux
Open Source Linux
Oct 8, 2022 · Fundamentals

Understanding Linux IRQ and SoftIRQ: From Hard Interrupts to Deferred Handling

This article explains the fundamentals of Linux interrupt handling, covering the distinction between hardware and software interrupts, the processing flow of hard IRQs, maskable versus non‑maskable interrupts, the need for deferred execution, and a deep dive into softirqs, tasklets, and workqueues with code examples and performance considerations.

Deferred ExecutionInterruptsLinux
0 likes · 15 min read
Understanding Linux IRQ and SoftIRQ: From Hard Interrupts to Deferred Handling
21CTO
21CTO
Oct 3, 2022 · Fundamentals

What’s New in Linux Kernel 6.0? Key Features and Improvements Explained

Linux kernel 6.0, released on October 2 by Linus Torvalds, brings major enhancements such as Rust support, ARM and RISC‑V improvements, CPU fault detection, better ACPI power management, SMB3 performance, Intel Arc GPU certification, and even Atari PC optimizations, marking it as one of the most commit‑heavy releases in recent history.

6.0ARMLinux
0 likes · 4 min read
What’s New in Linux Kernel 6.0? Key Features and Improvements Explained
Liangxu Linux
Liangxu Linux
Oct 3, 2022 · Fundamentals

Understanding Linux IRQ and SoftIRQ: From Hardware Interrupts to Deferred Handling

This article explains the fundamentals of Linux interrupt handling, covering hardware and software interrupt types, the IRQ processing flow, maskable versus non‑maskable interrupts, the need for deferred execution, and detailed mechanisms of softirqs, tasklets, and workqueues with practical code examples.

Deferred ExecutionInterruptsLinux
0 likes · 14 min read
Understanding Linux IRQ and SoftIRQ: From Hardware Interrupts to Deferred Handling
21CTO
21CTO
Oct 1, 2022 · Fundamentals

macOS vs Linux: Core Differences, Origins, and Practical Choices

This article compares macOS and Linux by exploring their histories, kernel architectures, openness, hardware requirements, software ecosystems, user experience, customizability, gaming support, package management, and update policies, helping readers decide which operating system best fits their needs.

LinuxOperating SystemSoftware ecosystem
0 likes · 14 min read
macOS vs Linux: Core Differences, Origins, and Practical Choices
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Sep 23, 2022 · Fundamentals

Understanding Linux Futex: Mechanism, APIs, and Priority Inheritance

Linux futexes provide a fast userspace lock backed by a kernel wait queue, using atomic operations when uncontended and system calls such as FUTEX_WAIT, FUTEX_WAKE, and priority‑inheritance variants to manage contention, requeueing, and priority inversion via rt‑mutex structures.

FutexLinuxSynchronization
0 likes · 19 min read
Understanding Linux Futex: Mechanism, APIs, and Priority Inheritance
Refining Core Development Skills
Refining Core Development Skills
Sep 21, 2022 · Fundamentals

Deep Understanding of Linux Networking – Key Q&A Highlights

This article summarizes a series of technical Q&A from an OSChina event covering Linux networking fundamentals such as port limits, network namespaces, TCP connection handling, C10K problem, packet loss troubleshooting, TCP memory usage, high CPU causes, useful monitoring tools, kernel parameters, and practical socket examples.

LinuxNetworkingSockets
0 likes · 12 min read
Deep Understanding of Linux Networking – Key Q&A Highlights
21CTO
21CTO
Sep 17, 2022 · Fundamentals

Can Rust Really Power Linux Kernel Drivers? Exploring the Challenges

The upcoming Linux 6.0 kernel hints at future Rust driver support, but significant hurdles remain such as compiler compatibility, LLVM vs GCC toolchains, and limited architecture support, making widespread Rust integration unlikely until later releases.

LLVMLinuxRust
0 likes · 4 min read
Can Rust Really Power Linux Kernel Drivers? Exploring the Challenges
Liangxu Linux
Liangxu Linux
Sep 8, 2022 · Fundamentals

Mastering Linux Device Tree: Syntax, Nodes, and OF Functions Explained

This guide introduces Linux Device Tree concepts, explains why it was added to the kernel, details its syntax and standard properties, describes common nodes, and provides practical examples of OF functions for accessing nodes and properties in kernel code.

Device TreeHardware DescriptionLinux
0 likes · 11 min read
Mastering Linux Device Tree: Syntax, Nodes, and OF Functions Explained
Laravel Tech Community
Laravel Tech Community
Sep 5, 2022 · Backend Development

Linus Torvalds Announces Linux 6.0-rc4 Release

Linus Torvalds announced the fourth release candidate of Linux 6.0, describing it as a regular mid‑cycle test version with various bug and regression fixes, and confirming that the stable 6.0 release is on track for October.

Linuxkernelrc4
0 likes · 2 min read
Linus Torvalds Announces Linux 6.0-rc4 Release
Liangxu Linux
Liangxu Linux
Aug 31, 2022 · Fundamentals

Understanding Linux I/O Schedulers: NOOP, CFQ, Deadline, and Anticipatory

This article explains the four Linux kernel I/O schedulers—NOOP, Anticipatory, Deadline, and CFQ—covering their design goals, how they manage request queues through merging and sorting, and when each scheduler is best suited for different storage hardware and workloads.

I/O schedulerLinuxanticipatory
0 likes · 12 min read
Understanding Linux I/O Schedulers: NOOP, CFQ, Deadline, and Anticipatory
Liangxu Linux
Liangxu Linux
Aug 28, 2022 · Fundamentals

What Makes a Linux Process Tick? Deep Dive into Creation, Execution, and Termination

This article explains the fundamental concepts of Linux processes, their relationship to programs, threads, kernels, and memory, details the internal task_struct implementation, and walks through the full lifecycle from creation with fork, loading via execve, execution, and termination including exit_group and zombie handling.

LinuxOperating SystemSystem Calls
0 likes · 49 min read
What Makes a Linux Process Tick? Deep Dive into Creation, Execution, and Termination
21CTO
21CTO
Aug 15, 2022 · Fundamentals

Why Linux Skipped 5.20 for 6.0 – Major Updates and Hidden Details

The article explains Linus Torvalds' decision to label the next Linux kernel release as 6.0 instead of 5.20, outlines the major code additions—including support for AMD GPUs, Intel Habana Gaudi2, RISC‑V, and new power‑management features—while noting missing Rust patches and performance improvements.

AMDIntelLinux
0 likes · 7 min read
Why Linux Skipped 5.20 for 6.0 – Major Updates and Hidden Details
Laravel Tech Community
Laravel Tech Community
Aug 2, 2022 · Fundamentals

Linus Torvalds Releases Linux 5.19, First ARM64 Release on Apple M2 via Asahi Linux

Linus Torvalds announced the stable Linux 5.19 kernel, built on an Apple M2‑based ARM64 MacBook with Asahi Linux support, highlighting new features such as LoongArch support, FAT32 timestamps, AMD BRS sampling, RISC‑V 32‑bit compatibility, Zstd firmware compression, and a substantial increase in graphics driver code.

ARM64Asahi Linuxapple-m2
0 likes · 3 min read
Linus Torvalds Releases Linux 5.19, First ARM64 Release on Apple M2 via Asahi Linux
政采云技术
政采云技术
Jul 19, 2022 · Fundamentals

Linux Boot Process: From BIOS Initialization to Kernel Startup

This article explains the Linux boot sequence on x86 hardware, covering BIOS ROM loading, real‑mode memory layout, the MBR, the setup() assembly routine, transition to protected mode, and the startup_32() function that prepares paging before the kernel begins execution.

AssemblyBIOSBoot Process
0 likes · 12 min read
Linux Boot Process: From BIOS Initialization to Kernel Startup
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Jul 8, 2022 · Fundamentals

Understanding the Linux CPUIdle Framework and Governor Mechanisms

The article explains how Linux’s cpuidle framework manages idle CPUs by selecting multi‑level C‑states through core, driver, and governor modules—detailing ladder and menu governor algorithms, latency‑based state selection, and a real‑world case where mis‑configured latency requests prevent deepest idle entry.

Linuxcpu-idlecpuidle
0 likes · 13 min read
Understanding the Linux CPUIdle Framework and Governor Mechanisms
Liangxu Linux
Liangxu Linux
Jun 22, 2022 · Fundamentals

Understanding Linux Memory Management: From Process Allocation to OOM and Cache

This article provides a comprehensive walkthrough of Linux kernel memory management, covering process address space layout, memory allocation mechanisms, OOM selection criteria, where allocated memory resides, and both manual and automatic memory reclamation techniques, complete with code examples and diagrams.

CacheLinuxMemory Management
0 likes · 20 min read
Understanding Linux Memory Management: From Process Allocation to OOM and Cache
Liangxu Linux
Liangxu Linux
Jun 20, 2022 · Backend Development

Deep Dive into Linux USB Core: Device Model, URBs, and Host Controller Drivers

This article provides a comprehensive analysis of the Linux USB core architecture, detailing the device and interface layers, the struct usb_device model, USB Request Block handling, hub driver operations, EHCI host controller scheduling, and a complete example of a USB mouse client driver, complete with code snippets.

EHCILinuxURB
0 likes · 28 min read
Deep Dive into Linux USB Core: Device Model, URBs, and Host Controller Drivers
Liangxu Linux
Liangxu Linux
Jun 10, 2022 · Operations

How Linux epoll Boosts I/O Performance: Inside the Kernel’s Eventpoll Mechanism

This article explains why traditional select and poll struggle with many file descriptors, how epoll redesigns the workflow by registering descriptors once via epoll_ctl, the kernel data structures (eventpoll, epitem) that manage events, and walks through the core functions epoll_create, epoll_ctl, epoll_wait, and their callbacks.

I/O Multiplexingc++epoll
0 likes · 22 min read
How Linux epoll Boosts I/O Performance: Inside the Kernel’s Eventpoll Mechanism
21CTO
21CTO
Jun 8, 2022 · Fundamentals

What’s New in Linux Kernel 5.19? A Deep Dive into Multi‑Platform Milestones

Linux kernel 5.19, announced by Linus Torvalds on June 6, marks a multi‑platform milestone with extensive driver updates, AMD GPU support, new LoongArch64, Apple NVMe, Intel GPU groundwork, and HPE GXP architecture, while preserving stability and signed pull‑request integrity.

5.19AMD GPUArchitecture support
0 likes · 3 min read
What’s New in Linux Kernel 5.19? A Deep Dive into Multi‑Platform Milestones
Coolpad Technology Team
Coolpad Technology Team
May 31, 2022 · Fundamentals

Understanding NFS File Handles, Export Operations, and Their Use in OverlayFS and Syscalls

This article explains how NFS represents files with file handles, details the generation and decoding mechanisms via export_operations, examines the exportfs API implementation, and explores practical applications such as overlayfs integration and the name_to_handle_at/open_by_handle_at syscalls, providing code examples and kernel‑level insights.

NFSexportfsfile handle
0 likes · 23 min read
Understanding NFS File Handles, Export Operations, and Their Use in OverlayFS and Syscalls
ITPUB
ITPUB
May 10, 2022 · Fundamentals

Master Linux Memory Management: Virtual & Physical Memory Explained

This article provides a comprehensive guide to Linux memory management on x86‑32 systems, covering virtual address spaces, physical address translation, memory zones, user and kernel space layouts, the buddy and slab allocators, malloc/kmalloc/vmalloc mechanisms, and useful commands for inspecting memory usage.

LinuxPhysical MemorySlab Allocator
0 likes · 25 min read
Master Linux Memory Management: Virtual & Physical Memory Explained
Open Source Linux
Open Source Linux
May 5, 2022 · Operations

20 Proven Linux Server Performance Tweaks Every Sysadmin Should Know

This guide presents a comprehensive set of Linux server optimization techniques—from kernel I/O scheduling and daemon reduction to filesystem choices, TCP tuning, and essential performance commands—helping system administrators boost efficiency, security, and reliability across diverse workloads.

Linuxkernelserver optimization
0 likes · 14 min read
20 Proven Linux Server Performance Tweaks Every Sysadmin Should Know
IT Services Circle
IT Services Circle
Apr 16, 2022 · Fundamentals

Can Programs Run Without an Operating System? Exploring Bare‑Metal Programming

The article argues that programs can indeed run without an operating system by treating the OS itself as a program, discusses the challenges of bootstrapping, memory management, multitasking, device drivers, and concludes that bare‑metal programming lets developers fully control hardware, effectively creating their own minimal OS.

Bare MetalBootstrappingDevice Drivers
0 likes · 5 min read
Can Programs Run Without an Operating System? Exploring Bare‑Metal Programming
Tencent Cloud Developer
Tencent Cloud Developer
Mar 29, 2022 · Fundamentals

Deep Dive into the Linux epoll Mechanism and Its Kernel Implementation

The article dissects Linux’s epoll I/O multiplexing, tracing the flow from socket creation with accept through epoll_create, epoll_ctl registration, and epoll_wait sleeping, detailing the kernel’s eventpoll object, red‑black tree, per‑socket wait‑queue callbacks that enable O(log N) registration and O(1) event delivery for tens of thousands of connections.

Event-drivenIO MultiplexingLinux
0 likes · 24 min read
Deep Dive into the Linux epoll Mechanism and Its Kernel Implementation
Architecture Digest
Architecture Digest
Mar 20, 2022 · Information Security

Comprehensive Linux Hardening Guide: Kernel, Sysctl, Boot Parameters, and Security Best Practices

This guide provides a detailed, step‑by‑step hardening strategy for Linux systems, covering distro selection, kernel choices, extensive sysctl tweaks, boot‑loader parameters, MAC policies, sandboxing, memory allocator hardening, compile‑time mitigations, root account protection, firewall rules, swap configuration, PAM policies, microcode updates, IPv6 privacy, partition mounting options, entropy sources, and physical security measures.

HardeningLinuxboot
0 likes · 51 min read
Comprehensive Linux Hardening Guide: Kernel, Sysctl, Boot Parameters, and Security Best Practices
Architect's Journey
Architect's Journey
Mar 16, 2022 · Backend Development

Cracking NIO Interview: An Alibaba P7 Senior Explains IO Multiplexing

In this interview‑style tutorial, an Alibaba P7 engineer walks through the limitations of BIO, the non‑blocking NIO API, kernel‑level select/poll mechanisms, and the design of epoll, illustrating how each solves the C10K problem and how they are used in Java.

BackendIO MultiplexingJava NIO
0 likes · 16 min read
Cracking NIO Interview: An Alibaba P7 Senior Explains IO Multiplexing
IT Services Circle
IT Services Circle
Mar 14, 2022 · Fundamentals

Understanding Localhost (127.0.0.1) Network I/O in the Linux Kernel

This article explains in detail how Linux handles local network I/O for 127.0.0.1, comparing it with cross‑machine communication, describing the routing, device subsystem, driver code, and soft‑interrupt processing, and concluding with performance considerations and a discussion on eBPF acceleration.

LinuxNetwork I/ONetworking
0 likes · 16 min read
Understanding Localhost (127.0.0.1) Network I/O in the Linux Kernel
IT Services Circle
IT Services Circle
Mar 12, 2022 · Fundamentals

Understanding the Misleading ENOMEM Error in Linux Process Creation

This article analyzes why Linux reports "fork: cannot allocate memory" when the real issue is an excessive number of threads or PID allocation failures, explains the kernel's do_fork and alloc_pid implementations, and offers guidance for diagnosing and fixing such misleading ENOMEM errors.

ENOMEMLinuxPID
0 likes · 11 min read
Understanding the Misleading ENOMEM Error in Linux Process Creation
Efficient Ops
Efficient Ops
Mar 9, 2022 · Fundamentals

Understanding Linux: Kernel, Memory, Processes, and File Systems Explained

This comprehensive guide explores the core components of a Linux system—including the kernel, memory management, process scheduling, file system architecture, device drivers, networking, and shell—while also covering disk partitions, mounting, and practical command examples for system administration.

Memory ManagementOperating Systemfile system
0 likes · 36 min read
Understanding Linux: Kernel, Memory, Processes, and File Systems Explained
ITPUB
ITPUB
Mar 9, 2022 · Fundamentals

Why Does Linux Report “Out of Memory” When PID Allocation Fails?

The article explains why Linux’s fork() can return a misleading “fork: cannot allocate memory” error, tracing the issue to PID allocation failures in the kernel’s do_fork and alloc_pid functions, and shows how excessive threads, not actual memory shortage, trigger the problem.

ENOMEMLinuxPID
0 likes · 12 min read
Why Does Linux Report “Out of Memory” When PID Allocation Fails?
MaGe Linux Operations
MaGe Linux Operations
Mar 6, 2022 · Information Security

How Linux’s Random Number Generator Got a 8450% Speed Boost in 5.18

Under Jason Donenfeld’s leadership, Linux kernel’s random number generator was overhauled in versions 5.17 and 5.18, replacing SHA1 with BLAKE2s and shifting from per‑NUMA to per‑CPU structures, delivering up to a 131% speed increase and an astonishing 8450% boost in getrandom() performance on multi‑core systems.

BLAKE2sLinuxkernel
0 likes · 3 min read
How Linux’s Random Number Generator Got a 8450% Speed Boost in 5.18
IT Services Circle
IT Services Circle
Mar 6, 2022 · Fundamentals

Understanding Localhost (127.0.0.1) Network I/O in the Linux Kernel

This article explains how Linux handles local network I/O for 127.0.0.1, detailing the differences from cross‑machine communication, the routing decisions, the loopback device driver, soft‑interrupt processing, and the complete kernel execution flow for both sending and receiving packets.

LinuxNetwork IONetworking
0 likes · 15 min read
Understanding Localhost (127.0.0.1) Network I/O in the Linux Kernel
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Mar 4, 2022 · Operations

Understanding Linux mlock and munlock: Memory Locking and Reclamation Mechanisms on arm64

On arm64 Linux kernels (e.g., 5.10.27), the mlock system call marks VMAs with VM_LOCKED, forces page faults, sets the PG_mlocked flag and moves pages into the unevictable LRU so they cannot be reclaimed, while munlock clears these flags and returns pages to regular LRU lists, guaranteeing resident memory for latency‑sensitive applications.

LRULinuxMemory Management
0 likes · 7 min read
Understanding Linux mlock and munlock: Memory Locking and Reclamation Mechanisms on arm64
Architects' Tech Alliance
Architects' Tech Alliance
Feb 28, 2022 · Fundamentals

Comprehensive Guide to Linux Memory Management and Allocation Algorithms

This article provides an in‑depth overview of Linux memory architecture, including address spaces, segmentation and paging, memory allocation strategies such as the buddy and slab allocators, kernel and user‑space memory pools, DMA considerations, common pitfalls, and practical tools for monitoring and optimizing memory usage.

DMALinuxMemory Management
0 likes · 19 min read
Comprehensive Guide to Linux Memory Management and Allocation Algorithms
MaGe Linux Operations
MaGe Linux Operations
Feb 12, 2022 · Fundamentals

What Were the Biggest Linux Milestones of 2021?

The 2021 Linux roundup covers Richard Stallman's surprising return, Arch Linux's new installer script, Microsoft Edge arriving on Linux, the rise of CentOS alternatives, the Steam Deck's Linux‑based OS, Epic's Easy‑Anti‑Cheat Linux support, GNOME 40's redesign, kernel 5.15 native NTFS support, Linux turning 30, Linus Tech Tips' 30‑day Linux challenge, Asahi Linux's progress on Apple M1, and the impact of Windows 11 on Linux adoption.

Operating Systemsdistributionkernel
0 likes · 9 min read
What Were the Biggest Linux Milestones of 2021?
Liangxu Linux
Liangxu Linux
Feb 9, 2022 · Fundamentals

What Do Upstream and Downstream Really Mean in Linux?

The article explains the vague but important upstream/downstream terminology in Linux, illustrating its meaning with ISP traffic, kernel development, distribution packaging, application maintenance, and package‑manager automation, and shows why understanding data flow direction matters for developers and maintainers.

downstreamkernelpackage-management
0 likes · 8 min read
What Do Upstream and Downstream Really Mean in Linux?
ITPUB
ITPUB
Jan 27, 2022 · Fundamentals

Why Does Linux Need Complex Memory Management? Inside Virtual Memory, malloc, and OOM

This article explains the reasons behind Linux's sophisticated memory management, covering virtual memory mechanisms, page tables, MMU/TLB interactions, page fault handling, the layout of a process's address space, glibc's malloc internals, memory reclamation techniques, and the OOM killer's decision process.

LinuxOOMVirtual Memory
0 likes · 33 min read
Why Does Linux Need Complex Memory Management? Inside Virtual Memory, malloc, and OOM
ITPUB
ITPUB
Jan 14, 2022 · Fundamentals

Master Linux Routing: From Packets to Containers and Overlay Networks

This article explains why Linux routing is essential for container networking, details how routing works during packet transmission and reception, explores routing tables and lookup mechanisms in the kernel, and provides practical commands for enabling forwarding, inspecting, modifying, and testing routing rules.

ContainersLinuxOverlay
0 likes · 16 min read
Master Linux Routing: From Packets to Containers and Overlay Networks
ITPUB
ITPUB
Dec 29, 2021 · Fundamentals

2021 Linux Milestones: From Stallman's Return to Edge and Steam Deck

A concise roundup of the most impactful Linux events of 2021, covering Richard Stallman's comeback, Arch Linux's new installer script, Microsoft Edge's stable Linux release, CentOS alternatives, Steam Deck's Linux base, anti‑cheat support, GNOME 40, native NTFS driver, Linux's 30th anniversary, Linus Tech Tips' desktop experiment, Apple M1 Linux progress, and the implications of Windows 11.

LinuxNewsOperating Systems
0 likes · 9 min read
2021 Linux Milestones: From Stallman's Return to Edge and Steam Deck
21CTO
21CTO
Dec 27, 2021 · Operations

Rediscovered 1994 Linus Torvalds Talk & Linux 5.16 Powers AMD Laptops Up to 14%

The article reveals the recovered 1994 Linus Torvalds presentation, highlights Linux 5.16's performance gains for AMD mobile CPUs, discusses upcoming Linux security initiatives such as SBOM and Rust adoption, and warns of compatibility challenges as Chrome approaches version 100.

AMDChromeLinux
0 likes · 8 min read
Rediscovered 1994 Linus Torvalds Talk & Linux 5.16 Powers AMD Laptops Up to 14%
Open Source Linux
Open Source Linux
Dec 27, 2021 · Fundamentals

2021’s Top 12 Linux Milestones That Shaped the Open‑Source World

As 2021 draws to a close, this roundup highlights twelve pivotal Linux developments—from Richard Stallman's controversial return and Arch Linux’s new installer to Microsoft Edge on Linux, the rise of CentOS alternatives, Steam Deck’s Arch‑based OS, native NTFS support, and the celebration of Linux’s 30th anniversary—each reshaping the ecosystem for users and developers alike.

DesktopLinuxdistributions
0 likes · 9 min read
2021’s Top 12 Linux Milestones That Shaped the Open‑Source World
ITPUB
ITPUB
Dec 21, 2021 · Fundamentals

Understanding Linux: Kernel, Shell, Filesystem, and Core Components Explained

This article provides a comprehensive overview of Linux's core components—including the kernel, shell, virtual file system, memory and process management, device drivers, networking, and disk partitioning—explaining their roles, structures, and how they interact within the operating system.

FilesystemLinuxMount
0 likes · 35 min read
Understanding Linux: Kernel, Shell, Filesystem, and Core Components Explained
Efficient Ops
Efficient Ops
Dec 15, 2021 · Fundamentals

Understanding Linux: Kernel, Shell, Filesystem, and Process Management

This article provides a comprehensive overview of Linux system architecture, covering the kernel, memory and process management, virtual and physical filesystems, device drivers, networking, shell types, file types, directory structures, partitioning, mounting, and link mechanisms, all illustrated with diagrams and command examples.

FilesystemLinksLinux
0 likes · 35 min read
Understanding Linux: Kernel, Shell, Filesystem, and Process Management
Alibaba Cloud Developer
Alibaba Cloud Developer
Dec 15, 2021 · Operations

Why Does Linux Load Spike? Deep Dive into Load Average Calculation & Troubleshooting

During high‑traffic events like Double‑11, Linux systems often see load averages surge, affecting response times and command execution; this article explains what load averages represent, how the kernel computes them using exponential weighted moving averages, and outlines common causes and systematic methods for root‑cause analysis.

Load Averagekernelperformance
0 likes · 12 min read
Why Does Linux Load Spike? Deep Dive into Load Average Calculation & Troubleshooting
Open Source Linux
Open Source Linux
Nov 28, 2021 · Operations

Boost Linux Server Performance: 20 Proven Optimization Techniques

This guide presents twenty practical Linux server optimization methods—from kernel elevator tuning and daemon reduction to TCP tweaks, secure backups, and effective monitoring commands—helping administrators enhance reliability, speed, and security while reducing resource consumption.

Linuxkernelperformance tuning
0 likes · 14 min read
Boost Linux Server Performance: 20 Proven Optimization Techniques
ITPUB
ITPUB
Nov 23, 2021 · Fundamentals

How IBM’s CPU Namespace Prototype Redefines Linux Resource Isolation

IBM’s early‑stage CPU Namespace prototype introduces a new Linux kernel namespace that virtualizes logical CPU IDs, enabling containers to see isolated CPU resources, improving consistency, security, and fairness, with test results showing up to 95% memory usage reduction and 64% latency drop without affecting throughput.

CPU NamespaceContainersIBM
0 likes · 6 min read
How IBM’s CPU Namespace Prototype Redefines Linux Resource Isolation
政采云技术
政采云技术
Nov 23, 2021 · Fundamentals

File System Concepts and Linux Virtual File System (VFS) Overview

This article explains the purpose and functions of file systems, describes logical and physical file structures, introduces Linux's virtual file system architecture and its core data structures such as superblocks, inodes, dentries and file objects, and details the path‑lookup process used by the kernel when opening files.

LinuxOperating Systemfile system
0 likes · 33 min read
File System Concepts and Linux Virtual File System (VFS) Overview
Liangxu Linux
Liangxu Linux
Nov 18, 2021 · Fundamentals

Why Does Linux Use Preemptible Kernels? A Deep Dive into Kernel Preemption Mechanics

This article explains the technical details of Linux kernel preemption, covering the difference between preemptible and non‑preemptible kernels, the role of the reschedule flag and preempt count, scheduling checkpoints and preempt points, low‑latency handling in non‑preemptible kernels, and the voluntary preemption model.

ARM64CFSLinux
0 likes · 20 min read
Why Does Linux Use Preemptible Kernels? A Deep Dive into Kernel Preemption Mechanics
21CTO
21CTO
Nov 2, 2021 · Fundamentals

What’s New in Linux Kernel 5.15? NTFS3, GPU Boosts, and Google’s Massive Bounty

Linux 5.15, the latest LTS kernel announced by Linus Torvalds, introduces Paragon’s NTFS3 driver, expanded AMD, Intel, and Apple hardware support, resolves the controversial -Werror policy, and is accompanied by Google’s unprecedented bounty program rewarding security researchers for critical kernel vulnerabilities.

5.15Google BountyHardware Support
0 likes · 7 min read
What’s New in Linux Kernel 5.15? NTFS3, GPU Boosts, and Google’s Massive Bounty
Refining Core Development Skills
Refining Core Development Skills
Oct 25, 2021 · Fundamentals

Understanding Linux Network Namespaces: Implementation, Usage, and Internals

This article explains how Linux network namespaces provide isolated network stacks by using virtual Ethernet devices, kernel data structures, and per‑namespace routing and iptables, offering step‑by‑step commands, code excerpts, and deep insight into the kernel mechanisms that enable container networking isolation.

IsolationLinuxNetwork Namespace
0 likes · 18 min read
Understanding Linux Network Namespaces: Implementation, Usage, and Internals
Liangxu Linux
Liangxu Linux
Oct 17, 2021 · Fundamentals

Unraveling Linux Boot: From BIOS Power‑On to Kernel Init

This article explains the complete Linux startup sequence, covering BIOS power‑on self‑test, interrupt vector initialization, MBR and partition table layout, multi‑stage bootloaders such as GRUB, kernel decompression, transition to protected mode, and the init system with runlevels.

BIOSBoot ProcessGRUB
0 likes · 25 min read
Unraveling Linux Boot: From BIOS Power‑On to Kernel Init