Skip to search boxSkip to navigationSkip to main content

A competitive analysis for balanced transactional memory workloads

*Corresponding author for this work
  • Louisiana State University
Scholary Output:
Contribution to journal
Article
Peer-review

Abstract

We consider transactional memory contention management in the context of balanced workloads, where if a transaction is writing, the number of write operations it performs is a constant fraction of its total reads and writes. We explore the theoretical performance boundaries of contention management in balanced workloads from the worst-case perspective by presenting and analyzing two new polynomial time contention management algorithms. We analyze the performance of a contention management algorithm by comparison with an optimal offline contention management algorithm to provide a competitive ratio. The first algorithm Clairvoyant is O√s)-competitive, where s is the number of shared resources. This algorithm depends on explicitly knowing the conflict graph at each time step of execution. The second algorithm Non-Clairvoyant is O√vs .log n)-competitive, with high probability, which is only a O(log n) factor worse, but does not require knowledge of the conflict graph, where n is the number of transactions. Both of these algorithms are greedy. We also prove that the performance of Clairvoyant is close to optimal, since there is no polynomial time contention management algorithm for the balanced transaction scheduling problem that is better than O√vs) 1-e)-competitive for any constant e > 0, unless NP ZPP. To our knowledge, these results are significant improvements over the best previously known O(s) competitive ratio bound.

Publication Information

Output type

Scholary Output:
Contribution to journal
Article
Peer-review

Original language

English (US)

Pages from-to (Number of pages)

Pages 296-322 (27 pages)

Journal (Volume, Issue Number)

Algorithmica (Volume 63, Issue 1-2)

Publication milestones

  • Published - 06/2012

Publication status

Published - 06/2012

ISSN

0178-4617

Publication IDs

  • Scopus: 84858837482

Publication metrics

Metrics

SciVal
citations
10
Scopus
citations
Fractional count
1
Fractional count
0.50
Fractional count
1
Fractional count
0.50
Fractional count
1
Fractional count
1
SciVal
FWCI
0.79
SciVal
Author count
2
SciVal
Paper percentile
65

PlumX, opens in new tab

Citation count
15
Captures
11