@inproceedings{1129, author = {Claire Nord and Shai Caspin and Catherine Nemitz and Howard Shrobe and Hamed Okhravi and James Anderson and Nathan Burow and Bryan Ward}, title = {TORTIS: Retry-Free Software Transactional Memory for Real-Time Systems}, abstract = {Software transactional memory (STM) is a synchronization paradigm originally proposed for throughput-oriented computing to facilitate producing performant concurrent code that is free of synchronization bugs. With STM, programmers merely annotate code sections requiring synchronization; the underlying STM framework automatically resolves how synchronization is done. Today, the programming issues that motivated STM are becoming a concern in embedded computing, where ever more sophisticated systems are being produced that require highly parallel implementations. These implementations are often produced by engineers and control experts who may not be well versed in concurrency-related issues. In this context, a real-time STM framework would be useful in ensuring that the synchronization aspects of a system pass real-time certification. However, all prior STM approaches fundamentally rely on retries to resolve conflicts, and such retries can yield high worst-case synchronization costs compared to lock-based approaches. This paper presents a new STM class called Retry-Free Real-Time STM (R2STM), which is designed for worst-case real-time performance. The benefit of a retry-free approach for use in a real-time system is demonstrated by a schedulability study, in which it improved overall schedulability across all considered task systems by an average of 95.3% over a retry-based approach. This paper also presents TORTIS, the first R2STM implementation for real-time systems. Throughput-oriented benchmarks are presented to highlight the tradeoffs between throughput and schedulability for TORTIS.}, year = {2021}, journal = {42nd IEEE Real-Time Systems Symposium}, pages = {469-481}, month = {12/2021}, publisher = {IEEE}, address = {Dortmund, DE}, issn = {2576-3172}, isbn = {978-1-6654-2802-6}, url = {https://ieeexplore.ieee.org/abstract/document/9622369}, doi = {10.1109/RTSS52674.2021.00049}, }