CN113010362B - Method and device for determining energy efficiency grade of storage equipment - Google Patents

Method and device for determining energy efficiency grade of storage equipment Download PDF

Info

Publication number
CN113010362B
CN113010362B CN201911313945.8A CN201911313945A CN113010362B CN 113010362 B CN113010362 B CN 113010362B CN 201911313945 A CN201911313945 A CN 201911313945A CN 113010362 B CN113010362 B CN 113010362B
Authority
CN
China
Prior art keywords
energy efficiency
determining
value
bandwidth
iops
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911313945.8A
Other languages
Chinese (zh)
Other versions
CN113010362A (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.)
China Academy of Information and Communications Technology CAICT
Original Assignee
China Academy of Information and Communications Technology CAICT
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 China Academy of Information and Communications Technology CAICT filed Critical China Academy of Information and Communications Technology CAICT
Priority to CN201911313945.8A priority Critical patent/CN113010362B/en
Publication of CN113010362A publication Critical patent/CN113010362A/en
Application granted granted Critical
Publication of CN113010362B publication Critical patent/CN113010362B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/3037Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a memory, e.g. virtual memory, cache
    • 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)
  • Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Power Sources (AREA)

Abstract

The application provides a method and a device for determining energy efficiency grade of storage equipment, wherein the method comprises the following steps: obtaining an IOPS energy efficiency ratio; acquiring a bandwidth energy efficiency ratio; acquiring a spatial density value; determining PSU power supply efficiency according to load conditions in a test process; determining whether the tested storage device has a preset additional function; determining a comprehensive energy efficiency value of the storage device by using the IOPS energy efficiency ratio, the bandwidth energy efficiency ratio, the spatial density value, the PSU power supply efficiency and the additional functions; and determining the energy efficiency grade corresponding to the comprehensive energy efficiency value according to a preset mapping relation between the energy efficiency value and the energy efficiency grade. The method can comprehensively and accurately determine the energy efficiency grade of the storage device.

Description

