A Competitive Analysis for Balanced Transactional Memory Workloads

A Competitive Analysis for Balanced Transactional Memory Workloads

0.00 Avg rating0 Votes
Article ID: iaor2012677
Volume: 63
Issue: 1
Start Page Number: 296
End Page Number: 322
Publication Date: Jun 2012
Journal: Algorithmica
Authors: ,
Keywords: graphs, optimization
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 ) equ1 ‐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 ( s log n ) equ2 ‐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 ( ( s ) 1 ϵ ) equ3 ‐competitive for any constant ϵ>0, unless NPZPP. To our knowledge, these results are significant improvements over the best previously known O(s) competitive ratio bound.

Reviews

Required fields are marked *. Your email address will not be published.