Back to search

Massachusetts Institute of Technology

Retry-free software transactional memory for rust

Abstract

dc:description.abstract

Software transactional memory (STM) is a synchronization paradigm that has been well-studied in work on throughput-oriented computing. In that context, its main utility lies in aiding programmers in producing performant concurrent programs that are free of synchronization bugs. With STM, programmers merely annotate code sections that require synchronization; the underlying STM framework automatically resolves how synchronization is done. In work on real-time systems, schedulability is more important than throughput. However, all prior work on real-time STM has been limited to approaches that retry transactions when they conflict. Unfortunately, reasonable retry bounds can be difficult or impossible to obtain for multiprocessors. Perhaps because of this, prior work on real-time STM has focused on observed behavior rather than schedulability. This thesis argues that real-time STM should be lock-based and free of retries in order to provide schedulability guarantees, and presents a real-time STM framework called TORTIS, implemented for Rust programs. The efficacy of TORTIS is evaluated via both benchmarking experiments and a schedulability study. In the benchmarks, when contention for shared resources is high, causing retry-based approaches to repeatedly retry, TORTIS provides up to 75x improved throughput. The high-contention case is also effectively what schedulability analysis aims to bound. In the schedulability study, TORTIS dominated other prominent retry-based STM approaches, and improved overall schedulability across all task systems generated by on average 2.4x and as much as 10.1x.

Degree

thesis:*
Name thesis:degree_name
Master
Department dc:contributor.department
EECS
Grantor dc:publisher
Massachusetts Institute of Technology
Year dc:date.issued
2020

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Nord, Claire(Claire M.)
Advisor dc:contributor.advisor
  • Howard Schrobe, Hamed Okhravi and Bryan Ward.

Subjects

dc:subject × 1

Rights

dc:rights
Statement dc:rights
  • MIT theses may be protected by copyright. Please reuse MIT thesis content according to the MIT Libraries Permissions Policy, which is available through the URL provided.
Language dc:language.iso
en

Identifiers

dc:identifier.*
OCLC
1227507693

Chain of custody

source
Harvested from
MIT
Base URL
dspace.mit.edu/oai/request
Last updated
2026-11-29
Source record
OAI-PMH GetRecord
citation

Nord, Claire(Claire M.). Retry-free software transactional memory for rust. Massachusetts Institute of Technology, 2020. https://hdl.handle.net/1721.1/129216