Method and device for determining energy efficiency grade of storage equipment
Technical Field
The invention relates to the technical field of data processing, in particular to a method and a device for determining energy efficiency grade of storage equipment.
Background
A storage device is a device for storing information, and generally, information is digitized and then stored in a medium using an electric, magnetic, optical, or other means.
The performance and function of the storage device are crucial to the application of the storage device in a data center, and how to measure the energy efficiency of the storage device in all aspects is a problem to be solved urgently at present.
Disclosure of Invention
In view of this, the present application provides a method and an apparatus for determining an energy efficiency level of a storage device, which are capable of comprehensively and accurately determining the energy efficiency level of the storage device.
In order to solve the technical problem, the technical scheme of the application is realized as follows:
in one embodiment, a method for determining an energy efficiency level of a storage device is provided, the method comprising:
acquiring the IOPS energy efficiency ratio of the times of reading and writing operations per second;
acquiring a bandwidth energy efficiency ratio;
acquiring a spatial density value;
determining PSU power supply efficiency according to load conditions in a test process;
determining whether the tested storage device has a preset additional function;
determining a comprehensive energy efficiency value of the storage device by using the IOPS energy efficiency ratio, the bandwidth energy efficiency ratio, the spatial density value, the PSU power supply efficiency and the additional functions;
and determining the energy efficiency grade corresponding to the comprehensive energy efficiency value according to a preset mapping relation between the energy efficiency value and the energy efficiency grade.
In another embodiment, an apparatus for determining an energy efficiency level of a storage device is provided, the apparatus including: the device comprises an acquisition unit, a first determination unit, a second determination unit and a third determination unit;
the obtaining unit is used for obtaining an IOPS energy efficiency ratio; acquiring a bandwidth energy efficiency ratio; acquiring a spatial density value; determining PSU power supply efficiency according to load conditions in a test process;
the first determining unit is used for determining whether the tested storage equipment has a preset additional function or not;
the second determining unit is configured to determine a comprehensive energy efficiency value of the storage device by using the IOPS energy efficiency ratio, the bandwidth energy efficiency ratio, the spatial density value, the PSU power supply efficiency, and the additional function determined by the first determining unit, which are acquired by the acquiring unit;
and the third unit is configured to determine, according to a preset mapping relationship between an energy efficiency value and an energy efficiency grade, an energy efficiency grade corresponding to the comprehensive energy efficiency value determined by the second determining unit.
In another embodiment, an electronic device is provided that includes a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the energy efficiency rating determination method of the memory device when executing the program.
In another embodiment, a computer-readable storage medium is provided, on which a computer program is stored which, when being executed by a processor, carries out the steps of the energy efficiency level determination method of the storage device.
As can be seen from the above technical solution, in the above embodiment, the comprehensive energy efficiency value of the storage device is determined by obtaining energy efficiency indicators (bandwidth energy efficiency, IOPS energy efficiency, space utilization, PSU power supply efficiency) corresponding to the storage device and an additional function, and further determining the energy efficiency level corresponding to the storage device according to the comprehensive energy efficiency value. The scheme can comprehensively and accurately determine the energy efficiency grade of the storage device.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive labor.
FIG. 1 is a schematic flow chart illustrating a process for determining an energy efficiency level of a storage device according to an embodiment of the present disclosure;
FIG. 2 is a schematic diagram of a test system according to an embodiment of the present disclosure;
FIG. 3 is a schematic diagram of an apparatus for implementing the above technique in an embodiment of the present application;
fig. 4 is a schematic physical structure diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims, as well as in the drawings, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are, for example, capable of operation in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprising" and "having," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements explicitly listed, but may include other steps or elements not explicitly listed or inherent to such process, method, article, or apparatus.
The technical solution of the present invention will be described in detail with specific examples. Several of the following embodiments may be combined with each other and some details of the same or similar concepts or processes may not be repeated in some embodiments.
The embodiment of the application provides a method for determining an energy efficiency level of a storage device, which determines a comprehensive energy efficiency value of the storage device by obtaining energy efficiency indexes (bandwidth energy efficiency, number of times of read-write operations (IOPS) per second, space utilization rate, Power Supply Unit (PSU) Power Supply efficiency) corresponding to the storage device and additional functions, and further determines the energy efficiency level corresponding to the storage device according to the comprehensive energy efficiency value. The scheme can comprehensively and accurately determine the energy efficiency grade of the storage equipment, and further measure the quality of the energy efficiency of the storage equipment.
The following describes in detail an energy efficiency level determination process for determining a storage device in an embodiment of the present application with reference to the accompanying drawings.
The apparatus for determining the energy efficiency level of the storage device in the embodiment of the present application may be a device with computing processing capability, such as a PC, and may be simply referred to as a determining apparatus hereinafter for convenience of description.
Referring to fig. 1, fig. 1 is a schematic flow chart illustrating a process of determining an energy efficiency level of a storage device according to an embodiment of the present application. The method comprises the following specific steps:
step 101, obtaining an IOPS energy efficiency ratio.
Obtaining the IOPS energy efficiency ratio in this step includes:
obtaining a stored test result, and directly calculating an IOPS energy efficiency ratio;
or, performing an IOPS test on the storage device, and recording a test result.
Wherein the test result comprises: power consumption, time delay, and recorded time during the test process;
the IOPS test procedure is given below:
in the embodiment of the present application, when testing is performed specifically, a test system needs to be built, the test system needs to include devices capable of testing specific test parameters, and the devices may be determined according to functions actually participating in the test of the devices, for example, a power meter may only have a function of measuring power, and may also have a function of measuring environmental data, so that measurement functions equivalent to power and environmental data are integrated, and may also be deployed separately.
Referring to fig. 2, fig. 2 is a schematic diagram of a test system according to an embodiment of the present disclosure. The test system in fig. 2 includes a power meter, a temperature detector, a program loading device, and a data acquisition device.
The power meter is used for measuring and recording the power of the storage equipment in the test process, and can also measure data related to the test environment if the power meter has functions; the temperature detector is used for measuring the temperature of the storage equipment in the testing process; the program loading device is used for loading in the test process, such as reading and writing data; the data acquisition equipment is used for acquiring related data recorded and used by the power meter, the temperature detector and the program loading device.
In specific implementation, the program loading device and the data acquisition device may be deployed on one device, or may be deployed on different devices, and the comparison is not limited.
Fig. 2 is a schematic diagram of a test system, and the specific implementation is not limited to the above test architecture, and the corresponding test function can be implemented.
The test requirements are given below:
all the devices in the test process are configured and connected according to the precise configuration of the hardware required by measurement;
the test power supply is alternating current (220 +/-2.2) V, and the power supply frequency is (50 +/-1) Hz. The total harmonic distortion of the test power supply is no greater than 2%.
During testing, the ambient temperature is 18-28 ℃, the relative humidity is 15-80%, and the atmospheric pressure is 86-106 kPa.
If the selected power meter has no environmental data measurement functionality, an environmental measurement meter should also be included.
The power meter should be valid in all test links and stages, and should record test information:
inputting the voltage of the tested product, wherein the precision is within 2% (under 95% confidence level);
the power of the system to be measured, the precision refers to table 1, and table 1 is the measurement precision corresponding to the power of the device to be measured.
Power consumption (P) Accuracy of measurement
p≤10W ±10mW
10<p≤100W ±100mW
p>100W ±1W
TABLE 1
The power and voltage measurement and recording time interval should not exceed 5s with an accuracy of ± 1 s.
The unit of the measured temperature is centigrade, the precision is +/-0.5 ℃, the temperature is measured at the position which is not more than 50mm in front of a main air inlet (upwind) of a measured product, and the reading is read and recorded every 10 seconds.
All test segments and test phases indicate a minimum duration of their measurement intervals. The measurement interval is a subset of the test phase time during which certain metrics or calculated underlying data are collected.
The tester should ensure that the measurement of the test is stable throughout the measurement interval.
Testing the equipment by using the Vdbench; preheating each test item, such as an IOPS test, a bandwidth test and the like, for a preset time, such as 5 minutes, so that the whole test system is stable, and the test is convenient in a stable state; the test time is longer than the preset time, such as 30 minutes.
The configuration requirements of the storage device are as follows:
the configuration is between the maximum and minimum specifications required by the specification (as claimed by the manufacturer), and peak energy efficiency can be achieved under a specified business model, and the configuration is provided by the manufacturer.
Different configurations can be adopted for the IOPS type and bandwidth type energy efficiency tests, but the test configuration of the same service model must be kept consistent, for example, the IOPS type sequential read-write and random read-write test configuration must be kept consistent.
The hardware configuration of the storage device must be consistent with the externally declared configuration of the product, such as the CPU model, the memory specification, the hard disk specification, and the number of components must be consistent with the declared specification of the product.
The storage device uses the product to test the software which is officially released from the outside, and the software is not allowed to be optimized.
The consistency of the user data must be guaranteed during the test.
Manufacturers provide a list of key device compatibility for devices under test.
The IOPS test can be started on the basis that the test environment meets the requirements after the equipment in the test system is set up and the system is set up:
IOPS testing is performed at RAID5 or RAID6 or Erasure Code (EC) level;
set IO (Input/Output) size to a preset KB, such as 8 KB;
the read-write proportion is respectively set as random: as can be set to 100% read, 70% read 30% write, 100% write, the specific setting may not be limited to the above setting;
cycling the above test configuration;
recording a test result IOPS (IO Per second), recording the power consumption P in the process, and recording the time delay RT in the test process.
When the time delay recorded in the first preset time meets a first time delay requirement, calculating the number of random read-write operations supported by each watt of power consumed by the storage equipment in the first preset time according to the test result;
and obtaining the operation times and determining the operation times as the IOPS energy efficiency ratio.
If the first preset time is within 30 minutes of the ith stage in the test stage, the first time delay requirement is met, namely the IO average time delay RTA in the test process is requiredi(1800)≤1ms,RTAi(1800) Is the average time delay (unit: ms) for phase i in the activity test as the measurement interval of 1s over 30 minutes.
Based on the obtained random read-write energy efficiency ratio of IOPS (input/output system) in the test stage i, the random read-write operation times O supported by each watt of power consumed by the tested product in a specific measurement intervaliThe result is a 3-bit significand. The calculation method is shown as the following formula:
Figure BDA0002325301660000061
wherein, PAi(1800) Is the average power (unit: w), O, of phase i in the activity test over 30 minutes with 1s as the measurement intervali(1800) Is the average IOPS (units: IOPS/s) for phase i in the activity test over a 30 minute period with 1s as the measurement interval.
Thus, the IOPS energy efficiency ratio is obtained.
And 102, acquiring a bandwidth energy efficiency ratio.
Obtaining the bandwidth energy efficiency ratio:
obtaining a stored test result, and directly calculating a bandwidth energy efficiency ratio;
or, performing bandwidth test on the storage device, and recording a test result.
Wherein the test result comprises: testing the bandwidth, power consumption and time delay in the process, and recording the time;
the bandwidth-efficient test may use the same test system and test environment as described above for the IOPS energy-efficient test.
The bandwidth test can be started on the basis that the test environment meets the requirements after the equipment in the test system is set up and the system is set up:
performing bandwidth testing at RAID5, RAID6 or Erasure Code (EC) level;
set the IO size to a preset KB, such as 256 KB;
the read-write proportion is respectively set as: random or sequential 100% read, 100% write;
cycling the above test configuration;
recording the test result: bandwidth (mib Per second), power consumption P, time delay (RT).
When the time delay recorded in the second preset time meets the first time delay requirement, calculating the bandwidth supported by each watt of power consumed by the storage equipment in the second preset time according to the test result;
and acquiring the bandwidth and determining the bandwidth as the bandwidth energy efficiency ratio.
If the second preset time is valid for the test stage j, the bandwidth sequential read-write energy efficiency ratio is the bandwidth B supported by each watt of power consumed by the tested product in a specific measurement intervaljThe result is a 3-bit significand. The calculation method is shown as the following formula:
Figure BDA0002325301660000071
wherein, PAj(1800) Is that the period j in the activity test takes 1s as the measurement room within 30 minutesMean power of interval (unit: w), Bj(1800) Is the average bandwidth (unit: MiB/s) of phase j in the active test over a measurement interval of 1s over 30 minutes.
The energy efficiency tests of the bandwidth and the IOPS can be sequentially tested by using one set of system, or can be simultaneously tested by building two sets of systems, and the embodiment of the application is not limited to the above.
And 103, acquiring the spatial density value.
Obtaining the spatial density value in this step includes:
acquiring the ratio of the designated user capacity to the space occupied by the storage equipment as a space density value, wherein the unit is TB/U;
wherein the spatial density value is calculated using altitude.
If the storage device is provided with N controllers, only M controllers are actually configured, wherein M is not more than N, and the corresponding height is the sum of occupied spaces of the M controllers.
For example, the storage device a has 4 controllers, and actually only 2 controllers are configured, each controller occupies a height of 1U, and then the storage device a occupies a space of 2 × 1U or 2U.
And step 104, determining the PSU power supply efficiency according to the load condition in the test process.
The PSU power supply efficiency corresponds to different values under different loads, and under the condition of load determination, the PSU power supply efficiency is determined through table lookup.
The efficiency of the power supply PSU should meet the values required in table 2 at 10%, 20%, 50% and 100% nominal load level values. The power factor of the power supply module should meet the requirements of table 3 (the efficiency requirement of the power supply module corresponds to the platinum level of the 80PLUS standard). The power supply module does not distinguish single-path output or multi-path output, and the conversion efficiency of all the power supply modules is required to be improved.
Referring to table 2, table 2 shows the power efficiency EFF requirements of the power supply.
Load condition 10% 20% 50% 100%
Conversion efficiency 85% 90% 94% 91%
TABLE 2
Referring to table 3, table 3 shows the corresponding content of the power factor PF limit requirement.
Load condition 20% 50% 100%
Conversion efficiency 0.96 0.98 0.99
TABLE 3
Step 105, determining whether the tested storage device has the preset additional function.
The additional functions comprise one or any combination of the following:
deduplication, compression, snapshot, Thin provisioning.
For the deduplication and compression in the additional functions, whether the additional functions have corresponding functions needs to be judged, and if the additional functions have corresponding functions, a specific deduplication rate and a compression rate need to be tested to determine a specific comprehensive energy efficiency value.
When the storage equipment has a deduplication function, testing to obtain the deduplication rate of the storage equipment; determining a comprehensive energy efficiency value of the storage equipment according to the deduplication rate;
through carrying out deduplication test on the storage device, the deduplication rate of the storage device is obtained, which is specifically as follows:
for the data repeating data deleting technology, the storage space can be effectively saved, and the data repeating data deleting technology comprises the following steps: fixed-length and variable-length deduplication; the scope of deduplication is divided into global deduplication and LUN-level deduplication, and the testing steps are as follows:
on a storage device, 1 100GB container with deduplication technology is created, the container must have actual physical storage capacity, and different vendors may have synchronized containers, such as POOL, LUN, etc. container objects.
On the storage device, the container is mapped onto an upper level test host, where the storage device can be seen.
Writing a 10GB file into the storage device on the host, wherein the part of the file has no repeated data deletion rate, and observing the physical capacity occupied by the part of the file of the storage system;
the 10GB file is copied on the host and the storage system observes the physical capacity Q occupied by this portion of the file.
The 10GB file written later can be deleted repeatedly by the computing storage system, and the physical space is not occupied basically (the consumed physical space is not more than 2 GB).
The above test procedure is an example of a test and is not limited to the implementation of the test procedure.
The deduplication rate can be calculated according to the test result, which is as follows:
the deduplication rate calculation formula is as follows:
(T+T)/(T+Q);
wherein, T is the size of the written file, and Q is the actual physical capacity occupied by the copied file after the duplicate file is deleted.
When the storage device has a compression function, testing to obtain the compression rate of the storage device; and determining the comprehensive energy effective value of the storage equipment according to the compression rate.
The data compression technology can effectively save storage space, the data compression mode comprises block level compression or file level compression, and the test steps are as follows:
on a storage device, 1 100GB container with data compression technology is created, the container must have actual physical storage capacity, and different vendors may have synchronized containers, such as POOL, LUN, etc. container objects.
On the storage device, the container is mapped onto an upper level test host, where the storage device can be seen
Writing 10GB of file with 50% compression rate to the storage device on the host, and observing the physical capacity M occupied by the part of file by the storage system.
The space actually occupied by the storage device is the compressed space.
The above test procedure is an example of a test and is not limited to the implementation of the test procedure.
The compression ratio calculation formula is as follows:
K/M;
and K is the size of the written file, and M is the occupied amount of the physical space after the written file is compressed.
It may be sufficient to determine whether there is a corresponding function for the snapshot and thin.
The snapshot is used for fast backup of a certain container on the current storage system, and the backup data does not really occupy the physical space, so that the utilization rate of the storage space is effectively improved.
On a storage device, creating 1 container of 100 GB;
on the storage device, mapping the container to an upper layer test host, wherein the storage device can be seen on the host;
writing a file of 10GB into the storage device on a host;
creating a snapshot of the container on the storage device;
mapping the snapshot to a host, and comparing the consistency of the two data, wherein the data needs to be completely consistent;
observing whether a physical space is increased after a snapshot is created on the storage device, wherein the increase of the physical space on the storage side is less than 1GB, and the snapshot function is indicated to be achieved when the test is passed; otherwise, determining that the snapshot function is not available.
When Thin configuration is used for the storage device to allocate space, the Thin configuration is not allocated at one time, but is allocated to a corresponding host in real time when the host needs to use the storage capacity, and the waste of allocation of the total storage space is effectively saved in such a way.
On a storage device, 1 100GB container with thin configuration is created;
on the storage device, mapping the container to an upper layer test host, wherein the storage device can be seen on the host;
100GB of usage space can be seen on the host computer; the test is passed;
on the storage side, checking that the physical space actually occupied by the container is less than or equal to 5GB, and if the physical space actually occupied by the container passes the test, indicating that the container has a Thin simplified configuration function; otherwise, the Thin provisioning function is not available.
And 106, determining the comprehensive energy efficiency value of the storage device by using the IOPS energy efficiency ratio, the bandwidth energy efficiency ratio, the space density value, the PSU power supply efficiency and the additional functions.
Energy efficiency values corresponding to an IOPS energy efficiency ratio, a bandwidth energy efficiency ratio, a space density value, PSU power supply efficiency and an additional function are preset in the embodiment of the application; the sum of the IOPS effective value, the bandwidth energy efficiency ratio, the spatial density value, the PSU power supply efficiency, and the energy efficiency value corresponding to the additional function is a preset specified value, such as 100 in the following example.
Referring to table 4, table 4 is a mapping relationship between the valid value and the index value.
Figure BDA0002325301660000111
Figure BDA0002325301660000121
Figure BDA0002325301660000131
TABLE 4
The mode of calculating the bandwidth energy effective value of each index is given in table 4, and for the linear calculation mode, when two groups of numbers are given, a linear function can be solved;
taking the determination of the energy efficiency value by the 100% R sub-entry table in the IOPS energy efficiency ratio as an example:
assuming that the maximum effective value of the sub-term index value is a and the two sets of numbers are (1.6 × 130, 100% a) and (130, 60% a), respectively, the resulting linear function is f (x) a/195 x-a/15.
The other linear functions are obtained in a similar manner to that described above, and are not illustrated here.
In this step, determining a comprehensive energy efficiency value of the storage device by using the IOPS energy efficiency ratio, the bandwidth energy efficiency ratio, the spatial density value, the PSU power supply efficiency, and the additional functions provided in the IOPS energy efficiency ratio, the bandwidth energy efficiency ratio, the spatial density value, and the PSU power supply efficiency includes:
determining a corresponding IOPS energy efficiency value according to the IOPS energy efficiency ratio;
determining a corresponding bandwidth energy efficiency value according to the bandwidth energy efficiency ratio;
determining a corresponding space utilization efficiency value according to the space density value;
determining the corresponding PSU power supply energy value according to the PSU power supply efficiency;
determining a corresponding additional energy effective value according to the additional function of the storage device;
calculating the sum of the IOPS effective value, the bandwidth effective value, the space utilization effective value, the PSU power supply effective value and the additional effective value;
and determining the sum as the comprehensive energy effective value of the storage device.
Taking the example that the specific index value of one storage device determines the comprehensive energy efficiency value as follows:
aiming at the IOPS energy efficiency ratio measurement, the energy efficiency ratio obtained on the premise of 100% R is 156, the energy efficiency ratio obtained on the premise of 70% R30% W is 65, and the energy efficiency ratio obtained on the premise of 100% W is 48;
the sub effective value obtained on the premise of 100% R (which can be obtained using the above linear equation) is 11, the sub effective value obtained on the premise of 70% R30% W is 20 × 60% ═ 12, and the sub effective value obtained on the premise of 100% W is 15 × 100% ═ 15.
The IOPS effective value is 11+12+15 to 38;
determining that the energy efficiency ratio obtained on the premise of 100% R is 5.6MiB/W and the energy efficiency ratio obtained on the premise of 100% W is 2.6 aiming at bandwidth energy efficiency ratio measurement;
the sub effective value obtained on the premise of 100% R is 9, and the sub effective value obtained on the premise of 100% W is 15 × 100% — 15.
The bandwidth can have a value of 9+15 to 24.
And assuming that the obtained PSU power supply efficiency meets the requirements, the corresponding energy value for the PSU power supply efficiency is 8.
Assuming that the determined space utilization rate is 17.28 × 1.33, the energy efficiency value corresponding to the space utilization rate is determined to be 6.
If the storage device has the deduplication function and the obtained deduplication rate is 2, increasing the effective value corresponding to the deduplication function to be 2;
if the storage device does not have the compression function, the corresponding effective value for the compression function is 0;
assuming that the storage device has a snapshot function and a Thin provisioning function, energy efficiency values corresponding to the snapshot function and the Thin provisioning function are 1 and 1, respectively;
the valid value corresponding to the additional function of the storage device is 2+0+1+ 1-4;
the integrated energy value of the storage device is 38+24+8+6+4 to 80.
And step 107, determining an energy efficiency grade corresponding to the comprehensive energy efficiency value according to a preset mapping relation between the energy efficiency value and the energy efficiency grade.
In the embodiment of the application, a mapping relation between the energy efficiency values and the energy efficiency levels can be preset, and the number of the energy efficiency levels and the interval division of the energy efficiency values are not limited. A setting manner of the mapping relationship is given in the embodiment of the present application, but is not limited to the following specific implementation of the mapping relationship:
dividing three intervals according to the energy efficiency value, and corresponding to 3 energy efficiency grades:
the energy efficiency value interval corresponding to the first energy efficiency grade is [0, 39 ];
the energy efficiency value interval corresponding to the second energy efficiency grade is [40, 79 ];
and the energy efficiency value interval corresponding to the third energy efficiency grade is [80, 100 ].
Then the calculated integrated energy value of the storage device is 80, and the storage rank of the storage device is the third rank.
In summary, the energy efficiency grade of the storage device is comprehensively and accurately obtained through the method for testing the energy consumption of the storage device, the index selection and the corresponding core idea of energy efficiency grading.
Based on the same inventive concept, the embodiment of the application also provides an energy efficiency grade determining device of the storage device. Referring to fig. 3, fig. 3 is a schematic structural diagram of an apparatus applied to the above technology in the embodiment of the present application. The device comprises: an acquisition unit 301, a first determination unit 302, a second determination unit 303, and a third determination unit 304;
an obtaining unit 301, configured to obtain an IOPS energy efficiency ratio; acquiring a bandwidth energy efficiency ratio; acquiring a spatial density value; determining PSU power supply efficiency according to load conditions in a test process;
a first determining unit 302, configured to determine whether the storage device under test has a preset additional function;
a second determining unit 303, configured to determine a comprehensive energy efficiency value of the storage device by using the IOPS energy efficiency ratio, the bandwidth energy efficiency ratio, the spatial density value, the PSU power supply efficiency, which are acquired by the acquiring unit 301, and the additional function determined by the first determining unit 302;
the third unit is configured to determine, according to a preset mapping relationship between an energy efficiency value and an energy efficiency level, an energy efficiency level corresponding to the comprehensive energy efficiency value determined by the second determining unit 303.
Preferably, the first and second electrodes are formed of a metal,
the obtaining unit 301, specifically configured to obtain the IOPS energy efficiency ratio, includes:
performing an IOPS test on the storage equipment, and recording a test result; wherein the test result comprises: power consumption, time delay, and recorded time during the test process;
when the time delay recorded in the first preset time meets a first time delay requirement, calculating the number of random read-write operations supported by each watt of power consumed by the storage equipment in the first preset time according to the test result;
and obtaining the operation times and determining the operation times as the IOPS energy efficiency ratio.
Preferably, the first and second electrodes are formed of a metal,
the obtaining unit 301, specifically configured to obtain a bandwidth energy efficiency ratio, includes:
when the bandwidth of the storage equipment is tested, recording a test result; wherein the test results include: bandwidth, power consumption and time delay in the test process, and recorded time;
when the time delay recorded in the second preset time meets the first time delay requirement, calculating the bandwidth supported by each watt of power consumed by the storage equipment in the second preset time according to the test result;
and acquiring the bandwidth and determining the bandwidth as the bandwidth energy efficiency ratio.
Preferably, the first and second electrodes are formed of a metal,
the obtaining unit 301, specifically configured to obtain the spatial density value, includes:
acquiring a ratio of the designated user capacity to the space occupied by the storage equipment as a space density value;
wherein the spatial density value is calculated using altitude.
Preferably, the additional functions include one or any combination of the following:
deduplication, compression, snapshot, Thin provisioning.
Preferably, the first and second electrodes are formed of a metal,
a first determining unit 302, configured to, when the storage device has a deduplication function, test to obtain a deduplication rate of the storage device; determining a comprehensive energy efficiency value of the storage equipment according to the deduplication rate; when the storage device has a compression function, testing to obtain the compression rate of the storage device; and determining the comprehensive energy effective value of the storage equipment according to the compression rate.
Preferably, the first and second electrodes are formed of a metal,
a second determining unit 303, further configured to set energy efficiency values corresponding to the IOPS energy efficiency ratio, the bandwidth energy efficiency ratio, the spatial density value, the PSU power supply efficiency, and the additional function, respectively; the sum of the IOPS energy effective value, the bandwidth energy efficiency ratio, the space density value, the PSU power supply efficiency and the energy efficiency value corresponding to the additional function is a preset specified value; determining a corresponding IOPS energy efficiency value according to the IOPS energy efficiency ratio; determining a corresponding bandwidth energy efficiency value according to the bandwidth energy efficiency ratio; determining a corresponding space utilization efficiency value according to the space density value; determining the corresponding PSU power supply energy value according to the PSU power supply efficiency; determining a corresponding additional energy effective value according to the additional function of the storage device; calculating the sum of the IOPS effective value, the bandwidth effective value, the space utilization effective value, the PSU power supply effective value and the additional effective value; and determining the sum as the comprehensive energy effective value of the storage device.
The units of the above embodiments may be integrated into one body, or may be separately deployed; may be combined into one unit or further divided into a plurality of sub-units.
In another embodiment, an electronic device is also provided that includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the energy efficiency class determination method of the memory device when executing the program.
In another embodiment, a computer-readable storage medium is also provided, having stored thereon computer instructions, which when executed by a processor, may implement the steps in the energy efficiency level determination method of the storage device.
Fig. 4 is a schematic physical structure diagram of an electronic device according to an embodiment of the present invention. As shown in fig. 4, the electronic device may include: a processor (processor)410, a communication Interface 420, a memory (memory)430 and a communication bus 440, wherein the processor 410, the communication Interface 420 and the memory 430 are communicated with each other via the communication bus 440. The processor 410 may call logic instructions in the memory 430 to perform the following method:
obtaining an IOPS energy efficiency ratio;
acquiring a bandwidth energy efficiency ratio;
acquiring a spatial density value;
determining PSU power supply efficiency according to load conditions in a test process;
determining whether the tested storage device has a preset additional function;
determining a comprehensive energy efficiency value of the storage device by using the IOPS energy efficiency ratio, the bandwidth energy efficiency ratio, the spatial density value, the PSU power supply efficiency and the additional functions;
and determining the energy efficiency grade corresponding to the comprehensive energy efficiency value according to a preset mapping relation between the energy efficiency value and the energy efficiency grade.
In addition, the logic instructions in the memory 430 may be implemented in the form of software functional units and stored in a computer readable storage medium when the software functional units are sold or used as independent products. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (10)

