CN110347559A - A kind of test method of server energy consumption, device, equipment and readable storage medium storing program for executing - Google Patents

A kind of test method of server energy consumption, device, equipment and readable storage medium storing program for executing Download PDF

Info

Publication number
CN110347559A
CN110347559A CN201910651026.5A CN201910651026A CN110347559A CN 110347559 A CN110347559 A CN 110347559A CN 201910651026 A CN201910651026 A CN 201910651026A CN 110347559 A CN110347559 A CN 110347559A
Authority
CN
China
Prior art keywords
test
server
tested
script
scene
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.)
Pending
Application number
CN201910651026.5A
Other languages
Chinese (zh)
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.)
Inspur Power Commercial Systems Co Ltd
Original Assignee
Inspur Power Commercial Systems 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 Inspur Power Commercial Systems Co Ltd filed Critical Inspur Power Commercial Systems Co Ltd
Priority to CN201910651026.5A priority Critical patent/CN110347559A/en
Publication of CN110347559A publication Critical patent/CN110347559A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3058Monitoring arrangements for monitoring environmental properties or parameters of the computing system or of the computing system component, e.g. monitoring of power, currents, temperature, humidity, position, vibrations
    • G06F11/3062Monitoring arrangements for monitoring environmental properties or parameters of the computing system or of the computing system component, e.g. monitoring of power, currents, temperature, humidity, position, vibrations where the monitored property is the power consumption
    • 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)
  • Computing Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

The invention discloses a kind of test methods of server energy consumption, first obtain the environmental parameter under test parameter and multiple test scenes, and test script is generated according to the environmental parameter under test parameter and each test scene, it then include the testing process under multiple test scenes in the test script, the test script is sent to tested server, tested server is set to complete the configuration of test environment, and it completes to postpone matching for test environment in tested server, invoking server test software tests tested server, midway is tested the environmental parameter of server without manual configuration, the test under multiple test scenes can successively be carried out, meet the status that current server can be worked based on several scenes, improve the automatization level of the server energy consumption test under multi-test scene, and then improve server energy consumption testing efficiency.The invention also discloses a kind of test device of server energy consumption, equipment and readable storage medium storing program for executing, have above-mentioned beneficial effect.

Description

A kind of test method of server energy consumption, device, equipment and readable storage medium storing program for executing
Technical field
The present invention relates to server the field of test technology, more particularly to a kind of test method of server energy consumption, device, Equipment and readable storage medium storing program for executing.
Background technique
Server energy consumption test is a ring important in server performance test, generallys use standard performance evaluation and test mechanism The reference server test software SPECpower for the measurement server efficiency that SPEC is formulated and issued is negative according to 11 different operatings Carry the energy consumption under each workload section that section integration test is tested server.
The minimum hardware that server energy consumption test should meet is configured that testing service device, power analysis device and temperature sensing Device.Wherein, testing service device is used to adjust load condition and record transaction handling capacity of tested server etc. based on SPECpower Information;Power analysis device is used to provide power supply to tested server system and records related energy consumption data;Temperature sensor is then used In recording the level of heat generation for being tested server system under different operating loading condition, the abnormal conditions of test process are monitored.However, SPECpower can only test server energy consumption test based on single test scene, and not meeting current server can base In the status of several scenes work.And tester wants to carry out the server energy consumption test of different scenes, then needs manually more Change the environment configurations in tested server, carries out the test of each test scene respectively, it is extremely inconvenient.
The automatization level for how improving the server energy consumption test under multi-test scene improves server energy consumption test effect Rate is those skilled in the art's technical issues that need to address.
Summary of the invention
The object of the present invention is to provide a kind of test method of server energy consumption, device, equipment and readable storage medium storing program for executing, use In the automatization level for improving the server energy consumption test under multi-test scene, server energy consumption testing efficiency is improved.
In order to solve the above technical problems, the present invention provides a kind of test method of server energy consumption, comprising:
Obtain the environmental parameter of test parameter and each test scene;
Test script is generated according to the environmental parameter of the test parameter and each test scene;
The test script is sent to tested server, so that the tested server is completed to the test scene Configuration;
It completes to the test scene in the tested server with postponing, invoking server test software is to the quilt Server is surveyed to be tested;
Wherein, the type of the test scene is multiple.
Optionally, described that the test script is sent to tested server, so that the tested server is completed to institute The configuration of test scene is stated, specifically:
It corresponding with a test scene will test sub- script and be sent to the tested server;
Correspondingly, described after the tested server is completed to the test of the test scene, invoking server test Software tests the tested server, specifically includes:
Judge whether to receive the configuration successful information that the tested server returns;
If received, the server test software is called to execute and the tested configured checkout area of server The corresponding sub- script of test of scape;
After completing the test for testing sub- script corresponding with the tested configured test scene of server, sentence It is disconnected to whether there is the sub- script of test being not carried out;
If it is present after the sub- script of test being not carried out described in one is sent to the tested server, into institute State the step of judging whether to receive the configuration successful information that the tested server returns.
Optionally, described that the test script is sent to tested server, so that the tested server is completed to institute The configuration for stating test scene, specifically includes:
The corresponding sub- script of test of each test scene is sent to the tested server;
Script switching command corresponding with a sub- script of the test is sent to the tested server, so that described Tested server completes the configuration to the test scene according to the sub- script of test in the script switching command;
Correspondingly, described after the tested server is completed to the test of the test scene, invoking server test Software tests the tested server, specifically includes:
Judge whether to receive the configuration successful information that the tested server is sent;
If received, the server test software is called to execute test corresponding with the script switching command Script;
After completing test corresponding with the script switching command script, the survey being not carried out is judged whether there is Swab script;
If it is present script switching command corresponding with the sub- script of test being not carried out described in one is sent to described After tested server, judge whether the step of receiving the configuration successful information of the tested server transmission into described.
Optionally, the invoking server test software tests the tested server, specifically:
The server test software is called to test energy consumption of the tested server under multiple workload sections.
Optionally, the type of the test scene specifically include high-performance Run-time scenario, more worker threads close scene and Scene is configured within the scope of more worker threads.
Optionally, each test scene includes performance mode, distribution according to need mode and battery saving mode.
Optionally, further includes:
After completing to the test of each test scene of the tested server, by preset rules by each test Test result under scene is converted to test report and exports.
In order to solve the above technical problems, the present invention also provides a kind of test devices of server energy consumption, comprising:
Acquiring unit, for obtaining the environmental parameter of test parameter and each test scene;
Script generation unit, for generating test script according to the test parameter and the environmental parameter;
Transmission unit, for the test script to be sent to tested server, so that the tested server completion pair The configuration of the test scene;
Test cell, for completing to the test scene in the tested server with postponing, invoking server is surveyed Examination software tests the tested server;
Wherein, the type of the test scene is multiple.
In order to solve the above technical problems, the present invention also provides a kind of test equipments of server energy consumption, comprising:
Memory, for storing instruction, described instruction include the test method of server energy consumption described in above-mentioned any one The step of;
Processor, for executing described instruction.
In order to solve the above technical problems, it is stored thereon with computer program the present invention also provides a kind of readable storage medium storing program for executing, It is realized when the computer program is executed by processor as described in above-mentioned any one the step of the test method of server energy consumption.
The test method of server energy consumption provided by the present invention first obtains the ring under test parameter and multiple test scenes Border parameter, and test script is generated according to the environmental parameter under test parameter and each test scene, then include in the test script Testing process under multiple test scenes, by the test script is sent to tested server, and tested server is made to complete test The configuration of environment, and complete to postpone matching for test environment in tested server, invoking server test software is to tested server It is tested, is tested the environmental parameter of server without manual configuration halfway, so that it may successively carry out under multiple test scenes Test, meets the status that current server can be worked based on several scenes, and the server energy consumption improved under multi-test scene is surveyed The automatization level of examination, and then improve server energy consumption testing efficiency.The present invention also provides a kind of tests of server energy consumption Device, equipment and readable storage medium storing program for executing have above-mentioned beneficial effect, and details are not described herein.
Detailed description of the invention
It, below will be to embodiment or existing for the clearer technical solution for illustrating the embodiment of the present invention or the prior art Attached drawing needed in technical description is briefly described, it should be apparent that, the accompanying drawings in the following description is only this hair Bright some embodiments for those of ordinary skill in the art without creative efforts, can be with root Other attached drawings are obtained according to these attached drawings.
Fig. 1 is the flow chart of the test method of the first server energy consumption provided in an embodiment of the present invention;
Fig. 2 is the flow chart of the test method of second of server energy consumption provided in an embodiment of the present invention;
Fig. 3 is the flow chart of the test method of the third server energy consumption provided in an embodiment of the present invention;
Fig. 4 is the flow chart of the test method of the 4th kind of server energy consumption provided in an embodiment of the present invention;
Fig. 5 is a kind of structural schematic diagram of the test device of server energy consumption provided in an embodiment of the present invention;
Fig. 6 is a kind of structural schematic diagram of the test equipment of server energy consumption provided in an embodiment of the present invention.
Specific embodiment
Core of the invention is to provide test method, device, equipment and the readable storage medium storing program for executing of a kind of server energy consumption, uses In the automatization level for improving the server energy consumption test under multi-test scene, server energy consumption testing efficiency is improved.
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
It should be noted that the executing subject of the step in embodiment of the present invention method is testing service device.
Fig. 1 is the flow chart of the test method of the first server energy consumption provided in an embodiment of the present invention.
As shown in Figure 1, the test method of server energy consumption provided in an embodiment of the present invention includes:
S101: the environmental parameter of test parameter and each test scene is obtained.
Wherein, the type of test scene is multiple.
In specific implementation, by calling the test parameter that prestores and environmental parameter, or tester's input is received Test parameter and environmental parameter obtain obtaining the environmental parameter under test parameter and multiple test scenes.
Test scene is mainly distinguished with the active line number of passes of unlatching, therefore the type of test scene may include being tested Server opens the scene, the scene for opening two worker threads, the field for opening three worker threads of a worker thread Scape ..., can be with default setting according to common server operative scenario are as follows: the type of test scene specifically includes high-performance fortune Row scene, more worker threads, which are closed, configures scene within the scope of scene and more worker threads.Wherein, high-performance Run-time scenario corresponds to quilt The high performance state for being suitble to most of program operations in server is surveyed, default opens four worker threads;More worker threads are closed The working condition of energy-saving mode is in the corresponding tested server of scene, default opens a worker thread;More worker thread models The adjustable working condition of thread in the corresponding tested server of interior configuration scene is enclosed, default opens two worker threads.
Under each test scene, performance (performance) mode, distribution according to need mode may further include (ondemand) and three kinds of operating modes of power saving (powersave) mode, on the basis of above three test scene, structure altogether At nine test scenes.
S102: test script is generated according to the environmental parameter of test parameter and each test scene.
Same set of test parameter can be used in the corresponding sub- script of test of each test scene.Shell script execution can be applied Variable turns ginseng order, and test parameter and environmental parameter are inserted preset template, generated test script (testing sub- script), test It include test scene configuration order and testing process in script.
S103: being sent to tested server for test script, so that tested server completes the configuration to test scene.
Testing service device sends test script so that tested server carries out the configuration of test scene to tested server.For Test is facilitated to carry out, testing service device can access tested server in such a way that ssh is without cryptographic acess.
Tested server executes configuration of the test script completion to test scene after receiving test script.
S104: it completes to test scene in tested server with postponing, invoking server test software is to tested service Device is tested.
Testing service device confirms that tested server is complete after the configuration successful information for receiving tested server feedback The configuration of pairwise testing scene, while the test environment validation of information collected according to tested server is tested server and is currently matched The test environmental form set.
In specific implementation, invoking server test software tests tested server, is specifically as follows:
Invoking server test software tests tested energy consumption of the server under multiple workload sections.
Server test software can be using the SPECpower of the existing single scene of test, for single test scene Test be referred in the prior art using SPECpower according to 11 different operating load patch integration tests be tested server The energy consumption under each workload section mode.
According to the setting of test script, the corresponding sub- script of test of each test scene is successively sent by testing service device Mode makes to be tested the power consumption test that server completes multiple test scenes;Or testing service device sends entirety to tested server Test script, it is successively complete by tested server according to script switching command switch test scene including script switching command At the power consumption test of multiple test scenes.
The test method of server energy consumption provided in an embodiment of the present invention first obtains under test parameter and multiple test scenes Environmental parameter, and according under test parameter and each test scene environmental parameter generate test script, then in the test script Include the testing process under multiple test scenes, which is sent to tested server, completes tested server The configuration of environment is tested, and completes to postpone matching for test environment in tested server, invoking server test software is to tested clothes Business device is tested, and is tested the environmental parameter of server without manual configuration halfway, so that it may successively carry out multiple test scenes Under test, meet current server can based on several scenes work status, improve the server function under multi-test scene The automatization level of test is consumed, and then improves server energy consumption testing efficiency.
Fig. 2 is the flow chart of the test method of second of server energy consumption provided in an embodiment of the present invention.
In the above-described embodiments, the executing subject of switch test scene can may be tested service for testing service device Device.The switching that test scene is such as completed by testing service device, as shown in Fig. 2, in server energy consumption provided in an embodiment of the present invention Test method in, step S103 specifically:
S201: the sub- script of test corresponding with a test scene is sent to tested server.
Correspondingly, step S104 is specifically included:
S202: judge whether to receive the configuration successful information that tested server returns;If it is, entering step S203;If it is not, then returning to step S202.
S203: invoking server test software executes the sub- foot of test corresponding with the configured test scene of tested server This.
S204: after completing the test of the sub- script of test corresponding with the configured test scene of tested server, judgement With the presence or absence of the sub- script of test being not carried out;If it is, entering step S205;If it is not, then terminating.
S205: after the sub- script of test that one is not carried out is sent to tested server, S201 is entered step.
Fig. 3 is the flow chart of the test method of the third server energy consumption provided in an embodiment of the present invention.
As shown in figure 3, the test method of server energy consumption provided in an embodiment of the present invention includes:
In the above-described embodiments, the executing subject of switch test scene can may be tested service for testing service device Device.The switching that test scene is such as completed by being tested server, as shown in figure 3, in server energy consumption provided in an embodiment of the present invention Test method in, step S103 is specifically included:
S301: the corresponding sub- script of test of each test scene is sent to tested server.
S302: script switching command corresponding with a sub- script of test is sent to tested server, so that tested clothes Device be engaged according to configuration of the sub- script completion of test to test scene in script switching command.
Correspondingly, step S104 is specifically included:
S303: judge whether to receive the configuration successful information that tested server is sent;If it is, entering step S304;If it is not, then returning to step S303.
S304: invoking server test software executes the sub- script of test corresponding with script switching command.
S305: after completing test corresponding with script switching command script, the test being not carried out is judged whether there is Sub- script;If it is, entering step S306;If it is not, then terminating.
S306: after script switching command corresponding with the sub- script of the test that one is not carried out is sent to tested server, Into execution step S302.
Fig. 4 is the flow chart of the test method of the 4th kind of server energy consumption provided in an embodiment of the present invention.
Further to promote testing efficiency, test case is grasped convenient for tester, on the basis of the above embodiments, In another embodiment, as shown in figure 4, the test method of server energy consumption provided in an embodiment of the present invention further include:
S401:, will be under each test scene by preset rules after completing to the test of each test scene of tested server Test result be converted to test report and export.
In practical applications, testing service device is used to adjust the load condition and note of tested server based on SPECpower The information such as record transaction handling capacity;Power analysis device is used to provide power supply to tested server system and records related energy consumption data; Temperature sensor is then used to record the level of heat generation that server system is tested under different operating loading condition, monitors test process Abnormal conditions.
The information such as the load condition of the tested server of comprehensive SPECpower output and transaction handling capacity, obtain power point The energy consumption data for the tested server that parser obtains, the level of heat generation of the tested server of temperature collection sensor record, test The data such as process monitoring information are converted to test report format by preset rules and are shown or exported to specified address, so as to Tester checks.
The corresponding each embodiment of test method of server energy consumption as detailed above, on this basis, the present invention also public affairs The test device of server energy consumption corresponding with the above method is opened.
Fig. 5 is a kind of structural schematic diagram of the test device of server energy consumption provided in an embodiment of the present invention.
As shown in figure 5, the test device of server energy consumption provided in an embodiment of the present invention includes:
Acquiring unit 501, for obtaining the environmental parameter of test parameter and each test scene;
Script generation unit 502, for generating test script according to test parameter and environmental parameter;
Transmission unit 503, for test script to be sent to tested server, so that tested server is completed to checkout area The configuration of scape;
Test cell 504, for completing to postpone matching for test scene in tested server, invoking server test software Tested server is tested;
Wherein, the type of test scene is multiple.
Since the embodiment of device part is corresponded to each other with the embodiment of method part, the embodiment of device part is asked Referring to the description of the embodiment of method part, wouldn't repeat here.
Fig. 6 is a kind of structural schematic diagram of the test equipment of server energy consumption provided in an embodiment of the present invention.
As shown in fig. 6, the test equipment of server energy consumption provided in an embodiment of the present invention includes:
Memory 601, for storing instruction, described instruction include server energy consumption described in above-mentioned any one embodiment The step of test method;
Processor 602, for executing described instruction.
The test equipment of server energy consumption provided in this embodiment, since memory storage can be called by processor The step of computer program, the test method for the server energy consumption that realization such as above-mentioned any embodiment provides, so book server The test equipment of power consumption has with the test method of above-mentioned server energy consumption same actual effect.
This programme in order to better understand, the embodiment of the present invention also provide a kind of readable storage medium storing program for executing, the readable storage medium It is stored with computer program in matter, the server function that any embodiment as above is mentioned is realized when computer program is executed by processor The step of test method of consumption.
Readable storage medium storing program for executing provided in this embodiment, since the meter of readable storage medium storing program for executing storage can be called by processor The step of calculation machine program, the test method for the server energy consumption that realization such as above-mentioned any embodiment provides, so this readable storage Medium has with the test method of above-mentioned server energy consumption same actual effect.
In several embodiments provided herein, it should be understood that disclosed method, apparatus, equipment and readable Storage medium may be implemented in other ways.For example, the apparatus embodiments described above are merely exemplary, example Such as, the division of module, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple Module or component can be combined or can be integrated into another system, or some features can be ignored or not executed.It is another Point, shown or discussed mutual coupling, direct-coupling or communication connection can be through some interfaces, device or The indirect coupling or communication connection of module can be electrical property, mechanical or other forms.Module can as illustrated by the separation member It is physically separated with being or may not be, the component shown as module may or may not be physics mould Block, it can it is in one place, or may be distributed on multiple network modules.It can be selected according to the actual needs In some or all of the modules achieve the purpose of the solution of this embodiment.
It, can also be in addition, can integrate in a processing module in each functional module in each embodiment of the application It is that modules physically exist alone, can also be integrated in two or more modules in a module.Above-mentioned integrated mould Block both can take the form of hardware realization, can also be realized in the form of software function module.
If integrated module is realized and when sold or used as an independent product in the form of software function module, can To be stored in a computer readable storage medium.Based on this understanding, the technical solution of the application substantially or Say that all or part of the part that contributes to existing technology or the technical solution can embody in the form of software products Out, which is stored in a storage medium, including some instructions are used so that a computer equipment The whole of (can be personal computer, funcall device or the network equipment etc.) execution each embodiment method of the application Or part steps.And readable storage medium storing program for executing above-mentioned may include: USB flash disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic or disk etc. is various to deposit Store up the medium of program code.
Above to a kind of test method of server energy consumption provided by the present invention, device, equipment and readable storage medium storing program for executing It is described in detail.Each embodiment is described in a progressive manner in specification, the highlights of each of the examples are With the difference of other embodiments, the same or similar parts in each embodiment may refer to each other.Embodiment is disclosed Device for, since it is corresponded to the methods disclosed in the examples, so be described relatively simple, related place is referring to method Part illustrates.It should be pointed out that for those skilled in the art, before not departing from the principle of the invention It puts, can be with several improvements and modifications are made to the present invention, these improvement and modification also fall into the guarantor of the claims in the present invention It protects in range.
It should also be noted that, in the present specification, relational terms such as first and second and the like be used merely to by One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning Covering non-exclusive inclusion, so that the process, method, article or equipment for including a series of elements not only includes that A little elements, but also including other elements that are not explicitly listed, or further include for this process, method, article or The intrinsic element of equipment.In the absence of more restrictions, the element limited by sentence "including a ...", is not arranged Except there is also other identical elements in the process, method, article or apparatus that includes the element.

