Recalibrating fine-grained locking in parallel bucket hash tables

  • Á. Dudás
  • , S. Juhász
  • , S. Kolumbán

Research output: Chapter in Book/Report/Conference proceedingConference contributionAcademicpeer-review

Abstract

Mutual exclusion protects data structures in parallel environments in order to preserve data integrity. A lock being held effectively blocks the execution of all other threads wanting to access the same shared resource until the lock is released. This blocking behavior reduces the level of parallelism causing performance loss. Fine grained locking reduces the contention for the locks resulting in better throughput, however, the granularity, i.e. how many locks to use, is not straightforward. In large bucket hash tables, the best approach is to divide the table into blocks, each containing one or more buckets, and locking these blocks independently. The size of the block, for optimal performance, depends on the time spent within the critical sections, which depends on the table's internal properties, and the arrival intensity of the queries. A queuing model is presented capturing this behavior, and an adaptive algorithm is presented fine-tuning the granularity of locking (the block size) to adapt to the execution environment.

Original languageEnglish
Title of host publicationFacing the multicore-challenge III
Subtitle of host publication aspects of new paradigms and technologies in parallel computing
EditorsR. Keller, D. Kramer, J.P. Weiss
Place of PublicationBerlin
PublisherSpringer
Chapter6
Pages60-71
Number of pages12
ISBN (Electronic)978-3-642-35893-7
ISBN (Print)978-3-642-35892-0
DOIs
Publication statusPublished - 2013
Externally publishedYes
Event3rd Conference on Facing the Multicore-Challenge - Stuttgart, Germany
Duration: 19 Sept 201221 Sept 2012

Publication series

NameLecture Notes in Computer Science (LNCS)
Volume7686
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

Conference3rd Conference on Facing the Multicore-Challenge
Country/TerritoryGermany
CityStuttgart
Period19/09/1221/09/12

Fingerprint

Dive into the research topics of 'Recalibrating fine-grained locking in parallel bucket hash tables'. Together they form a unique fingerprint.

Cite this