Method and apparatus for controlling CPU

A central processing unit, processor technology, applied in data processing power supply, electrical digital data processing, digital data processing components and other directions, can solve problems such as system power consumption reduction, frequent CPU opening and closing, etc.

Active Publication Date: 2013-11-27
HUAWEI DEVICE CO LTD
View PDF3 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, due to the "burst" characteristics of the system's real-time process and CPU usage, this technical solution is likely to cause the CPU to be turned on and off frequently in a short period of time, which is not conducive to the reduction of system power consumption.

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
  • Method and apparatus for controlling CPU
  • Method and apparatus for controlling CPU
  • Method and apparatus for controlling CPU

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0266] In order to confirm the purpose, technical solution and advantages of the present invention more clearly, the embodiments of the present invention will be further described in detail below in conjunction with the accompanying drawings.

[0267] The first embodiment of the present invention provides a method for controlling a CPU, such as figure 1 shown, including the following steps:

[0268] Step 101, acquiring the usage rate and working frequency of one of the working CPUs. The number of working CPUs is M, and M is a positive integer greater than or equal to two. CPU usage and operating frequency can be obtained through detection. The CPU usage refers to the relative percentage of CPU resources occupied by programs running in the system.

[0269] Step 102 , judging whether the operating frequency of the one CPU is lower than the core-off frequency. If the operating frequency of the one CPU is lower than the core shutdown frequency, go to step 103 , otherwise go to...

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 discloses a method for controlling CPUs, comprising: obtaining the occupancy rate and work frequency of one of the CPUs in work, wherein the number of CPUs in work is M; when the work frequency of the CPU is lower than an off-core frequency, obtaining a CPU power consumption sensitive factor corresponding to the CPU by multiplying the occupancy rate of the CPU and a first weight; when the work frequency of the CPU is not lower than the off-core frequency, obtaining the CPU power consumption sensitive factor corresponding to the CPU by multiplying the occupancy rate of the CPU and a second weight; executing the steps for N times to the M CPUs repeatedly, wherein N is an integral not less than 1; obtaining M*N CPU power consumption sensitive factors and an even number; and powering off at least one CPU in work if the even number is smaller than the power-off CPU power consumption sensitive factor.

Description

technical field [0001] The invention relates to the communication field, in particular to a method and device for controlling a central processing unit. Background technique [0002] With the increasing demand for computing, especially in the field of mobile computing, processors are developing towards high frequency and multi-core, which greatly increases the parallel processing capability per unit time, but also brings a large power consumption burden. The control method of traditional single-core processors is no longer suitable for multi-core processors. Reducing the ineffective power consumption of processors is of great significance to computing systems, especially mobile handheld computing devices. [0003] The prior art proposes a technical solution for intelligently managing CPU hot-swapping according to information such as central processing unit (Central Processing Unit, CPU) occupancy rate and the number of real-time processes, so as to reduce the power consumpti...

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 Applications(China)
IPC IPC(8): G06F1/32
CPCG06F1/3287G06F1/324G06F1/3206G06F1/3243Y02D10/00
Inventor 魏孔刚张华彭钰
Owner HUAWEI DEVICE CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products