Window-Based Greedy Contention Management for Transactional Memory
Gokarna Sharma, Brett Estrade, Costas Busch

TL;DR
This paper introduces two new randomized greedy contention management algorithms for transactional memory that improve scheduling efficiency by reducing schedule length and do not always require conflict graph knowledge.
Contribution
The paper presents offline and online randomized greedy algorithms for transaction scheduling that outperform trivial methods and adapt to conflict graph knowledge.
Findings
Offline-Greedy achieves schedule length O(C + N log(MN))
Online-Greedy achieves schedule length O(C log(MN) + N log^2(MN))
Algorithms offer new tradeoffs for transaction scheduling based on window size and conflicts.
Abstract
We consider greedy contention managers for transactional memory for M x N execution windows of transactions with M threads and N transactions per thread. Assuming that each transaction conflicts with at most C other transactions inside the window, a trivial greedy contention manager can schedule them within CN time. In this paper, we show that there are much better schedules. We present and analyze two new randomized greedy contention management algorithms. The first algorithm Offline-Greedy produces a schedule of length O(C + N log(MN)) with high probability, and gives competitive ratio O(log(MN)) for C <= N log(MN). The offline algorithm depends on knowing the conflict graph. The second algorithm Online-Greedy produces a schedule of length O(C log(MN) + N log^2(MN)) with high probability which is only a O(log(NM)) factor worse, but does not require knowledge of the conflict graph. We…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsDistributed systems and fault tolerance · Optimization and Search Problems · Cryptography and Data Security
