Architecture-Aware Configuration and Scheduling of Matrix Multiplication on Asymmetric Multicore Processors
Preprint
Abstract
Asymmetric multicore processors (AMPs) have recently emerged as an appealing technology for severely energy-constrained environments, especially in mobile appliances where heterogeneity in applications is mainstream. In addition, given the growing interest for low-power high performance computing, this type of architectures is also being investigated as a means to improve the throughput-per-Watt of complex scientific applications. In this paper, we design and embed several architecture-aware optimizations into a multi-threaded general matrix multiplication (gemm), a key operation of the BLAS, in order to obtain a high performance implementation for ARM big.LITTLE AMPs. Our solution is based on the reference implementation of gemm in the BLIS library, and integrates a cache-aware configuration as well as asymmetric--static and dynamic scheduling strategies that carefully tune and distribute the operation's micro-kernels among the big and LITTLE cores of the target processor. The experimental results on a Samsung Exynos 5422, a system-on-chip with ARM Cortex-A15 and Cortex-A7 clusters that implements the big.LITTLE model, expose that our cache-aware versions of gemm with asymmetric scheduling attain important gains in performance with respect to its architecture-oblivious counterparts while exploiting all the resources of the AMP to deliver considerable energy efficiency.Keywords
All Related Versions
This publication has 9 references indexed in Scilit:
- Analytical Modeling Is Enough for High-Performance BLISACM Transactions on Mathematical Software, 2016
- DOE Advanced Scientific Computing Advisory Subcommittee (ASCAC) Report: Top Ten Exascale Research Challenges2014
- Improving performance per watt of asymmetric multi-core processors via online program phase classification and adaptive core morphingACM Transactions on Design Automation of Electronic Systems, 2013
- QuickIA: Exploring heterogeneous architectures on real prototypes2012
- High-performance implementation of the level-3 BLASACM Transactions on Mathematical Software, 2008
- Amdahl's Law in the Multicore EraComputer, 2008
- Anatomy of high-performance matrix multiplicationACM Transactions on Mathematical Software, 2008
- Performance, Power Efficiency and Scalability of Asymmetric Cluster Chip MultiprocessorsIEEE Computer Architecture Letters, 2006
- A set of level 3 basic linear algebra subprogramsACM Transactions on Mathematical Software, 1990