CN111352786A - Nonvolatile memory power consumption testing method and device - Google Patents

Nonvolatile memory power consumption testing method and device Download PDF

Info

Publication number
CN111352786A
CN111352786A CN202010146094.9A CN202010146094A CN111352786A CN 111352786 A CN111352786 A CN 111352786A CN 202010146094 A CN202010146094 A CN 202010146094A CN 111352786 A CN111352786 A CN 111352786A
Authority
CN
China
Prior art keywords
power
read
power consumption
nonvolatile memory
server
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.)
Withdrawn
Application number
CN202010146094.9A
Other languages
Chinese (zh)
Inventor
王月
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN202010146094.9A priority Critical patent/CN111352786A/en
Publication of CN111352786A publication Critical patent/CN111352786A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2205Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R22/00Arrangements for measuring time integral of electric power or current, e.g. electricity meters
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2247Verification or detection of system hardware configuration
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/26Functional testing
    • G06F11/267Reconfiguring circuits for testing, e.g. LSSD, partitioning

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Power Engineering (AREA)
  • Power Sources (AREA)

Abstract

The invention discloses a method and a device for testing power consumption of a nonvolatile memory, wherein the method comprises the following steps: electrically connecting a power supply interface of a nonvolatile memory backboard in the server with a power meter outside the server through a transformer, so that an independent power supply for supplying power to the power meter also supplies power to the nonvolatile memory backboard; the remote client is connected to a data interface of the nonvolatile memory backboard through a network interface of the server and a PCIE interface of the mainboard, so that the remote client can send a read-write instruction to the nonvolatile memory on the backboard; using a remote client to connect to a USB data interface of the power meter to continuously or periodically collect power consumption data from the power meter while controlling the non-volatile memory to execute the read and write instructions; and determining the power consumption cost performance of the nonvolatile memory based on the read-write instruction and the power consumption data. The invention can rapidly evaluate the real-time power consumption and performance of the storage system under the condition of reading and writing, and determine the power consumption cost performance of the storage.

Description

