Patents
US 8,666,952 B2#44079966 Most CitedActiveUnited States (USPTO)Utility

Optimized deletion and insertion for high-performance resizable RCU-protected hash tables

2Forward Citations (#44079966 Global)
0.2/yrCitation Velocity (#36807273 Global)
0.92Citation PageRank (#46870154 Global)
50Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

Concurrent resizing and modification of a first RCU-protected hash table includes allocating a second RCU-protected hash table, populating it by linking each hash bucket of the second hash table to all hash buckets of the first hash table containing elements that hash to the second hash table bucket, and publishing the second hash table. If the modifying comprises insertion, a new element is inserted at the head of a corresponding bucket in the second hash table. If the modifying comprises deletion, then within an RCU read-side critical section: (1) all pointers in hash buckets of the first and second hash tables that reference the element being deleted are removed or redirected, and (2) the element is freed following a grace period that protects reader references to the deleted element. The first table is freed from memory after awaiting a grace period that protects reader references to the first hash table.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 50 · Forward citations: 2.

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A method for concurrently resizing and modifying an Read-Copy Update (RCU)-protected hash table in a computer system having one or more processors operatively coupled to a memory, said memory including a computer usable medium storing an RCU-protected first hash table and at least one program of instructions executable by said processor to concurrently perform hash table resizing and modifying operations representing said method, said operations comprising: allocating a second RCU-protected hash table in said memory, said second hash table representing a resized version of said first hash tabl

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

References Cited — Backward Prior Art (50)

PatentTitleYearCitations
US 5,442,758 AApparatus and method for achieving reduced overhead mutual exclusion and maintaining coherency in a multiprocessor system utilizing execution history and thread monitoring1995339
US 5,608,893 AMethod for maintaining data coherency using thread activity summaries in a multicomputer system1997171
US 5,727,209 AApparatus and method for achieving reduced overhead mutual-exclusion and maintaining coherency in a multiprocessor system utilizing execution history and thread monitoring1998157
US 5,960,434 ASystem method and computer program product for dynamically sizing hash tables1999149
US 6,219,690 B1Apparatus and method for achieving reduced overhead mutual exclusion and maintaining coherency in a multiprocessor system utilizing execution history and thread monitoring2001144
US 6,662,184 B1Lock-free wild card search data structure and method2003116
US 2004083347 A1Incremental reorganization for hash tables—62
US 6,886,162 B1High speed methods for maintaining a summary of thread activity for multiprocessor computer systems2005111
US 6,996,812 B2Software implementation of synchronous memory barriers200698
US 2006112121 A1Atomically moving list elements between lists using read-copy update—70
US 2006117072 A1Cluster-wide read-copy update system and method—60
US 2006130061 A1Use of rollback RCU with read-side modifications to RCU-protected data structures—46
US 7,085,911 B2Resizable cache sensitive hash table200654
US 2006265373 A1Hybrid multi-threaded access to data structures using hazard pointers for reads and locks for updates—61
US 7,191,272 B2Adaptive reader-writer lock200758
US 2007061372 A1Dynamic update mechanisms in operating systems—72
US 7,287,135 B2Adapting RCU for real-time operating system usage200772
US 7,287,131 B1Method and apparatus for implementing a fully dynamic lock-free hash table200774
US 7,313,555 B2Method for computing the minimum edit distance with fine granularity suitably quickly200721
US 2008021908 A1Synchronization and dynamic resizing of a segmented linear hash table—66
US 7,349,926 B2Atomic renaming and moving of data files while permitting lock-free look-ups200840
US 7,353,346 B2Read-copy-update (RCU) operations with reduced memory barrier usage200871
US 2008082532 A1Using Counter-Flip Acknowledge And Memory-Barrier Shoot-Down To Simplify Implementation of Read-Copy Update In Realtime Systems—75
US 7,395,263 B2Realtime-safe read copy update with lock-free readers200861
US 7,395,383 B2Realtime-safe read copy update with per-processor read/write locks200862
US 7,426,511 B2Efficient support of consistent cyclic search with read-copy-update200851
US 2008228691 A1Concurrent extensible cuckoo hashing—64
US 7,454,581 B2Read-copy update grace period detection without atomic instructions that gracefully handles large numbers of processors200854

Non-Patent Literature (5)

  • A. Arcangeli et al., "Using Read-Copy-Update Techniques for System V IPC in the Linux 2.5 Kernel," 2003 FREENIX, Jun. 14, 2003, 13 pages.
  • Anonymous, "A Method for Implementing a Lock-Free Hash Table", ip.com/priorartdatabase.com/IPCOM000205877D, Apr. 6, 2011, pages.
  • B. Gamsa, "Tornado: Maximizing Locality and Concurrency in a Shared Memory Multiprocessor Operating System," 1999, 14 pages.
  • D. Dice et al., "Mostly Lock-Free Malloc," ACM SIGPLAN Notices, Proceedings of the 3rd International Symposium on Memory Management, ISMM '02, vol. 38, Issue 2 Supplement, Jun. 2002, p. 163-174.
  • D. Guniguntala et al., "The read-copy-update mechanism for supporting real-time applications on shared-memory multiprocessor systems with Linux", IBM Systems Journal vol. 47 No. 2, 2008, pp. 221-236.