Unlock instant, AI-driven research and patent intelligence for your innovation.

A method, system and medium for automatic testing and collection of server energy consumption

A technology of automated testing and collection methods, applied in the field of server testing, can solve the problems of displaying power consumption data change charts, inaccurate BMC data, easy loss, etc., and achieve the effect of improving energy consumption testing efficiency and shortening the test cycle

Active Publication Date: 2022-07-12
INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In addition, the comparative public document of the prior art "a test method, device, equipment and medium for server energy consumption" (patent application number: CN201910695016) mentions a method for testing server energy consumption. The script reads the power consumption data of the whole machine and executes the stress test script Rundedirector.sh to call the SPEC Power toolkit, so that the energy consumption test can be completed without using hardware devices such as power meters, but this method cannot support concurrent testing of multiple servers Scenario, after the test is completed, it is necessary to manually stop the power consumption data collection script, and the collected data is only written in the txt file, and it is impossible to display the power consumption data change chart to the testers in real time; in addition, this solution only supports the collection of the entire The power consumption of the computer, the energy consumption test for some components (for example: CPU full load) cannot collect component data, and the data is stored in a text file, which is easy to lose and cannot quickly retrieve historical data, and the data utilization rate is low
[0004] The comparative public document of the prior art "a server power measurement method and system" (patent application number: CN201911199632) mentions a method of server power collection, which uses Celery's task distribution mechanism to configure the project model I2C parameters, use the polling method to read the power consumption data of the whole machine and components through the IPMITOOL command, and do not support remote energy consumption automatic testing, and use the IPMITOOL command to access the BMC to read the power consumption data of the whole machine, which will be consistent with the BMC's own wheel Intermittent conflicts occur in the polling and reading process, resulting in inaccurate data returned by the BMC, and the polling method is used to read, and it takes too long to poll all the components.

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
  • A method, system and medium for automatic testing and collection of server energy consumption
  • A method, system and medium for automatic testing and collection of server energy consumption
  • A method, system and medium for automatic testing and collection of server energy consumption

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0040] The preferred embodiments of the present invention will be described in detail below with reference to the accompanying drawings, so that the advantages and features of the present invention can be more easily understood by those skilled in the art, and the protection scope of the present invention can be more clearly defined.

[0041] Embodiments of the present invention include:

[0042] See figure 1 , an automated testing and collection method for server energy consumption, comprising:

[0043] First establish a Python environment, and complete the installation of Celery and its supporting message queue software Redis in the Python environment;

[0044] The user logs in to the WEB service;

[0045] Enter the task management module, configure the test tasks through the task management module, the test tasks include selecting the server project to be tested and the energy consumption test type, enter the OS information and BMC information of the server system to be t...

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 automatic testing and collection of server energy consumption, which comprises configuring a test task in a task management module, inputting information of a server to be tested and saving it into a back-end task configuration table of a database; asynchronously initiating energy consumption through an asynchronous initiating function For test tasks and data collection tasks, the energy consumption test process obtains the information of the server to be tested and the energy consumption test type from the back-end task configuration table, establishes a remote connection through the file transfer module, and executes the energy consumption test task in an uninterrupted manner in the background; The information of the server to be tested is obtained from the back-end task configuration table, and a multi-threaded queue is established through the thread module to perform the power consumption acquisition task; the invention can simultaneously test the energy consumption test of multiple servers in a high concurrency mode, and after the energy consumption test is completed Automatically stop data collection, provide testers with visual analysis charts and historical data retrieval in real time, and improve the efficiency of energy consumption testing.

Description

technical field [0001] The invention relates to the technical field of server testing, in particular to a method, system and medium for automatic testing and collection of server energy consumption. Background technique [0002] In the existing server energy consumption test, the Spec Power tool is generally used with hardware devices such as a power meter to test and record the overall power consumption of the server in a pressurized state. [0003] In addition, the prior art comparative publication "Method, Device, Equipment and Medium for Testing Server Energy Consumption" (Patent Application No.: CN201910695016) mentions a method for testing server energy consumption, which is performed by manually executing a shell The script reads the power consumption data of the whole machine, and executes the stress test script Rundeirector.sh to call the SPEC Power toolkit, so that the power consumption test can be completed without hardware devices such as power meters. However, t...

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): G06F11/22G06F9/451
CPCG06F11/2205G06F11/2273G06F9/451Y02D10/00
Inventor 徐基法邓淮谦
Owner INSPUR SUZHOU INTELLIGENT TECH CO LTD