Nonvolatile memory power consumption testing method and device
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method and an apparatus for testing power consumption of a nonvolatile memory.
Background
Currently, with the vigorous development of internet +, cloud computing, big data and artificial intelligence, new IT becomes a core engine for accelerating industrial upgrading and business innovation, promoting new business innovation and realizing world economic growth. Under new economic and technical environments, with the increasing popularization of new IT technologies and the increasing performance requirements of enterprise-level applications, the performance and low latency of the traditional storage IOPS (input/output per second) have become the bottleneck of enterprise business development, so that the business development and innovation face serious challenges.
It is well known that there is a great imbalance in the development of storage and computing performance. Under moore's law, the performance of processors and memories develops rapidly, compared with the memory performance developing slowly, the memory performance becomes a key bottleneck of IT acceleration. In the past, enterprises solve the storage performance bottleneck by increasing the number of hard disks, but the effect is very limited, and space and energy are wasted. At present, a SATA/SAS SSD (solid state disk) is used by a client to replace a common hard disk, although service performance is improved to a certain extent, performance resources such as excess CPUs and memories are still far from enough, and an SSD based on NVMe (nonvolatile storage standard) becomes a new choice for solving a bottleneck of server storage performance. With the annual reduction of the price of the SSD, the NVMe SSD can enter an enterprise IT core business main storage system more quickly and becomes the first choice for improving the I/O performance and accelerating the application, particularly for low-delay and high-concurrency business applications such as a database OLTP/OLAP and the like. NVMe SSD, is a new effort by enterprises to accelerate IT traffic, applications, and thus the IT world.
With the wider application range of the NVMe SSD in the data center, the power consumption of the NVMe SSD becomes a problem which cannot be ignored, the rated power consumption of one NVMe SSD is as high as 30W which is 5 times that of the SATA SSD, the actual power consumption of a large number of NVMe SSDs is difficult to evaluate under normal services, and an operation and maintenance person often cannot correctly evaluate the power consumption of a server because the NVMe SSD cannot, so that the cabinet cannot be normally powered up. Furthermore, the electricity charges of large data centers are very alarming, so it is necessary to select the NVMe SSD which is cost effective.
Aiming at the problem that the actual power consumption of the NVMe SSD is difficult to test in the prior art, no effective solution is available at present.
Disclosure of Invention
In view of this, an object of the embodiments of the present invention is to provide a method and an apparatus for testing power consumption of a nonvolatile memory, which can quickly evaluate real-time power consumption and performance of a memory system under a read-write condition, and determine a power consumption performance-price ratio of the memory.
In view of the above object, a first aspect of the embodiments of the present invention provides a method for testing power consumption of a nonvolatile memory, including the following steps:
electrically connecting a power supply interface of a nonvolatile memory backboard in the server with a power meter outside the server through a transformer, so that an independent power supply for supplying power to the power meter also supplies power to the nonvolatile memory backboard;
the remote client is connected to a data interface of the nonvolatile memory backboard through a network interface of the server and a PCIE interface of the mainboard, so that the remote client can send a read-write command to the nonvolatile memory on the nonvolatile memory backboard;
using a remote client to connect to a USB data interface of the power meter to continuously or periodically collect power consumption data from the power meter while controlling the non-volatile memory to execute the read and write instructions;
and determining the power consumption cost performance of the nonvolatile memory based on the read-write instruction and the power consumption data.
In some embodiments, the power interface is a multi-pin interface; the casing of the server is provided with a wiring hole, and a power supply extension line passing through the server penetrates through the wiring hole on the casing of the server to electrically connect the power supply interface with the power meter through a transformer.
In some embodiments, the remote client receives or pre-stores the test configuration and the acquisition configuration; controlling the non-volatile memory to execute the read-write instructions while also continuously or periodically collecting power consumption data from the power meter comprises: and generating a read-write instruction based on the test configuration and controlling the nonvolatile memory to execute the read-write instruction, and continuously or periodically collecting power consumption data from the power meter based on the collection configuration.
In some embodiments, the read-write instructions include read-write instructions generated based on the test configuration using an input-output test tool; the power consumption data comprises the output power of the independent power supply and the consumption power of the power meter; determining the power consumption condition of the non-volatile memory based on the read-write instruction and the power consumption data comprises: the method comprises the steps of determining input and output numbers per second based on test configuration and read-write instructions, determining actual power consumption based on output power and consumed power, and determining power consumption cost performance based on the actual power consumption and the input and output numbers per second.
In some embodiments, the test configuration includes at least one of: the method comprises the following steps of (1) memory quantity, block size, thread quantity, queue depth, read-write proportion, read-write mode, test time and preheating time; the acquisition configuration includes at least one of: collecting frequency and collecting indexes.
A second aspect of an embodiment of the present invention provides a power consumption testing apparatus for a nonvolatile memory, including:
a server;
a non-volatile memory backplane carrying a non-volatile memory;
the power supply extension line penetrates through the server to electrically connect a power supply interface of a nonvolatile memory backboard in the server with a power meter outside the server through a transformer;
the power meter is used for enabling the independent power supply to supply power for the nonvolatile memory backboard;
the remote client is connected to a data interface of the nonvolatile memory backboard through a network interface of the server and a PCIE interface of the mainboard to send a read-write command to the nonvolatile memory on the nonvolatile memory backboard, and is also connected to a USB data interface of the power meter to continuously or periodically collect power consumption data from the power meter while controlling the nonvolatile memory to execute the read-write command, and determine the power consumption cost performance of the nonvolatile memory based on the read-write command and the power consumption data.
In some embodiments, the power interface is a multi-pin interface; the casing of the server is provided with a wiring hole, and a power supply extension line passing through the server penetrates through the wiring hole on the casing of the server to electrically connect the power supply interface with the power meter through a transformer.
In some embodiments, the remote client receives or pre-stores the test configuration and the acquisition configuration; the remote client is configured to generate read-write instructions based on the test configuration and control the non-volatile memory to execute the read-write instructions while continuously or periodically collecting power consumption data from the power meter based on the collection configuration.
In some embodiments, the read-write instructions include read-write instructions generated based on the test configuration using an input-output test tool; the power consumption data comprises the output power of the independent power supply and the consumption power of the power meter; the remote client is configured to determine input and output numbers per second based on the test configuration and the read-write command, determine actual power consumption based on the output power and the consumed power, and determine a power consumption cost performance based on the actual power consumption and the input and output numbers per second.
In some embodiments, the test configuration includes at least one of: the method comprises the following steps of (1) memory quantity, block size, thread quantity, queue depth, read-write proportion, read-write mode, test time and preheating time; the acquisition configuration includes at least one of: collecting frequency and collecting indexes.
The invention has the following beneficial technical effects: according to the method and the device for testing the power consumption of the nonvolatile memory, the power supply interface of the nonvolatile memory back plate in the server is electrically connected with the power meter outside the server through the transformer, so that the independent power supply for supplying power to the power meter also supplies power to the nonvolatile memory back plate; the remote client is connected to a data interface of the nonvolatile memory backboard through a network interface of the server and a PCIE interface of the mainboard, so that the remote client can send a read-write command to the nonvolatile memory on the nonvolatile memory backboard; using a remote client to connect to a USB data interface of the power meter to continuously or periodically collect power consumption data from the power meter while controlling the non-volatile memory to execute the read and write instructions; the technical scheme for determining the power consumption cost performance of the nonvolatile memory based on the read-write instruction and the power consumption data can be used for rapidly evaluating the real-time power consumption and performance of the memory system under the read-write condition and determining the power consumption cost performance of the memory.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a schematic flow chart illustrating a method for testing power consumption of a non-volatile memory according to the present invention;
FIG. 2 is a schematic diagram of a power consumption testing method for a non-volatile memory according to the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the following embodiments of the present invention are described in further detail with reference to the accompanying drawings.
It should be noted that all expressions using "first" and "second" in the embodiments of the present invention are used for distinguishing two entities with the same name but different names or different parameters, and it should be noted that "first" and "second" are merely for convenience of description and should not be construed as limitations of the embodiments of the present invention, and they are not described in any more detail in the following embodiments.
In view of the foregoing, a first aspect of the embodiments of the present invention provides an embodiment of a method for quickly evaluating real-time power consumption and performance of a storage system under read/write conditions. Fig. 1 is a schematic flow chart of a power consumption testing method for a nonvolatile memory according to the present invention.
The method for testing the power consumption of the nonvolatile memory, as shown in fig. 1, includes the following steps:
step S101: electrically connecting a power supply interface of a nonvolatile memory backboard in the server with a power meter outside the server through a transformer, so that an independent power supply for supplying power to the power meter also supplies power to the nonvolatile memory backboard;
step S103: the remote client is connected to a data interface of the nonvolatile memory backboard through a network interface of the server and a PCIE interface of the mainboard, so that the remote client can send a read-write command to the nonvolatile memory on the nonvolatile memory backboard;
step S105: using a remote client to connect to a USB data interface of the power meter to continuously or periodically collect power consumption data from the power meter while controlling the non-volatile memory to execute the read and write instructions;
step S107: and determining the power consumption cost performance of the nonvolatile memory based on the read-write instruction and the power consumption data.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), a Random Access Memory (RAM), or the like. Embodiments of the computer program may achieve the same or similar effects as any of the preceding method embodiments to which it corresponds.
In some embodiments, the power interface is a multi-pin interface; the casing of the server is provided with a wiring hole, and a power supply extension line passing through the server penetrates through the wiring hole on the casing of the server to electrically connect the power supply interface with the power meter through a transformer. After the server establishes the electrical connection with the power supply extension line, the shell is normally closed in a mode of not influencing the working environment of the nonvolatile memory.
In some embodiments, the remote client receives or pre-stores the test configuration and the acquisition configuration; controlling the non-volatile memory to execute the read-write instructions while also continuously or periodically collecting power consumption data from the power meter comprises: and generating a read-write instruction based on the test configuration and controlling the nonvolatile memory to execute the read-write instruction, and continuously or periodically collecting power consumption data from the power meter based on the collection configuration.
In some embodiments, the read-write instructions include read-write instructions generated based on the test configuration using an input-output test tool; the power consumption data comprises the output power of the independent power supply and the consumption power of the power meter; determining the power consumption condition of the non-volatile memory based on the read-write instruction and the power consumption data comprises: the method comprises the steps of determining input and output numbers per second based on test configuration and read-write instructions, determining actual power consumption based on output power and consumed power, and determining power consumption cost performance based on the actual power consumption and the input and output numbers per second.
In some embodiments, the test configuration includes at least one of: the method comprises the following steps of (1) memory quantity, block size, thread quantity, queue depth, read-write proportion, read-write mode, test time and preheating time; the acquisition configuration includes at least one of: collecting frequency and collecting indexes.
The method disclosed according to an embodiment of the present invention may also be implemented as a computer program executed by a CPU (central processing unit), and the computer program may be stored in a computer-readable storage medium. The computer program, when executed by the CPU, performs the above-described functions defined in the method disclosed in the embodiments of the present invention. The above-described method steps and system elements may also be implemented using a controller and a computer-readable storage medium for storing a computer program for causing the controller to implement the functions of the above-described steps or elements.
The following further illustrates embodiments of the invention in accordance with the specific example shown in fig. 2.
The NVMe interface on the server back plate is connected with the server main board, the power supply connector on the back plate is connected with the transformer through the power cable, the transformer is connected with the external power supply, the external power supply is connected with the power meter, the power meter is connected with the remote control end, and the server is connected with the remote control end. Supply the power cable that some connectors and transformer link to each other on the backplate, the power cable links to each other with it outside extending to the server box through server rear panel space department through the extension line to server case lid normally closes, guarantees the normal heat dissipation of machine, avoids the temperature to rise and influences NVMe performance and consumption. The remote control terminal has the functions of configuring server IO test parameters and power meter acquisition data parameters; the configured test parameters are issued to a server operating system, so that the NVMe SSD executes test tasks according to the test parameters; sending the configured acquisition parameters to a power meter so that the power meter performs data acquisition according to the acquisition parameters; and acquiring the performance test result of the NVMe SSD in the process of executing the test task according to the test parameters, and receiving the data acquisition result reported by the power meter. The method for evaluating the performance of the NVMe SSD is characterized in that an external power supply method is adopted, a power cable extends to the outside of a server box body through a gap of a rear panel of the server through an extension line and is connected with a transformer, so that the actual power consumption of the server storage system under different IO pressures can be accurately evaluated, and meanwhile, performance test results of the NVMe SSD are collected, so that the method can be used for evaluating the performance price ratio of the NVMe.
As shown in fig. 2, an NVME interface on a back panel in a server is connected to a PCIE interface of a motherboard, a power supply connector on the back panel extends to the outside of the server through an extension line and is connected to a transformer, the transformer is connected to a power strip of a power meter, and a remote client is connected to the server through a network port; the power meter is connected with the remote client through a serial port line. In order to accurately evaluate the power consumption of a storage subsystem of a flash memory server and eliminate the influence of heat dissipation on the power consumption and performance of an NVMe SSD, a power supply connector on a server back plate is a multi-pin interface, the interface extends from the front part of a server cavity to the rear part of the server cavity by adopting a multi-pin extension line, a cable continuously extends out of the cavity through a gap in the rear part of the server and is connected with a positive electrode and a negative electrode which are connected with a transformer, and a live wire, a zero wire and a grounding wire of the transformer. The power supply voltage input by the external power supply of the transformer generates 12V voltage, the 12V voltage is directly input to the back plate, the power meter can directly obtain power consumption of the power supply socket, the power consumption of the transformer is calculated according to the conversion efficiency of the transformer, the power consumption of the transformer is subtracted, the power consumption is the actual power consumption of the storage system, and the actual working state of the storage system is accurately reflected.
In order to accurately evaluate the actual power consumption of the storage subsystem in an actual service scene, namely in the presence of IO pressure, the method comprises the following steps:
s1, deploying a server IO test tool and a power meter data acquisition tool by a client, wherein the IO test tool can be an iometer tool, a VDbench and other IO test tools; the power meter data acquisition tool is a power meter matching management tool.
And the S2 client configures the test parameters of the IO test parameters of the server and the acquisition parameters for the power meter to acquire data. In this embodiment, in order to simulate an actual test scenario of a customer, the test parameters include: the number, the block size, the thread number, the queue depth, the read-write proportion, the read-write mode, the test time and the preheating time, wherein the test model comprises the following two types:
a)
quantity: all NVMe SSD
Block size: 4K
The number of threads: 8
Depth of queue: 128
And (3) reading and writing proportion: 70% read operation 30% write operation
And (3) reading and writing modes: random
And (3) testing time: 24 hours
Preheating time: 60 seconds
b)
Quantity: all NVMe SSD
Block size: 128k
The number of threads: 4
Depth of queue: 32
And (3) reading and writing proportion: 100% write
And (3) reading and writing modes: sequence of
And (3) testing time: 24 hours
Preheating time: 60 seconds
In this embodiment, acquiring parameters includes: acquisition frequency and acquisition index
Acquisition frequency: 2 seconds/time
Collecting indexes: power consumption, current, physical factor
The S3 client communicates with an IO test tool, the test parameters are transmitted to a storage system of the server through network connection, and all NVMe SSD execute test tasks according to the configuration parameters of the client; and sending the configured acquisition parameters to a power meter management tool so that the power meter performs data acquisition according to the acquisition parameters.
The S4 client side obtains a performance test result in the process that the NVMe SSD executes the test task according to the test parameters, and receives power consumption collected by the power meter; in the process of executing the test task, the full-flash server uses an IO acquisition tool, such as an nmon tool, to acquire the performance test result of the storage system at an interval of 2 seconds, so as to ensure that the acquisition frequency is consistent with the acquisition frequency of the power meter. The acquisition storage system IO performance test result comprises IOPS and bandwidth.
It can be seen from the foregoing embodiment that, in the power consumption testing method of the nonvolatile memory provided in the embodiment of the present invention, the power supply interface of the nonvolatile memory backplane in the server is electrically connected to the power meter outside the server through the transformer, so that the independent power supply for supplying power to the power meter also supplies power to the nonvolatile memory backplane; the remote client is connected to a data interface of the nonvolatile memory backboard through a network interface of the server and a PCIE interface of the mainboard, so that the remote client can send a read-write command to the nonvolatile memory on the nonvolatile memory backboard; using a remote client to connect to a USB data interface of the power meter to continuously or periodically collect power consumption data from the power meter while controlling the non-volatile memory to execute the read and write instructions; the technical scheme for determining the power consumption cost performance of the nonvolatile memory based on the read-write instruction and the power consumption data can be used for rapidly evaluating the real-time power consumption and performance of the memory system under the read-write condition and determining the power consumption cost performance of the memory.
It should be particularly noted that, the steps in the embodiments of the method for testing power consumption of a non-volatile memory described above may be mutually intersected, replaced, added, and deleted, so that the method for testing power consumption of a non-volatile memory with these reasonable permutations and combinations should also belong to the scope of the present invention, and should not limit the scope of the present invention to the described embodiments.
In view of the foregoing, a second aspect of the embodiments of the present invention provides an embodiment of an apparatus capable of quickly evaluating real-time power consumption and performance of a memory system under read/write conditions. The nonvolatile memory power consumption test device includes:
a server;
a non-volatile memory backplane carrying a non-volatile memory;
the power supply extension line penetrates through the server to electrically connect a power supply interface of a nonvolatile memory backboard in the server with a power meter outside the server through a transformer;
the power meter is used for enabling the independent power supply to supply power for the nonvolatile memory backboard;
the remote client is connected to a data interface of the nonvolatile memory backboard through a network interface of the server and a PCIE interface of the mainboard to send a read-write command to the nonvolatile memory on the nonvolatile memory backboard, and is also connected to a USB data interface of the power meter to continuously or periodically collect power consumption data from the power meter while controlling the nonvolatile memory to execute the read-write command, and determine the power consumption cost performance of the nonvolatile memory based on the read-write command and the power consumption data.
In some embodiments, the power interface is a multi-pin interface; the shell of the server is provided with a wiring hole, and a power supply extension line penetrating through the server penetrates through the wiring hole in the shell of the server to electrically connect a power supply interface with the power meter through a transformer. After the server establishes the electrical connection with the power supply extension line, the shell is normally closed in a mode of not influencing the working environment of the nonvolatile memory.
In some embodiments, the remote client receives or pre-stores the test configuration and the acquisition configuration; the remote client is configured to generate read-write instructions based on the test configuration and control the non-volatile memory to execute the read-write instructions while continuously or periodically collecting power consumption data from the power meter based on the collection configuration.
In some embodiments, the read-write instructions include read-write instructions generated based on the test configuration using an input-output test tool; the power consumption data comprises the output power of the independent power supply and the consumption power of the power meter; the remote client is configured to determine input and output numbers per second based on the test configuration and the read-write command, determine actual power consumption based on the output power and the consumed power, and determine a power consumption cost performance based on the actual power consumption and the input and output numbers per second.
In some embodiments, the test configuration includes at least one of: the method comprises the following steps of (1) memory quantity, block size, thread quantity, queue depth, read-write proportion, read-write mode, test time and preheating time; the acquisition configuration includes at least one of: collecting frequency and collecting indexes.
It can be seen from the foregoing embodiment that, in the power consumption testing device for a nonvolatile memory provided in the embodiment of the present invention, the power supply interface of the backplane of the nonvolatile memory in the server is electrically connected to the power meter outside the server through the transformer, so that the independent power supply for supplying power to the power meter also supplies power to the backplane of the nonvolatile memory; the remote client is connected to a data interface of the nonvolatile memory backboard through a network interface of the server and a PCIE interface of the mainboard, so that the remote client can send a read-write command to the nonvolatile memory on the nonvolatile memory backboard; using a remote client to connect to a USB data interface of the power meter to continuously or periodically collect power consumption data from the power meter while controlling the non-volatile memory to execute the read and write instructions; the technical scheme for determining the power consumption cost performance of the nonvolatile memory based on the read-write instruction and the power consumption data can be used for rapidly evaluating the real-time power consumption and performance of the memory system under the read-write condition and determining the power consumption cost performance of the memory.
It should be particularly noted that, the above-mentioned embodiment of the apparatus for testing power consumption of a nonvolatile memory uses the embodiment of the method for testing power consumption of a nonvolatile memory to specifically describe the operation process of each module, and those skilled in the art can easily think that these modules are applied to other embodiments of the method for testing power consumption of a nonvolatile memory. Of course, since the steps in the embodiment of the method for testing the power consumption of the nonvolatile memory may be mutually intersected, replaced, added, and deleted, the device for testing the power consumption of the nonvolatile memory, which is transformed by these reasonable permutations and combinations, should also belong to the scope of the present invention, and should not limit the scope of the present invention to the embodiment.
The foregoing is an exemplary embodiment of the present disclosure, but it should be noted that various changes and modifications could be made herein without departing from the scope of the present disclosure as defined by the appended claims. The functions, steps and/or actions of the method claims in accordance with the disclosed embodiments described herein need not be performed in any particular order. Furthermore, although elements of the disclosed embodiments of the invention may be described or claimed in the singular, the plural is contemplated unless limitation to the singular is explicitly stated.
It should be understood that, as used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly supports the exception. It should also be understood that "and/or" as used herein is meant to include any and all possible combinations of one or more of the associated listed items. The numbers of the embodiments disclosed in the embodiments of the present invention are merely for description, and do not represent the merits of the embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
Those of ordinary skill in the art will understand that: the discussion of any embodiment above is meant to be exemplary only, and is not intended to intimate that the scope of the disclosure, including the claims, of embodiments of the invention is limited to these examples; within the idea of an embodiment of the invention, also technical features in the above embodiment or in different embodiments may be combined and there are many other variations of the different aspects of an embodiment of the invention as described above, which are not provided in detail for the sake of brevity. Therefore, any omissions, modifications, substitutions, improvements, and the like that may be made without departing from the spirit and principles of the embodiments of the present invention are intended to be included within the scope of the embodiments of the present invention.

