Back to search

Australian National University

Swift : a flexible framework for runtime performance tuning

Abstract

dc:description.abstract

Many computational kernels require extensive tuning to achieve optimal performance. The tuning process for some kernels must take into account the architecture on which they are executing, the input data that they are processing and the changing levels of contention for limited system resources. Maintaining performance in the face of such fluctuating influences requires kernels to continuously adapt. Swift is a software tool that performs this adaptation. It can be applied to many different target applications. Such an approach is more efficient than developing application-specific code for continuous tuning. Swift performs controlled experiments to gauge the performance of the target application. Results from these experiments are used to guide the execution of the target application. Swift performs periodic re-evaluations of the application and updates the application if environmental conditions or the internal state of the application have caused performance to degrade. The frequency of evaluation is scaled with its likely necessity -Swift performs few evaluations until it detects a potential performance degradation, at which point more detailed assessments are conducted. Swift is constructed using the DynInst library to modify and tune the executing kernel. The effectiveness of Swift depends on the computational expense of utilising this library. A suite of micro-benchmarks was developed to measure this expense. These benchmarks are not specific to Swift, and could guide the design of future DynInst-enabled applications. Swift was applied to tune sparse matrix-vector multiplication kernels. Tun{u00AC}ing such kernels requires selecting a matrix storage format and the associated multiplication algorithm. The choice of format depends on the characteristics of the matrix being multiplied as well as on prevailing system conditions and the number of multiplications being conducted. Swift was evaluated using both simulated environments and physical hardware. Simulated evaluation demonstrated that Swift could correctly select the best matrix format and could react to changing conditions. Evaluations on physical hardware demonstrated that automatic tuning was viable under certain conditions.

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Armstrong, Warren Haley

Subjects

dc:subject × 4

Rights

dc:rights
Statement dc:rights
  • Author retains copyright
Language dc:language.iso
en_AU

Identifiers

dc:identifier.*
Dc Identifier Other
b2879961
Local Identifier DOI
10.25911/5d5156832e969

Chain of custody

source
Harvested from
Australian National University
Base URL
openresearch-repository.anu.edu.au/server/oai/request
Last updated
2026-11-19
Source record
OAI-PMH GetRecord
citation

Armstrong, Warren Haley. Swift : a flexible framework for runtime performance tuning. 2011. https://hdl.handle.net/1885/151487