skip to main content
10.1145/1989493.1989545acmconferencesArticle/Chapter ViewAbstractPublication PagesspaaConference Proceedingsconference-collections
abstract

Brief announcement: multilane - a concurrent blocking multiset

Published: 04 June 2011 Publication History

Abstract

We introduce an extremely simple transformation that allows composition of a more scalable concurrent blocking multiset, or bag, from multiple "lanes" of a potentially less scalable underlying multiset. Our design disperses accesses over the various lanes, reducing contention and memory coherence hot spots. Implemented in Java, for instance, we construct a multiset from multiple lanes of java.util.concurrent.SynchronousQueue that yields more than 8 times the aggregate throughput of a single instance of SynchronousQueue when run on a 64-way Sun Niagara-2 system with 16 producer threads and 16 consumer threads. We experimented with various queues from java.util.conconcurrent and found that in general a MultiLane form will outperform its underlying counterpart.

References

[1]
Y. Afek, G. Korland, M. Natanzon, and N. Shavit. Scalable producer-consumer pools based on elimination-diffraction trees. Euro-Par'10. http://dx.doi.org/10.1007/978-3-642-15291-7_16.
[2]
Y. Afek, G. Korland, and E. Yanovsky. Quasi-linearizability: Relaxed consistency for improved concurrency. PODC 2010.
[3]
D. Dice. Dave Dice's blog, 2011 (accessed Feb 15, 2011). http://blogs.sun.com/dave/entry/atomic_fetch_and_add_vs.
[4]
A. Gottlieb, B. D. Lubachevsky, and L. Rudolph. Basic techniques for the efficient coordination of very large numbers of cooperating sequential processors. ACM Trans. Program. Lang. Syst., 5:164--189, April 1983.
[5]
D. Hendler, I. Incze, N. Shavit, and M. Tzafrir. Flat combining and the synchronization-parallelism tradeoff. SPAA '10. http://doi.acm.org/10.1145/1810479.1810540.
[6]
D. Hendler, I. Incze, N. Shavit, and M. Tzafrir. Scalable flat-combining based synchronous queues. In Distributed Computing. 2010. http://dx.doi.org/10.1007/978-3-642-15763-9_8.
[7]
J. M. Mellor-Crummey. Concurrent queues: Practical fetch-and-φ algorithms. 1987. University of Rochester Computer Science Technical Report # 229.
[8]
M. M. Michael and M. L. Scott. Simple, fast, and practical non-blocking and blocking concurrent queue algorithms. PODC '96. http://doi.acm.org/10.1145/248052.248106.
[9]
W. N. Scherer, III, D. Lea, and M. L. Scott. Scalable synchronous queues. Commun. ACM, 52:100--111, May 2009.
[10]
J. Wilson. Operating System Data structures for Shared-Memory MIMD Machines with Fetch-and-Add, 1988. PhD Dissertation, New York University.

Cited By

View all
  • (2024)Diciclo: Flexible User-level Services for Efficient Multitenant IsolationACM Transactions on Computer Systems10.1145/363940442:1-2(1-47)Online publication date: 13-Feb-2024
  • (2021)A lock-free relaxed concurrent queue for fast work distributionProceedings of the 26th ACM SIGPLAN Symposium on Principles and Practice of Parallel Programming10.1145/3437801.3441583(454-456)Online publication date: 17-Feb-2021
  • (2013)Distributed queues in shared memoryProceedings of the ACM International Conference on Computing Frontiers10.1145/2482767.2482789(1-9)Online publication date: 14-May-2013
  • Show More Cited By

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Conferences
SPAA '11: Proceedings of the twenty-third annual ACM symposium on Parallelism in algorithms and architectures
June 2011
404 pages
ISBN:9781450307437
DOI:10.1145/1989493

Sponsors

In-Cooperation

  • EATCS: European Association for Theoretical Computer Science

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 04 June 2011

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. bags
  2. concurrency
  3. concurrent multisets
  4. message passing
  5. producer-consumer
  6. queues
  7. resource pools

Qualifiers

  • Abstract

Conference

SPAA '11

Acceptance Rates

Overall Acceptance Rate 447 of 1,461 submissions, 31%

Upcoming Conference

SPAA '25
37th ACM Symposium on Parallelism in Algorithms and Architectures
July 28 - August 1, 2025
Portland , OR , USA

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)5
  • Downloads (Last 6 weeks)1
Reflects downloads up to 05 Mar 2025

Other Metrics

Citations

Cited By

View all
  • (2024)Diciclo: Flexible User-level Services for Efficient Multitenant IsolationACM Transactions on Computer Systems10.1145/363940442:1-2(1-47)Online publication date: 13-Feb-2024
  • (2021)A lock-free relaxed concurrent queue for fast work distributionProceedings of the 26th ACM SIGPLAN Symposium on Principles and Practice of Parallel Programming10.1145/3437801.3441583(454-456)Online publication date: 17-Feb-2021
  • (2013)Distributed queues in shared memoryProceedings of the ACM International Conference on Computing Frontiers10.1145/2482767.2482789(1-9)Online publication date: 14-May-2013
  • (2013)Message Passing or Shared MemoryProceedings of the 17th International Conference on Principles of Distributed Systems - Volume 830410.1007/978-3-319-03850-6_7(83-97)Online publication date: 16-Dec-2013

View Options

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Figures

Tables

Media

Share

Share

Share this Publication link

Share on social media