A bridging model for multi-core computing
LG Valiant - Journal of Computer and System Sciences, 2011 - Elsevier
LG Valiant
Journal of Computer and System Sciences, 2011•ElsevierWriting software for one parallel system is a feasible though arduous task. Reusing the
substantial intellectual effort so expended for programming a second system has proved
much more challenging. In sequential computing algorithms textbooks and portable software
are resources that enable software systems to be written that are efficiently portable across
changing hardware platforms. These resources are currently lacking in the area of multi-core
architectures, where a programmer seeking high performance has no comparable …
substantial intellectual effort so expended for programming a second system has proved
much more challenging. In sequential computing algorithms textbooks and portable software
are resources that enable software systems to be written that are efficiently portable across
changing hardware platforms. These resources are currently lacking in the area of multi-core
architectures, where a programmer seeking high performance has no comparable …
Writing software for one parallel system is a feasible though arduous task. Reusing the substantial intellectual effort so expended for programming a second system has proved much more challenging. In sequential computing algorithms textbooks and portable software are resources that enable software systems to be written that are efficiently portable across changing hardware platforms. These resources are currently lacking in the area of multi-core architectures, where a programmer seeking high performance has no comparable opportunity to build on the intellectual efforts of others. In order to address this problem we propose a bridging model aimed at capturing the most basic resource parameters of multi-core architectures. We suggest that the considerable intellectual effort needed for designing efficient algorithms for such architectures may be most fruitfully expended in designing portable algorithms, once and for all, for such a bridging model. Portable algorithms would contain efficient designs for all reasonable combinations of the basic resource parameters and input sizes, and would form the basis for implementation or compilation for particular machines. Our Multi-BSP model is a multi-level model that has explicit parameters for processor numbers, memory/cache sizes, communication costs, and synchronization costs. The lowest level corresponds to shared memory or the PRAM, acknowledging the relevance of that model for whatever limitations on memory and processor numbers it may be efficacious to emulate it. We propose parameter-aware portable algorithms that run efficiently on all relevant architectures with any number of levels and any combination of parameters. For these algorithms we define a parameter-free notion of optimality. We show that for several fundamental problems, including standard matrix multiplication, the Fast Fourier Transform, and comparison sorting, there exist optimal portable algorithms in that sense, for all combinations of machine parameters. Thus some algorithmic generality and elegance can be found in this many parameter setting.
Elsevier