Claims (10)

1. A method for testing power consumption of a nonvolatile memory is characterized by comprising the following steps:
electrically connecting a power supply interface of a nonvolatile memory backboard in the server with a power meter outside the server through a transformer, so that an independent power supply for supplying power to the power meter also supplies power to the nonvolatile memory backboard;
a remote client is connected to a data interface of the nonvolatile memory backboard through a network interface of the server and a PCIE interface of the mainboard, so that the remote client can send a read-write instruction to the nonvolatile memory on the nonvolatile memory backboard;
using the remote client to connect to a USB data interface of the power meter to continuously or periodically collect power consumption data from the power meter while controlling the non-volatile memory to execute the read-write instructions;
and determining the power consumption cost performance of the nonvolatile memory based on the read-write instruction and the power consumption data.
2. The method of claim 1, wherein the power interface is a multi-pin interface; the shell of the server is provided with a wiring hole, and a power supply extension line penetrating through the server penetrates through the wiring hole on the shell of the server so as to electrically connect the power supply interface with the power meter through a transformer.
3. The method of claim 1, wherein the remote client receives or has pre-stored test and collection configurations;
controlling the non-volatile memory to execute the read and write instructions while also continuously or periodically collecting power consumption data from the power meter comprises: generating the read-write instruction based on the test configuration and controlling the non-volatile memory to execute the read-write instruction while continuously or periodically collecting the power consumption data from the power meter based on the collection configuration.
4. The method of claim 3, wherein the read-write instructions comprise the read-write instructions generated based on the test configuration using an input-output test tool; the power consumption data includes an output power of the independent power supply and a consumption power of the power meter;
determining the power consumption condition of the non-volatile memory based on the read-write instruction and the power consumption data comprises: determining the input and output number per second based on the test configuration and the read-write command, determining actual power consumption based on the output power and the consumed power, and determining the power consumption cost performance based on the actual power consumption and the input and output number per second.
5. The method of claim 3, wherein the test configuration comprises at least one of: the method comprises the following steps of (1) memory quantity, block size, thread quantity, queue depth, read-write proportion, read-write mode, test time and preheating time; the acquisition configuration includes at least one of: collecting frequency and collecting indexes.
6. A nonvolatile memory power consumption test apparatus, comprising:
a server;
a non-volatile memory backplane carrying a non-volatile memory;
the power supply extension line penetrates through the server and electrically connects a power supply interface of the nonvolatile memory backboard in the server with a power meter outside the server through a transformer;
a power meter for enabling an independent power supply to supply power to the non-volatile memory backplane;
the remote client is connected to a data interface of the nonvolatile memory backboard through a network interface of the server and a PCIE interface of the mainboard so as to be capable of sending a read-write command to the nonvolatile memory on the nonvolatile memory backboard, and is also connected to a USB data interface of the power meter so as to continuously or periodically collect power consumption data from the power meter while controlling the nonvolatile memory to execute the read-write command, and determine the power consumption of the nonvolatile memory based on the read-write command and the power consumption data.
7. The apparatus of claim 6, wherein the power interface is a multi-pin interface; the shell of the server is provided with a wiring hole, and the power supply extension line penetrating through the server penetrates through the wiring hole on the shell of the server so as to electrically connect the power supply interface with the power meter through a transformer.
8. The apparatus of claim 6, wherein the remote client receives or pre-stores a test configuration and a collection configuration; the remote client is configured to generate the read-write instructions based on the test configuration and control the non-volatile memory to execute the read-write instructions while continuously or periodically collecting the power consumption data from the power meter based on the collection configuration.
9. The apparatus of claim 8, wherein the read-write instructions comprise the read-write instructions generated based on the test configuration using an input-output test tool; the power consumption data includes an output power of the independent power supply and a consumption power of the power meter; the remote client is configured to determine input and output numbers per second based on the test configuration and the read-write command, determine actual power consumption based on the output power and the consumed power, and determine the power consumption cost performance based on the actual power consumption and the input and output numbers per second.
10. The apparatus of claim 8, wherein the test configuration comprises at least one of: the method comprises the following steps of (1) memory quantity, block size, thread quantity, queue depth, read-write proportion, read-write mode, test time and preheating time; the acquisition configuration includes at least one of: collecting frequency and collecting indexes.
CN202010146094.9A 2020-03-05 2020-03-05 Nonvolatile memory power consumption testing method and device Withdrawn CN111352786A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010146094.9A CN111352786A (en) 2020-03-05 2020-03-05 Nonvolatile memory power consumption testing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010146094.9A CN111352786A (en) 2020-03-05 2020-03-05 Nonvolatile memory power consumption testing method and device

Publications (1)

Publication Number Publication Date
CN111352786A true CN111352786A (en) 2020-06-30

Family

ID=71192530

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010146094.9A Withdrawn CN111352786A (en) 2020-03-05 2020-03-05 Nonvolatile memory power consumption testing method and device

Country Status (1)

Country Link
CN (1) CN111352786A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116340008A (en) * 2023-05-30 2023-06-27 北京得瑞领新科技有限公司 Scaling method, scaling device, storage medium and scaling system for SSD power consumption control parameters
CN116361095A (en) * 2023-06-01 2023-06-30 珠海妙存科技有限公司 Power consumption verification method, system, equipment and storage medium
CN117476086A (en) * 2023-12-26 2024-01-30 成都佰维存储科技有限公司 Memory performance test method and device, readable storage medium and electronic equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107976570A (en) * 2017-11-21 2018-05-01 郑州云海信息技术有限公司 Power consumption test method, device and medium during a kind of storage system data backup
CN108153623A (en) * 2016-12-05 2018-06-12 工业和信息化部电信研究院 A kind of method and apparatus of testing SA TA interface hard disk Energy Efficiency Ratio

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108153623A (en) * 2016-12-05 2018-06-12 工业和信息化部电信研究院 A kind of method and apparatus of testing SA TA interface hard disk Energy Efficiency Ratio
CN107976570A (en) * 2017-11-21 2018-05-01 郑州云海信息技术有限公司 Power consumption test method, device and medium during a kind of storage system data backup

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116340008A (en) * 2023-05-30 2023-06-27 北京得瑞领新科技有限公司 Scaling method, scaling device, storage medium and scaling system for SSD power consumption control parameters
CN116340008B (en) * 2023-05-30 2023-08-15 北京得瑞领新科技有限公司 Scaling method, scaling device, storage medium and scaling system for SSD power consumption control parameters
CN116361095A (en) * 2023-06-01 2023-06-30 珠海妙存科技有限公司 Power consumption verification method, system, equipment and storage medium
CN116361095B (en) * 2023-06-01 2023-08-29 珠海妙存科技有限公司 Power consumption verification method, system, equipment and storage medium
CN117476086A (en) * 2023-12-26 2024-01-30 成都佰维存储科技有限公司 Memory performance test method and device, readable storage medium and electronic equipment