1. A method for determining an energy efficiency level of a storage device, the method comprising:
acquiring the IOPS energy efficiency ratio of the times of reading and writing operations per second;
acquiring a bandwidth energy efficiency ratio;
acquiring a spatial density value;
determining the power supply efficiency of a power supply unit PSU according to the load condition in the test process;
determining whether the tested storage device has a preset additional function;
determining a comprehensive energy efficiency value of the storage device by using the IOPS energy efficiency ratio, the bandwidth energy efficiency ratio, the spatial density value, the PSU power supply efficiency and the additional functions;
and determining the energy efficiency grade corresponding to the comprehensive energy efficiency value according to a preset mapping relation between the energy efficiency value and the energy efficiency grade.
2. The method of claim 1, wherein obtaining the IOPS energy efficiency ratio comprises:
performing an IOPS test on the storage equipment, and recording a test result; wherein the test result comprises: power consumption, time delay, and recorded time during the test process;
when the time delay recorded in the first preset time meets a first time delay requirement, calculating the number of random read-write operations supported by each watt of power consumed by the storage equipment in the first preset time according to the test result;
and obtaining the operation times and determining the operation times as the IOPS energy efficiency ratio.
3. The method according to claim 1, wherein the obtaining the bandwidth energy efficiency ratio comprises:
when the bandwidth of the storage equipment is tested, recording a test result; wherein the test results include: bandwidth, power consumption and time delay in the test process, and recorded time;
when the time delay recorded in the second preset time meets the first time delay requirement, calculating the bandwidth supported by the power consumed by the storage equipment in the second preset time in each watt according to the test result;
and acquiring the bandwidth and determining the bandwidth as the bandwidth energy efficiency ratio.
4. The method of claim 1, wherein the obtaining the spatial density value comprises:
acquiring a ratio of the designated user capacity to the space occupied by the storage equipment as a space density value;
wherein the spatial density value is calculated using altitude.
5. The method of claim 1, wherein the additional function comprises one or any combination of the following:
deduplication, compression, snapshotting, Thin provisioning.
6. The method of claim 5, further comprising:
when the storage equipment has a deduplication function, testing to obtain the deduplication rate of the storage equipment; determining a comprehensive energy efficiency value of the storage equipment according to the deduplication rate;
when the storage device has a compression function, testing to obtain the compression rate of the storage device; and determining the comprehensive energy effective value of the storage equipment according to the compression rate.
7. The method according to any one of claims 1-6, wherein the method further comprises: setting energy effective values corresponding to the IOPS energy efficiency ratio, the bandwidth energy efficiency ratio, the spatial density value, the PSU power supply efficiency and the additional function respectively; the sum of the IOPS energy effective value, the bandwidth energy efficiency ratio, the space density value, the PSU power supply efficiency and the energy efficiency value corresponding to the additional function is a preset specified value;
the determining a comprehensive energy efficiency value of the storage device using the IOPS energy efficiency ratio, the bandwidth energy efficiency ratio, the spatial density value, the PSU power supply efficiency, and the additional functions provided comprises:
determining a corresponding IOPS energy efficiency value according to the IOPS energy efficiency ratio;
determining a corresponding bandwidth energy efficiency value according to the bandwidth energy efficiency ratio;
determining a corresponding space utilization efficiency value according to the space density value;
determining the corresponding PSU power supply energy value according to the PSU power supply efficiency;
determining a corresponding additional energy effective value according to the additional function of the storage device;
calculating the sum of the IOPS effective value, the bandwidth effective value, the space utilization effective value, the PSU power supply effective value and the additional effective value;
and determining the sum as the comprehensive energy effective value of the storage device.
8. An apparatus for determining an energy efficiency level of a storage device, the apparatus comprising: the device comprises an acquisition unit, a first determination unit, a second determination unit and a third determination unit;
the obtaining unit is used for obtaining an IOPS energy efficiency ratio; acquiring a bandwidth energy efficiency ratio; acquiring a spatial density value; determining the power supply efficiency of a power supply unit PSU according to the load condition in the test process;
the first determining unit is used for determining whether the tested storage equipment has a preset additional function or not;
the second determining unit is configured to determine a comprehensive energy efficiency value of the storage device by using the IOPS energy efficiency ratio, the bandwidth energy efficiency ratio, the spatial density value, the PSU power supply efficiency, and the additional function determined by the first determining unit, which are acquired by the acquiring unit;
and the third determining unit is configured to determine, according to a preset mapping relationship between an energy efficiency value and an energy efficiency grade, an energy efficiency grade corresponding to the comprehensive energy efficiency value determined by the second determining unit.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the method according to any of claims 1-7 when executing the program.
10. A computer-readable storage medium, on which a computer program is stored, which program, when being executed by a processor, is adapted to carry out the method of any one of claims 1 to 7.
CN201911313945.8A 2019-12-19 2019-12-19 Method and device for determining energy efficiency grade of storage equipment Active CN113010362B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911313945.8A CN113010362B (en) 2019-12-19 2019-12-19 Method and device for determining energy efficiency grade of storage equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911313945.8A CN113010362B (en) 2019-12-19 2019-12-19 Method and device for determining energy efficiency grade of storage equipment

