Tag

Linux

1 views collected around this technical thread.

Deepin Linux
Deepin Linux
Jun 13, 2025 · Operations

How Linux Kernel Balances CPU Load Across Multicore Systems

This article explains the Linux kernel's CPU load‑balancing mechanism, covering concepts such as CPU load, balancing strategies, scheduling domains, groups, the PELT algorithm, CFS scheduling, trigger points, and practical code examples for both regular and real‑time tasks.

CFSCPU load balancingLinux
0 likes · 40 min read
How Linux Kernel Balances CPU Load Across Multicore Systems
Deepin Linux
Deepin Linux
Jun 12, 2025 · Fundamentals

Unlocking Linux Kernel I/O: How the OS Handles High‑Performance Data Transfer

Linux kernel I/O mechanisms, from basic file operations and descriptors to advanced models like blocking, non‑blocking, multiplexed, signal‑driven, and asynchronous I/O, are explained in depth, covering their structures, system calls, caching strategies, and performance optimizations such as io_uring.

I/OKernelLinux
0 likes · 30 min read
Unlocking Linux Kernel I/O: How the OS Handles High‑Performance Data Transfer
Deepin Linux
Deepin Linux
Jun 11, 2025 · Fundamentals

How ARM+Linux Interrupts Power Efficient Computing: Deep Dive into Mechanisms

This article explains the role of the interrupt system in ARM‑based Linux platforms, covering hardware modes, vector tables, exception handling, GIC architecture, and kernel integration, and provides detailed code examples and optimization techniques for developers working on embedded and high‑performance systems.

ARMEmbedded SystemsGIC
0 likes · 47 min read
How ARM+Linux Interrupts Power Efficient Computing: Deep Dive into Mechanisms
IT Xianyu
IT Xianyu
Jun 11, 2025 · Databases

Master MySQL Replication: Fix Common Errors and Resolve ‘command not found’ Issues

Learn step‑by‑step how to troubleshoot MySQL master‑slave replication problems, from verifying component roles and executing the correct SHOW SLAVE STATUS command inside the MySQL client, to fixing missing command errors, checking IO/SQL threads, and restarting replication in Docker‑based environments.

DockerLinuxMySQL
0 likes · 6 min read
Master MySQL Replication: Fix Common Errors and Resolve ‘command not found’ Issues
Architect
Architect
Jun 10, 2025 · Operations

How Many TCP Connections Can a Server Really Handle? Limits and Tuning

This article explains the practical limits on how many TCP connections a Linux server or client can support, covering file‑descriptor parameters, memory consumption per socket, kernel tuning examples, and scaling calculations for large‑scale long‑connection services.

LinuxTCPconnection limits
0 likes · 15 min read
How Many TCP Connections Can a Server Really Handle? Limits and Tuning
Deepin Linux
Deepin Linux
Jun 10, 2025 · Fundamentals

How Linux Memory Reclamation Works: Zones, Swap, and Compression Explained

This article explains Linux's memory reclamation mechanisms, covering the role of memory as the system's bloodstream, the three reclamation paths (fast, direct, kswapd), zone watermarks, page cache structures, reverse mapping, and how swap and compression are used to keep the system stable under memory pressure.

KernelLinuxMemory Management
0 likes · 52 min read
How Linux Memory Reclamation Works: Zones, Swap, and Compression Explained
Deepin Linux
Deepin Linux
Jun 9, 2025 · Operations

Mastering Linux Kernel Oops: Debugging Secrets Every Developer Should Know

This comprehensive guide explains what Linux kernel Oops errors are, why they occur, and provides step‑by‑step debugging techniques—including environment setup, kernel configuration, printk usage, BUG macros, GDB, objdump, and memory‑checking tools—to help developers quickly locate and fix Oops issues in custom kernel modules.

GDBKernelKernel Development
0 likes · 48 min read
Mastering Linux Kernel Oops: Debugging Secrets Every Developer Should Know
Architect's Guide
Architect's Guide
Jun 9, 2025 · Fundamentals

Why 65,535 Isn’t the True Limit for TCP Connections on Linux Servers

The article explains that the 65,535 limit refers only to available port numbers, while actual TCP concurrency on Linux depends on the 4‑tuple identification, memory, file‑descriptor limits, and port reuse, allowing servers to handle far more connections than the port count suggests.

LinuxTCPconcurrency
0 likes · 12 min read
Why 65,535 Isn’t the True Limit for TCP Connections on Linux Servers
Deepin Linux
Deepin Linux
Jun 6, 2025 · Fundamentals

Unlocking Linux Memory Management: From malloc to Buddy Allocation

This comprehensive guide explores Linux's memory management ecosystem, detailing user‑space allocators like malloc, kernel‑space mechanisms such as kmalloc, vmalloc, and mmap, and core kernel algorithms including the Buddy system, CMA, slab allocator, and memory pools, while providing code examples and practical usage tips.

Buddy AlgorithmLinuxMMAP
0 likes · 60 min read
Unlocking Linux Memory Management: From malloc to Buddy Allocation
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Jun 6, 2025 · Cloud Native

Master Docker’s Core: Namespaces and Cgroups Explained

