| Transactional contention management as a non-clairvoyant scheduling problem |
| Full text |
Pdf
(187 KB)
|
| Source
|
Annual ACM Symposium on Principles of Distributed Computing
archive
Proceedings of the twenty-fifth annual ACM symposium on Principles of distributed computing
table of contents
Denver, Colorado, USA
SESSION: Shared memory synchronization
table of contents
Pages: 308 - 315
Year of Publication: 2006
ISBN:1-59593-384-0
|
|
Authors
|
|
| Sponsors |
|
| Publisher |
|
| Bibliometrics |
Downloads (6 Weeks): 5, Downloads (12 Months): 78, Citation Count: 1
|
|
|
ABSTRACT
The transactional approach to contention management guarantees atomicity by making sure that whenever two transactions have a conflict on a resource, only one of them proceeds. A major challenge in implementing this approach lies in guaranteeing progress, since transactions are often restarted.Inspired by the paradigm of non-clairvoyant job scheduling, we analyze the performance of a contention manager by comparison with an optimal, clairvoyant contention manager that knows the list of resource accesses that will be performed by each transaction, as well as its release time and duration. The realistic, non-clairvoyant contention manager is evaluated by the competitive ratio between the last completion time (makespan) it provides and the makespan provided by an optimal contention manager.Assuming that the amount of exclusive accesses to the resources is non-negligible, we present a simple proof that every work conserving contention manager guaranteeing the pending commit property achieves an O(s) competitive ratio, where s is the number of resources. This bound holds for the GREEDY contention manager studied by Guerraoui et al. [2] and is a significant improvement over the O(s2) bound they prove for the competitive ratio of GREEDY. We show that this bound is tight for any deterministic contention manager, and under certain assumptions about the transactions, also for randomized contention managers.When transactions may fail, we show that a simple adaptation of GREEDY has a competitive ratio of at most O(ks), assuming that a transaction may fail at most k times. If a transaction can modify its resource requirements when re-invoked, then any deterministic algorithm has a competitive ratio Ω(ks). For the case of unit length jobs, we give (almost) matching lower and upper bounds.
REFERENCES
Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.
| |
1
|
|
 |
2
|
|
| |
3
|
R. Guerraoui, M. Herlihy, M. Kapalka and S. Pochon, Robust Contention Management in software transactional memory. Synchronization and Concurrency in Object-Oriented Languages (SCOOL) workshop, in conjunction with OOPSLA 2005. http://urresearch.rochester.edu/handle/1802/2103.
|
 |
4
|
Maurice Herlihy , Victor Luchangco , Mark Moir , William N. Scherer, III, Software transactional memory for dynamic-sized data structures, Proceedings of the twenty-second annual symposium on Principles of distributed computing, p.92-101, July 13-16, 2003, Boston, Massachusetts
[doi> 10.1145/872035.872048]
|
| |
5
|
Sandy Irani , Vitus Leung, Scheduling with conflicts, and applications to traffic signal control, Proceedings of the seventh annual ACM-SIAM symposium on Discrete algorithms, p.85-94, January 28-30, 1996, Atlanta, Georgia, United States
|
| |
6
|
|
| |
7
|
|
 |
8
|
|
| |
9
|
William N. Scherer III and Michael Scott, Contention Management in Dynamic Software Transactional Memory. PODC Workshop on Concurrency and Synchronization in Java Programs, 2004: 70--79.
|
 |
10
|
|
| |
11
|
|
| |
12
|
Gottfried Vossen and Gerhard Weikum, Transactional Information Systems, Morgan Kaufmann, 2001.
|
|