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

Power supply management method and power supply management system for multi-core CPU (central processing unit) and CPU

A technology of power management and power management devices, which is applied in the field of computers, can solve problems such as interrupted business execution, failure to provide multi-core CPU power management methods, and untimely task processing, so as to achieve the effect of reducing power consumption

Inactive Publication Date: 2013-03-06
HUAWEI TECH CO LTD
View PDF5 Cites 24 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The purpose of the embodiments of the present invention is to provide a multi-core CPU power management method, which aims to solve the problem that the task processing is not timely or the multi-core CPU task bursts due to the inability of the prior art to provide an effective multi-core CPU power management method. Discarded, causing the business execution submitted by the user to be interrupted

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
  • Power supply management method and power supply management system for multi-core CPU (central processing unit) and CPU
  • Power supply management method and power supply management system for multi-core CPU (central processing unit) and CPU
  • Power supply management method and power supply management system for multi-core CPU (central processing unit) and CPU

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0025] figure 1 The implementation flow of the power management method of the multi-core CPU provided by the first embodiment of the present invention is shown, and the details are as follows:

[0026] In step S101, when a preset time period is reached, the number of tasks to be processed by a preset core group in the multi-core CPU is acquired, and the number of cores in the core group is at least greater than one.

[0027] In the embodiment of the present invention, the cores in the multi-core CPU can be logically divided in advance according to the different functions of the cores in the multi-core CPU, for example, the business plane used to complete the tasks corresponding to the business, and the control and management of the multi-core CPU The control plane of the middle core, where the business plane includes one or more logical business groups (kernel groups), the control plane can be deployed on one core, or on multiple cores, and the cores in the business plane core...

Embodiment 2

[0037] In the embodiment of the present invention, a task queue is pre-constructed for the entire kernel group to cache tasks to be processed, so as to facilitate the acquisition of the number of tasks to be processed.

[0038] figure 2 The implementation flow of the power management method of the multi-core CPU provided by the second embodiment of the present invention is shown, and the details are as follows:

[0039] In step S201, a task queue with a preset length is allocated to a preset core group in the multi-core CPU.

[0040]In the embodiment of the present invention, a task queue with a preset length is assigned to a preset core group in the multi-core CPU, and the task queue is used to cache tasks to be processed by the preset core group in the multi-core CPU. A task queue can be assigned to the entire kernel group, so as to facilitate the acquisition of the number of tasks to be processed. The length of the task queue can be determined according to the number of t...

Embodiment 3

[0052] image 3 The structure of the multi-core CPU power management device provided by the third embodiment of the present invention is shown, and for the convenience of description, only the parts related to the embodiment of the present invention are shown.

[0053] The power management device of the multi-core CPU can be used for a multi-core CPU, a control or management device for power supply, wherein:

[0054] The task number acquiring unit 31 acquires the number of tasks to be processed by a preset core group in the multi-core CPU when the preset time period is reached, and the number of cores in the core group is at least greater than 1.

[0055] The number of cores calculation unit 32 calculates the number of cores required to complete the tasks to be processed within a time period according to the number of tasks to be processed, and the number of cores required is less than the number of dormant cores in the core group.

[0056] The core wakeup unit 33 wakes up co...

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 invention is suitable for the technical field of computers, and provides a power supply management method and a power supply management system for a multi-core CPU (central processing unit) and the CPU. The power supply management method comprises the following steps of: in the case that a preset time cycle is achieved, obtaining the quantity of the to-be-processed tasks of a preset core group in the multi-core CPU, wherein the quantity of cores in the core group is at least greater than 1; calculating the quantity of cores needed by finishing the to-be-processed tasks in the time cycle according to the quantity of the to-be-processed tasks; in the case that the quantity of cores needed is greater than a first preset value, awakening the cores with the needed core quantity from the core group; and in the case that the quantity of cores needed is not greater than a second preset value, enabling the cores with a quantity which is a third preset value in the core group to sleep according to the needed core quantity and the quantity of the cores in a running state in the core group. According to the invention, the states of the cores are dynamically adjusted according to the tasks in the task queue of the core group of the multi-core CPU, so as to realize effective management for the power supply power consumption of the multi-core CPU, thus realizing timely processing for the tasks while reducing the power supply power consumption.

Description

technical field [0001] The invention belongs to the technical field of computers, and in particular relates to a multi-core CPU power management method, system and CPU. Background technique [0002] At present, multi-core CPUs (including CPUs with multiple cores) are more and more widely used. Many devices use multi-core CPUs for business processing and improve processing speed. However, while multi-core CPUs bring business processing performance improvements, they also As energy saving and environmental protection issues in the field of information technology are getting more and more attention, the power consumption management of multi-core CPU devices is becoming more and more important. [0003] Since most multi-core CPUs support a variety of working modes, a single core can enter sleep mode, and some cores can be dormant to reduce power consumption during idle periods. The existing technology uses this feature to adjust the multi-core performance by monitoring the CPU u...

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
IPC IPC(8): G06F1/26G06F1/32
Inventor 於少峰徐永新
Owner HUAWEI TECH 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