Towards automated memory model generation via event tracing

O. F.J. Perks, D. A. Beckingsale, S. D. Hammond, I. Miller, J. A. Herdman, A. Vadgama, A. H. Bhalerao, L. He, S. A. Jarvis

Research output: Contribution to journalArticlepeer-review

Abstract

The importance of memory performance and capacity is a growing concern for high performance computing laboratories around the world. It has long been recognized that improvements in processor speed exceed the rate of improvement in dynamic random access memory speed and, as a result, memory access times can be the limiting factor in high performance scientific codes. The use of multi-core processors exacerbates this problem with the rapid growth in the number of cores not being matched by similar improvements in memory capacity, increasing the likelihood of memory contention. In this paper, we present WMTools, a lightweight memory tracing tool and analysis framework for parallel codes, which is able to identify peak memory usage and also analyse per-function memory use over time. An evaluation of WMTools, in terms of its effectiveness and also its overheads, is performed using nine established scientific applications/benchmark codes representing a variety of programming languages and scientific domains. We also show how WMTools can be used to automatically generate a parameterized memory model for one of these applications, a two-dimensional non-linear magnetohydrodynamics application, Lare2D. Through the memory model we are able to identify an unexpected growth term which becomes dominant at scale. With a refined model we are able to predict memory consumption with under 7% error.

Original languageEnglish
Pages (from-to)156-174
Number of pages19
JournalComputer Journal
Volume56
Issue number2
DOIs
Publication statusPublished - Feb 2013

Keywords

  • high performance computing
  • memory
  • modelling
  • multi-core
  • tracing

ASJC Scopus subject areas

  • Computer Science(all)

Fingerprint

Dive into the research topics of 'Towards automated memory model generation via event tracing'. Together they form a unique fingerprint.

Cite this