ACM Home Page
Please provide us with feedback. Feedback
Scalable synchronous queues
Full text PdfPdf (411 KB)
Source Principles and Practice of Parallel Programming archive
Proceedings of the eleventh ACM SIGPLAN symposium on Principles and practice of parallel programming table of contents
New York, New York, USA
SESSION: Atomicity issues table of contents
Pages: 147 - 156  
Year of Publication: 2006
ISBN:1-59593-189-9
Authors
William N. Scherer, III  University of Rochester
Doug Lea  SUNY Oswego
Michael L. Scott  University of Rochester
Sponsors
ACM: Association for Computing Machinery
SIGPLAN: ACM Special Interest Group on Programming Languages
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 9,   Downloads (12 Months): 121,   Citation Count: 4
Additional Information:

abstract   references   cited by   index terms   collaborative colleagues  

Tools and Actions: Request Permissions Request Permissions    Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/1122971.1122994
What is a DOI?

ABSTRACT

We present two new nonblocking and contention-free implementations of synchronous queues ,concurrent transfer channels in which producers wait for consumers just as consumers wait for producers. Our implementations extend our previous work in dual queues and dual stacks to effect very high-performance handoff. We present performance results on 16-processor SPARC and 4-processor Opteron machines. We compare our algorithms to commonly used alternatives from the literature and from the Java SE 5.0 class java. util. concurrent. SynchronousQueue both directly in synthetic microbenchmarks and indirectly as the core of Java's Thread-PoolExecutor mechanism (which in turn is the core of many Java server programs).Our new algorithms consistently outperform the Java SE 5.0 SynchronousQueue by factors of three in unfair mode and 14 in fair mode; this translates to factors of two and ten for the ThreadPoolExecutor. Our synchronous queues have been adopted for inclusion in Java 6.


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
4
 
5
6
7
8
9
10
11
 
12
D. Lea. The java.util. concurrent Synchronizer Framework. Science of Computer Programming, 58(3):293--309, Dec. 2005.
13
14
15
16
 
17
W.N. Scherer III and M.L. Scott. Nonblocking Concurrent Objects with Condition Synchronization. In Proc. of the 18th Intl. Symp. on Distributed Computing, Amsterdam, The Netherlands, Oct. 2004.
 
18
W.N. Scherer III, D. Lea, and M.L. Scott. A Scalable Elimination-based Exchange Channel. In Proc., Workshop on Synchronization and Concurrency in Object-Oriented Languages, San Diego, CA, Oct. 2005. In conjunction with OOPSLA'05.
 
19
W.N. Scherer III. Synchronization and Concurrency in User-level Software Systems. Ph.D. dissertation, Dept. of Computer Science, Univ. of Rochester, Jan. 2006.
20
21


Collaborative Colleagues:
William N. Scherer, III: colleagues
Doug Lea: colleagues
Michael L. Scott: colleagues