This article explains Docker’s fundamental technologies—how Linux namespaces provide process, network, and filesystem isolation while cgroups enforce resource limits such as CPU, memory, I/O, and process counts—offering a concise guide for building secure, efficient containerized applications.

ContainerizationDockerLinux
0 likes · 5 min read
Master Docker’s Core: Namespaces and Cgroups Explained
Aikesheng Open Source Community
Aikesheng Open Source Community
Jun 4, 2025 · Databases

Using Cgroups for MySQL Resource Isolation: CPU, Memory, IO, and Network Limits

This article presents a comprehensive guide on applying Linux Cgroups to isolate MySQL resources, covering CPU, memory, I/O, and network bandwidth controls, detailed configuration steps, performance testing with sysbench, and practical observations to ensure stable and predictable database behavior.

LinuxMySQLPerformance Tuning
0 likes · 47 min read
Using Cgroups for MySQL Resource Isolation: CPU, Memory, IO, and Network Limits
Architecture Digest
Architecture Digest
Jun 3, 2025 · Cloud Native

Podman Tutorial: Installation, Usage, Commands, and Configuration

This comprehensive guide explains what Podman is, compares it with Docker, shows how to install and configure it on Linux, and provides detailed examples of common commands, container management, image handling, rootless operation, volume usage, and user namespace configuration.

CLIConfigurationDocker Compatibility
0 likes · 16 min read
Podman Tutorial: Installation, Usage, Commands, and Configuration
Cognitive Technology Team
Cognitive Technology Team
May 31, 2025 · Fundamentals

Analyzing Linux Process Memory Usage with ps, pmap, and Alternative Tools

This tutorial explains how Linux processes use memory, distinguishes between shared and private memory, demonstrates how to interpret ps output, and shows how to obtain detailed memory maps using pmap and other utilities such as /proc, smaps, smem, exmap, and valgrind.

LinuxMemory usagepmap
0 likes · 12 min read
Analyzing Linux Process Memory Usage with ps, pmap, and Alternative Tools
Deepin Linux
Deepin Linux
May 31, 2025 · Fundamentals

Understanding the Linux CFS Scheduler: Architecture, Implementation, and Common Questions

This article explains the Linux Completely Fair Scheduler (CFS), covering its design goals, core concepts such as virtual runtime, weight, red‑black tree management, load‑balancing mechanisms, scheduling policies, and answers common questions about its operation and kernel code.

CFSKernelLinux
0 likes · 23 min read
Understanding the Linux CFS Scheduler: Architecture, Implementation, and Common Questions
IT Xianyu
IT Xianyu
May 30, 2025 · Cloud Native

Understanding Linux Storage, LVM, and Docker Volumes for Persistent MySQL Data

This guide explains the fundamentals of Linux host file systems, LVM logical volumes, and Docker storage drivers, showing step‑by‑step how to format, mount, and persist MySQL data using Docker volumes and bind mounts on AlmaLinux servers.

DockerLVMLinux
0 likes · 9 min read
Understanding Linux Storage, LVM, and Docker Volumes for Persistent MySQL Data
IT Xianyu
IT Xianyu
May 27, 2025 · Databases

Automated MySQL Backup Script with Docker and Crontab

This guide explains how to set up an automated MySQL backup solution on AlmaLinux using Docker containers, a Bash script, and crontab, covering environment preparation, script creation, command checks, logging, error handling, and optional enhancements such as email notifications and security best practices.

BackupDockerLinux
0 likes · 7 min read
Automated MySQL Backup Script with Docker and Crontab
Code Mala Tang
Code Mala Tang
May 26, 2025 · Operations

5 Lesser‑Known Linux Commands That Will Supercharge Your Workflow

Discover five handy Linux command‑line tools—tldr, timeout, ncdu, fd, and trash—that simplify manual pages, limit command execution time, visualize disk usage, speed up file searches, and provide safer deletion, helping you work faster and more confidently.

Linuxcommand-linefd
0 likes · 8 min read
5 Lesser‑Known Linux Commands That Will Supercharge Your Workflow
Deepin Linux
Deepin Linux
May 26, 2025 · Fundamentals

Understanding Linux Memory Management: Bootmem, Memblock, Buddy Allocator, and Slab Allocator

This article provides a comprehensive overview of Linux memory management, detailing the roles and mechanisms of the early boot memory allocator, the memblock subsystem, the buddy allocator for physical pages, and the slab allocator for small objects, including their data structures, algorithms, and practical usage scenarios.

BootmemBuddy AllocatorKernel
0 likes · 72 min read
Understanding Linux Memory Management: Bootmem, Memblock, Buddy Allocator, and Slab Allocator
IT Xianyu
IT Xianyu
May 26, 2025 · Fundamentals

A Step‑by‑Step Tutorial for Writing Basic Shell Scripts on Linux

This article walks beginners through creating, editing, granting permissions to, and executing simple Bash scripts such as hello.sh and name_check.sh, while also covering common pitfalls, directory organization, and essential command‑line tools for effective shell scripting.

BashLinuxPermissions
0 likes · 7 min read
A Step‑by‑Step Tutorial for Writing Basic Shell Scripts on Linux