Tag

cache hierarchy

0 views collected around this technical thread.

Deepin Linux
Deepin Linux
Feb 4, 2025 · Fundamentals

Understanding CPU Cache: Architecture, Hierarchy, and Optimization Techniques

This article explains the fundamental role of CPU cache in bridging the speed gap between processors and memory, covering cache hierarchy, locality principles, write policies, coherence protocols, and practical code optimizations such as data alignment and loop restructuring to improve performance.

CPU cacheCache CoherenceData Alignment
0 likes · 31 min read
Understanding CPU Cache: Architecture, Hierarchy, and Optimization Techniques
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++ performanceMultithreadingTCMalloc
0 likes · 27 min read
TCMalloc: Architecture, Principles, Usage, and Performance Comparison