Sharing-Aware Data Mapping in Software Transactional Memory

Douglas Pereira Pasqualin, Matthias Diener, André Rauber Du Bois, Maurício Lima Pilla

Research output: Chapter in Book/Report/Conference proceedingConference contribution

Abstract

Software transactional memory (STM) is an abstraction used for thread synchronization that borrows the concept of transactions from databases. It is often easier to use than locks, proving a high-level abstraction for software developers. In current multicore architectures, data locality is an important aspect of STM performance. Sharing-aware mapping is a technique that aims to improve the performance of applications by mapping threads and data (in the form of memory pages) according to their memory access behavior. In prior work, we successfully used information gained from tracking STM variables and STM operations to perform an effective sharing-aware thread mapping. In this paper, we attempt to extend such a mechanism to perform data mapping. Although initial results using a synthetic application were encouraging, data mapping did not improve performance when using realistic workloads. Contrary to thread mapping, where only keeping track of STM operations is sufficient to perform an effective thread mapping, data mapping requires a global vision of memory page accesses of the application to be able to improve the performance, which STM runtimes can not provide.

Original languageEnglish (US)
Title of host publicationEmbedded Computer Systems
Subtitle of host publicationArchitectures, Modeling, and Simulation - 21st International Conference, SAMOS 2021, Proceedings
EditorsAlex Orailoglu, Matthias Jung, Marc Reichenbach
PublisherSpringer
Pages481-492
Number of pages12
ISBN (Print)9783031045790
DOIs
StatePublished - 2022
Event21st International Conference on Embedded Computer Systems: Architectures, Modeling, and Simulation, SAMOS 2021 - Virtual, Online
Duration: Jul 4 2021Jul 8 2021

Publication series

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

Conference

Conference21st International Conference on Embedded Computer Systems: Architectures, Modeling, and Simulation, SAMOS 2021
CityVirtual, Online
Period7/4/217/8/21

Keywords

  • Data mapping
  • NUMA
  • Sharing-aware
  • Software transactional memory

ASJC Scopus subject areas

  • Theoretical Computer Science
  • General Computer Science

Fingerprint

Dive into the research topics of 'Sharing-Aware Data Mapping in Software Transactional Memory'. Together they form a unique fingerprint.

Cite this