Claims (10)

1. a kind of test method of server energy consumption characterized by comprising
Obtain the environmental parameter of test parameter and each test scene;
Test script is generated according to the environmental parameter of the test parameter and each test scene;
The test script is sent to tested server, so that the test scene is matched in the tested server completion It sets;
It completes to the test scene in the tested server with postponing, invoking server test software is to the tested clothes Business device is tested;
Wherein, the type of the test scene is multiple.
2. test method according to claim 1, which is characterized in that described that the test script is sent to tested service Device, so that the tested server completes the configuration to the test scene, specifically:
It corresponding with a test scene will test sub- script and be sent to the tested server;
Correspondingly, described after the tested server is completed to the test of the test scene, invoking server test software The tested server is tested, is specifically included:
Judge whether to receive the configuration successful information that the tested server returns;
If received, the server test software is called to execute and the tested configured test scene pair of server The sub- script of the test answered;
After completing the test for testing sub- script corresponding with the tested configured test scene of server, judgement is It is no to there is the sub- script of test being not carried out;
If it is present sentencing after the sub- script of test being not carried out described in one is sent to the tested server into described Disconnected the step of whether receiving the configuration successful information that the tested server returns.
3. test method according to claim 1, which is characterized in that described that the test script is sent to tested service Device specifically includes so that the tested server completes the configuration to the test scene:
The corresponding sub- script of test of each test scene is sent to the tested server;
Script switching command corresponding with a sub- script of the test is sent to the tested server, so that described tested Server completes the configuration to the test scene according to the sub- script of test in the script switching command;
Correspondingly, described after the tested server is completed to the test of the test scene, invoking server test software The tested server is tested, is specifically included:
Judge whether to receive the configuration successful information that the tested server is sent;
If received, the server test software is called to execute the sub- foot of test corresponding with the script switching command This;
After completing test corresponding with the script switching command script, test being not carried out is judged whether there is Script;
If it is present script switching command corresponding with the sub- script of test being not carried out described in one is sent to described tested After server, judge whether the step of receiving the configuration successful information of the tested server transmission into described.
4. test method according to claim 1, which is characterized in that the invoking server test software is to described tested Server is tested, specifically:
The server test software is called to test energy consumption of the tested server under multiple workload sections.
5. test method according to claim 1, which is characterized in that the type of the test scene specifically includes high-performance Run-time scenario, more worker threads, which are closed, configures scene within the scope of scene and more worker threads.
6. test method according to claim 5, which is characterized in that each test scene includes performance mode, presses Need allocation model and battery saving mode.
7. test method according to claim 1, which is characterized in that further include:
After completing to the test of each test scene of the tested server, by preset rules by each test scene Under test result be converted to test report and export.
8. a kind of test device of server energy consumption characterized by comprising
Acquiring unit, for obtaining the environmental parameter of test parameter and each test scene;
Script generation unit, for generating test script according to the test parameter and the environmental parameter;
Transmission unit, for the test script to be sent to tested server, so that the tested server is completed to described The configuration of test scene;
Test cell, for completing to the test scene in the tested server with postponing, invoking server test is soft Part tests the tested server;
Wherein, the type of the test scene is multiple.
9. a kind of test equipment of server energy consumption characterized by comprising
Memory, for storing instruction, described instruction include the test of server energy consumption described in claim 1 to 7 any one The step of method;
Processor, for executing described instruction.
10. a kind of readable storage medium storing program for executing, is stored thereon with computer program, which is characterized in that the computer program is processed It is realized when device executes as described in claim 1 to 7 any one the step of the test method of server energy consumption.
CN201910651026.5A 2019-07-18 2019-07-18 A kind of test method of server energy consumption, device, equipment and readable storage medium storing program for executing Pending CN110347559A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910651026.5A CN110347559A (en) 2019-07-18 2019-07-18 A kind of test method of server energy consumption, device, equipment and readable storage medium storing program for executing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910651026.5A CN110347559A (en) 2019-07-18 2019-07-18 A kind of test method of server energy consumption, device, equipment and readable storage medium storing program for executing

