Lazy Increment Counter Engine for Data Center Performance

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

High-frequency counters in modern data centers consume significant compute resources and can become bottlenecks due to their resource-intensive nature, leading to performance issues such as increased packet latency and reduced throughput.

Innovation Solution

Implementing a counter device with its own memory buffer, allowing for cache bypass lazy increments, which enables cores to update counters independently without waiting for responses, thereby reducing the need for cache coherency and minimizing processor overhead.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If traditional read-modify-write counter updates are used, then accurate counting is maintained, but processor overhead increases and packet latency increases

Engineering Contradiction:
Improvecounting accuracyVSAvoidprocessor overhead
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The system segments the counter update operation into two independent parts: the counter itself (stored in counter device memory) and the update mechanism (lazy increment engine). This allows the counter to be updated independently from the processing logic, eliminating the need for read-modify-write cycles and reducing processor overhead while maintaining counting accuracy through atomic update guarantees.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces a lazy increment engine as an intermediary component between the processing cores and the counter. This intermediary handles the counter updates asynchronously, allowing cores to issue update commands without waiting for immediate completion, thereby reducing processor overhead while ensuring accurate counts through proper synchronization mechanisms.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Measurement precision

If frequent counter updates are performed, then accurate real-time tracking is achieved, but throughput decreases due to resource consumption

Engineering Contradiction:
Improvereal-time tracking accuracyVSAvoidpacket throughput
Core Design Contradiction:
Measurement precisionVSProductivity

Solution Approach 1:

The system implements periodic or asynchronous updates rather than synchronous frequent updates. The lazy increment engine processes counter updates in a periodic manner or in batches, reducing the immediate resource consumption during packet processing while maintaining real-time tracking accuracy through timely updates. This allows high throughput during normal operation while ensuring accurate counts are maintained.

Inventive Principle:
Principle #19Periodic action

3Stability of the object's composition

If cache coherency is maintained for counter updates, then data consistency is ensured, but processor cycles increase

Engineering Contradiction:
Improvedata consistencyVSAvoidprocessor cycles
Core Design Contradiction:
Stability of the object's compositionVSUse of energy by moving object

Solution Approach 1:

The patent extracts the counter from the traditional memory hierarchy and places it in a dedicated counter device with its own memory buffer. This extraction removes the counter from the cache-coherency domain, allowing updates to proceed without triggering cache coherency protocols. Data consistency is maintained through the atomic update guarantees of the lazy increment engine rather than through cache coherency mechanisms, significantly reducing processor cycles.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The system replaces the mechanical cache coherency system with a different consistency mechanism. Instead of relying on cache coherency protocols (which consume processor cycles), the patent uses atomic update guarantees and memory ordering primitives to ensure data consistency. This substitution eliminates the need for continuous cache coherency maintenance while preserving the stability of counter data.

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

Data Source

PatentUS11080202B2Lazy increment for high frequency counters
Publication Date: 2021.08.03 INTEL CORP
  • US11080202B2 patent drawing
  • US11080202B2 patent drawing
  • US11080202B2 patent drawing

AI summary

A computing apparatus, including: a processor; a pointer to a counter memory location; and a lazy increment counter engine to: receive a stimulus to update the counter; and lazy increment the counter including issuing a weakly-ordered increment directive to the pointer.