Multi-Core Resource Metadata Management via Local Counters

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

In multi-core computing environments, managing metadata for system resources across multiple threads is inefficient due to coordination issues and high resource usage when updating global resource metrics, leading to increased system resource consumption and potential inaccuracies in resource allocation decisions.

Innovation Solution

Implementing a system where each thread maintains a local counter for resource metrics and updates the global value only when the local counter exceeds a threshold, allowing threads to operate with an allowable error margin, reducing the need for frequent global value updates and consolidations.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If global resource metrics are updated frequently to maintain accuracy, then measurement precision is improved, but system resource consumption and coordination overhead increase

Engineering Contradiction:
Improveresource metric accuracyVSAvoidsystem resource consumption
Core Design Contradiction:
Measurement precisionVSUse of energy by moving object

Solution Approach 1:

The patent divides the global resource metric into per-thread local counters and a global accumulator. Each thread maintains its own counter to track resource usage, and only updates the global metric when necessary. This segmentation allows threads to operate independently with their own metrics while still contributing to the global picture, reducing the frequency of global updates and associated coordination overhead.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces a threshold mechanism where threads accumulate local counter values and only update the global metric when the local counter exceeds a predetermined threshold. This preliminary accumulation action reduces the frequency of global updates, allowing threads to maintain accurate local metrics while minimizing the resource consumption associated with frequent global synchronizations.

Inventive Principle:
Principle #10Preliminary action

2Measurement precision

If frequent global value updates are performed to ensure accurate resource allocation decisions, then measurement precision is improved, but device complexity and coordination overhead increase

Engineering Contradiction:
Improveresource metric accuracyVSAvoidcoordination complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The patent segments the resource metric management into thread-level local counters and a global accumulator. Each thread independently maintains its own counter, eliminating the need for continuous global synchronization. The global metric is updated only when threads need to make allocation decisions or when accumulating results, significantly reducing coordination complexity.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

Each thread serves itself by maintaining its own local counter and making resource allocation decisions based on its local state. Threads only interact with the global metric when necessary, such as when they need to report their accumulated usage or when the system needs to perform global accounting. This self-service approach reduces coordination overhead while maintaining sufficient accuracy for resource management decisions.

Inventive Principle:
Principle #25Self-service

3Measurement precision

If threads continuously synchronize global resource metrics, then measurement precision is improved, but loss of time increases

Engineering Contradiction:
Improveresource metric accuracyVSAvoidsynchronization time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The patent implements a threshold-based preliminary action where threads accumulate local counter values without frequent global synchronization. Threads only update the global metric when their local counter exceeds a threshold or when they need to make resource allocation decisions. This approach maintains measurement precision for practical purposes while eliminating continuous synchronization time losses.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent transforms continuous synchronization into periodic action, where global metrics are updated only at specific intervals or events (when threshold is exceeded, when threads need to make decisions). This periodic approach maintains sufficient accuracy for resource management while dramatically reducing the time spent on synchronization operations.

Inventive Principle:
Principle #19Periodic action

Data Source

PatentUS11263047B2Metadata management for multi-core resource manager
Publication Date: 2022.03.01 SAP SE
  • US11263047B2 patent drawing
  • US11263047B2 patent drawing
  • US11263047B2 patent drawing

AI summary

Various examples are directed to systems and methods for managing resources in a multi-core computing system. A first thread executing at a first core of a multi-core processor unit may allocate a first element of a resource. The first thread may increment a first thread counter for a first metric describing the resource. The first thread may determine that the first thread counter is greater than a first thread counter threshold and update a first metric global value based at least in part on the first thread counter. The first thread may also reset the first thread counter.