A story of a very large loop with a long instruction dependency chain
A story of a very large loop with a long instruction dependency chain.
Senior Software Engineer with 10 years of experience active in the domain of Linux and bare-metal based embedded systems. His professional focus is application performance improvement - techniques used to make your C/C++ program run faster by using better algorithms, better exploiting the underlying hardware, and better usage of the standard library, programming language, and the operating system.
A story of a very large loop with a long instruction dependency chain.
How to avoid register spilling in vectorized code with many constants?
We investigate the unusual way memory subsystem interacts with branch prediction and how this interaction shapes software performance.
In this post we investigate how the memory subsystem behaves in an environment where several threads compete for memory subsystem resources. We also investigate techniques to improve the performance of multithreaded programs – programs that split the workload onto several CPU cores so that they finish faster.
In this post we explore how to speed up our memory intensive programs by decreasing the number of TLB cache misses
We investigate how to make faster hash maps, trees, linked lists and vector of pointers by changing their data layout.
In this post we investigate how we can improve the performance of our memory-intensive codes through changing the memory layout of our performance-critical data structures.
In this post we introduce a few most common tools used for memory subsystem performance debugging.
We investigate techniques for hiding memory latency on in-order CPU cores. The same techniques that the compilers employ.
We investigate the secret connection between class layout and software performance. And of course, how to make your software faster.