Skip to main navigation Skip to search Skip to main content

Memory Distance Measurement for Concurrent Programs

  • Hao Li
  • , Jialiang Chang
  • , Zijiang Yang
  • , Steve Carr
  • Western Michigan University

Research output: Chapter in Book/Report/Conference proceeding › Conference contribution › peer-review

Abstract

Memory distance analysis, the number of unique memory references made between two accesses to the same memory location, is an effective method to measure data locality and predict memory behavior. Many existing methods on memory distance measurement and analysis consider sequential programs only. With the trend towards concurrent programming, it is necessary to study the impact of memory distance on the performance of concurrent programs. Unfortunately, accurate measurement of concurrent program memory distance is non-trivial. In fact, due to non-determinism, the reuse distance of memory references may differ with the same input set across multiple runs. Since memory distance measurement is fundamental to analysis, we propose a measuring approach that is based on randomized executions. Our approach provides a probabilistic guarantee of observing all possible interleavings without repeated executions. In order to evaluate our approach, we propose a second symbolic execution based approach that is more rigorous but much less scalable than the first approach. We have compared the two approaches on small programs and evaluated the first one on Parsec benchmark suite and a large industrial-size benchmark MySQL. Our experiments confirm that the randomized execution based approach is effective and practical.

Original languageEnglish
Title of host publicationLanguages and Compilers for Parallel Computing - 30th International Workshop, LCPC 2017, Revised Selected Papers
EditorsLawrence Rauchwerger
PublisherSpringer Science and Business Media Deutschland GmbH
Pages49-64
Number of pages16
ISBN (Print)9783030352240
DOIs
StatePublished - 2019
Event30th Workshop on Languages and Compilers for Parallel Computing, LCPC 2017 - College Station, United States
Duration: 11 Oct 2017 → 13 Oct 2017

Publication series

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume11403 LNCS
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

Conference30th Workshop on Languages and Compilers for Parallel Computing, LCPC 2017
Country/TerritoryUnited States
CityCollege Station
Period11/10/17 → 13/10/17

Fingerprint

Dive into the research topics of 'Memory Distance Measurement for Concurrent Programs'. Together they form a unique fingerprint.

Cite this