[go: nahoru, domu]

CN109448777A - A kind of test method and device of NVME solid state hard disk - Google Patents

A kind of test method and device of NVME solid state hard disk Download PDF

Info

Publication number
CN109448777A
CN109448777A CN201811340890.5A CN201811340890A CN109448777A CN 109448777 A CN109448777 A CN 109448777A CN 201811340890 A CN201811340890 A CN 201811340890A CN 109448777 A CN109448777 A CN 109448777A
Authority
CN
China
Prior art keywords
hard disk
solid state
state hard
test
nvme solid
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811340890.5A
Other languages
Chinese (zh)
Inventor
王月
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information 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 Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201811340890.5A priority Critical patent/CN109448777A/en
Publication of CN109448777A publication Critical patent/CN109448777A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C29/00Checking stores for correct operation ; Subsequent repair; Testing stores during standby or offline operation
    • G11C29/04Detection or location of defective memory elements, e.g. cell constructio details, timing of test signals
    • G11C29/08Functional testing, e.g. testing during refresh, power-on self testing [POST] or distributed testing
    • G11C29/12Built-in arrangements for testing, e.g. built-in self testing [BIST] or interconnection details
    • G11C29/18Address generation devices; Devices for accessing memories, e.g. details of addressing circuits
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C29/00Checking stores for correct operation ; Subsequent repair; Testing stores during standby or offline operation
    • G11C29/04Detection or location of defective memory elements, e.g. cell constructio details, timing of test signals
    • G11C29/08Functional testing, e.g. testing during refresh, power-on self testing [POST] or distributed testing
    • G11C29/48Arrangements in static stores specially adapted for testing by means external to the store, e.g. using direct memory access [DMA] or using auxiliary access paths

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

The invention discloses a kind of test methods of NVME solid state hard disk, include the following steps: S1, obtain the corresponding processor core of NVME solid state hard disk;And S2, processor core and test load is bound and run test.The invention also discloses a kind of test devices of NVME solid state hard disk.The test method and device of NVME solid state hard disk proposed by the present invention can promote the result of NVME solid state hard disk random read-write performance test.

Description