Similar Documents

Publication Publication Date Title
CN111352786A (en) Nonvolatile memory power consumption testing method and device
Hamilton Cooperative expendable micro-slice servers (CEMS): low cost, low power servers for internet-scale services
CN110136209B (en) Camera calibration method and device and computer readable storage medium
CN103377115A (en) System event log management system and system event log management method
CN111258830B (en) Server power consumption comparison test system and method
CN108920334A (en) A kind of monitoring device of FPGA isomery accelerator card
WO2019104891A1 (en) Method and device for importing and exporting report, storage medium, and terminal
Loghin et al. Blockchain goes green? part II: characterizing the performance and cost of blockchains on the cloud and at the edge
CN106603343A (en) A method for testing stability of servers in batch
CN109117392A (en) A kind of M.2 Interface Expanding card for solid state hard disk
CN101587599A (en) Black box and application of same in all-vanadium redox flow battery
CN112382006A (en) Electricity price adjusting method, device and equipment
CN111124772A (en) Cloud platform storage performance testing method, system, terminal and storage medium
CN110659183A (en) System power consumption testing method and device
CN113900718B (en) Decoupling method, system and device for BMC and BIOS asset information
CN109669829A (en) A kind of diagnosis adjustment method, device and server based on BMC
CN107038140A (en) A kind of RACK servers and method for avoiding damaging chip when node heat is slotting
CN114238019A (en) Hard disk display method, device, equipment and medium
CN107632911A (en) A kind of Cabinet-type server power consumption test method and test system
CN209132718U (en) A kind of power supply jig of standard PCIE subcard and OCP subcard
CN106325940A (en) FLASH memory segmented intelligent starting module
CN108664503A (en) A kind of data archiving method and device
CN112463524B (en) External storage real-time monitoring method, system, terminal and storage medium
CN115129544B (en) Out-of-band one-key acquisition method, system and device for RAID (redundant array of independent disks) logs and storage medium
Godinho et al. IoT single board computer to replace a home server

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
WW01 Invention patent application withdrawn after publication

Application publication date: 20200630

WW01 Invention patent application withdrawn after publication