Publications (1)

Publication Number Publication Date
CN110347559A true CN110347559A (en) 2019-10-18

Family

ID=68178875

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910651026.5A Pending CN110347559A (en) 2019-07-18 2019-07-18 A kind of test method of server energy consumption, device, equipment and readable storage medium storing program for executing

Country Status (1)

Country Link
CN (1) CN110347559A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111090474A (en) * 2019-11-22 2020-05-01 苏州浪潮智能科技有限公司 Low-power-consumption-based BIOS option configuration method and system
CN111240911A (en) * 2020-01-02 2020-06-05 苏州浪潮智能科技有限公司 Storage system metadata cluster test method, system, terminal and storage medium
CN111740880A (en) * 2020-06-12 2020-10-02 浪潮电子信息产业股份有限公司 Server operation method, operation system and related device
CN112100011A (en) * 2020-08-31 2020-12-18 银清科技有限公司 Performance test method and device
CN112148616A (en) * 2020-09-30 2020-12-29 中国民航信息网络股份有限公司 Performance test management platform
CN112269715A (en) * 2020-10-29 2021-01-26 苏州浪潮智能科技有限公司 Server power consumption measuring method and related equipment
CN113220597A (en) * 2021-06-18 2021-08-06 中国农业银行股份有限公司 Test method, test device, electronic apparatus, and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101212362A (en) * 2006-12-26 2008-07-02 中兴通讯股份有限公司 Automatic testing device and method incorporating a variety of testing tools
CN104506661A (en) * 2015-01-14 2015-04-08 西安电子科技大学 Automatic production method for remotely-configured usage scenario-based power consumption
CN106933715A (en) * 2017-03-14 2017-07-07 郑州云海信息技术有限公司 A kind of server performance method of testing based on different test scenes
CN107341098A (en) * 2017-07-13 2017-11-10 携程旅游信息技术(上海)有限公司 Software performance testing method, platform, equipment and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101212362A (en) * 2006-12-26 2008-07-02 中兴通讯股份有限公司 Automatic testing device and method incorporating a variety of testing tools
CN104506661A (en) * 2015-01-14 2015-04-08 西安电子科技大学 Automatic production method for remotely-configured usage scenario-based power consumption
CN106933715A (en) * 2017-03-14 2017-07-07 郑州云海信息技术有限公司 A kind of server performance method of testing based on different test scenes
CN107341098A (en) * 2017-07-13 2017-11-10 携程旅游信息技术(上海)有限公司 Software performance testing method, platform, equipment and storage medium

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111090474A (en) * 2019-11-22 2020-05-01 苏州浪潮智能科技有限公司 Low-power-consumption-based BIOS option configuration method and system
CN111090474B (en) * 2019-11-22 2023-01-06 苏州浪潮智能科技有限公司 Low-power-consumption-based BIOS option configuration method and system
CN111240911A (en) * 2020-01-02 2020-06-05 苏州浪潮智能科技有限公司 Storage system metadata cluster test method, system, terminal and storage medium
CN111740880A (en) * 2020-06-12 2020-10-02 浪潮电子信息产业股份有限公司 Server operation method, operation system and related device
CN112100011A (en) * 2020-08-31 2020-12-18 银清科技有限公司 Performance test method and device
CN112148616A (en) * 2020-09-30 2020-12-29 中国民航信息网络股份有限公司 Performance test management platform
CN112148616B (en) * 2020-09-30 2024-04-26 中国民航信息网络股份有限公司 Performance test management platform
CN112269715A (en) * 2020-10-29 2021-01-26 苏州浪潮智能科技有限公司 Server power consumption measuring method and related equipment
CN112269715B (en) * 2020-10-29 2022-12-27 苏州浪潮智能科技有限公司 Server power consumption measuring method and related equipment
CN113220597A (en) * 2021-06-18 2021-08-06 中国农业银行股份有限公司 Test method, test device, electronic apparatus, and storage medium
CN113220597B (en) * 2021-06-18 2024-04-16 中国农业银行股份有限公司 Test method, test device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN110347559A (en) A kind of test method of server energy consumption, device, equipment and readable storage medium storing program for executing
CN102567203B (en) A kind of method and system of test distributed file system performance
CN110245078A (en) A kind of method for testing pressure of software, device, storage medium and server
CN107797919A (en) The method and computing device of a kind of automatic test
CN103901388B (en) Parallel detection termination and detection method
EP2321751A1 (en) System and method for automatic hardware and software sequencing of computer-aided design (cad) functionality testing
CN102323499A (en) Method for automatically testing relay protection equipment
US6820222B2 (en) Apparatus and method for processor power measurement in a digital signal processor using trace data and simulation techniques
CN106776280A (en) Configurable performance test device
CN112014788B (en) Load identification module detection method based on wave recording file playback
CN111224845A (en) Equipment automatic testing system and method based on Internet of things cloud
CN105468519A (en) Performance-testing tool control method and device
CN109559054B (en) Electric power engineering construction information processing system
CN102291274A (en) System and method for realizing automatic adaptation of network testing instrument
CN106201810A (en) A kind of method of testing, device
CN109407655A (en) A kind of method and device for debugging chip
US20230138536A1 (en) Battery malfunction detection method and system, and computer product
CN107678965A (en) It is automatically integrating method of testing and system, service terminal, memory
CN104038388A (en) Distributed automatic testing system and automatic testing method for Internet of Things
CN111901155A (en) Internet of things debugging method, device and system and storage medium
CN107423216A (en) Debugging acid collocation method, readable storage medium storing program for executing and debugging acid configuration device
CN101957436A (en) Power supply quality tester of IT (Information Technology) server equipment and test method
CN110446026A (en) A kind of method and system of electric performance test equipment integrated test
CN114826993A (en) Electric energy meter module simulation test system
CN214669306U (en) Non-invasive load identification module detection device

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