Publications (2)

Publication Number Publication Date
CN113010362A CN113010362A (en) 2021-06-22
CN113010362B true CN113010362B (en) 2022-05-06

Family

ID=76381317

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911313945.8A Active CN113010362B (en) 2019-12-19 2019-12-19 Method and device for determining energy efficiency grade of storage equipment

Country Status (1)

Country Link
CN (1) CN113010362B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104036111A (en) * 2014-04-08 2014-09-10 国家电网公司 Methods and systems for evaluating and diagnosing energy efficiency of energy consuming equipment
CN107341091A (en) * 2017-07-04 2017-11-10 郑州云海信息技术有限公司 Distributed memory system power consumption management method and device
CN110111835A (en) * 2019-04-18 2019-08-09 苏州浪潮智能科技有限公司 A kind of NVMe solid state hard disk IOPS test method, system and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102251995B1 (en) * 2017-03-30 2021-05-17 한국전자통신연구원 Method and apparatus for energy efficiency rating evaluation for physical server

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104036111A (en) * 2014-04-08 2014-09-10 国家电网公司 Methods and systems for evaluating and diagnosing energy efficiency of energy consuming equipment
CN107341091A (en) * 2017-07-04 2017-11-10 郑州云海信息技术有限公司 Distributed memory system power consumption management method and device
CN110111835A (en) * 2019-04-18 2019-08-09 苏州浪潮智能科技有限公司 A kind of NVMe solid state hard disk IOPS test method, system and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"存储设备IOPS指标的详解";王瑜等;《现代电视技术》;20070815(第08期);正文146-149页 *

