We analyze the caching overhead incurred by a class of multithreaded algorithms when scheduled by an arbitrary scheduler. We obtain bounds that match or improve upon the well-known O(Q+S⋅(M/B)) caching cost for the randomized work stealing (RWS) scheduler, where S is the number of steals, Q is the sequential caching cost, and M and B are the cache size and block (or cache line) size respectively.
@article{arxiv.1705.08350,
title = {Bounding Cache Miss Costs of Multithreaded Computations Under General Schedulers},
author = {Richard Cole and Vijaya Ramachandran},
journal= {arXiv preprint arXiv:1705.08350},
year = {2017}
}
Comments
Extended abstract in Proceedings of ACM Symp. on Parallel Alg. and Architectures (SPAA) 2017, pp. 339-350. This revision has a few small updates including a missing citation and the replacement of some big Oh terms with precise constants