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…
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…
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…
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…
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…
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…
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…
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…
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…
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…