A kind of test method and device of NVME solid state hard disk
Technical field
The present invention relates to solid state hard disk testing fields, more specifically, particularly relating to a kind of test side of NVME solid state hard disk Method and device.
Background technique
Big data era, storage become more important.And as the single memory module hard disk in storage array for, Also become particularly important in terms of the flexible enlarging of its performance level, stability and establishment array.On the market with solid state hard disk Pour in, traditional mechanical hard disk increasingly seems unable to do what one wishes in terms of setting up the performance boost of array bring.
NVME solid state hard disk compares the solid state hard disk of other interfaces, possesses the interior of more advanced connecting interface and maturation Deposit administrative skill.On the one hand, NVME solid state hard disk eliminates optical-fibre channel, directly real by high efficiency of transmission channel built in board Existing high-performance data transmission;On the other hand, on executing application load and storing data library platform, NVME solid state hard disk can be real Existing high read and write rate, more low latency, and cost is also lower.
As the application demand of data processing and storage is more and more, the demand of NVME solid state hard disk is growing, such as logical Believe the softwares such as the vSAN of industry distribution formula storage ceph and financial industry.Although performance is most important, in actual data In center applications, what reliable and stable often enterprise more paid attention to, the IO performance of NVME solid state hard disk has emphatically business processing It is big to influence.Performance test of the prior art to NVME solid state hard disk, mainly directly carry out 4k and 256k random read-write or Sequence is read and write, and such test method is difficult to obtain good test result.
Summary of the invention
In view of this, the purpose of the embodiment of the present invention is to propose the test method and device of a kind of NVME solid state hard disk, It can promote NVME solid state hard disk random read-write test performance.
Based on above-mentioned purpose, the one side of the embodiment of the present invention provides a kind of test method of NVME solid state hard disk, packet It includes following steps: S1, obtaining the corresponding processor core of NVME solid state hard disk;And S2, by processor core and test load It is bound and runs test.
In some embodiments, step S1 includes: to obtain the corresponding NUMA node of NVME solid state hard disk, according to NUMA Node obtains corresponding processor core.
In some embodiments, the corresponding NUMA node of NVME solid state hard disk is obtained further include:
Obtain the NUMA node information of processor and the distribution situation of NUMA node inner treater core;With
NVME solid state hard disk pair is obtained based on the distribution situation of NUMA node information and NUMA node inner treater core The NUMA node answered.
In some embodiments, include step S0 before step S1: setting prerequisite, including it is solid for NVME The testing and debugging system environments of state hard disk.
In some embodiments, this method is run under linux system environment.
The another aspect of the embodiment of the present invention additionally provides a kind of test device of NVME solid state hard disk, comprising: mapping Module, for obtaining corresponding processor core according to NVME solid state hard disk;And binding module, it is used for processor core It is bound with test load and runs test.
In some embodiments, mapping block includes: the first map unit, corresponding for obtaining NVME solid state hard disk NUMA node;And second map unit, for obtaining corresponding processor core according to NUMA node.
In some embodiments, mapping block further include: acquiring unit, the NUMA node for obtaining processor are believed The distribution situation of breath and NUMA node inner treater core.
In some embodiments, test device further include: preset module, for being directed to the test of NVME solid state hard disk Adjust system environments.
The another aspect of the embodiment of the present invention additionally provides a kind of computer readable storage medium, computer-readable storage Media storage has computer program, and above-mentioned method is executed when computer program is executed by processor.
The present invention have following advantageous effects: the present invention by the way that processor core and test load are bound, To promote the random read-write test performance of NVME solid state hard disk.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, below will to embodiment or Attached drawing needed to be used in the description of the prior art is briefly described, it should be apparent that, the accompanying drawings in the following description is only Some embodiments of the present invention, for those of ordinary skill in the art, without creative efforts, also Other embodiments can be obtained according to these attached drawings.
Fig. 1 is the flow diagram of the embodiment of the test method of NVME solid state hard disk provided by the invention;
Fig. 2 is the test result comparison diagram of the reading of the embodiment of the test method of NVME solid state hard disk provided by the invention;
Fig. 3 is the test result comparison diagram of the embodiment of the test method of NVME solid state hard disk provided by the invention write;
Fig. 4 is the schematic block diagram of the embodiment of the test device of NVME solid state hard disk provided by the invention;
Fig. 5 is the hardware structural diagram of one embodiment of the test device of NVME solid state hard disk provided by the invention.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction with specific embodiment, and join According to attached drawing, the embodiment of the present invention is further described.
It should be noted that all statements for using " first " and " second " are for distinguishing in the embodiment of the present invention Two non-equal entities of same names or non-equal parameter, it is seen that " first " " second " only for statement convenience, no It is interpreted as the restriction to the embodiment of the present invention, subsequent embodiment no longer illustrates this one by one.
Based on above-mentioned purpose, the first aspect of the embodiment of the present invention proposes a kind of test side of NVME solid state hard disk The embodiment of method.Shown in fig. 1 is the process signal of the embodiment of the test method of NVME solid state hard disk provided by the invention Figure.As shown in Figure 1, the embodiment of the present invention includes following steps:
S1, the corresponding processor core of NVME solid state hard disk is obtained;And
S2, processor core and test load are bound and run test.
NVME full name Non-Volatile Memory Express, nonvolatile memory standard are logical using PCI-E A kind of specification of SSD just has the low delay and concurrency for making full use of PCI-E SSD at the beginning of the design of NVME, There are also current generation processor, platform and the concurrencys of application.Each NVME solid state hard disk has corresponding processor core, and And the number of the corresponding processor core of each NVME solid state hard disk is not fully identical, for example, some NVME solid state hard disks Corresponding two processor cores, and corresponding three processor cores of some NVME solid state hard disks.By different processor core point The performance of different processor cores can be tested by not carrying out binding from different test loads.By processor core and test Load is bound, and indicates that the NVME solid state hard disk for being transmitted directly to input/output function to be under the jurisdiction of processor core carries out Random read-write test.Processor core and test load are carried out binding can be using I/O performance testing tool, such as FIO.
According to preferred embodiment, step S1 includes: NUMA (nonuniform memory access) nodal information for obtaining processor And the distribution situation of NUMA node inner treater core;Be based on NUMA node information and NUMA node inner treater core The distribution situation of the heart obtains the corresponding NUMA node of NVME solid state hard disk.
The NUMA node information and NUMA node inner treater core of processor can be obtained by specifically ordering Distribution situation, for example, can be ordered by " lscpu ", which is the relevant information for showing cpu, and lscpu can be from Sysfs and/proc/cpuinfo collect cpu architecture information, and ordering the information of output includes the quantity of cpu, thread, core Several, socket and NUMA node information, caching etc..Specific code can be such as:
Lscpu [- a |-b |-c] [- x] [- s directory] [- e [=list] |-p [=list]
lscpu–h|-V。
According to a preferred embodiment, step S1 further include: the corresponding NUMA node of NVME solid state hard disk is obtained, according to NUMA node obtains corresponding processor core.
It can be by specifically ordering to obtain the corresponding NUMA node of NVME solid state hard disk, for example, can pass through " lstopo " order, the order form the topological structure of CPU, caching, memory and I/O equipment in visual mode.This life Enable the NUMA topological structure that can be also used for recognition processor structure and system.
In order to promoting NVME solid state hard disk random read-write performance test as a result, prerequisite can be set, including it is directed to The testing and debugging system environments of NVME solid state hard disk.Prerequisite can include but is not limited to following: newest kernel is installed, Version is preferably 4.13 or more;Input/output scheduling device under linux system is adjusted to NOOP;Processor power supply model is set It is set to performance mode;And the installation newest IRQ associated patch packages of linux system.NOOP scheduler is for handling Linux input Output algorithm, I/O request is put into a fifo queue by it, then executes these I/O requests one by one.
In the present embodiment, NVME solid state hard disk is under the jurisdiction of NUMA node 0, and corresponding processor core is CPU0, CPU2 And CPU4.The detailed test script of the present embodiment is as follows:
[global]
Name=4k random write 4ios in the queue in 32queues
Ioengine=libaio
Direct=1
Readwrite=randw
Iodepth=64
Buffered=0
Size=100%
Runtime=30
time_based
Randrepeat=0
norandommap
refill_buffers
Ramp_time=10
[job1]
Filename=/dev/nvme0n1
Bs=4k
Cpus_allowed=0
[job2]
Filename=/dev/nvme0n1
Bs=4k
Cpus_allowed=2
[job3]
Filename=/dev/nvme0n1
Bs=4k
Cpus_allowed=4
In above-mentioned script, " ioengine=libaio " indicates reference libaio tool.Fio testing tool is supported to synchronize (pread/pwrite) and the test of asynchronous (libaio), using asynchronous test in the present embodiment, therefore libaio is used Tool is tested, the libaio tool if do not had in system, in import tool packet." direct=1 " expression was tested Journey bypasses the buffer that machine carries, and keeps test result truer." readwrite=randw " indicates test random write It writes." iodepth=64 " indicates that io depth is 64." size=100% " indicates that the range of test is that entire NVME solid-state is hard Disk.
In above-mentioned script, [job1], [job2] and [job3] indicates specific test parameter." bs=4k " is indicated The size of the block of single read-write is 4k, and " cpus_allowed=0 " indicates that test load job1 and processor core cpu0 is tied up It is fixed, it that is to say that I/O performance testing tool, such as FIO directly carry out random read-write survey to the NVME solid state hard disk for being under the jurisdiction of cpu0 Examination.Likewise, " cpus_allowed=2 " indicates that test load job2 and processor core cpu2 is bound, " cpus_ Allowed=4 " indicates that test load job3 and processor core cpu4 are bound, that is to say respectively to processor core cpu0, The corresponding NVME solid state hard disk of cpu2 and cpu4 carries out random read-write test.
Fig. 2 shows be NVME solid state hard disk provided by the invention test method embodiment reading test result Comparison diagram.As shown in Fig. 2, abscissa indicate be input and output depth, ordinate indicate be entire NVME solid state hard disk The input and output (100%read IOPS) per second of middle reading, abscissa and ordinate are without specific unit.The present embodiment In NVME solid state hard disk using Samsung 1725a, it can be seen from the figure that either test load and processor core Binding or unbound, with the rising of the depth of input and output, the input and output per second read in entire NVME solid state hard disk Also rise.Meanwhile the rising of the depth with input and output, test load and processor core binding are to the per second defeated of reading The optimization for entering output is also more and more obvious.Data can substantially be found out from figure, when the depth of input and output is 32, test The value of the input and output per second of load and the unbound corresponding reading of processor core is less than 700,000, test load and processor The value that core binds the input and output per second of corresponding reading has been more than 800,000, and reading performance has been lifted beyond 10%.
Fig. 3 shows the test result of the embodiment of the test method of NVME solid state hard disk provided by the invention write Comparison diagram.As shown in figure 3, abscissa indicate be input and output depth, ordinate indicate be entire NVME solid state hard disk In the input and output (100%write IOPS) per second write, abscissa and ordinate are without specific unit.The present embodiment In NVME solid state hard disk using Samsung 1725a, it can be seen from the figure that different from reading, when the depth of input and output When more than or equal to 4, either test load and processor core binding or it is unbound, when input and output depth again When rising, the variation for the input and output per second write is not obvious.But test load and processor core binding relative to Test load and the unbound optimization to the input and output per second write of processor core are fairly obvious.Equally with input For the depth of output is 32, the value of test load and the unbound corresponding input and output per second write of processor core is big About 170,000, it is about 190,000 that test load and processor core, which bind the value of the corresponding input and output per second write, the property write The promotion of energy has also exceeded 10%.
It is important to note that each step in each embodiment of the test method of above-mentioned NVME solid state hard disk Can intersect, replace, increase, delete, therefore, these reasonable permutation and combination transformation in NVME solid state hard disk Test method should also be as belonging to the scope of protection of the present invention, and protection scope of the present invention should not be confined to embodiment it On.
Based on above-mentioned purpose, the second aspect of the embodiment of the present invention proposes a kind of test dress of NVME solid state hard disk The embodiment set.Fig. 4 shows the schematic block diagram of the embodiment of the test device of NVME solid state hard disk provided by the invention. As shown in figure 4, test device includes mapping block 42 and binding module 43.In some embodiments, the device of the invention is also It may include preset module 41.Preset module 41 is for being arranged prerequisite.Mapping block 42 is hard for obtaining NVME solid-state The corresponding processor core of disk.Binding module 43 is used to be bound processor core and test load and runs test.
Mapping block 42 can specifically include: acquiring unit 44, for obtain processor NUMA nodal information and The distribution situation of NUMA node inner treater core;First map unit 45, for obtaining the corresponding NUMA of NVME solid state hard disk Node;Second map unit 46, for obtaining corresponding processor core according to NUMA node.
It is important to note that the embodiment of the test device of above-mentioned NVME solid state hard disk is solid using above-mentioned NVME The embodiment of the test method of state hard disk illustrates the course of work of each module, and those skilled in the art can be easy to Expect, it will be in the other embodiments of the test method of these module applications to above-mentioned NVME solid state hard disk.Certainly, due to above-mentioned Each step in the test method embodiment of NVME solid state hard disk can be intersected, replaces, increases, be deleted, therefore, The test device in above-mentioned NVME solid state hard disk of these reasonable permutation and combination transformation should also be as belonging to protection model of the invention It encloses, and protection scope of the present invention should not be confined on above-described embodiment.In addition, between above-mentioned modules With communication connection.
In some embodiments, the test device of above-mentioned NVME solid state hard disk may be embodied as computer equipment, including Memory, at least one processor, memory are stored with the computer program that can be run on a processor, and processor executes journey Above-mentioned mapping block 42, binding module 43 and/or preset module 41 are realized when sequence.
As shown in figure 5, the hardware of one embodiment for the test device of above-mentioned NVME solid state hard disk provided by the invention Structural schematic diagram.
By taking device as shown in Figure 5 as an example, in the apparatus include a processor 501 and a memory 502, It and can also include: input unit 503 and output device 504.
Processor 501, memory 502, input unit 503 and output device 504 can pass through bus or other modes It connects, in Fig. 5 for being connected by bus.
Memory 502 is used as a kind of non-volatile computer readable storage medium storing program for executing, can be used for storing non-volatile software journey Sequence, non-volatile computer executable program and module, such as the test method of the NVME solid state hard disk in the embodiment of the present application Corresponding program instruction/module.Processor 501 is by running the non-volatile software program being stored in memory 502, referring to Order and module realize above method embodiment thereby executing the various function application and data processing of server The test method of NVME solid state hard disk.
Memory 502 may include storing program area and storage data area, wherein storing program area can store operation system Application program required for system, at least one function;Storage data area can be stored according to the test device of NVME solid state hard disk Use created data etc..In addition, memory 502 may include high-speed random access memory, it can also include non-volatile Property memory, a for example, at least disk memory, flush memory device or other non-volatile solid state memory parts.One In a little embodiments, optional memory 502 includes the memory remotely located relative to processor 501, these remote memories can To pass through network connection to local module.The example of above-mentioned network include but is not limited to internet, intranet, local area network, Mobile radio communication and combinations thereof.
Input unit 503 can receive the information such as the username and password of input.Output device 504 may include display screen etc. Show equipment.
Corresponding program instruction/the module of the test method of one or more NVME solid state hard disk is stored in memory 502 In, when being executed by processor 501, execute the test method of the NVME solid state hard disk in above-mentioned any means embodiment.
Any one embodiment for executing the computer equipment of the test method of above-mentioned NVME solid state hard disk, can achieve The identical or similar effect of corresponding aforementioned any means embodiment.
Based on above-mentioned purpose, the third aspect of the embodiment of the present invention proposes a kind of computer readable storage medium, The computer-readable recording medium storage has computer executable instructions, which can be performed above-mentioned any NVME in the test method and the above-mentioned any device/system embodiment of realization of NVME solid state hard disk in embodiment of the method is solid Test device/system of state hard disk.The embodiment of above-mentioned computer readable storage medium can achieve corresponding aforementioned Any means effect identical or similar with device/system embodiment.
Finally, it should be noted that those of ordinary skill in the art will appreciate that realizing complete in above-described embodiment method Portion or part process can instruct related hardware to complete by computer program, and the program can be stored in a calculating In machine read/write memory medium, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, described Storage medium can be for magnetic disk, CD, read-only memory (ROM) or random access memory (RAM) etc..Above-mentioned calculating The embodiment of machine program can achieve the identical or similar effect of corresponding aforementioned any means embodiment.
In addition, typically, it can be various electric terminal equipments, example that the embodiment of the present invention, which discloses described device, equipment etc., Such as mobile phone, personal digital assistant (PDA), tablet computer (PAD), smart television, are also possible to large-scale terminal device, such as take Business device etc., therefore protection scope disclosed by the embodiments of the present invention should not limit as certain certain types of device, equipment.This hair Bright embodiment discloses the client and can be with the combining form of electronic hardware, computer software or both applied to upper It states in any one electric terminal equipment.
In addition, disclosed method is also implemented as the computer program executed by CPU according to embodiments of the present invention, The computer program may be stored in a computer readable storage medium.When the computer program is executed by CPU, sheet is executed The above-mentioned function of being limited in method disclosed in inventive embodiments.
In addition, above method step and system unit also can use controller and for storing so that controller Realize that the computer readable storage medium of the computer program of above-mentioned steps or Elementary Function is realized.
In addition, it should be appreciated that computer readable storage medium (for example, memory) as described herein can be easily The property lost memory or nonvolatile memory, or may include both volatile memory and nonvolatile memory.As And not restrictive, nonvolatile memory may include that read-only memory (ROM), programming ROM (PROM), electricity can to example Programming ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory.Volatile memory may include with Machine accesses memory (RAM), which can serve as external cache.As an example and not restrictive, RAM can To obtain in a variety of forms, such as synchronous random access memory (DRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate SDRAM (DDR SDRAM), enhancing SDRAM (ESDRAM), synchronization link DRAM (SLDRAM) and directly Rambus RAM (DRRAM).The storage equipment of disclosed aspect is intended to the memory of including but not limited to these and other suitable type.
Those skilled in the art will also understand is that, various illustrative logical blocks, mould in conjunction with described in disclosure herein Block, circuit and algorithm steps may be implemented as the combination of electronic hardware, computer software or both.In order to clearly demonstrate This interchangeability of hardware and software, with regard to various exemplary components, square, module, circuit and step function to it General description is carried out.This function be implemented as software be also implemented as hardware depending on concrete application and It is applied to the design constraint of whole system.Those skilled in the art can realize in various ways for every kind of concrete application The function, but this realization decision should not be interpreted as causing a departure from range disclosed by the embodiments of the present invention.
Various illustrative logical blocks, module and circuit in conjunction with described in disclosure herein, which can use, to be designed to use It realizes or executes in the following component that executes function described here: is general processor, digital signal processor (DSP), dedicated Integrated circuit (ASIC), field programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor are patrolled Volume, any combination of discrete hardware component or these components.General processor can be microprocessor, but replaceable Ground, processor can be any conventional processors, controller, microcontroller or state machine.Processor also may be implemented as counting The combination for calculating equipment, for example, the combination of DSP and microprocessor, multi-microprocessor, one or more microprocessors combination DSP And/or any other this configuration.
The step of method in conjunction with described in disclosure herein or algorithm, can be directly contained in hardware, by processor In the software module of execution or in combination of the two.Software module may reside within RAM memory, flash memory, ROM Memory, eprom memory, EEPROM memory, register, hard disk, removable disk, CD-ROM or known in the art In the storage medium of what other forms.Illustrative storage medium is coupled to processor, enables a processor to deposit from this Information is read in storage media or information is written to the storage medium.In an alternative, storage medium can be with processor It integrates.Pocessor and storage media may reside in ASIC.ASIC may reside in user terminal.At one In alternative, it is resident in the user terminal that pocessor and storage media can be used as discrete assembly.
In one or more exemplary designs, the function can be in hardware, software, firmware or any combination thereof It realizes.If realized in software, the function can be stored in computer as one or more instruction or code can It reads to transmit on medium or by computer-readable medium.Computer-readable medium includes that computer storage medium and communication are situated between Matter, the communication media include any medium for helping for computer program to be transmitted to another position from a position.Storage Medium can be any usable medium that can be accessed by a general purpose or special purpose computer.As an example and not restrictive, it should Computer-readable medium may include RAM, ROM, EEPROM, CD-ROM or other optical disc memory apparatus, disk storage equipment or Other magnetic storage devices, or can be used for carry or storage form be instruct or data structure required program code And any other medium that can be accessed by general or specialized computer or general or specialized processor.In addition, any Connection can be properly termed as computer-readable medium.For example, if using coaxial cable, optical fiber cable, twisted pair, number Word subscribers' line (DSL) or such as wireless technology of infrared ray, radio and microwave are come from website, server or other long-range Source sends software, then above-mentioned coaxial cable, optical fiber cable, twisted pair, DSL or such as infrared ray, radio and microwave is wireless Technology is included in the definition of medium.As used herein, disk and CD include compact disk (CD), laser disk, CD, Digital versatile disc (DVD), floppy disk, Blu-ray disc, wherein disk usually magnetically reproduce data, and CD utilizes laser optics Ground reproduce data.The combination of above content should also be as being included in the range of computer-readable medium.
It is exemplary embodiment disclosed by the invention above, it should be noted that in the sheet limited without departing substantially from claim Under the premise of inventive embodiments scope of disclosure, it may be many modifications and modify.According to open embodiment described herein The function of claim to a method, step and/or movement be not required to the execution of any particular order.In addition, although the present invention is implemented Element disclosed in example can be described or be required in the form of individual, but be unless explicitly limited odd number, it is understood that be multiple.
It should be understood that it is used in the present context, unless the context clearly supports exceptions, singular " one It is a " it is intended to also include plural form.It is to be further understood that "and/or" used herein refers to including one or one Any and all possible combinations of a above project listed in association.
It is for illustration only that the embodiments of the present invention disclose embodiment sequence number, does not represent the advantages or disadvantages of the embodiments.
Those of ordinary skill in the art will appreciate that realizing that all or part of the steps of above-described embodiment can pass through hardware It completes, relevant hardware can also be instructed to complete by program, the program can store in a kind of computer-readable In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
It should be understood by those ordinary skilled in the art that: the discussion of any of the above embodiment is exemplary only, not It is intended to imply that range disclosed by the embodiments of the present invention (including claim) is limited to these examples;In the embodiment of the present invention Under thinking, it can also be combined between the technical characteristic in above embodiments or different embodiments, and exist as described above The embodiment of the present invention different aspect many other variations, in order to it is concise they do not provided in details.Therefore, all Within the spirit and principle of the embodiment of the present invention, any omission, modification, equivalent replacement, improvement for being made etc. should all include Within the protection scope of the embodiment of the present invention.

Claims (10)

1. a kind of test method of NVME solid state hard disk, which comprises the steps of:
S1, the corresponding processor core of NVME solid state hard disk is obtained;And
S2, the processor core and test load are bound and run test.
2. test method according to claim 1, which is characterized in that the step S1 includes:
The corresponding NUMA node of NVME solid state hard disk is obtained, corresponding processor core is obtained according to the NUMA node.
3. test method according to claim 2, which is characterized in that the corresponding NUMA section of the acquisition NVME solid state hard disk Point further include:
Obtain the NUMA node information of processor and the distribution situation of NUMA node inner treater core;With
It is corresponding that NVME solid state hard disk is obtained based on the distribution situation of NUMA node information and NUMA node inner treater core NUMA node.
4. test method according to any one of claim 1-3, which is characterized in that include step before the step S1 Rapid S0: setting prerequisite, the testing and debugging system environments including being directed to NVME solid state hard disk.
5. test method according to claim 1, which is characterized in that the method is run under linux system environment.
6. a kind of test device of NVME solid state hard disk characterized by comprising
Mapping block, for obtaining the corresponding processor core of NVME solid state hard disk;And
Binding module, for being bound the processor core and test load and running test.
7. test device according to claim 6, which is characterized in that the mapping block includes:
First map unit, for obtaining the corresponding NUMA node of NVME solid state hard disk;And
Second map unit, for obtaining corresponding processor core according to the NUMA node.
8. test device according to claim 7, which is characterized in that the mapping block further include:
Acquiring unit, for obtaining the NUMA node information of processor and the distribution situation of NUMA node inner treater core.
9. test device a method according to any one of claims 6-8, which is characterized in that further include:
Preset module, for being directed to the testing and debugging system environments of NVME solid state hard disk.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, and feature exists In perform claim requires method described in 1-5 any one when the computer program is executed by processor.
CN201811340890.5A 2018-11-12 2018-11-12 A kind of test method and device of NVME solid state hard disk Pending CN109448777A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811340890.5A CN109448777A (en) 2018-11-12 2018-11-12 A kind of test method and device of NVME solid state hard disk

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811340890.5A CN109448777A (en) 2018-11-12 2018-11-12 A kind of test method and device of NVME solid state hard disk

Publications (1)

Publication Number Publication Date
CN109448777A true CN109448777A (en) 2019-03-08

Family

ID=65551387

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811340890.5A Pending CN109448777A (en) 2018-11-12 2018-11-12 A kind of test method and device of NVME solid state hard disk

Country Status (1)

Country Link
CN (1) CN109448777A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109992420A (en) * 2019-04-08 2019-07-09 苏州浪潮智能科技有限公司 A kind of Parallel PC IE-SSD performance optimization method and system
CN110191010A (en) * 2019-04-11 2019-08-30 深圳市同泰怡信息技术有限公司 The method for testing pressure of server
CN110377470A (en) * 2019-07-17 2019-10-25 深圳忆联信息系统有限公司 IO performance test methods, device and computer equipment based on solid state hard disk
CN111090391A (en) * 2019-11-08 2020-05-01 苏州浪潮智能科技有限公司 Method and server for improving performance of solid state disk array
CN112069003A (en) * 2020-08-21 2020-12-11 苏州浪潮智能科技有限公司 Hard disk performance test method and device
CN115202944A (en) * 2022-06-22 2022-10-18 中国电信股份有限公司 Hard disk performance test method, device, equipment and storage medium
CN115757066A (en) * 2022-11-17 2023-03-07 中科可控信息产业有限公司 Hard disk performance test method, device, equipment, storage medium and program product

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6158000A (en) * 1998-09-18 2000-12-05 Compaq Computer Corporation Shared memory initialization method for system having multiple processor capability
CN102648453A (en) * 2009-11-24 2012-08-22 超威半导体公司 Distributed multi-core memory initialization
CN108132860A (en) * 2016-12-01 2018-06-08 英业达科技有限公司 The system and method for the range of physical addresses test memory of interdependent memory modules
CN108304306A (en) * 2018-01-17 2018-07-20 郑州云海信息技术有限公司 A kind of magnetic disc i/o performance fault method for positioning analyzing based on blktrace
CN108519932A (en) * 2018-01-24 2018-09-11 中国电子信息产业集团有限公司第六研究所 A kind of more performance testing tools based on homemade chip platform

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6158000A (en) * 1998-09-18 2000-12-05 Compaq Computer Corporation Shared memory initialization method for system having multiple processor capability
CN102648453A (en) * 2009-11-24 2012-08-22 超威半导体公司 Distributed multi-core memory initialization
CN108132860A (en) * 2016-12-01 2018-06-08 英业达科技有限公司 The system and method for the range of physical addresses test memory of interdependent memory modules
CN108304306A (en) * 2018-01-17 2018-07-20 郑州云海信息技术有限公司 A kind of magnetic disc i/o performance fault method for positioning analyzing based on blktrace
CN108519932A (en) * 2018-01-24 2018-09-11 中国电子信息产业集团有限公司第六研究所 A kind of more performance testing tools based on homemade chip platform

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109992420A (en) * 2019-04-08 2019-07-09 苏州浪潮智能科技有限公司 A kind of Parallel PC IE-SSD performance optimization method and system
CN109992420B (en) * 2019-04-08 2021-10-22 苏州浪潮智能科技有限公司 Parallel PCIE-SSD performance optimization method and system
CN110191010A (en) * 2019-04-11 2019-08-30 深圳市同泰怡信息技术有限公司 The method for testing pressure of server
CN110377470A (en) * 2019-07-17 2019-10-25 深圳忆联信息系统有限公司 IO performance test methods, device and computer equipment based on solid state hard disk
CN111090391A (en) * 2019-11-08 2020-05-01 苏州浪潮智能科技有限公司 Method and server for improving performance of solid state disk array
CN111090391B (en) * 2019-11-08 2022-07-26 苏州浪潮智能科技有限公司 Method and server for improving performance of solid state disk array
CN112069003A (en) * 2020-08-21 2020-12-11 苏州浪潮智能科技有限公司 Hard disk performance test method and device
CN112069003B (en) * 2020-08-21 2022-08-02 苏州浪潮智能科技有限公司 Hard disk performance test method and device
CN115202944A (en) * 2022-06-22 2022-10-18 中国电信股份有限公司 Hard disk performance test method, device, equipment and storage medium
CN115757066A (en) * 2022-11-17 2023-03-07 中科可控信息产业有限公司 Hard disk performance test method, device, equipment, storage medium and program product

Similar Documents

Publication Publication Date Title
CN109448777A (en) A kind of test method and device of NVME solid state hard disk
Dong et al. Data elevator: Low-contention data movement in hierarchical storage system
US9122700B2 (en) Parallel log structured file system collective buffering to achieve a compact representation of scientific and/or dimensional data
US9672245B2 (en) Memory storage apparatus, method of supporting transaction function for database, and memory system
CN102750221B (en) Performance test method for Linux file system
CN104580437A (en) Cloud storage client and high-efficiency data access method thereof
JP7088897B2 (en) Data access methods, data access devices, equipment and storage media
US20150058829A1 (en) Testing a software interface for a streaming hardware device
US20210117333A1 (en) Providing direct data access between accelerators and storage in a computing environment, wherein the direct data access is independent of host cpu and the host cpu transfers object map identifying object of the data
US20220179918A1 (en) Just-In-Time Front End Template Generation Using Logical Document Object Models
CN110457261A (en) Data access method, device and server
US7376758B2 (en) I/O dependency graphs
CN114138776A (en) Method, system, apparatus and medium for graph structure and graph attribute separation design
Koh et al. Faster than flash: An in-depth study of system challenges for emerging ultra-low latency SSDs
US20140281125A1 (en) Systems and methods for in-place reorganization of device storage
CN107943413B (en) Method for improving reading performance of solid state disk
KR102715658B1 (en) Systems and methods for data transfer for computational storage devices
CN112748854B (en) Optimized access to a fast storage device
US9317322B2 (en) Simulating synchronous execution of asynchronous operations
US8769229B2 (en) Memory pinning through buffer encapsulation
CN109783032A (en) A kind of distributed storage accelerating method and device based on Heterogeneous Computing
Betke et al. Benefit of DDN’s IME-FUSE for I/O Intensive HPC Applications
CN110502190B (en) File reading and writing method
Katzburg et al. Storage becomes first class memory
US20230004392A1 (en) Processor with Split Read

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190308

RJ01 Rejection of invention patent application after publication