Method for automatically verifying CPU (central processing unit) power consumption limit function

An automatic verification and power consumption technology, which is applied in the direction of faulty hardware testing methods, faulty computer hardware, instruments, etc., can solve the problems of a lot of time, waste of time and energy of testers, and low test efficiency, so as to save test time , Improve test accuracy and improve work efficiency

Active Publication Date: 2018-05-04
INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF5 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

At present, manual testing is mainly used to verify the CPU power consumption limitation, resulting in a large amount of time for the entire verification test process, which seriously wastes the time and energy of the testers, and the test efficiency is very low.

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 for automatically verifying CPU (central processing unit) power consumption limit function
  • Method for automatically verifying CPU (central processing unit) power consumption limit function

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0026] This embodiment proposes a method for automatically verifying the CPU power consumption limiting function, and its implementation process includes:

[0027] Step 1, obtain the current CPU power consumption value P0;

[0028] Step 2, pressurize the CPU, and obtain the CPU power consumption value P1 after pressurization;

[0029] Specifically, use yes>> / dev / null& to pressurize the CPU to obtain the current power consumption value P1 of the CPU after pressurization;

[0030] Step 3, obtain the minimum value M0 of the settable CPU power consumption limit;

[0031] Specifically, the range of the CPU power consumption limit that can be set is obtained, and the minimum value M0 is obtained therefrom;

[0032] Step 4, subtract 5 from the CPU power consumption value P1 after pressurization as the power consumption limit value X to be set;

[0033] Specifically, the power consumption of the general CPU after pressurization is between 20W and 50W, and the limit value X is set t...

Embodiment 2

[0038] A method for automatically verifying the CPU power consumption limiting function proposed in this embodiment is another specific implementation of the present invention. On the basis of the method for automatically verifying the CPU power consumption limiting function in Example 1, a method for step 5 is proposed Detailed technical solutions to further enhance the feasibility and practicality of technical solutions.

[0039] Specifically, in step five, compare X with M0, that is, judge the relationship between P1-5 and M0; where X is the power consumption limit value to be set by the CPU, which is equal to the CPU power consumption value P1 minus 5 after pressurization ;M0 is the minimum value of the CPU power consumption limit that can be set;

[0040] If X

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 automatically verifying a CPU (central processing unit) power consumption limit function, and relates to the field of server software. The method includes the steps: performing pressuring on a CPU to obtain a power consumption value P1 of the pressured CPU; acquiring a settable minimum value M0 of CPU power consumption limit; subtracting five from the power consumption value P1 of the pressurized CPU to serve as a power consumption limit value X to be set; comparing X and M0, directly setting CPU power consumption limit or amending the settable minimum value to limit CPU power consumption, and viewing whether the CPU power consumption is successfully limited or not after setting to achieve automatically testing of the CPU power consumption limit function. Compared with a traditional manual testing method, the CPU power consumption limit function is automatically tested, the method is simple and easy to use, testing time greatly saved, and working efficiency is improved.

Description

technical field [0001] The invention relates to the field of server software testing, in particular to a method for automatically verifying the CPU power consumption limiting function. Background technique [0002] In terms of server power consumption, a very important key factor is the power consumption of the CPU. In order to realize energy saving of the server, it is necessary to limit the power consumption of the CPU, and implement the function limitation by limiting the CPU performance. Verifying the CPU power consumption limit requires a large number of repeated tests to verify whether the power consumption limit function is effective. At present, manual testing is mainly used to verify the CPU power consumption limitation, resulting in a large amount of time for the entire verification test process, which seriously wastes the time and energy of testers, and the test efficiency is very low. Contents of the invention [0003] The invention provides a method for auto...

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): G06F11/22
CPCG06F11/2236G06F11/2273
Inventor 李壮
Owner INSPUR SUZHOU INTELLIGENT TECH 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