CN111258830A - Server power consumption comparison test system and method - Google Patents
Server power consumption comparison test system and method Download PDFInfo
- Publication number
- CN111258830A CN111258830A CN202010056625.5A CN202010056625A CN111258830A CN 111258830 A CN111258830 A CN 111258830A CN 202010056625 A CN202010056625 A CN 202010056625A CN 111258830 A CN111258830 A CN 111258830A
- Authority
- CN
- China
- Prior art keywords
- power consumption
- server
- tested
- control machine
- data
- 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.)
- Granted
Links
- 238000012360 testing method Methods 0.000 title claims abstract description 98
- 238000000034 method Methods 0.000 title claims abstract description 31
- 238000010998 test method Methods 0.000 claims abstract description 14
- 238000010924 continuous production Methods 0.000 claims abstract description 12
- 238000013515 script Methods 0.000 claims description 49
- 230000008569 process Effects 0.000 claims description 19
- 238000013480 data collection Methods 0.000 claims description 12
- 238000012544 monitoring process Methods 0.000 claims description 11
- 238000004891 communication Methods 0.000 claims description 6
- 230000002159 abnormal effect Effects 0.000 claims description 5
- 238000011217 control strategy Methods 0.000 claims description 4
- 230000003068 static effect Effects 0.000 claims description 4
- 238000011156 evaluation Methods 0.000 abstract description 4
- 238000012795 verification Methods 0.000 abstract description 3
- 238000012545 processing Methods 0.000 description 4
- 238000004364 calculation method Methods 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000004458 analytical method Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 2
- 238000005265 energy consumption Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
- G06F11/2273—Test methods
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
- G06F11/2268—Logging of test results
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
- G06F11/2294—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing by remote test
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE 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/00—Energy 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
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 the Chinese information technology, the cloud computing technology makes great progress, cloud data centers are built successively, and cloud service product servers gradually enter the 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 SPEC new test benchmark, and is an evaluation benchmark close to the performance/power consumption in the actual working environment of the server, aiming at establishing an industry evaluation standard based on the performance power consumption ratio of the server system. SPECpower — ssj2008, is the first benchmark tool used in the industry to evaluate the computational performance-related power consumption of a system-level server. The method calculates the performance of the whole server by using JDK of standard Java, and obtains the workload/energy consumption ratio of the server 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 working load in the SPECpower operation, the average power consumption data in each working 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 test apparatus and method, which can accurately and quickly implement power consumption test 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 performance power consumption ratio of the server.
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 power supply socket arranged in 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 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 running 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 SPECPower server power consumption testing program.
Further, the power meter is connected with a COM port of the 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 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.
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 the final two groups of data after the test is finished by operating the controller and the script of the tested machine once respectively when the whole machine function 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 BMC read data 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 description of the embodiments or the prior art 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 under test 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 port 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 matched 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 upper control machine and server network card to be tested, configuring communication environment of upper control machine 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: 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.
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 responsible 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 the supporting file to 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 the test environment states of 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 work load controller monitoring program, the controller collecting power consumption program and the controller collecting temperature program of SPECPower can effectively monitor each work load process in the test process, and the power consumption data read by the WT310 power meter in each work load 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 read 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 may be made by those skilled in the art after reading the teaching of the present invention, and these equivalents also fall within the scope of 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 power supply socket arranged in 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 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 running 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 SPECPower server power consumption testing program.
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 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.
6. The server power consumption comparison test method according to claim 5, wherein 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.
7. The server power consumption comparison test method according to claim 5, wherein 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.
8. The server power consumption comparison test method according to claim 5, wherein 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.
9. The server power consumption comparison test method according to claim 5, wherein the step S6 includes:
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.
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 true CN111258830A (en) | 2020-06-09 |
CN111258830B 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) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112069022A (en) * | 2020-08-21 | 2020-12-11 | 苏州浪潮智能科技有限公司 | NPU type server power consumption testing method and system |
CN112527577A (en) * | 2020-11-27 | 2021-03-19 | 苏州浪潮智能科技有限公司 | Server energy consumption automatic testing and collecting method, system and medium |
CN112631865A (en) * | 2020-12-24 | 2021-04-09 | 苏州浪潮智能科技有限公司 | Server power consumption testing method, device, control system and medium |
WO2022028053A1 (en) * | 2020-08-07 | 2022-02-10 | 苏州浪潮智能科技有限公司 | Power consumption stress test method and apparatus for fpga acceleration card and storage medium |
CN115391124A (en) * | 2022-10-27 | 2022-11-25 | 瀚博半导体(上海)有限公司 | Method and device for testing power consumption of graphic chip |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104572419A (en) * | 2015-01-30 | 2015-04-29 | 浪潮电子信息产业股份有限公司 | Method for testing dynamic power consumption of servers |
-
2020
- 2020-01-18 CN CN202010056625.5A patent/CN111258830B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104572419A (en) * | 2015-01-30 | 2015-04-29 | 浪潮电子信息产业股份有限公司 | Method for testing dynamic power consumption of servers |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2022028053A1 (en) * | 2020-08-07 | 2022-02-10 | 苏州浪潮智能科技有限公司 | Power consumption stress test method and apparatus for fpga acceleration card and storage medium |
US11860747B2 (en) | 2020-08-07 | 2024-01-02 | Inspur Suzhou Intelligent Technology Co., Ltd. | Method and apparatus for performing power stress test on FPGA acceleration card, and storage medium |
CN112069022A (en) * | 2020-08-21 | 2020-12-11 | 苏州浪潮智能科技有限公司 | NPU type server power consumption testing method and system |
CN112527577A (en) * | 2020-11-27 | 2021-03-19 | 苏州浪潮智能科技有限公司 | Server energy consumption automatic testing and collecting method, system and medium |
CN112631865A (en) * | 2020-12-24 | 2021-04-09 | 苏州浪潮智能科技有限公司 | Server power consumption testing method, device, control system and medium |
CN112631865B (en) * | 2020-12-24 | 2022-09-20 | 苏州浪潮智能科技有限公司 | Server power consumption testing method, device, control system and medium |
CN115391124A (en) * | 2022-10-27 | 2022-11-25 | 瀚博半导体(上海)有限公司 | Method and device for testing power consumption of graphic chip |
Also Published As
Publication number | Publication date |
---|---|
CN111258830B (en) | 2023-01-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111258830B (en) | Server power consumption comparison test system and method | |
CN113961413A (en) | Server power consumption testing method and device | |
CN103838663A (en) | Application testing method and device | |
CN103364650A (en) | Testing system and testing method | |
CN110750396A (en) | Server operating system compatibility testing method and device and storage medium | |
CN103984613A (en) | Method for automatically testing floating point calculation performance of CPU (Central Processing Unit) | |
CN113377591A (en) | Method and device for improving test speed of ATE equipment chip | |
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 | |
CN112485699A (en) | Server power supply test system | |
Mazouz et al. | Statistical validation methodology of CPU power probes | |
CN101727371A (en) | Method for adding and running memory testing tool in BIOS | |
CN111367737A (en) | Method and device for optimizing memory performance test | |
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 | |
CN214669306U (en) | Non-invasive load identification module detection device | |
Peng et al. | Design of Energy Information Collection and Analysis Terminal with Digital Edge Computing Capabilities | |
CN112213980A (en) | Singlechip fault diagnosis board card and method | |
Liu et al. | TRACER: A trace replay tool to evaluate energy-efficiency of mass storage systems | |
CN111478824A (en) | Network card power consumption testing method, device and system | |
CN112631865A (en) | Server power consumption testing method, device, control system and medium | |
Wu et al. | An Automatic Energy Consumption Measuring Platform for Embedded Systems | |
CN102799507A (en) | Method for testing PCIE (Peripheral Component Interface Express) bandwidth stability |
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 |