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.
All posts tagged multithreading
Crash course introduction to parallelism: Multithreading
Posted on Author Ivica BogosavljevićPosted in Multithreaded Performance, Parallelization, PerformanceLeave a Reply
In this post we introduce the essentials of programming for systems with several CPU cores. We start with an explanation of software threads and synchronization, two fundamental building blocks of multithreaded programming. We explain how these are implemented in hardware, and finally, we present several multithreading APIs you can use for parallel programming.
Making your program run faster in a multithreaded environment
Posted on Author Ivica BogosavljevićPosted in Low Level Performance, Multithreaded Performance, Performance2 Replies
We investigate the performance impact of multithreading.