The MPICacheBench is a benchmark which measures the effects of CPU caches on point-to-point and collective MPI operations. It performs communication starting from different setups of the CPU cache (invalid vs preloaded message buffers / shared vs modified state of cache lines). The benchmark allows the measurment of both the effects of cache on communication and the amuont of cache pollution caused by the communication routines themselves.

GitHub Repository

More details:

On the Effects of CPU Caches on MPI Point-to-Point Communications
Simone Pellegrini, Torsten Hoefler, Thomas Fahringer, Cluster 2012, Sep 24-28, Beijing, China.