Container Resource Claim Optimization via Forecasting Models

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Container orchestrators face inefficiencies in resource allocation due to over-provisioned resource requests, leading to underutilization and premature node exhaustion, as actual CPU and memory usage often differ from declared requirements, causing new container placements to be rejected.

Innovation Solution

A method using machine learning to determine optimal resource claims based on historical utilization data by training forecasting models for CPU and memory usage, allowing for dynamic adjustment of resource requests to match actual needs, thereby improving resource utilization and reducing costs.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Ease of operation

If container orchestrators reserve minimum resource capacity based on declared requirements, then resource allocation is simplified and containers can be placed on nodes, but resource utilization becomes inefficient and nodes exhaust resources prematurely

Engineering Contradiction:
Improveresource allocation simplicityVSAvoidresource utilization efficiency
Core Design Contradiction:
Ease of operationVSProductivity

Solution Approach 1:

The system performs preliminary analysis of historical resource utilization data before finalizing resource claims. By examining past usage patterns and predicting future needs, the system pre-calculates optimal resource allocations rather than relying solely on static declared requirements, thus improving utilization efficiency while maintaining allocation simplicity

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system implements a feedback mechanism where actual resource consumption data is continuously collected and fed back into the resource claim optimization process. This closed-loop approach allows the system to adjust resource claims based on real performance data, resolving the contradiction between simplified allocation and efficient utilization

Inventive Principle:
Principle #23Feedback

2Reliability

If containers declare high resource requirements to ensure availability, then resource shortage is prevented, but resource waste increases and costs rise

Engineering Contradiction:
Improveresource availabilityVSAvoidresource waste
Core Design Contradiction:
ReliabilityVSLoss of energy

Solution Approach 1:

The system dynamically changes resource claim parameters based on analyzed utilization patterns. Instead of using fixed high resource declarations, the system adjusts CPU and memory claims to match actual consumption patterns while maintaining reliability thresholds, thus reducing resource waste without compromising availability

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The system applies partial resource allocation by claiming only the necessary portion of resources based on historical data analysis rather than declaring excessive resources. This approach ensures sufficient resource availability for normal operations while avoiding the waste associated with over-provisioning

Inventive Principle:
Principle #16Partial or excessive action

3Productivity

If resource claims are reduced to match actual usage, then resource efficiency improves and costs decrease, but risk of resource shortage increases

Engineering Contradiction:
Improveresource efficiencyVSAvoidresource sufficiency
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The system incorporates a cushioning mechanism by adding buffer capacity to optimized resource claims based on predicted peak usage and variability in utilization patterns. This ensures that while resource claims are reduced from over-provisioned levels, sufficient headroom is maintained to handle unexpected demand spikes, thus maintaining reliability while improving efficiency

Inventive Principle:
Principle #11Beforehand cushioning (Prior cushioning)

Data Source

PatentUS10719363B2Resource claim optimization for containers
Publication Date: 2020.07.21 VMWARE INC
  • US10719363B2 patent drawing
  • US10719363B2 patent drawing
  • US10719363B2 patent drawing

AI summary

Techniques for optimizing resource claims for containers is described. In one example, resource utilization data associated with at least one container may be obtained for a period. A set of forecasting models may be trained based on the resource utilization data associated with a portion of the period. Resource utilization of the at least one container may be predicted for a remaining portion of the period using the set of trained forecasting models. The predicted resource utilization may be compared with the obtained resource utilization data for the remaining portion of the period. A forecasting model may be determined from the set of trained forecasting models based on the comparison to optimize resource claims for the at least one container.