Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

CPU allocation control method, device, server and storage medium

A control method and server technology, applied in the direction of resource allocation, multi-program device, program control design, etc., can solve the problem of low CPU usage rate, achieve the effect of improving execution efficiency and CPU usage rate

Active Publication Date: 2021-07-30
TENCENT TECH (SHENZHEN) CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The embodiment of the present application provides a CPU allocation control method, device, server, and storage medium, which can solve the problem of low CPU utilization under multi-task mixed deployment

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • CPU allocation control method, device, server and storage medium
  • CPU allocation control method, device, server and storage medium
  • CPU allocation control method, device, server and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033] In order to make the object, technical solution and advantages of the present invention clearer, the implementation manner of the present invention will be further described in detail below in conjunction with the accompanying drawings.

[0034] The "plurality" mentioned herein means two or more. "And / or" describes the association relationship of associated objects, indicating that there may be three types of relationships, for example, A and / or B may indicate: A exists alone, A and B exist simultaneously, and B exists independently. The character " / " generally indicates that the contextual objects are an "or" relationship.

[0035] Please refer to figure 1 , which shows a schematic diagram of an implementation environment provided by an embodiment of the present application. The implementation environment may include: a terminal 110 , a cluster manager (ResourceManager) 120 and a server 130 including a node manager (NodeManager) 131 .

[0036] The terminal 110 may b...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The application discloses a CPU allocation control method, device, server and storage medium, belonging to the field of resource scheduling. The method includes: obtaining the CPU demand of the target task; determining the target Node according to the CPU demand, the target Node is used to execute the target task, and the CPU allocation of the target Node is greater than the CPU demand; according to the CPU state of the CPU in the target Node , to allocate CPU for the target task, the CPU state includes hyper-threading state and non-hyper-threading state; when the target task is in the execution state, perform oversold control on the oversold CPU in the server according to the current CPU usage rate of the server. The method provided by this application realizes the adaptive allocation of CPU to the target task based on the CPU state, which helps to improve the execution efficiency of the target task; in addition, the oversold mechanism is introduced to control the oversold CPU, which further improves the CPU of the server. usage rate.

Description

technical field [0001] The embodiments of the present application relate to the field of resource scheduling, and in particular to a CPU allocation control method, device, server, and storage medium. Background technique [0002] The distributed scheduling system is oriented to multi-users and multi-tasks. The distributed scheduling system mainly includes two aspects: task scheduling and resource scheduling. [0003] Among them, resource scheduling mainly solves the problem of how to schedule packaged CPU and memory resources among multiple tasks. [0004] For the situation where multiple online tasks and offline tasks are deployed on the same server at the same time, the relevant CPU allocation scheme does not consider the mixed deployment of multi-tasks based on this situation, nor does it consider the impact of different CPU allocations on the system when hyper-threading is enabled. The impact of multi-task mixed deployment makes it difficult to increase CPU usage and re...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F9/50
CPCG06F9/5027G06F2209/503G06F2209/508
Inventor 和利冰
Owner TENCENT TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products