RSSAmplifier

Blog

Denis Bakhvalov

Performance optimizations and analysis in C/C++

easyperf.netRSS feed ↗10 posts

Latest posts

Book Updates and Errata. Performance Analysis and Tuning on Modern CPUs (Second Edition)

Subscribe to my newsletter , and support me on Patreon , Github , or by PayPal donation . I will use this page to provide updates and errata for the second edition of my book “Performance Analysis and Tuning on Modern CPUs”. Updates and General Information 11-Nov-2024: The book is now available on Amazon . 22-Nov-2024: Hardcover and Kindle versions are available. 03-Dec-2024: The PDF version is…

Thread Count Scaling Part 1. Introduction

Subscribe to my newsletter , support me on Patreon , Github , or by PayPal donation . I would love to hear your feedback! I wrote this blog series for the second edition of my book titled “Performance Analysis and Tuning on Modern CPUs”. It is open-sourced on Github: perf-book . The book primarily targets mainstream C and C++ developers who want to learn low-level performance engineering, but devs…

Thread Count Scaling Part 2. Blender and Clang

Subscribe to my newsletter , support me on Patreon , Github , or by PayPal donation . This blog is an excerpt from the book. More details in the introduction. Part 1: Introduction . Part 2: Blender and Clang (this article). Part 3: Zstandard . Part 4: CloverLeaf and CPython . Part 5: Summary . Blender Blender is the only benchmark in our suite that continues to scale up to all 16 threads in the…

Thread Count Scaling Part 3. Zstandard

Subscribe to my newsletter , support me on Patreon , Github , or by PayPal donation . This blog is an excerpt from the book. More details in the introduction. Part 1: Introduction . Part 2: Blender and Clang . Part 3: Zstandard (this article). Part 4: CloverLeaf and CPython . Part 5: Summary . Zstandard Next on our list is the Zstandard compression algorithm, or Zstd for short. When compressing…

Thread Count Scaling Part 4. CloverLeaf and CPython

Subscribe to my newsletter , support me on Patreon , Github , or by PayPal donation . This blog is an excerpt from the book. More details in the introduction. Part 1: Introduction . Part 2: Blender and Clang . Part 3: Zstandard . Part 4: CloverLeaf and CPython (this article). Part 5: Summary . CloverLeaf CloverLeaf is a hydrodynamics workload. We will not dig deep into the details of the…

Thread Count Scaling Part 5. Summary

Subscribe to my newsletter , support me on Patreon , Github , or by PayPal donation . This blog is an excerpt from the book. More details in the introduction. Part 1: Introduction . Part 2: Blender and Clang . Part 3: Zstandard . Part 4: CloverLeaf and CPython . Part 5: Summary (this article). Summary In the case study, we have analyzed several throughput-oriented applications with varying thread…

Memory Profiling Part 1. Introduction

Subscribe to my newsletter , support me on Patreon or by PayPal donation . I would love to hear your feedback! I wrote this blog series for the second edition of my book titled “Performance Analysis and Tuning on Modern CPUs”. It is open-sourced on Github: perf-book . The book primarily targets mainstream C and C++ developers who want to learn low-level performance engineering, but devs in other…

Memory Profiling Part 2. Memory Usage Case Study

Subscribe to my newsletter , support me on Patreon or by PayPal donation . Part 1: Introduction . Part 2: Memory Usage Case Study (this article). Part 3: Memory Footprint with SDE . Part 4: Memory Footprint Case Study . Part 5: Data Locality and Reuse Distances . Case Study: Memory Usage of Stockfish Now, let’s take a look at how to profile the memory usage of a real-world application. We will use…

Memory Profiling Part 3. Memory Footprint with SDE

Subscribe to my newsletter , support me on Patreon or by PayPal donation . Part 1: Introduction . Part 2: Memory Usage Case Study . Part 3: Memory Footprint with SDE (this article). Part 4: Memory Footprint Case Study . Part 5: Data Locality and Reuse Distances . Analyzing Memory Footprint with SDE Now let’s take a look at how we can estimate the memory footprint. In part 3, we will warm up by…

Memory Profiling Part 4. Memory Footprint Case Study

Subscribe to my newsletter , support me on Patreon or by PayPal donation . Part 1: Introduction . Part 2: Memory Usage Case Study . Part 3: Memory Footprint with SDE . Part 4: Memory Footprint Case Study (this article). Part 5: Data Locality and Reuse Distances . Case Study: Memory Footprint of Four Workloads In this case study we will use the Intel SDE tool to analyze the memory footprint of four…

Denis Bakhvalov · RSS Amplifier