CPU Resource Reservation via Dynamic Quota Allocation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing CPU resource reservation methods in VM systems are inflexible and complex, as they require CPU binding, limiting the use of reserved resources to a single VM and reducing flexibility.

Innovation Solution

A method that selects a target working node based on a load balancing strategy, calculates the available CPU quota by determining the total number of virtual cores and allocatable physical cores, and configures CPU resource reservation accordingly, allowing multiple VMs to use reserved resources effectively.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If CPU binding is used to reserve CPU resources for VMs, then CPU resource reservation can be implemented, but the flexibility is reduced and the complexity of the reservation mechanism increases

Engineering Contradiction:
ImproveCPU resource reservationVSAvoidflexibility
Core Design Contradiction:
ReliabilityVSAdaptability or versatility

Solution Approach 1:

The patent changes the parameter of CPU resource reservation from a fixed binding mode to a quota-based mode. Instead of binding CPU cores to specific VMs, the system now reserves CPU quotas that can be dynamically allocated and shared among multiple VMs, thereby improving flexibility while maintaining reservation reliability

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The patent makes the CPU reservation mechanism universal by allowing reserved CPU quotas to be shared across multiple VMs rather than being dedicated to a single VM. This multi-functional approach enables any VM in the cluster to utilize the reserved CPU resources, enhancing both flexibility and resource utilization

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

2Reliability

If CPU binding is performed for each VM to reserve CPU resources, then CPU resource reservation is achieved, but the complexity of the reservation mechanism increases

Engineering Contradiction:
ImproveCPU resource reservationVSAvoidcomplexity of reservation mechanism
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent merges the CPU reservation function with the existing quota management system. By integrating CPU reservation into the broader quota framework, the system eliminates the need for separate CPU binding mechanisms, thereby reducing overall system complexity while maintaining reliable resource reservation

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The patent extracts the CPU reservation logic from the complex CPU binding process and simplifies it into a quota calculation and allocation mechanism. This extraction separates the reservation function from the binding function, making the overall system simpler and more maintainable

Inventive Principle:
Principle #2Taking out (Extraction)

Data Source

PatentUS11656901B2CPU resource reservation method and apparatus, and related device thereof
Publication Date: 2023.05.23 LANGCHAO ELECTRONIC INFORMATION IND CO LTD
  • US11656901B2 patent drawing
  • US11656901B2 patent drawing

AI summary

Provided are a Central Processing Unit (CPU) resource reservation method, apparatus, and device, and a computer-readable memory medium. The method includes: selecting a target working node according to a received Virtual Machine (VM) startup request; obtaining a total number of virtual cores and a number of allocatable physical cores in the target working node statistically; performing calculation to obtain an available CPU quota according to the total number of virtual cores and the number of allocatable physical cores; and performing CPU resource reservation configuration on the target working node by use of the available CPU quota. According to the CPU resource reservation method, the reservation of CPU resources in a VM system may be implemented more flexibly and efficiently.