Attributed Priority Queue for Computing Task Scheduling

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing scheduling methods for computing tasks in heterogeneous computing environments are inefficient, requiring numerous priority queues and resulting in significant CPU overhead, as they fail to effectively account for varying processing unit attributes and priorities.

Innovation Solution

The implementation of attributed priority queues using numerical representations that combine priority and attribute bits, allowing for efficient sorting and distribution of computing tasks across processing units, with mechanisms to detect and address notification events indicating inefficient task processing.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Manufacturing precision

If separate priority queues are used for computing tasks requiring various attributes of processing units, then task distribution accuracy is improved, but device complexity and CPU overhead increase significantly

Engineering Contradiction:
Improvetask distribution accuracyVSAvoidnumber of priority queues
Core Design Contradiction:
Manufacturing precisionVSDevice complexity

Solution Approach 1:

The patent merges multiple separate priority queues into a single unified priority queue. Each computing task is represented by a numerical value that encodes both its priority level and required processing unit attributes. This consolidation reduces the number of queues from potentially thousands (n!+2 for n attributes) to just one, while maintaining accurate task distribution through the encoded numerical representations.

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The patent transforms the representation of computing tasks by encoding both priority and attribute information into a single numerical value. This parameter transformation allows the system to compare and sort tasks using simple numerical operations rather than complex multi-dimensional attribute matching, thereby reducing computational overhead while preserving distribution accuracy.

Inventive Principle:
Principle #35Parameter changes

2Manufacturing precision

If multiple separate priority queues are maintained for different processing unit attributes, then task scheduling precision is improved, but productivity decreases due to significant CPU overhead

Engineering Contradiction:
Improvescheduling precisionVSAvoidCPU efficiency
Core Design Contradiction:
Manufacturing precisionVSProductivity

Solution Approach 1:

The patent combines multiple attribute-specific priority queues into a single queue, eliminating the need to maintain and manage numerous separate queue structures. This merging reduces memory access patterns and simplifies queue management operations, thereby improving CPU efficiency while preserving scheduling precision through encoded task representations.

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The patent replaces complex mechanical-like operations of managing multiple separate queues with a simplified numerical comparison system. By encoding task attributes and priorities into numerical values, the system uses efficient bitwise and arithmetic operations instead of complex data structure manipulations, significantly reducing CPU overhead.

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

3Device complexity

If traditional scheduling methods are used without attributed priority queues, then device complexity is reduced, but task distribution efficiency and adaptability deteriorate

Engineering Contradiction:
Improvescheduling system simplicityVSAvoidtask distribution efficiency
Core Design Contradiction:
Device complexityVSProductivity

Solution Approach 1:

The patent creates a universal priority queue system that can handle multiple processing unit attributes simultaneously through a single queue structure. The numerical encoding scheme allows the same queue to efficiently manage tasks with different attribute requirements (such as GPU acceleration, memory capacity, processor speed) without requiring separate specialized queues for each attribute type.

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

Solution Approach 2:

The patent transforms traditional scheduling parameters into a unified numerical representation that captures both priority and attribute information. This parameter transformation enables efficient sorting and distribution using simple numerical comparisons, achieving high task distribution efficiency while maintaining system simplicity through a single queue structure.

Inventive Principle:
Principle #35Parameter changes

4Adaptability or versatility

If numerous priority queues are used to account for processing unit attributes, then adaptability to heterogeneous environments is improved, but loss of time increases due to queue management overhead

Engineering Contradiction:
Improveadaptability to heterogeneous computing environmentsVSAvoidtime for queue management operations
Core Design Contradiction:
Adaptability or versatilityVSLoss of time

Solution Approach 1:

The patent merges multiple attribute-specific queues into one unified queue, dramatically reducing the time required for queue management operations. By consolidating queue maintenance, sorting, and task assignment into a single structure, the system eliminates redundant operations across numerous separate queues while maintaining full adaptability to heterogeneous computing environments through encoded task representations.

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The patent performs preliminary encoding of task attributes and priorities into numerical values before task submission to the queue. This preliminary action ensures that when tasks are sorted and distributed, the system can use efficient numerical comparisons rather than performing complex attribute matching operations, significantly reducing time loss while maintaining adaptability.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS12164955B2Computing task scheduling in a computer system utilizing efficient attributed priority queues
Publication Date: 2024.12.10 RED HAT LLC
  • US12164955B2 patent drawing
  • US12164955B2 patent drawing
  • US12164955B2 patent drawing

AI summary

Aspects of the disclosure provide for mechanisms for scheduling computing tasks in a computer system. A method of the disclosure includes determining one or more attributes associated with a computing task, determining an ordered list of the attributes in view of priorities associated with the attributes, generating a first numerical representation of the attributes in view of the ordered list of the attributes, determining a second numerical representation of a priority of the computing task, and determining a third numerical representation of a total priority of the computing task in view of the first numerical representation and the second numerical representation.