Tag

memory allocator

0 views collected around this technical thread.

Deepin Linux
Deepin Linux
Jan 16, 2025 · Fundamentals

TCMalloc: Architecture, Principles, Usage, and Performance Comparison

This article provides a comprehensive overview of Google’s TCMalloc memory allocator, detailing its three‑level cache architecture, allocation and reclamation strategies, installation methods, configuration options, and performance advantages over other allocators in C++ backend, game, and database applications.

C++ performanceTCMalloccache hierarchy
0 likes · 27 min read
TCMalloc: Architecture, Principles, Usage, and Performance Comparison
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Dec 31, 2021 · Information Security

Design and Implementation of the Android Scudo Hardened Allocator

The Android Scudo hardened allocator, introduced in Android R to replace jemalloc, uses a primary region‑based allocator, a secondary mmap‑backed allocator, thread‑specific caches, and a quarantine system with 64‑bit chunk headers and extensive safety checks, offering a balanced security‑performance trade‑off configurable via compile‑time, environment, and mallopt options.

AndroidChunk HeaderNative Allocation
0 likes · 17 min read
Design and Implementation of the Android Scudo Hardened Allocator
Aikesheng Open Source Community
Aikesheng Open Source Community
Oct 9, 2020 · Databases

Understanding MySQL Memory Usage and the High‑Water‑Mark Phenomenon

This article investigates why MySQL often consumes far more physical memory than the configured InnoDB buffer pool size, explains the high‑water‑mark effect, and explores Linux process memory layout, memory allocators, and MySQL’s internal memory management mechanisms.

LinuxMySQLPerformance
0 likes · 14 min read
Understanding MySQL Memory Usage and the High‑Water‑Mark Phenomenon