Tag

fragmentation

0 views collected around this technical thread.

Deepin Linux
Deepin Linux
Feb 14, 2025 · Fundamentals

Understanding Jemalloc: Principles, Comparisons, and Optimization Practices

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.

Memory AllocationMultithreadingPerformance Optimization
0 likes · 31 min read
Understanding Jemalloc: Principles, Comparisons, and Optimization Practices
Deepin Linux
Deepin Linux
Aug 9, 2024 · Fundamentals

Buddy Algorithm: Principles, Implementation, and Use Cases in Linux Kernel Memory Management

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.

Buddy AlgorithmLinux kernelMemory Management
0 likes · 18 min read
Buddy Algorithm: Principles, Implementation, and Use Cases in Linux Kernel Memory Management
IT Services Circle
IT Services Circle
Jun 29, 2024 · Fundamentals

Understanding Memory Allocation, Heap Layout, and Fragmentation in C

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.

C programmingHeapMemory Allocation
0 likes · 6 min read
Understanding Memory Allocation, Heap Layout, and Fragmentation in C
Aikesheng Open Source Community
Aikesheng Open Source Community
Jun 28, 2021 · Databases

How to Check and Optimize MySQL Table Space Fragmentation

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 MaintenanceMySQLOptimization
0 likes · 8 min read
How to Check and Optimize MySQL Table Space Fragmentation
Architecture Digest
Architecture Digest
Dec 8, 2020 · Databases

Resolving MySQL Disk Usage 100% Issue by Removing InnoDB Fragmentation

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.

DatabaseMySQLOptimization
0 likes · 6 min read
Resolving MySQL Disk Usage 100% Issue by Removing InnoDB Fragmentation
Qunar Tech Salon
Qunar Tech Salon
Jun 25, 2020 · Fundamentals

Understanding Linux Network I/O: OSI Layers, MTU, Fragmentation, and TCP Flow Control

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.

MSSMTUOSI model
0 likes · 13 min read
Understanding Linux Network I/O: OSI Layers, MTU, Fragmentation, and TCP Flow Control
Architects' Tech Alliance
Architects' Tech Alliance
Jun 7, 2020 · Fundamentals

Linux Memory Management: Organization, Address Space, Allocation Algorithms, and Common Pitfalls

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 AlgorithmsDMAMemory Management
0 likes · 17 min read
Linux Memory Management: Organization, Address Space, Allocation Algorithms, and Common Pitfalls
Aikesheng Open Source Community
Aikesheng Open Source Community
Jul 8, 2019 · Databases

Understanding and Resolving MySQL Table Fragmentation

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.

Database PerformanceMySQLOptimization
0 likes · 5 min read
Understanding and Resolving MySQL Table Fragmentation
Baidu Intelligent Testing
Baidu Intelligent Testing
Mar 27, 2018 · Fundamentals

Analysis of Memory Leaks and Performance Issues in C/C++ Programs

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.

C++Memory LeakMemory Management
0 likes · 15 min read
Analysis of Memory Leaks and Performance Issues in C/C++ Programs