Tagged articles
fragmentation
25 articles · Page 1 of 1
The article examines China's fragmented domestic operating system market, covering over a dozen distributions like Kylin, UOS, deepin, openEuler, and HarmonyOS PC, revealing their shared Linux foundations, mutual incompatibility, and heavy reliance on Wine to run Windows applications despite claims of self-sufficiency.
China tech industryHarmonyOSLinux distributions
0 likes · 9 min read

This article explains what memory leaks are, distinguishes different leak types such as space leaks and fragmentation, shows how unreferenced allocations cause hidden waste, and introduces common detection tools like Valgrind, AddressSanitizer, and tcmalloc Heap Profiler.
DebuggingMemory Leakc-programming
0 likes · 7 min read

This article explains the Linux kernel’s buddy memory allocation algorithm, covering its core principles, data structures, allocation and free workflows, performance advantages and drawbacks, monitoring tools, tuning parameters, and real‑world use cases such as Kubernetes, embedded IoT devices, and real‑time operating systems.
Linuxbuddy allocatorfragmentation
0 likes · 50 min read

The article analyzes a16z’s 2025 AI round‑table, outlining a new AI‑native growth paradigm, the split between high‑velocity “Supernovas” and sustainable “Shooting Stars,” a prosumer‑driven go‑to‑market shift, and how moats are moving from technical stacks to commercial and workflow integration advantages.
AI NativeAI industryfragmentation
0 likes · 20 min read

This article explains why traditional C++ new/delete memory management leads to internal and external fragmentation and performance loss, introduces the concept and principles of memory pools, compares various pool implementations, and provides a complete, thread‑safe example that integrates with std::allocator for high‑efficiency allocation.
C#allocatorfragmentation
0 likes · 29 min read

This article explains why dynamic memory allocation is essential, models the heap as a parking lot, outlines the core challenges of implementing malloc and free, describes block headers, explores First Fit, Next Fit, and Best Fit strategies, and details splitting, internal fragmentation, and efficient coalescing using footers.
allocation strategiesfragmentationfree list
0 likes · 17 min read

This article provides a comprehensive overview of Jemalloc, covering its architecture, memory allocation fundamentals, performance comparison with ptmalloc and tcmalloc, practical optimization cases across web, database, and big‑data workloads, and detailed configuration guidelines to improve memory efficiency and multithreaded performance.
MultithreadingPerformance Optimizationfragmentation
0 likes · 31 min read

The article explains how Linux manages memory page watermarks, when the allocator falls back to kswapd, and the exact conditions that trigger direct compaction via __alloc_pages_direct_compact, then walks through the core compaction functions—try_to_compact_pages, compact_zone_order, compact_zone, and the page‑migration helpers—illustrated with flow diagrams and real kernel code.
C#Linuxcompaction
0 likes · 37 min read

The Buddy Algorithm is a memory‑management technique used by the Linux kernel that splits physical memory into power‑of‑two blocks, tracks them with a binary‑tree structure, and merges free buddies to reduce external fragmentation while providing efficient allocation and deallocation.
Linux kernelallocationfragmentation
0 likes · 18 min read

This article explains what happens inside a computer when you request memory with malloc, covering the C standard library, compilation, memory layout, heap allocation, fragmentation, and how the operating system expands the heap using system calls.
Heapc-programmingfragmentation
0 likes · 6 min read

This article explains how memory allocation works in C, covering the role of malloc, the distinction between code and user data, the compilation and linking process, heap organization, fragmentation, and how the operating system expands the heap when needed.
Heapc-programmingfragmentation
0 likes · 6 min read

This article introduces the open‑source mem_malloc module for microcontrollers, explains its fragmentation‑free allocation algorithm, shows how to integrate and compile it on an IOT development board, and provides detailed test code and results illustrating efficient RAM usage.
c-programmingfragmentationmalloc alternative
0 likes · 8 min read

This article provides a comprehensive overview of IPv4, detailing the header fields, fragmentation and reassembly processes, MTU considerations, Path MTU Discovery, address formatting, classful and classless (CIDR) addressing, subnetting techniques, and network aggregation strategies.
CIDRIP headerIPv4
0 likes · 14 min read

This article explains UDP packet structure, why UDP lacks a send buffer, how fragmentation and buffer overflows cause packet loss, and presents practical solutions—including socket buffer tuning, delayed sending, retransmission strategies, redundancy, and RUDP—to achieve reliable communication over an inherently unreliable protocol.
UDPfragmentationnetwork fundamentals
0 likes · 24 min read


ITPUBJul 20, 2022 · Databases
This article explains how Redis stores key‑value pairs, dives into the underlying dict, dictEntry and redisObject structures, and presents seven practical memory‑saving tricks—including key shortening, encoding tweaks, object sharing, bitmap usage, hash consolidation, fragmentation cleanup, and 32‑bit deployment—to dramatically reduce RAM consumption while preserving performance.
BitmapData StructuresHash
0 likes · 19 min read

This article walks through diagnosing MySQL disk‑usage spikes caused by data fragmentation, explains why common cleanup commands may fail, and provides a detailed, repeatable procedure—including stopping the service, removing InnoDB files, and restoring the database—to finally free up the occupied space.
Database MaintenanceMySQLRestore
0 likes · 8 min read

This article explains how to detect table‑space fragmentation in MySQL, demonstrates the performance impact of deleted rows, and provides step‑by‑step commands—including ALTER TABLE FORCE, OPTIMIZE TABLE, and mysqlcheck—to reclaim space and improve query speed.
Database MaintenanceMySQLSQL
0 likes · 8 min read

This article describes a MySQL disk‑space exhaustion problem, explains why data_free can consume tens of gigabytes, and provides step‑by‑step commands—including schema analysis, table engine conversion, service control, and file removal—to defragment InnoDB tables, reclaim space, and successfully restore a backup.
disk usagefragmentationoptimization
0 likes · 6 min read

When MySQL reports 100% disk usage with only a few megabytes left, typical fixes like dropping tables or restarting may not release space, so this article explains how to diagnose data_free bloat, apply proper fragmentation cleanup, and restore the database safely.
MySQLRestorebackup
0 likes · 7 min read

This guide explains why MySQL reports 100% disk usage despite minimal data, shows how to identify excessive data_free, details step‑by‑step commands to defragment tables, free space, and safely backup and restore the database.
MySQLRestorebackup
0 likes · 6 min read

This article explains the structure of Linux network I/O by detailing the OSI seven‑layer model, the role of each layer, MTU/PMTU concepts, IP fragmentation and reassembly, and key TCP mechanisms such as MSS, flow control, and congestion control, providing a comprehensive foundation for studying zero‑copy networking.
LinuxMSSMTU
0 likes · 13 min read


ITPUBJun 18, 2020 · Fundamentals
This article provides a comprehensive guide to Linux memory management, covering the memory organization, address spaces, fragmentation causes and mitigation, the buddy and slab allocation algorithms, kernel and user‑space memory pools, common pitfalls, and practical tools for monitoring and debugging memory usage.
Linuxbuddy systemfragmentation
0 likes · 20 min read

This article provides a comprehensive overview of Linux memory management, covering memory organization, address spaces, fragmentation causes and mitigation, kernel allocation strategies such as the buddy and slab systems, user‑space memory pools, DMA handling, usage scenarios, and typical pitfalls for developers.
Allocation AlgorithmsDMALinux
0 likes · 17 min read

This article explains MySQL table fragmentation, how to detect it with SHOW TABLE STATUS, the reasons such as frequent DELETE and UPDATE operations, demonstrates its effects, and presents cleanup methods like OPTIMIZE TABLE and engine conversion, showing significant space savings and query speed improvements.
MySQLSQLfragmentation
0 likes · 5 min read

This article examines common memory leak and performance problems in C/C++ applications, categorizing causes such as pointer loss, improper memory release, excessive fragmentation, infinite allocation, and container misuse, and discusses diagnostic techniques, underlying allocation mechanisms, and mitigation strategies.
CPUMemory Leakfragmentation
0 likes · 15 min read
