Mixed Mode Matrix Multiplication

  • Authors:
  • Meng-Shiou Wu;Srinivas Aluru;Ricky A. Kendall

  • Affiliations:
  • -;-;-

  • Venue:
  • CLUSTER '02 Proceedings of the IEEE International Conference on Cluster Computing
  • Year:
  • 2002

Quantified Score

Hi-index 0.00

Visualization

Abstract

In modern clustering environments where the memory hierarchy has many layers (distributed memory, shared memory layer, cache, 驴), an important question is how to fully utilize all available resources and identify the most dominant layer in certain computation. When combining algorithms on all layers together, what would be the best method to get the best performance out of all the resources we have? Mixed mode programming model that uses thread programming on the shared memory layer and message passing programming on the distributed memory layer is a method that many researchers are using to utilize the memory resources. In this paper, we take an algorithmic approach that uses matrix multiplication as a tool to show how cache algorithms affect the performance of both shared memory anddistributed memory algorithms. We show that with good underlying cache algorithm, overall performance is stable. When underlying cache algorithm is bad, superlinear speedup may occur, and increasing number of threads may also improve performance.