Also Published As

Publication number Publication date
CN113010362A (en) 2021-06-22

Similar Documents

Publication Publication Date Title
CN102681940B (en) Method for carrying out performance test on memory management subsystem of Linux operation system
CN103026316B (en) Computer component power-consumption database
CN104932963B (en) The method and device of management terminal
CN106557389B (en) A kind of slow disk detection method and device
CN103064792A (en) Method and device for writing data
CN106526376A (en) Simulation test system and simulation test method
CN106021045A (en) Method for testing IO (input/output) performance of hard disk of server under linux system
CN109196458B (en) Storage system available capacity calculation method and device
US9558088B2 (en) Using environmental signatures for test scheduling
CN108777158A (en) Test the method, apparatus and computer equipment of solid state disk Trim performances
CN108762686A (en) Consistency verification of data flow control method, device, electronic equipment and storage medium
CN104866058A (en) Method and apparatus for determining battery endurance of electronic device
CN106020722A (en) Method, device and system for deduplication of repeated data of cloud storage system
CN110297743B (en) Load testing method and device and storage medium
CN109766190A (en) Cloud resource dispatching method, device, equipment and storage medium
CN104133750A (en) Method and system for testing compatibility adaptability of host and storage device
CN113010362B (en) Method and device for determining energy efficiency grade of storage equipment
CN109684517B (en) Historical data storage method, reading and writing method, storage device and equipment
CN104796518A (en) Method for obtaining battery life of terminal and terminal
CN107014561A (en) A kind of semi-automatic calibration method of pointer pressure
CN111007987A (en) Memory management method, system, terminal and storage medium for raid io
CN110046069A (en) A kind of method, apparatus, equipment and the readable storage medium storing program for executing of storage performance test
CN104731702B (en) Test system and its service end
CN107395447B (en) Module detection method, system capacity estimation method and corresponding equipment
CN108234622A (en) Charging method and charge system

Legal Events

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