Designing Memory Allocators for Low Fragmentation in Long-Lived Servers

Designing Memory Allocators for Low Fragmentation in Long-Lived Servers

Techniques for designing memory allocators that minimize fragmentation in servers running continuously. Focuses on alloc...

Power-Performance Tradeoffs on Modern CPUs: Frequency Scaling and Turbo Behavior in Production

Power-Performance Tradeoffs on Modern CPUs: Frequency Scaling and Turbo Behavior in Production

Practical guidance on tuning CPU frequency scaling and turbo/boost behavior for production workloads. Focus on measurabl...

Persistent Memory Patterns: Consistency, Ordering, and Crash Recovery Techniques

Persistent Memory Patterns: Consistency, Ordering, and Crash Recovery Techniques

Practical patterns for using persistent memory (PMEM) to achieve correct ordering, durability, and efficient crash recov...

Tail Latency Analysis: Tools and Techniques to Diagnose Rare High-Latency Events

Tail Latency Analysis: Tools and Techniques to Diagnose Rare High-Latency Events

Diagnosing rare high-latency events requires measurement at scale, targeted instrumentation, and statistical techniques....

Instruction Cache Misses: Measuring Impact and Restructuring Code to Improve I-cache Locality

Instruction Cache Misses: Measuring Impact and Restructuring Code to Improve I-cache Locality

Instruction cache misses raise latency and jitter in performance-sensitive systems. This article explains how to measure...

Atomic Primitives in Practice: Choosing Between CAS, LL/SC, and Read-Modify-Write

Atomic Primitives in Practice: Choosing Between CAS, LL/SC, and Read-Modify-Write

Compare CAS, LL/SC, and read-modify-write primitives to pick the right atomic building block. This article shows where e...

Branchless Programming: When It Improves Throughput and When It Hurts

Branchless Programming: When It Improves Throughput and When It Hurts

Branchless programming replaces conditional branches with data-driven operations to boost throughput on modern CPUs, but...

Designing High-Performance Ring Buffers for Producers and Consumers at Scale

Designing High-Performance Ring Buffers for Producers and Consumers at Scale

Practical techniques for building high-throughput, low-latency ring buffers for multi-producer, multi-consumer systems....

Compiler Intrinsics and Inline Assembly: Safety, Portability, and When to Use Them

Compiler Intrinsics and Inline Assembly: Safety, Portability, and When to Use Them

A practical guide to using compiler intrinsics and inline assembly safely and portably. Covers where they appear in perf...

← Prev
Page 74 of 106
Next →