Hardware Hash Management for AI Latency Reduction

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Software-based hash operations in AI and graph processing applications face performance limitations due to high latency and bandwidth issues, especially when dealing with large datasets and concurrent accesses, as they rely on cache management and memory traversal, leading to inefficiencies in insert, delete, and lookup operations.

Innovation Solution

The implementation of a hardware-accelerated hash management system with near-memory compute capabilities, providing instruction set architecture extensions for programmable hash operations, and a Transactional Integrated Global-memory system with Dynamic Routing and End-to-end flow control (TIGRE) to execute key-value insert, delete, and lookup operations efficiently, reducing software complexity and latency.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Ease of manufacture

If software-based hash operations are used, then implementation simplicity is maintained, but performance deteriorates due to high latency and bandwidth issues

Engineering Contradiction:
Improveimplementation simplicityVSAvoidhash operation performance
Core Design Contradiction:
Ease of manufactureVSProductivity

Solution Approach 1:

The patent replaces software-based hash operations with a hardware accelerator that uses dedicated circuitry to perform hash table operations. The hardware accelerator includes a hash table memory structure with multiple ways and a control unit that manages cache lines, enabling parallel processing and eliminating the performance bottlenecks of software implementations while maintaining programming simplicity through a unified memory interface.

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

Solution Approach 2:

The patent introduces a hardware accelerator as an intermediary component between the CPU and memory. This accelerator includes a control unit that mediates between software instructions and the hash table memory, managing cache line allocation, handling concurrent accesses, and coordinating data transfers to achieve high-performance hash operations without requiring direct software control of memory access.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Adaptability or versatility

If software walks the hash table to find matching pairs, then implementation flexibility is maintained, but performance deteriorates due to continuous cache loading

Engineering Contradiction:
Improveimplementation flexibilityVSAvoidcache loading time
Core Design Contradiction:
Adaptability or versatilityVSLoss of time

Solution Approach 1:

The patent implements preliminary action by pre-loading hash table entries into dedicated cache lines before they are needed for hash operations. The hardware accelerator maintains a buffer of pre-fetched cache lines that can be quickly accessed during hash table walks, eliminating the need for continuous memory loading during the search process and reducing latency significantly.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent ensures continuity of useful action by maintaining a persistent cache line buffer that continues to supply data during hash table operations. The hardware accelerator keeps cache lines loaded and ready for sequential access, allowing the hash table walk to proceed continuously without interruptions for memory loading, thus maximizing processing efficiency.

Inventive Principle:
Principle #20Continuity of useful action

3Productivity

If hardware acceleration is implemented, then performance improves, but device complexity increases

Engineering Contradiction:
Improvehash operation throughputVSAvoidhardware structure complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent achieves universality by designing a hardware accelerator that handles multiple hash table operations (insert, lookup, delete) and supports various data types through a unified architecture. The control unit can manage different cache line allocation strategies and concurrent access patterns, making the hardware solution versatile enough to handle diverse workloads without requiring separate specialized circuits for each operation type.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Solution Approach 2:

The patent applies segmentation by dividing the hash table into multiple ways with separate cache lines, allowing independent processing of different data segments. The hardware accelerator manages these segments in parallel, with each way having its own cache line buffer, enabling concurrent hash operations on different parts of the hash table simultaneously to improve throughput while keeping individual segment management simple.

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS20240241645A1Instruction set architecture and hardware support for hash operations
Publication Date: 2024.07.18 INTEL CORP
  • US20240241645A1 patent drawing
  • US20240241645A1 patent drawing
  • US20240241645A1 patent drawing

AI summary

Systems, apparatuses and methods may provide for technology that includes a plurality of hash management buffers corresponding to a plurality of pipelines, wherein each hash management buffer in the plurality of hash management buffers is adjacent to a pipeline in the plurality of pipelines, and wherein a first hash management buffer is to issue one or more hash packets associated with one or more hash operations on a hash table. The technology may also include a plurality of hash engines corresponding to a plurality of dynamic random access memories (DRAMs), wherein each hash engine in the plurality of hash engines is adjacent to a DRAM in the plurality of DRAMs, and wherein one or more of the hash engines is to initialize a target memory destination associated with the hash table and conduct the one or more hash operations in response to the one or more hash packets.