CN111258830B - Server power consumption comparison test system and method - Google Patents

Server power consumption comparison test system and method Download PDF

Info

Publication number
CN111258830B
CN111258830B CN202010056625.5A CN202010056625A CN111258830B CN 111258830 B CN111258830 B CN 111258830B CN 202010056625 A CN202010056625 A CN 202010056625A CN 111258830 B CN111258830 B CN 111258830B
Authority
CN
China
Prior art keywords
power consumption
server
tested
control machine
test
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010056625.5A
Other languages
Chinese (zh)
Other versions
CN111258830A (en
Inventor
刘坤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN202010056625.5A priority Critical patent/CN111258830B/en
Publication of CN111258830A publication Critical patent/CN111258830A/en
Application granted granted Critical
Publication of CN111258830B publication Critical patent/CN111258830B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2273Test methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2268Logging of test results
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2294Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing by remote test
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

The invention provides a server power consumption comparison test system and a server power consumption comparison test method, wherein an upper control machine and a power consumption comparison test system cooperated by a server are set up, the upper control machine reads real-time power consumption data of a power meter in each work load continuous process of a SPECPower, a server to be tested reads average power consumption data of each work load continuous process of the SPECPower captured by a BMC, and two groups of test data can be contrasted and verified, so that the problem that when the SPECpower test server is used for testing the whole machine power consumption, the data accuracy is not high due to instantaneous jump errors when the BMC reads the power consumption data of the SPECpower whole machine is solved; the method increases the reading of the power consumption of the memory of the server to be tested, the rotating speed of the fan and the duty ratio value, and provides accurate data support for the evaluation of the power consumption performance of the whole server and the introduction and verification of energy-saving strategies of parts such as a CPU, the fan, the memory, a power supply and the like.

Description

Server power consumption comparison test system and method
Technical Field
The invention relates to the technical field of server testing, in particular to a system and a method for server power consumption comparison testing.
Background
With the rapid development of Chinese information technology, the cloud computing technology has made a great progress, cloud data centers in various places are built successively, and cloud service product servers have gradually advanced into daily life of people. With the use of a large number of servers, the power consumption of the servers is higher and higher, the power cost of the data center is increased, and the optimization of the power consumption of the servers is particularly important. The reduction of power consumption is realized on the premise of ensuring the high performance of the server, and only if a test tool which can be used for accurately monitoring and managing the power consumption of the server in real time is developed, and the relation between the power consumption and the performance of the whole server and parts is mastered, the energy-saving strategy introduction and verification of the parts such as a CPU, a fan, a memory, a power supply and the like can be pertinently carried out, so that the server becomes more energy-saving and environment-friendly.
SPECPower _ ssj2008 is a new SPEC test standard, is an evaluation standard close to performance/power consumption in an actual working environment of a server, and aims to establish an industry evaluation standard taking a performance-power consumption ratio of a server system as a reference. SPECpower _ ssj2008 is the first benchmark tool in the industry for evaluating the power consumption of a system-level server with respect to computing performance. The performance of the whole server is calculated by using JDK of standard Java, and the workload/energy consumption ratio of the server is obtained according to the power consumption of 11 different workload region segments. The maximum workload of a server is taken as a 100% index, and each 10% workload is reduced to a region, comparing the energy consumption within each different workload region.
For the power consumption test of the server, the currently used method is as follows: and (3) running the SPECPower on the server, simultaneously running a script capable of recording the total power consumption of the server and the power consumption of the CPU, and recording power consumption data in the total running time. After the SPECpower operation is finished, according to the power consumption data read by the BMC in the continuous process of each work load in the SPECpower operation, the average power consumption data in each work load time is calculated, and the calculated power consumption data is displayed in a csv table format.
In the SPECpower operation process, when each workload process continuously operates, although the server BMC can continuously read and record a group of complete machine power consumption data, due to the fact that instantaneous jump errors exist when the BMC reads the SPECpower complete machine power consumption data, test data have randomness differences, and therefore the accuracy of the data reading method is not high. In addition, different scripts for recording tests such as CPU power consumption, memory power consumption, fan rotating speed and duty ratio can generate a plurality of log files, the data arrangement workload is large, and the calculation process is complicated.
Disclosure of Invention
In view of the above problems, an object of the present invention is to provide a server power consumption comparison testing apparatus and method, which can accurately and quickly implement power consumption testing of a server, and the obtained power consumption data is an important basis for optimizing the power consumption performance of the whole machine and judging the power consumption ratio of the server performance.
In order to achieve the purpose, the invention is realized by the following technical scheme: a server power consumption comparison test system, comprising: the system comprises an upper control machine, a server to be tested and a power meter; the upper control machine is connected with a built-in power supply socket of the power meter through a power line, the power meter is in data connection with the upper control machine, and the upper control machine is in network connection with the server to be tested; a first power consumption testing module is arranged in the upper control machine and is used for running a data collection script to collect power consumption data of the whole machine and components of the server to be tested in a working load area section, wherein the power consumption data is collected by the upper control machine and the power meter; the method comprises the steps that a second power consumption testing module is arranged in the server to be tested and used for operating a power consumption testing script to read power consumption data of the whole machine and parts of the server to be tested in a work load area section, wherein the power consumption testing script comprises a preset SPECPower consumption testing program of the SPECPower consumption server.
Furthermore, the power meter is connected with a COM port of an upper controller through a USB-to-serial port data line, and the upper controller is connected with an OCP network card of the tested server through a network cable.
Further, the power consumption test program of the SPECPower server comprises a work load test process of the whole power consumption, the CPU power consumption, the memory power consumption, the fan rotating speed and the duty ratio data of the server to be tested.
Further, the power meter employs a WT310 power meter.
Correspondingly, the invention also discloses a server power consumption comparison test method, which comprises the following steps:
s1: copying the power consumption test script and the matched file into a server to be tested, and configuring a working monitoring environment of an upper control machine for the server to be tested;
s2: setting the CPU working mode of the server to be tested to a high-performance mode;
s3: setting a test environment state of a server to be tested according to test requirements;
s4: running a data collection script on an upper control machine, and opening a working load process monitoring program, a control machine collection power consumption program and a control machine collection temperature program window;
s5: running a power consumption test script on a tested server, and starting the automatic test of the power consumption of the whole machine;
s6: generating a first power consumption data recording file after the operation of the data collection script is finished, and generating a second power consumption data recording file after the operation of the power consumption test script is finished;
s7: and comparing the power consumption data of the same component in the first power consumption data recording file and the second power consumption data recording file to locate the abnormal component.
Further, the step S1 includes:
installing Python on a server to be tested;
setting up static IP of network interface of upper control machine and server network card to be tested, and configuring communication environment of upper control machine and server to be tested;
setting a control machine to collect power consumption programs and a control machine to collect relevant parameters of temperature programs, and configuring the working monitoring environment of an upper control machine.
Further, the step S2 includes:
and refreshing BIOS, BMC, FRU and kernel versions corresponding to the regulation and control strategies on the server to be tested, checking the CPU working mode through a CPU high-performance mode monitoring script Turbostat, and finishing the setting of the CPU high-performance mode.
Further, the step S3 includes:
according to the test requirements, the server to be tested is respectively configured to FIO pressurization, network port pressurization, GPU pressurization, MOC card pressurization, FPGA pressurization and AEP pressurization test environment states.
Further, the step S6 includes:
automatically generating a first power consumption data recording file after the power consumption test script on the server to be tested is operated, wherein the first power consumption data recording file records the average values of the total power consumption, the CPU power consumption, the memory power consumption, the fan rotating speed and the duty ratio of the server to be tested, which are read by the BMC in each continuous working load process; and automatically generating a second power consumption data recording file after the operation of the data collection script on the upper control machine is finished, wherein the second power consumption data recording file records the total power consumption and the average temperature value of the server to be tested, which are displayed in real time by the power meter read by the upper control machine in each work responsible continuous process.
Further, the first power consumption data recording file is a log format file, and the second power consumption data recording file is a table file in an HTML and/or TXT format.
Compared with the prior art, the invention has the beneficial effects that: the invention provides a server power consumption comparison test system and a server power consumption comparison test method, wherein an upper control machine and a power consumption comparison test system cooperated by a server are set up, the upper control machine reads real-time power consumption data of a power meter in each continuous working load process of a SPECPower machine, a server to be tested reads average power consumption data of each continuous working load process of the SPECPower machine captured by a BMC, and two groups of test data can be contrasted and verified, so that the problem that when the SPECpower test server is used for testing the whole machine power consumption, the data accuracy is not high due to instantaneous jump errors when the BMC reads the power consumption data of the SPECpower whole machine is solved; the method increases the reading of the power consumption of the memory of the server to be tested, the rotating speed of the fan and the duty ratio value, and provides accurate data support for the evaluation of the power consumption performance of the whole server and the introduction and verification of energy-saving strategies of parts such as a CPU, the fan, the memory, a power supply and the like.
The invention can ensure that a tester can obtain two sets of final data after the test is finished only by operating the controller and the script of the tested machine once respectively when the whole machine of the server is tested, and the power meter data read by the controller and the test data read by the BMC on the tested machine can be compared and verified, thereby effectively solving the current situation that the instantaneous jump error exists in the data read by the BMC and improving the accuracy of the test data; and the whole testing process and the result collecting process are carried out automatically, so that extra analysis and calculation time is not needed, and the testing efficiency is improved.
In addition, the method can also be used for testing the power consumption data of the server in other test environments. For example: and testing the total power consumption of the server and the power consumption of the CPU under the working states of FIO pressurization, network port pressurization, GPU pressurization, MOC card pressurization, FPGA pressurization, AEP pressurization and the like.
Therefore, compared with the prior art, the invention has prominent substantive features and remarkable progress, and the beneficial effects of the implementation are also obvious.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the prior art descriptions will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
FIG. 1 is a system block diagram of the present invention.
FIG. 2 is a flow chart of the method of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made with reference to the accompanying drawings.
The first embodiment is as follows:
a server power consumption comparison test system as shown in fig. 1 includes: upper control machine, server to be tested and WT310 power meter.
The upper control machine is connected with a built-in power supply socket of the WT310 power meter through a power line, the WT310 power meter is connected with a COM port of the upper control machine through a USB-to-serial data line, and the upper control machine is connected with an OCP network card of a tested server through a network line.
The upper control machine is internally provided with a first power consumption testing module, the first power consumption testing module is used for running a data collecting script to collect power consumption data of the whole machine and components of the server to be tested in a work load area section, the power consumption data is collected by the upper control machine and the WT310 power meter, and the data collecting script comprises a preset work load process monitoring program, a control machine collecting power consumption program and a control machine collecting temperature program. The power consumption testing method comprises the steps that a second power consumption testing module is arranged in the server to be tested and used for operating a power consumption testing script to read power consumption data of the whole machine and parts of the server to be tested in a working load area section, wherein the power consumption testing script comprises a preset power consumption testing program of the SPECpower server, and a working load testing process of the whole machine power consumption, the CPU power consumption, the memory power consumption, the fan rotating speed and the duty ratio data of the server to be tested is arranged in the power consumption testing program of the SPECpower server.
Example two:
correspondingly, as shown in fig. 2, the embodiment also discloses a server power consumption comparison test method, which includes the following steps:
s101: copying the power consumption test script and the matched file into the server to be tested, and configuring the working monitoring environment of the upper control machine for the server to be tested.
S102: and setting the CPU working mode of the server to be tested to be a high-performance mode.
S103: and setting the test environment state of the server to be tested according to the test requirement.
S104: and running a data collection script on the upper control machine, and opening a working load process monitoring program, a control machine collection power consumption program and a control machine collection temperature program window.
S105: and running a power consumption test script on the tested server, and starting the automatic test of the power consumption of the whole machine.
S106: and generating a first power consumption data recording file after the operation of the data collection script is finished, and generating a second power consumption data recording file after the operation of the power consumption test script is finished.
S107: and comparing the power consumption data of the same component in the first power consumption data recording file and the second power consumption data recording file to locate the abnormal component.
Example three:
the embodiment discloses a server power consumption comparison test method, which comprises the following steps:
s201: and copying the power consumption test script and the matching file into a server to be tested.
S202: and installing Python on the server to be tested.
S203: setting up network port static IP of network card of upper computer and server to be tested, and configuring communication environment of upper computer and server to be tested.
S204: setting a control machine to collect power consumption programs and a control machine to collect relevant parameters of temperature programs, and configuring the working monitoring environment of an upper control machine.
S205: and refreshing BIOS, BMC, FRU and kernel versions corresponding to the regulation and control strategies on the server to be tested, checking the CPU working mode through a CPU high-performance mode monitoring script Turbostat, and finishing the setting of the CPU high-performance mode.
S206: and respectively configuring the servers to be tested to FIO pressurization, network port pressurization, GPU pressurization, MOC card pressurization, FPGA pressurization and AEP pressurization test environment states according to test requirements.
S207: and running a data collection script on the upper control machine, and opening a working load process monitoring program, a control machine collection power consumption program and a control machine collection temperature program window.
S208: and running a power consumption test script on the tested server, and starting the automatic test of the power consumption of the whole machine.
S209: automatically generating a first power consumption data recording file after the power consumption test script finishes running, wherein the first power consumption data recording file records the average values of the total power consumption, the CPU power consumption, the memory power consumption, the fan rotating speed and the duty ratio of the server to be tested, which are read by the BMC in the continuous process of each working load; and automatically generating a second power consumption data recording file after the operation of the data collection script is finished, wherein the second power consumption data recording file records the total power consumption and the average temperature value of the server to be tested, which are displayed in real time by the power meter read by the upper control machine in each work charge continuous process.
S210: and comparing the power consumption data of the same component in the first power consumption data recording file and the second power consumption data recording file to locate the abnormal component.
Example four:
the embodiment discloses a server power consumption comparison test method, which comprises the following steps:
s301: and installing corresponding components such as a mainboard, a fan, a power supply, a CPU, a memory, a hard disk, a network card and the like on the machine type box body according to the configuration requirements of the server power consumption test package to complete the assembly of the server to be tested.
S302: connecting power lines of the WT310 power meter to a power socket of the test bench, connecting all power lines of a server to be tested to a power supply socket of the WT310 power meter, and switching on an AC power supply; the WT310 power meter is connected with a com port of an upper controller through a USB-to-serial port data line, the upper controller is connected with an OCP network card of a server to be tested through a network line, and the server is started.
S303: writing a script file, namely, writing an autopower. And when the power consumption of the server is tested, the upper control machine only needs to execute the Autopower.
S304: compiling a script file Specpower _ auto.py, and integrating the test method of each workpload of data such as the overall power consumption, the CPU power consumption, the memory power consumption, the fan rotating speed, the duty ratio and the like of the SPECpower into a Specpower _ auto.py script. When the power consumption of the server is tested, the server to be tested only needs to execute the Specpower _ auto.
S305: copying the script file Specpower _ auto.py and a matched file into a server to be tested, and installing Python; setting up static IP of network interfaces of an upper control machine and a server network card to be tested, and configuring communication environments of the upper control machine and the server to be tested; a control machine is arranged to collect relevant parameters of a power consumption program (runpower.bat) and a temperature program (runtemp.bat), and an upper control machine is arranged to work and monitor the environment.
S306: and refreshing BIOS, BMC, FRU and kernel versions corresponding to the regulation and control strategies on the server to be tested, checking the CPU working mode through a CPU high-performance mode monitoring script Turbostat, and finishing the setting of the CPU high-performance mode.
S307: and according to the test requirements, configuring the server to test environment states such as FIO pressurization, network port pressurization, GPU pressurization, MOC card pressurization, FPGA pressurization, AEP pressurization and the like.
S308: bat script runs on the upper control machine, and a SPECpower control machine monitoring program, a control machine power consumption collecting program and a control machine temperature collecting program monitoring window are automatically opened.
S309: and running a Specpower _ auto.py script on the server to be tested, and starting the automatic test of the power consumption of the whole machine.
S310: after about 90 minutes, the Specpower _ auto.py script of the server to be tested is operated and automatically generates a log file, and the average value of the total power consumption, the power consumption of two CPUs, the power consumption of a memory, the rotating speed of a fan and the duty ratio of the server read by the BMC in the continuous process of each workload can be obtained by opening the log file; and the upper control machine monitors the program to finish running and automatically generates HTML and TXT files, and the total power consumption and the temperature average value of the server, which are read by the upper control machine in real time during the continuous process of each workload, of the WT310 power meter can be obtained by opening the files.
S311: and comparing and verifying the two groups of test data in the two files, and positioning an abnormal component when the difference value of the two groups of test data of the same component exceeds a preset threshold value or the conclusion is opposite.
The server power consumption comparison test method provided by the embodiment can automatically acquire complete machine and part power consumption data of 11 work load area sections of two groups of servers, namely 100% -Idle, by using two scripts, namely, auto. The workpload controller monitoring program, the controller collecting power consumption program and the controller collecting temperature program of the SPECpower can effectively monitor each workpload process in the testing process, and power consumption data read by the WT310 power meter in each workpload continuous process is stored in an HTML and TXT format table. Two groups of test data can be compared and verified, the current situation that instantaneous jitter errors exist in BMC reading data is effectively solved, and the accuracy of the test data is improved; and the whole testing process and the result collecting process are carried out automatically, so that extra analysis and calculation time is not needed, and the testing efficiency is improved.
In the embodiments provided by the present invention, it should be understood that the disclosed system, system and method can be implemented in other ways. For example, the above-described system embodiments are merely illustrative, and for example, the division of the units is only one logical functional division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, systems or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional modules in the embodiments of the present invention may be integrated into one processing unit, or each module may exist alone physically, or two or more modules are integrated into one unit.
Similarly, each processing unit in the embodiments of the present invention may be integrated into one functional module, or each processing unit may exist physically, or two or more processing units are integrated into one functional module.
The invention is further described with reference to the accompanying drawings and specific embodiments. It should be understood that these examples are for illustrative purposes only and are not intended to limit the scope of the present invention. Further, it should be understood that various changes or modifications of the present invention can be made by those skilled in the art after reading the teaching of the present invention, and these equivalents also fall within the scope defined by the present application.

Claims (10)

1. A server power consumption comparison test system, comprising: the system comprises an upper control machine, a server to be tested and a power meter;
the upper control machine is connected with a built-in power supply socket of the power meter through a power line, the power meter is in data connection with the upper control machine, and the upper control machine is in network connection with the server to be tested;
a first power consumption testing module is arranged in the upper control machine and is used for running a data collection script to collect power consumption data of the whole machine and components of the server to be tested in a working load area section, wherein the power consumption data is collected by the upper control machine and the power meter;
a second power consumption test module is arranged in the server to be tested and used for running a power consumption test script to read power consumption data of the whole machine and parts of the server to be tested in a working load area section, wherein the power consumption test script comprises a preset SPECPower server power consumption test program;
generating a first power consumption data recording file after the operation of the data collection script is finished, and generating a second power consumption data recording file after the operation of the power consumption test script is finished; and comparing the power consumption data of the same component in the first power consumption data recording file and the second power consumption data recording file to locate the abnormal component.
2. The server power consumption comparison test system according to claim 1, wherein the power meter is connected to a COM port of the upper controller via a USB to serial data line, and the upper controller is connected to an OCP network card of the server under test via a network cable.
3. The server power consumption comparison test system according to claim 1 or 2, wherein the SPECpower server power consumption test program includes a workload test process of overall power consumption, CPU power consumption, memory power consumption, fan speed and duty cycle data of the server to be tested.
4. The server power consumption contrast test system of claim 1, wherein the power meter is a WT310 power meter.
5. A server power consumption comparison test method is characterized by comprising the following steps:
s1: copying the power consumption test script and the matched file into a server to be tested, and configuring a working monitoring environment of an upper control machine for the server to be tested;
s2: setting the CPU working mode of the server to be tested to be a high-performance mode;
s3: setting a test environment state of a server to be tested according to a test requirement;
s4: running a data collection script on the upper control machine, opening a working load process monitoring program, a control machine collection power consumption program and a control machine collection temperature program window so as to collect the power consumption data of the whole machine and the components of the server to be tested in the working load region section, which are collected by the upper control machine and the power meter;
s5: running a power consumption test script on a server to be tested, and starting an automatic test of the power consumption of the whole machine so as to read power consumption data of the whole machine and parts of the server to be tested in a work load area section, wherein the power consumption data are captured by a BMC;
s6: generating a first power consumption data recording file after the operation of the data collection script is finished, and generating a second power consumption data recording file after the operation of the power consumption test script is finished;
s7: and comparing the power consumption data of the same component in the first power consumption data recording file and the second power consumption data recording file to locate the abnormal component.
6. The server power consumption comparison test method according to claim 5, wherein the step S1 comprises:
installing Python on a server to be tested;
setting up static IP of network interface of upper control machine and server network card to be tested, and configuring communication environment of upper control machine and server to be tested;
setting a control machine to collect power consumption programs and a control machine to collect relevant parameters of temperature programs, and configuring the working monitoring environment of an upper control machine.
7. The server power consumption comparison test method according to claim 5, wherein the step S2 comprises:
and refreshing BIOS, BMC, FRU and kernel versions corresponding to the regulation and control strategies on the server to be tested, checking the CPU working mode through a CPU high-performance mode monitoring script Turbostat, and finishing the setting of the CPU high-performance mode.
8. The server power consumption comparison test method according to claim 5, wherein the step S3 comprises:
according to the test requirements, the server to be tested is respectively configured to FIO pressurization, network port pressurization, GPU pressurization, MOC card pressurization, FPGA pressurization and AEP pressurization test environment states.
9. The server power consumption comparison test method according to claim 5, wherein the step S6 comprises:
automatically generating a first power consumption data recording file after the power consumption test script on the tested server runs, wherein the first power consumption data recording file records the average values of the total power consumption, the CPU power consumption, the memory power consumption, the fan rotating speed and the duty ratio of the tested server read by the BMC in the continuous process of each working load; and automatically generating a second power consumption data recording file after the operation of the data collection script on the upper control machine is finished, wherein the second power consumption data recording file records the total power consumption and the average temperature value of the server to be tested, which are displayed in real time by the power meter read by the upper control machine in each work responsible continuous process.
10. The server power consumption comparison test method according to claim 5 or 9, wherein the first power consumption data record file is a log format file and the second power consumption data record file is a table file in HTML and/or TXT format.
CN202010056625.5A 2020-01-18 2020-01-18 Server power consumption comparison test system and method Active CN111258830B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010056625.5A CN111258830B (en) 2020-01-18 2020-01-18 Server power consumption comparison test system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010056625.5A CN111258830B (en) 2020-01-18 2020-01-18 Server power consumption comparison test system and method

Publications (2)

Publication Number Publication Date
CN111258830A CN111258830A (en) 2020-06-09
CN111258830B true CN111258830B (en) 2023-01-10

Family

ID=70952370

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010056625.5A Active CN111258830B (en) 2020-01-18 2020-01-18 Server power consumption comparison test system and method

Country Status (1)

Country Link
CN (1) CN111258830B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111984480B (en) 2020-08-07 2022-07-22 苏州浪潮智能科技有限公司 Power consumption pressurization test method and device of FPGA accelerator card and storage medium
CN112069022B (en) * 2020-08-21 2022-07-22 苏州浪潮智能科技有限公司 NPU type server power consumption testing method and system
CN112527577B (en) * 2020-11-27 2022-07-12 苏州浪潮智能科技有限公司 Server energy consumption automatic testing and collecting method, system and medium
CN112631865B (en) * 2020-12-24 2022-09-20 苏州浪潮智能科技有限公司 Server power consumption testing method, device, control system and medium
CN115391124B (en) * 2022-10-27 2023-03-21 瀚博半导体(上海)有限公司 Method and device for testing power consumption of graphic chip

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104572419A (en) * 2015-01-30 2015-04-29 浪潮电子信息产业股份有限公司 Method for testing dynamic power consumption of servers

Also Published As

Publication number Publication date
CN111258830A (en) 2020-06-09

Similar Documents

Publication Publication Date Title
CN111258830B (en) Server power consumption comparison test system and method
US20240220381A1 (en) Soc-oriented concurrent test system for multiple clock domains and test method thereof
CN101093462A (en) Automatization method for testing schooling pressure on database application
CN113961413A (en) Server power consumption testing method and device
CN103364650A (en) Testing system and testing method
LeBeane et al. Watt watcher: fine-grained power estimation for emerging workloads
CN103984613A (en) Method for automatically testing floating point calculation performance of CPU (Central Processing Unit)
TW201710699A (en) Detecting apparatus for CPU slot connection of motherboard based on boundary scan and method thereof
WO2021056913A1 (en) Fault locating method, apparatus and system based on i2c communication
Köhler et al. Pinpoint the joules: Unifying runtime-support for energy measurements on heterogeneous systems
CN102289399A (en) System and method for testing main board of computer
CN111060807B (en) High-speed integrated circuit test platform based on SoC and test method thereof
CN112485699A (en) Server power supply test system
CN101957436A (en) Power supply quality tester of IT (Information Technology) server equipment and test method
Mazouz et al. Statistical validation methodology of CPU power probes
CN111367737A (en) Method and device for optimizing memory performance test
CN214669306U (en) Non-invasive load identification module detection device
CN202267870U (en) Test analysis device of sequence of event recording system
CN107632911A (en) A kind of Cabinet-type server power consumption test method and test system
Peng et al. Design of Energy Information Collection and Analysis Terminal with Digital Edge Computing Capabilities
Llopis et al. Analyzing the energy consumption of the storage data path
CN112213980A (en) Singlechip fault diagnosis board card and method
CN111478824A (en) Network card power consumption testing method, device and system
Wu et al. An Automatic Energy Consumption Measuring Platform for Embedded Systems
CN104199777A (en) Verification method and device for central processor system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant