CN103293410A - Method and device for detecting server power consumption - Google Patents

Method and device for detecting server power consumption Download PDF

Info

Publication number
CN103293410A
CN103293410A CN2013101571956A CN201310157195A CN103293410A CN 103293410 A CN103293410 A CN 103293410A CN 2013101571956 A CN2013101571956 A CN 2013101571956A CN 201310157195 A CN201310157195 A CN 201310157195A CN 103293410 A CN103293410 A CN 103293410A
Authority
CN
China
Prior art keywords
test
hardware configuration
server
analysis
test process
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
Application number
CN2013101571956A
Other languages
Chinese (zh)
Other versions
CN103293410B (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.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and 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 Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201310157195.6A priority Critical patent/CN103293410B/en
Publication of CN103293410A publication Critical patent/CN103293410A/en
Application granted granted Critical
Publication of CN103293410B publication Critical patent/CN103293410B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides a method for detecting server power consumption. The method comprises the steps that before an analysis server tests one or more tested servers every time, hardware configuration detection is conducted on the one or more tested servers; in the process of each time testing, the analysis server acquires the testing process information of the one or more tested servers in real time; after each time testing is finished, the analysis server conducts differentiation analysis on the hardware configuration information which has been tested for multiple times, and differentiation analysis is conducted on the testing process information which has been tested for multiple times. According to the method for detecting the server power consumption, the hardware information of the servers is acquired, the environmental factors in the process of power consumption detection testing are collected, automatic analysis and comparison are conducted to determine the reason of power consumption difference among different servers, the power consumption evaluation time of the servers is shortened, and high efficiency and usability are achieved. The invention further discloses a device for detecting the server power consumption.

Description

Server energy consumption detection method and device
Technical field
The present invention relates to the automatization testing technique field, particularly a kind of server energy consumption detection method and device.
Background technology
In the assessment of server type selecting, power consumption assessment occupies very consequence, because its direct relation the server cost.But because the configuration of server and external environment condition is different, can produce very big influence to the power consumption of server, the implementation of prior art is; By the configuration of hand inspection hardware of server, information such as measures ambient temperature find hardware configuration and environmental differences, but the implementation manpower of prior art checks that cost is higher, it is inaccurate that measures ambient temperature is measured, and assessment result automatically, do not have ease for use.
Summary of the invention
The present invention is intended to solve at least one of technical matters that exists in the prior art.
For this reason, one object of the present invention is to propose a kind of server energy consumption detection method, this method is by the collection to server hardware information collection and the environmental factor in the consumption detection process, and analyse and compare to determine power consumption reason of discrepancies between the different server automatically, the reduction server energy consumption evaluation time, and have high efficiency and ease for use.Second purpose of the present invention is to propose a kind of server energy consumption pick-up unit.
For achieving the above object, the embodiment of first aspect present invention has proposed a kind of server energy consumption detection method, comprise: Analysis server is before testing one or more tested servers each time, described one or more tested servers are carried out the hardware configuration inspection, wherein, described Analysis server instructs in the described one or more described tested server transmitting systems of each test forward direction, and receives the hardware configuration information of described one or more described tested server feedback; In each test process, described Analysis server obtains the test process information of described one or more described tested servers in real time; After each end of test (EOT), the repeatedly described hardware configuration information of test that described Analysis server will carry out carries out the differentiation analysis, and the repeatedly described test process information of test of having carried out is carried out the differentiation analysis.
Server energy consumption detection method according to the embodiment of the invention, Analysis server is by the collection to one or more tested server hardware information collections and the test process information in the consumption detection process, and analyse and compare to determine power consumption reason of discrepancies between different a plurality of tested servers automatically, this method reduction server energy consumption detects and the evaluation time, improve type selecting efficient, had agility and ease for use.
In one embodiment of the invention, describedly described one or more tested servers are carried out the hardware configuration inspection comprise central processor CPU inspection, internal memory inspection and hard disk inspection.Thus, improved the diversity of one or more tested servers being carried out the hardware configuration inspection.
In one embodiment of the invention, the described hardware configuration information that described Analysis server will feed back is stored with default form, wherein, described default form is [key, value], wherein, key is described hardware configuration attribute, and value is described hardware configuration property value.Thus, improved the ease for use of utilizing the hardware configuration after feeding back.
In one embodiment of the invention, described test process information comprises CPU information, hard disk information, ambient temperature, fan revolution, air intake vent temperature and air outlet temperature.Thus, improved the diversity of test process information.
In one embodiment of the invention, described Analysis server is classified according to affiliated type to described test process data.Thus, improved ease for use to the test process data analysis.
In one embodiment of the invention, the repeatedly described hardware configuration information of test that described Analysis server will carry out carries out the differentiation analysis and comprises that the model to every kind of hardware in the described hardware configuration information in each test process compares, if described model is identical, then judge this hardware indifference, otherwise judge variant.Thus, improved the accuracy that the hardware configuration information of repeatedly testing is carried out variance analysis.
In one embodiment of the invention, described to carried out repeatedly the test described test process information carry out the differentiation analysis, comprise the data of the same type in the described test process information in the test process are repeatedly calculated to obtain arithmetic mean and standard deviation, then corresponding described data of the same type in this test are subtracted each other, if the difference that corresponding described data of the same type in this test are subtracted each other is added and subtracted between 3 times of described standard deviations in described arithmetic mean value, then judgment data is qualified.Thus, improved the accuracy that the test process information of repeatedly test is carried out variance analysis.
For achieving the above object, the embodiment of second aspect present invention has proposed a kind of server merit pick-up unit, comprising: the hardware configuration detection module; Be used for Analysis server before each time one or more tested servers being tested, described one or more tested servers are carried out the hardware configuration inspection, wherein, described Analysis server instructs in the described one or more described tested server transmitting systems of each test forward direction, and receives the hardware configuration information of described one or more described tested server feedback; Data acquisition module; Be used at each test process, described Analysis server obtains the test process information of described one or more described tested servers in real time; Data analysis module.Be used for after each end of test (EOT), the repeatedly described hardware configuration information of test that described Analysis server will carry out carries out the differentiation analysis, and the repeatedly described test process information of test of having carried out is carried out the differentiation analysis.
Server energy consumption pick-up unit according to the embodiment of the invention, the hardware configuration detection module is by the collection of the test process information in the consumption detection process to one or more tested server hardware information collections and data acquisition module, and analyse and compare to determine power consumption reason of discrepancies between different a plurality of tested servers automatically by data analysis module, this device reduction server energy consumption detects and the evaluation time, improve type selecting efficient, had agility and ease for use.
In one embodiment of the invention, describedly described one or more tested servers are carried out the hardware configuration inspection comprise central processor CPU inspection, internal memory inspection and hard disk inspection.Thus, improved the diversity of one or more tested servers being carried out the hardware configuration inspection.
In one embodiment of the invention, the described hardware configuration information that described Analysis server will feed back is stored with default form, wherein, described default form is [key, value], wherein, key is described hardware configuration attribute, and value is described hardware configuration property value.Thus, improved the ease for use of utilizing the hardware configuration after feeding back.
In one embodiment of the invention, described test process information comprises CPU information, hard disk information, ambient temperature, fan revolution, air intake vent temperature and air outlet temperature.Thus, improved the diversity of test process information.
In one embodiment of the invention, also comprise: the classification of type module is used for described Analysis server described test process data is classified according to affiliated type.Thus, improved ease for use to the test process data analysis.
In one embodiment of the invention, described data analysis module comprises: comparing unit is used for the model of every kind of hardware in the described hardware configuration information of each test process is compared, if described model is identical, then judge this hardware indifference, otherwise judge variant.Thus, improved the accuracy that the hardware configuration information of repeatedly testing is carried out variance analysis.
In one embodiment of the invention, described data analysis module also comprises: computing unit, be used for the data of the same type in the described test process information of test process are repeatedly calculated to obtain arithmetic mean and standard deviation, then corresponding described data of the same type in this test subtracted each other; Judging unit is used for judging whether the difference that the corresponding described data of the same type of this test are subtracted each other reaches data qualifier between 3 times of described standard deviations of described arithmetic mean plus-minus.Thus, improved the accuracy that the test process information of repeatedly test is carried out variance analysis.
Additional aspect of the present invention and advantage part in the following description provide, and part will become obviously from the following description, or recognize by practice of the present invention.
Description of drawings
Above-mentioned and/or additional aspect of the present invention and advantage are from obviously and easily understanding becoming the description of embodiment in conjunction with following accompanying drawing, wherein:
Fig. 1 is the process flow diagram according to the server energy consumption detection method of the embodiment of the invention;
Fig. 2 is the process flow diagram of server energy consumption detection method according to another embodiment of the present invention;
Fig. 3 is for realizing the structured flowchart of server energy consumption detection method;
Fig. 4 is for realizing the concrete exemplary plot of server energy consumption detection method;
Fig. 5 is for realizing server energy consumption detection method detailed programs figure;
Fig. 6 is the structural representation according to the server energy consumption pick-up unit of the embodiment of the invention; And
Fig. 7 is the structural representation of server energy consumption pick-up unit according to another embodiment of the present invention.
Embodiment
Describe embodiments of the invention below in detail, the example of described embodiment is shown in the drawings, and wherein identical or similar label is represented identical or similar elements or the element with identical or similar functions from start to finish.Be exemplary below by the embodiment that is described with reference to the drawings, only be used for explaining the present invention, and can not be interpreted as limitation of the present invention.On the contrary, embodiments of the invention comprise spirit and interior all changes, modification and the equivalent of intension scope that falls into institute's additional claims.
In description of the invention, it will be appreciated that term " first ", " second " etc. only are used for describing purpose, and can not be interpreted as indication or hint relative importance.In description of the invention, need to prove that unless clear and definite regulation and restriction are arranged in addition, term " links to each other ", " connection " should do broad understanding, for example, can be fixedly connected, also can be to removably connect, or connect integratedly; Can be mechanical connection, also can be to be electrically connected; Can be directly to link to each other, also can link to each other indirectly by intermediary.Understand above-mentioned term concrete implication in the present invention with concrete condition for the ordinary skill in the art.In addition, in description of the invention, except as otherwise noted, the implication of " a plurality of " is two or more.
Describe and to be understood that in the process flow diagram or in this any process of otherwise describing or method, expression comprises module, fragment or the part of code of the executable instruction of the step that one or more is used to realize specific logical function or process, and the scope of preferred implementation of the present invention comprises other realization, wherein can be not according to order shown or that discuss, comprise according to related function by the mode of basic while or by opposite order, carry out function, this should be understood by the embodiments of the invention person of ordinary skill in the field.
In the assessment of server type selecting, power consumption assessment occupies very consequence, because its direct relation the server cost.But because the configuration of server and external environment condition is different, can produce very big influence to the power consumption of server, the implementation of prior art is; By the configuration of hand inspection hardware of server, information such as measures ambient temperature find hardware configuration and environmental differences, but the implementation manpower of prior art checks that cost is higher, it is inaccurate that measures ambient temperature is measured, and assessment result automatically, do not have ease for use.
For this reason, the present invention proposes a kind of server energy consumption detection method, comprise: Analysis server is before testing one or more tested servers each time, one or more tested servers are carried out the hardware configuration inspection, wherein, Analysis server instructs in the one or more tested server transmitting systems of each test forward direction, and receives the hardware configuration information of one or more tested server feedback; In each test process, Analysis server obtains the test process information of one or more tested servers in real time; After each end of test (EOT), the repeatedly hardware configuration information of test that Analysis server will carry out carries out the differentiation analysis, and the repeatedly test process information of test of having carried out is carried out the differentiation analysis.
Describe embodiments of the invention below in detail, the example of described embodiment is shown in the drawings, and wherein identical or similar label is represented identical or similar elements or the element with identical or similar functions from start to finish.Be exemplary below by examining the embodiment that accompanying drawing describes, only be used for explaining the present invention, and can not be interpreted as limitation of the present invention.
Fig. 1 is the process flow diagram according to the server energy consumption detection method of the embodiment of the invention.
As shown in Figure 1, the server energy consumption detection method comprises:
Step S101, Analysis server is before testing one or more tested servers each time, one or more tested servers are carried out the hardware configuration inspection, wherein, Analysis server instructs in the one or more tested server transmitting systems of each test forward direction, and receives the hardware configuration information of one or more tested server feedback.
In one embodiment of the invention, one or more tested servers are carried out the hardware configuration inspection and comprise central processor CPU inspection, internal memory inspection and hard disk inspection.Thus, improved diversity to one or more tested server hardware configuration inspections.
In one embodiment of the invention, Analysis server is stored the hardware configuration information of feedback with default form, and wherein, default form is [key, value], and wherein key is the hardware configuration attribute, and value is the hardware configuration property value.Thus, improved the ease for use that hardware configuration information is utilized.
Step S102, in each test process, Analysis server obtains the test process information of one or more tested servers in real time.
In one embodiment of the invention, test process information comprises CPU information, hard disk information, ambient temperature, fan revolution, air intake vent temperature and air outlet temperature.Thus, improved the diversity of obtaining test process information.
Step S103, after each end of test (EOT), the repeatedly hardware configuration information of test that Analysis server will carry out carries out the differentiation analysis, and the repeatedly test process information of test of having carried out is carried out the differentiation analysis.
Particularly, the repeatedly hardware configuration information of test that Analysis server will carry out carries out the differentiation analysis and comprises that the model to every kind of hardware in the hardware configuration information in each test process compares, if model is identical, then judges this hardware indifference, otherwise judge variant.Thus, improved the accuracy that the hardware configuration information of repeatedly testing is carried out variance analysis.
Further, Analysis server carries out the differentiation analysis to the repeatedly test process information of test of having carried out, comprise the data of the same type in the test process information in the test process are repeatedly calculated to obtain arithmetic mean value and standard deviation, then corresponding data of the same type in this test are subtracted each other, if the difference that corresponding data of the same type in this test are subtracted each other is added and subtracted between 3 times of standard deviations in the arithmetic mean value, then judgment data is qualified.Thus, improved the accuracy that the test process information of repeatedly test is carried out variance analysis.
Server energy consumption detection method according to the embodiment of the invention, Analysis server is by the collection to one or more tested server hardware information collections and the test process information in the consumption detection process, and analyse and compare to determine power consumption reason of discrepancies between different a plurality of tested servers automatically, this method reduction server energy consumption detects and the evaluation time, improve type selecting efficient, had agility and ease for use.
In order to improve the ease for use to the test process data analysis.
Fig. 2 is the process flow diagram of server energy consumption detection method according to another embodiment of the present invention.
As shown in Figure 2, the server energy consumption detection method comprises:
Step S201, Analysis server is before testing one or more tested servers each time, one or more tested servers are carried out the hardware configuration inspection, wherein, Analysis server instructs in the one or more tested server transmitting systems of each test forward direction, and receives the hardware configuration information of one or more tested server feedback.
In one embodiment of the invention, one or more tested servers are carried out the hardware configuration inspection and comprise central processor CPU inspection, internal memory inspection and hard disk inspection.Thus, improved diversity to one or more tested server hardware configuration inspections.
In one embodiment of the invention, Analysis server is stored the hardware configuration information of feedback with default form, and wherein, default form is [key, value], and wherein key is the hardware configuration attribute, and value is the hardware configuration property value.Thus, improved the ease for use that hardware configuration information is utilized.
Step S202, in each test process, Analysis server obtains the test process information of one or more tested servers in real time.
In one embodiment of the invention, test process information comprises CPU information, hard disk information, ambient temperature, fan revolution, air intake vent temperature and air outlet temperature.Thus, improved the diversity of obtaining test process information.
Step S203, Analysis server is classified according to affiliated type to the test process data.
For example, if having cpu busy percentage and hard disk utilization factor respectively, then cpu busy percentage is categorized in the cpu type, wherein, also comprises CPU voltage, cpu temperature and CPU frequency of operation; The hard disk utilization factor is categorized in the hard disk type, wherein, also comprises hard disk temperature and hard disk throughput.
Step S204, after each end of test (EOT), the repeatedly hardware configuration information of test that Analysis server will carry out carries out the differentiation analysis, and the repeatedly test process information of test of having carried out is carried out the differentiation analysis.
Particularly, the repeatedly hardware configuration information of test that Analysis server will carry out carries out the differentiation analysis and comprises that the model to every kind of hardware in the hardware configuration information in each test process compares, if model is identical, then judges this hardware indifference, otherwise judge variant.Thus, improved the accuracy that the hardware configuration information of repeatedly testing is carried out variance analysis.
Further, Analysis server carries out the differentiation analysis to the repeatedly test process information of test of having carried out, comprise the data of the same type in the test process information in the test process are repeatedly calculated to obtain arithmetic mean value and standard deviation, then corresponding data of the same type in this test are subtracted each other, if the difference that corresponding data of the same type in this test are subtracted each other is added and subtracted between 3 times of standard deviations in the arithmetic mean value, then judgment data is qualified.Thus, improved the accuracy that the test process information of repeatedly test is carried out variance analysis.
Server energy consumption detection method according to the embodiment of the invention, Analysis server is by the collection to one or more tested server hardware information collections and the test process information in the consumption detection process, and the test process data are classified according to affiliated type, and then analyse and compare to determine power consumption reason of discrepancies between different a plurality of tested servers automatically, this method reduction server energy consumption detects and the evaluation time, improve type selecting efficient, had agility and ease for use.
Fig. 3 is for realizing the structured flowchart of server energy consumption detection method.
As shown in Figure 3, comprising: check whether hardware configuration there are differences 310, the test process information gap analyzes 320, record discrepancy 330 and generate report 340.
For checking whether hardware configuration there are differences 310, particularly, Analysis server is before testing one or more tested servers each time, one or more tested servers are carried out the hardware configuration inspection, wherein, Analysis server instructs in the one or more tested server transmitting systems of each test forward direction, and receives the hardware configuration information of one or more tested server feedback.
The test process information gap analyzes 320, and particularly, in each test process, Analysis server obtains the test process information of one or more tested servers in real time.
Further, the test process variance analysis is the analytic band internal information on the one hand, and for example, whether cpu busy percentage and hard disk utilization factor be variant; Analytic band external information on the other hand, for example, whether information such as ambient temperature, fan revolution are variant.
Record discrepancy 330 and generation report 340, particularly, after each end of test (EOT), the repeatedly hardware configuration information of test that Analysis server will carry out carries out the differentiation analysis, and to carried out repeatedly the test test process information carry out the differentiation analysis, the record discrepancy finally generate report.
For the ease of better understanding and application server consumption detection method, be illustrated below.
Fig. 4 is for realizing the concrete exemplary plot of server energy consumption detection method.
As shown in Figure 4, comprising: a plurality of tested servers 410, Analysis server 420.
Particularly, Analysis server 420 is before testing one or more tested servers 410 each time, one or more tested servers 410 are carried out the hardware configuration inspection, wherein, Analysis server 420 is in the one or more tested server 410 transmitting systems instructions of each test forward direction, and receive the hardware configuration information of one or more tested servers 410 feedbacks, wherein, one or more tested servers 410 are carried out the hardware configuration inspection as shown in Figure 5, comprise central processor CPU inspection, internal memory inspection and hard disk inspection etc.For example, CPU checks and to comprise: hyperthread, overclocking, energy saver mode, dominant frequency, NUMA(Non Uniform Memory Access Architecture, nonuniform memory access), look ahead and virtual; The internal memory inspection comprises: frequency of operation and working power.Thus, improved diversity to one or more tested server hardware configuration inspections.
Further, Analysis server 420 is stored the hardware configuration information of feedback with default form, and wherein, default form is [key, value], and wherein key is the hardware configuration attribute, and value is the hardware configuration property value.Thus, improved the ease for use that hardware configuration information is utilized.
In each test process, Analysis server 420 obtains the test process information of one or more tested servers 410 in real time, wherein, as shown in Figure 5, test process information comprises CPU information, hard disk information, ambient temperature, fan revolution, air intake vent temperature and air outlet temperature.For example, be above-mentioned these data of CPU voltage, cpu busy percentage, cpu temperature and CPU frequency of operation for the data in the CPU informational needs compare test process; Needing the data in the compare test process for hard disk information is above-mentioned these data of hard disk utilization factor, hard disk temperature and hard disk throughput.Thus, improved the diversity of obtaining test process information.
420 pairs of test process data of Analysis server are classified according to affiliated type, then after each end of test (EOT), the repeatedly hardware configuration information of test that Analysis server 420 will carry out carries out the differentiation analysis, and to carried out repeatedly the test test process information carry out the differentiation analysis, finally generate Study document.
Further, the repeatedly hardware configuration information of test that Analysis server 420 will carry out carries out the differentiation analysis and comprises that the model to every kind of hardware in the hardware configuration information in each test process compares, if model is identical, then judges this hardware indifference, otherwise judge variant.Thus, improved the accuracy that the hardware configuration information of repeatedly testing is carried out variance analysis; And the repeatedly test process information of test that 420 pairs of Analysis servers have carried out is carried out the differentiation analysis, comprise the data of the same type in the test process information in the test process are repeatedly calculated to obtain arithmetic mean value and standard deviation, then corresponding data of the same type in this test are subtracted each other, if the difference that corresponding data of the same type in this test are subtracted each other is added and subtracted between 3 times of standard deviations in the arithmetic mean value, then judgment data is qualified.Thus, improved the accuracy that the test process information of repeatedly test is carried out variance analysis.
In order to realize said method, the invention allows for a kind of server energy consumption pick-up unit.
Fig. 6 is the structural representation according to the server energy consumption pick-up unit of the embodiment of the invention.
As shown in Figure 6, server energy consumption pick-up unit 600 comprises: hardware configuration detection module 610, data acquisition module 620 and data analysis module 630.
Particularly, hardware configuration detection module 610 was used for Analysis server before each time one or more tested servers being tested, one or more tested servers are carried out the hardware configuration inspection, wherein, Analysis server instructs in the one or more tested server transmitting systems of each test forward direction, and receives the hardware configuration information of one or more tested server feedback.
In one embodiment of the invention, one or more tested servers are carried out the hardware configuration inspection and comprise central processor CPU inspection, internal memory inspection and hard disk inspection.Thus, improved diversity to one or more tested server hardware configuration inspections.
In one embodiment of the invention, Analysis server is stored the hardware configuration information of feedback with default form, and wherein, default form is [key, value], and wherein, key is the hardware configuration attribute, and value is the hardware configuration property value.Thus, improved the ease for use that hardware configuration information is utilized.
Pass through data acquisition module 620 again in each test process, Analysis server obtains the test process information of one or more tested servers in real time.
In one embodiment of the invention, test process information comprises CPU information, hard disk information, ambient temperature, fan revolution, air intake vent temperature and air outlet temperature.Thus, improved the diversity of obtaining test process information.
Pass through data analysis module 630 at last after each end of test (EOT), the repeatedly hardware configuration information of test that Analysis server will carry out carries out the differentiation analysis, and the repeatedly test process information of test of having carried out is carried out the differentiation analysis.
Particularly, data analysis module 630 comprises that comparing unit 6301(is not shown) model of every kind of hardware in the hardware configuration information in each test process is compared, if model is identical, then judges this hardware indifference, otherwise judge variant.Thus, improved the accuracy that the hardware configuration information of repeatedly testing is carried out variance analysis.
Further, data analysis module 630 comprises that also computing unit 6302(is not shown) be used for the data of the same type in the test process information of test process are repeatedly calculated to obtain arithmetic mean and standard deviation, then corresponding data of the same type in this test are subtracted each other; Judging unit 6303(is not shown) be used for judging whether the difference that the corresponding data of the same type of this test are subtracted each other reaches data qualifier between 3 times of standard deviations of arithmetic mean plus-minus.Thus, improved the accuracy that the test process information of repeatedly test is carried out variance analysis.
Server energy consumption pick-up unit according to the embodiment of the invention, the hardware configuration detection module is by the collection of the test process information in the consumption detection process to one or more tested server hardware information collections and data acquisition module, and analyse and compare to determine power consumption reason of discrepancies between different a plurality of tested servers automatically by data analysis module, this device reduction server energy consumption detects and the evaluation time, improve type selecting efficient, had agility and ease for use.
Fig. 7 is the structural representation of server energy consumption pick-up unit according to another embodiment of the present invention.
As shown in Figure 7, server energy consumption pick-up unit 600 also comprises classification of type module 640.
Classification of type module 640 is used for Analysis server the test process data is classified according to affiliated type.Thus, improved ease for use to the test process data analysis.
For example, if having cpu busy percentage and hard disk utilization factor respectively, then by classification of type module 640 cpu busy percentage is categorized in the cpu type, wherein, also comprises CPU voltage, cpu temperature and CPU frequency of operation; Then by classification of type module 640 the hard disk utilization factor is categorized in the hard disk type, wherein, also comprises hard disk temperature and hard disk throughput.
Server energy consumption pick-up unit according to the embodiment of the invention, the hardware configuration detection module is by the collection of the test process information in the consumption detection process to one or more tested server hardware information collections and data acquisition module, and by the classification of type module test process data are classified according to type, finally analyse and compare the next power consumption reason of discrepancies of determining between different a plurality of tested servers automatically by data analysis module, this device reduction server energy consumption detects and the evaluation time, improve type selecting efficient, had agility and ease for use.
Describe and to be understood that in the process flow diagram or in this any process of otherwise describing or method, expression comprises module, fragment or the part of code of the executable instruction of the step that one or more is used to realize specific logical function or process, and the scope of preferred implementation of the present invention comprises other realization, wherein can be not according to order shown or that discuss, comprise according to related function by the mode of basic while or by opposite order, carry out function, this should be understood by the embodiments of the invention person of ordinary skill in the field.
In process flow diagram the expression or in this logic of otherwise describing and/or step, for example, can be considered to the sequencing tabulation for the executable instruction that realizes logic function, may be embodied in any computer-readable medium, use for instruction execution system, device or equipment (as the computer based system, comprise that the system of processor or other can be from the systems of instruction execution system, device or equipment instruction fetch and execution command), or use in conjunction with these instruction execution systems, device or equipment.With regard to this instructions, " computer-readable medium " can be anyly can comprise, storage, communication, propagation or transmission procedure be for instruction execution system, device or equipment or the device that uses in conjunction with these instruction execution systems, device or equipment.The example more specifically of computer-readable medium (non-exhaustive list) comprises following: the electrical connection section (electronic installation) with one or more wirings, portable computer diskette box (magnetic device), random-access memory (ram), ROM (read-only memory) (ROM), can wipe and to edit ROM (read-only memory) (EPROM or flash memory), fiber device, and portable optic disk ROM (read-only memory) (CDROM).In addition, computer-readable medium even can be paper or other the suitable media that to print described program thereon, because can be for example by paper or other media be carried out optical scanning, then edit, decipher or handle to obtain described program in the electronics mode with other suitable methods in case of necessity, then it is stored in the computer memory.
Should be appreciated that each several part of the present invention can realize with hardware, software, firmware or their combination.In the above-described embodiment, a plurality of steps or method can realize with being stored in the storer and by software or firmware that suitable instruction execution system is carried out.For example, if realize with hardware, the same in another embodiment, in the available following technology well known in the art each or their combination realize: have for the discrete logic of data-signal being realized the logic gates of logic function, special IC with suitable combinational logic gate circuit, programmable gate array (PGA), field programmable gate array (FPGA) etc.
Those skilled in the art are appreciated that and realize that all or part of step that above-described embodiment method is carried is to instruct relevant hardware to finish by program, described program can be stored in a kind of computer-readable recording medium, this program comprises one of step or its combination of method embodiment when carrying out.
In addition, each functional unit in each embodiment of the present invention can be integrated in the processing module, also can be that the independent physics in each unit exists, and also can be integrated in the module two or more unit.Above-mentioned integrated module both can adopt the form of hardware to realize, also can adopt the form of software function module to realize.If described integrated module realizes with the form of software function module and during as independently production marketing or use, also can be stored in the computer read/write memory medium.
The above-mentioned storage medium of mentioning can be ROM (read-only memory), disk or CD etc.
In the description of this instructions, concrete feature, structure, material or characteristics that the description of reference term " embodiment ", " some embodiment ", " example ", " concrete example " or " some examples " etc. means in conjunction with this embodiment or example description are contained at least one embodiment of the present invention or the example.In this manual, the schematic statement to above-mentioned term not necessarily refers to identical embodiment or example.And concrete feature, structure, material or the characteristics of description can be with the suitable manner combination in any one or more embodiment or example.
Although illustrated and described embodiments of the invention above, be understandable that, above-described embodiment is exemplary, can not be interpreted as limitation of the present invention, those of ordinary skill in the art can change above-described embodiment under the situation that does not break away from principle of the present invention and aim within the scope of the invention, modification, replacement and modification.

Claims (14)

1. a server energy consumption detection method is characterized in that, comprises the steps:
Analysis server is before testing one or more tested servers each time, described one or more tested servers are carried out the hardware configuration inspection, wherein, described Analysis server instructs in the described one or more described tested server transmitting systems of each test forward direction, and receives the described hardware configuration information of described one or more described tested server feedback;
In each test process, described Analysis server obtains the test process information of described one or more described tested servers in real time;
After each end of test (EOT), the repeatedly described hardware configuration information of test that described Analysis server will carry out carries out the differentiation analysis, and the repeatedly described test process information of test of having carried out is carried out the differentiation analysis.
2. the method for claim 1 is characterized in that, describedly described one or more tested servers are carried out the hardware configuration inspection comprises central processor CPU inspection, internal memory inspection and hard disk inspection.
3. the method for claim 1 is characterized in that, the described hardware configuration information that described Analysis server will feed back is stored with default form, wherein, described default form is [key, value], wherein, key is described hardware configuration attribute, and value is described hardware configuration property value.
4. the method for claim 1 is characterized in that, described test process information comprises CPU information, hard disk information, ambient temperature, fan revolution, air intake vent temperature and air outlet temperature.
5. the method for claim 1 is characterized in that, described Analysis server is classified according to affiliated type to described test process data.
6. the method for claim 1, it is characterized in that, the repeatedly described hardware configuration information of test that described Analysis server will carry out carries out the differentiation analysis and comprises that the model to every kind of hardware in the described hardware configuration information in each test process compares, if described model is identical, then judge this hardware indifference, otherwise judge variant.
7. the method for claim 1, it is characterized in that, described to carried out repeatedly the test described test process information carry out the differentiation analysis, comprise the data of the same type in the described test process information in the test process are repeatedly calculated to obtain arithmetic mean and standard deviation, then corresponding described data of the same type in this test are subtracted each other, if the difference that corresponding described data of the same type in this test are subtracted each other is added and subtracted between 3 times of described standard deviations in described arithmetic mean value, then judgment data is qualified.
8. a server energy consumption pick-up unit is characterized in that, comprising:
The hardware configuration detection module; Be used for Analysis server before each time one or more tested servers being tested, described one or more tested servers are carried out the hardware configuration inspection, wherein, described Analysis server instructs in the described one or more described tested server transmitting systems of each test forward direction, and receives the hardware configuration information of described one or more described tested server feedback;
Data acquisition module; Be used at each test process, described Analysis server obtains the test process information of described one or more described tested servers in real time;
Data analysis module.Be used for after each end of test (EOT), the repeatedly described hardware configuration information of test that described Analysis server will carry out carries out the differentiation analysis, and the repeatedly described test process information of test of having carried out is carried out the differentiation analysis.
9. device as claimed in claim 8 is characterized in that, describedly described one or more tested servers are carried out the hardware configuration inspection comprises central processor CPU inspection, internal memory inspection and hard disk inspection.
10. device as claimed in claim 8 is characterized in that, the described hardware configuration information that described Analysis server will feed back is stored with default form, wherein, described default form is [key, value], wherein, key is described hard disk configuration attribute, and value is described hardware configuration property value.
11. device as claimed in claim 8 is characterized in that, described test process information comprises CPU information, hard disk information, ambient temperature, fan revolution, air intake vent temperature and air outlet temperature.
12. device as claimed in claim 8 is characterized in that, also comprises: the classification of type module,
The classification of type module is used for described Analysis server described test process data is classified according to affiliated type.
13. device as claimed in claim 8 is characterized in that, described data analysis module comprises: comparing unit,
Comparing unit is used for the model of every kind of hardware in the described hardware configuration information of each test process is compared, if described model is identical, then judges this hardware indifference, otherwise judges variant.
14. device as claimed in claim 8 is characterized in that, described data analysis module also comprises:
Computing unit is used for the data of the same type in the described test process information of test process are repeatedly calculated to obtain arithmetic mean and standard deviation, then corresponding described data of the same type in this test is subtracted each other;
Judging unit is used for judging whether the difference that the corresponding described data of the same type of this test are subtracted each other reaches data qualifier between 3 times of described standard deviations of described arithmetic mean plus-minus.
CN201310157195.6A 2013-04-28 2013-04-28 Server energy consumption detection method and device Active CN103293410B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310157195.6A CN103293410B (en) 2013-04-28 2013-04-28 Server energy consumption detection method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310157195.6A CN103293410B (en) 2013-04-28 2013-04-28 Server energy consumption detection method and device

Publications (2)

Publication Number Publication Date
CN103293410A true CN103293410A (en) 2013-09-11
CN103293410B CN103293410B (en) 2015-11-25

Family

ID=49094620

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310157195.6A Active CN103293410B (en) 2013-04-28 2013-04-28 Server energy consumption detection method and device

Country Status (1)

Country Link
CN (1) CN103293410B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104142880A (en) * 2014-08-04 2014-11-12 浪潮电子信息产业股份有限公司 Simple power consumption assessment method of blade server
CN109491849A (en) * 2018-11-13 2019-03-19 郑州云海信息技术有限公司 The method of hardware configuration information is obtained under a kind of Linux system
CN110413475A (en) * 2019-06-19 2019-11-05 苏州浪潮智能科技有限公司 A kind of method and apparatus of correction server power consumption measurements
CN112988269A (en) * 2021-03-19 2021-06-18 银清科技有限公司 Central server configuration parameter comparison method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050010836A1 (en) * 2003-05-15 2005-01-13 Samsung Electronics Co., Ltd. Apparatus for testing hard disk drive
CN201489520U (en) * 2009-09-02 2010-05-26 李超 Computer operating environment monitoring system
CN101996117A (en) * 2009-08-27 2011-03-30 鸿富锦精密工业(深圳)有限公司 Computer test system and method thereof
JP2011204273A (en) * 2011-07-04 2011-10-13 Mitsubishi Electric Corp On-vehicle information system
CN103049358A (en) * 2012-11-26 2013-04-17 浪潮电子信息产业股份有限公司 Pressure test verification method for server under high temperature environment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050010836A1 (en) * 2003-05-15 2005-01-13 Samsung Electronics Co., Ltd. Apparatus for testing hard disk drive
CN101996117A (en) * 2009-08-27 2011-03-30 鸿富锦精密工业(深圳)有限公司 Computer test system and method thereof
CN201489520U (en) * 2009-09-02 2010-05-26 李超 Computer operating environment monitoring system
JP2011204273A (en) * 2011-07-04 2011-10-13 Mitsubishi Electric Corp On-vehicle information system
CN103049358A (en) * 2012-11-26 2013-04-17 浪潮电子信息产业股份有限公司 Pressure test verification method for server under high temperature environment

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104142880A (en) * 2014-08-04 2014-11-12 浪潮电子信息产业股份有限公司 Simple power consumption assessment method of blade server
CN109491849A (en) * 2018-11-13 2019-03-19 郑州云海信息技术有限公司 The method of hardware configuration information is obtained under a kind of Linux system
CN109491849B (en) * 2018-11-13 2022-06-21 郑州云海信息技术有限公司 Method for acquiring hardware configuration information under linux system
CN110413475A (en) * 2019-06-19 2019-11-05 苏州浪潮智能科技有限公司 A kind of method and apparatus of correction server power consumption measurements
CN110413475B (en) * 2019-06-19 2022-08-19 苏州浪潮智能科技有限公司 Method and device for correcting server power consumption measured value
CN112988269A (en) * 2021-03-19 2021-06-18 银清科技有限公司 Central server configuration parameter comparison method and device

Also Published As

Publication number Publication date
CN103293410B (en) 2015-11-25

Similar Documents

Publication Publication Date Title
JP6938200B2 (en) Methods and equipment for acoustic emission testing
US9064048B2 (en) Memory leak detection
US9404969B1 (en) Method and apparatus for efficient hierarchical chip testing and diagnostics with support for partially bad dies
CN104520806A (en) Anomaly detection for cloud monitoring
CN107450510B (en) A kind of signal resolution method quickly positioning CAN signal using diagnostic signal
CN103018545B (en) Whole cabinet power consumption test method
CN106201804A (en) The device of a kind of measuring and calculation mainboard, method and system
CN103293410A (en) Method and device for detecting server power consumption
CN106646315B (en) A kind of Auto-Test System and its test method of digital measuring instruments
CN102928690B (en) For the method for detecting abnormality of electron device
CN101359297A (en) Datacenter workload migration
CN103150250A (en) Performance detecting system for application program and performance detecting method for application program
US8571847B2 (en) Efficiency of static core turn-off in a system-on-a-chip with variation
CN107704668A (en) A kind of sensor optimization layout method based on testability modeling and analysis
CN205176215U (en) Integrated circuit board test fixture of SMARTRACK system
CN103207821A (en) CPU (Central Processing Unit) performance evaluation method and device
CN103207827A (en) Method and device for detecting IO (input output) hotspots based on Linux system
CN103218277A (en) Automatic detection method and device for server environment
CN116955045B (en) Remote JTAG multiplexing test method and system
CN106095647A (en) A kind of method of real-time monitoring Seagate hard disk voltage
CN102901611B (en) A kind of quick arrange distinguish method of satellite antenna structural damage based on modal test
CN102650263B (en) To the method and apparatus that wind turbine equipment is tested
KR100987124B1 (en) Apparatus and Method for Software Faults Prediction using Metrics
CN101470149A (en) Jitter amount estimating method, method for calculating correlation between amount of simultaneously operating signal noise and jitter amount, and recording medium
CN103163406A (en) Durable testing table of vehicle instrument based on controller area network (CAN)

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant