CN109783293A - A kind of alternating blend pressure test method based on AEP memory - Google Patents

A kind of alternating blend pressure test method based on AEP memory Download PDF

Info

Publication number
CN109783293A
CN109783293A CN201910063978.5A CN201910063978A CN109783293A CN 109783293 A CN109783293 A CN 109783293A CN 201910063978 A CN201910063978 A CN 201910063978A CN 109783293 A CN109783293 A CN 109783293A
Authority
CN
China
Prior art keywords
memory
aep memory
aep
pressure
pressure test
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910063978.5A
Other languages
Chinese (zh)
Other versions
CN109783293B (en
Inventor
范鹏飞
贠雄斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN201910063978.5A priority Critical patent/CN109783293B/en
Publication of CN109783293A publication Critical patent/CN109783293A/en
Application granted granted Critical
Publication of CN109783293B publication Critical patent/CN109783293B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

A kind of alternating blend pressure test method based on AEP memory proposed by the present invention first carries out the driving installation of AEP memory to server, can carry out the setting of AEP memory mixed mode Distribution Strategy after the installation is completed.Mixed mode carries out pressure test to the hard disc module in AEP memory after setting completed, using compression tools, wherein the specific time sets according to demand, and hard disc module pressure, which is surveyed, to be terminated followed by carry out memory modules pressure test.Hard disc module and memory modules are completed after once testing, and as completing an AEP memory, alternately pressure is surveyed.When stagnation pressure, which surveys number, is less than or equal to prediction number, repeating AEP memory, alternately pressure is surveyed.When total alternately pressure, which surveys number, is greater than preset times, test will be ended automatically.After test, test result log can be checked and be analyzed, judges whether the AEP memory is able to satisfy complicated application scenarios according to test result.

Description

A kind of alternating blend pressure test method based on AEP memory
Technical field
The present invention relates to field of computer technology, more particularly to a kind of alternatively mixing combined pressure based on AEP memory Force test method.
Background technique
AEP(Apache Pass) memory is between hard disk and common memory, the advantages of both being but integrated with.Its feature There are two main: (1) transmission speed is exceedingly fast;(2) have non-volatile.Compared with hard disk, the transmission speed of AEP memory compares hard disk It is 100-1000 times fast, 8-10 times is also higher by than common memory.Compared with previous common memory, it will not be lost with data after power down Another big advantage lost.
The mounting means of AEP memory is the same with common memory, is also mounted on memory slot position.But AEP memory can lead to Adjustment distribution Provisioning Policy is crossed, memorymodel (memory mode), hard disk mode (APD mode) or mixed mode (mix are become Mode).It is similar with common memory when being set as 100% memorymodel (memory mode) for AEP Memory Allocation Strategy, tool There is memory, can be used when memory.When being set as 100% hard disk mode (APD mode) for AEP Memory Allocation Strategy, It can be used when hard disk, have the function of storage, but it is fast more than common hard disc read or write speed.In addition to this it is possible to real Mixed mode (mix mode) now is set by AEP Memory Allocation Strategy, same memory virtual is made to resolve into hard disk function area With memory function area, while there is memory function and hard disk function.
After AEP memory setting is mixed mode (mix mode), in actual use, due to the change of application scenarios Change, may mainly use its memory function area in some period, then may mainly use its hard disk function in other times section Area.May also can have two kinds of functional areas is used alternatingly situation.How this AEP memory applications scene is preferably simulated, and Specific aim test is carried out, is a problem to be solved.
Summary of the invention
In view of the above problems, the purpose of the present invention is to provide a kind of alternating blend pressure test side based on AEP memory Method can judge whether the AEP memory is able to satisfy complicated application scenarios according to test result.
The present invention to achieve the above object, is achieved through the following technical solutions: a kind of alternatively mixing combined pressure based on AEP memory Force test method includes the following steps:
Step 1: installation AEP memory driving;
Step 2: being mixed mode by AEP memory setting;
Step 3: configuration AEP memory mixed mode Distribution Strategy;
Step 4: it is n times that the default first pressure testing time, which is M seconds, the second pressure testing time is m seconds, alternately pressure surveys number;
Step 5: pressure test in M seconds is carried out to the hard disc module in AEP memory;
Step 6: pressure test in m seconds is carried out to the memory modules in AEP memory;
Step 7: judging that the current completed alternately pressure of AEP memory surveys whether number is less than n, if so, going to step 5;If No, test terminates.
Further, the step 3 specifically: use the memory modules and hard disk mould in ipmctl tool setting AEP memory The space hold ratio of block is 50%.
Further, the specific instruction of the step 3 are as follows:
ipmctl create -goal
MemoryMode=50 PersistentMemoryType=AppDirectNotInterleaved 。
Further, the step 5 includes:
Step 51: the hard disc module of AEP memory being mounted in the folder of the default file in current system using mount instruction;
Step 52: pressure test in M seconds being carried out to the hard disc module in AEP memory using fio tool.
Further, the step 6 specifically: the memory modules in AEP memory are carried out m seconds using memtester tool Pressure test.
Further, the step 6 further include: the memory surplus of current system is checked using free instruction.
Further, the M=m.
Further, the step 4 further include: default current alternately pressure surveys number x, and x is set as 0.
Further, the step 7 specifically: it will currently replace pressure survey number x and add 1, and judge whether x will be less than n, if so, Go to step 5;If not, test terminates.
The prior art is compared, the beneficial effects of the invention are that: a kind of alternating mixing based on AEP memory proposed by the present invention Method for testing pressure first carries out the driving installation of AEP memory to server, can carry out AEP memory mixed mode after the installation is completed Distribution Strategy setting.Mixed mode carries out pressure survey to the hard disc module in AEP memory after setting completed, using compression tools Examination, wherein the specific time sets according to demand, and hard disc module pressure, which is surveyed, to be terminated followed by carry out memory modules pressure test.Hard disk Module and memory modules are completed after once testing, and as completing an AEP memory, alternately pressure is surveyed.When stagnation pressure survey number be less than etc. When predicting number, repeating AEP memory, alternately pressure is surveyed.It, will be certainly when always alternately pressure surveys number greater than preset times It is dynamic to terminate test.After test, test result log can be checked and be analyzed, judges that the AEP memory is according to test result It is no to be able to satisfy complicated application scenarios.
Application of the invention substantially increases the reliability and stabilization of AEP memory test, is conducive to the raising of product quality.
It can be seen that compared with prior art, the present invention implementing with substantive distinguishing features outstanding and significant progress Beneficial effect be also obvious.
Detailed description of the invention
Attached drawing 1 is the method flow diagram of the embodiment of the present invention one.
Attached drawing 2 is the method flow diagram of the embodiment of the present invention two.
Specific embodiment
It explains with reference to the accompanying drawing to a specific embodiment of the invention.
Embodiment one:
A kind of alternating blend pressure test method based on AEP memory as shown in Figure 1, includes the following steps:
Step 1: installation AEP memory driving.
Step 2: being mixed mode by AEP memory setting.
Step 3: configuration AEP memory mixed mode Distribution Strategy.
Step 4: it is n that the default first pressure testing time, which is M seconds, the second pressure testing time is m seconds, alternately pressure surveys number It is secondary.
Step 5: pressure test in M seconds is carried out to the hard disc module in AEP memory.
Step 6: pressure test in m seconds is carried out to the memory modules in AEP memory.
Step 7: judging that the current completed alternately pressure of AEP memory surveys whether number is less than n, if so, going to step 5; If not, test terminates.
Embodiment two:
A kind of alternating blend pressure test method based on AEP memory as shown in Figure 2, includes the following steps:
Step 1: installation AEP memory driving.
Step 2: being mixed mode by AEP memory setting.
Step 3: the space hold ratio using memory modules and hard disc module in ipmctl tool setting AEP memory is equal It is 50%.
The specific instruction of step 3 are as follows:
ipmctl create -goal
MemoryMode=50 PersistentMemoryType=AppDirectNotInterleaved
Wherein, MemoryMode represents memory modules proportion, if modification MemoryMode=30, can be arranged in AEP The memory modules 30% deposited, hard disc module accounts for 70%.
Step 4: it is n that the default first pressure testing time, which is M seconds, the second pressure testing time is m seconds, alternately pressure surveys number It is secondary, it presets current alternately pressure and surveys number x, and x is set as 0.
Step 5: the hard disc module of AEP memory being mounted in the folder of the default file in current system using mount instruction.
Specific instruction are as follows: mount-o dax/dev/pem5/mnt/pmem5.
Step 6: pressure test in M seconds being carried out to the hard disc module in AEP memory using fio tool.
Such as M=60, then press survey instruction in 60 seconds as follows: fio -- filename=/mnt/pmem5 -- direct=1 -- rw =randwrite --bs=4k --size=15G --numjobs=4 --runtime=300 --group_reporting -- name=test-AEP 。
Step 7: the memory surplus of current system is checked using free instruction.
Step 8: pressure test in m seconds being carried out to the memory modules in AEP memory using memtester tool.
In step 8, the memory surplus checked according to step 7,90% or more of general memory surplus carry out applied voltage test and are It can.For example, surplus is 100G, pressurization operation 60 seconds.General 90% or more pressurization, specific instruction are as follows: nohup/ memtester 90G 60 & 。
Step 9: will currently replace pressure survey number x and add 1.
Step 10: judging whether x is less than n, if so, going to step 6;If not, test terminates.
In addition, the present embodiment can also realize the alternate cycles of pressure test by for or while circulation tool.Wherein One pressure test time M and second pressure testing time m can be preset as identical value, and above-mentioned all test results are deposited in real time Test result journal file is stored up, after test, can check and analyze test result log.
With reference to the drawings and specific embodiments, the invention will be further described.It should be understood that these embodiments are merely to illustrate The present invention rather than limit the scope of the invention.In addition, it should also be understood that, after reading the content taught by the present invention, this field Technical staff can make various changes or modifications the present invention, and such equivalent forms equally fall within range defined herein.

Claims (9)

1. a kind of alternating blend pressure test method based on AEP memory, which comprises the steps of:
Step 1: installation AEP memory driving;
Step 2: being mixed mode by AEP memory setting;
Step 3: configuration AEP memory mixed mode Distribution Strategy;
Step 4: it is n times that the default first pressure testing time, which is M seconds, the second pressure testing time is m seconds, alternately pressure surveys number;
Step 5: pressure test in M seconds is carried out to the hard disc module in AEP memory;
Step 6: pressure test in m seconds is carried out to the memory modules in AEP memory;
Step 7: judging that the current completed alternately pressure of AEP memory surveys whether number is less than n, if so, going to step 5;If No, test terminates.
2. the alternating blend pressure test method according to claim 1 based on AEP memory, which is characterized in that
The step 3 specifically: use the space hold of memory modules and hard disc module in ipmctl tool setting AEP memory Ratio is 50%.
3. the alternating blend pressure test method according to claim 2 based on AEP memory, which is characterized in that the step Rapid 3 specific instruction are as follows:
ipmctl create -goal
MemoryMode=50 PersistentMemoryType=AppDirectNotInterleaved 。
4. the alternating blend pressure test method according to claim 1 based on AEP memory, which is characterized in that the step Rapid 5 include:
Step 51: the hard disc module of AEP memory being mounted in the folder of the default file in current system using mount instruction;
Step 52: pressure test in M seconds being carried out to the hard disc module in AEP memory using fio tool.
5. the alternating blend pressure test method according to claim 1 based on AEP memory, which is characterized in that the step Rapid 6 specifically: pressure test in m seconds is carried out to the memory modules in AEP memory using memtester tool.
6. the alternating blend pressure test method according to claim 5 based on AEP memory, which is characterized in that the step Rapid 6 further include: the memory surplus of current system is checked using free instruction.
7. the alternating blend pressure test method according to claim 1 based on AEP memory, it is characterised in that: the M= m。
8. the alternating blend pressure test method according to claim 1 based on AEP memory, which is characterized in that the step Rapid 4 further include: default current alternately pressure surveys number x, and x is set as 0.
9. the alternating blend pressure test method according to claim 8 based on AEP memory, which is characterized in that the step Rapid 7 specifically: will currently replace pressure survey number x and add 1, and judge whether x will be less than n, if so, going to step 5;If not, test Terminate.
CN201910063978.5A 2019-01-23 2019-01-23 AEP memory-based alternating mixed pressure testing method Active CN109783293B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910063978.5A CN109783293B (en) 2019-01-23 2019-01-23 AEP memory-based alternating mixed pressure testing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910063978.5A CN109783293B (en) 2019-01-23 2019-01-23 AEP memory-based alternating mixed pressure testing method

Publications (2)

Publication Number Publication Date
CN109783293A true CN109783293A (en) 2019-05-21
CN109783293B CN109783293B (en) 2022-02-18

Family

ID=66501963

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910063978.5A Active CN109783293B (en) 2019-01-23 2019-01-23 AEP memory-based alternating mixed pressure testing method

Country Status (1)

Country Link
CN (1) CN109783293B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050015675A1 (en) * 2003-07-03 2005-01-20 Kolawa Adam K. Method and system for automatic error prevention for computer software
US20070061625A1 (en) * 2005-09-15 2007-03-15 Acosta Juan Jr Automation structure for software verification testing
US20090113249A1 (en) * 2007-10-24 2009-04-30 Inventec Corporation Stress testing method of file system
CN105760262A (en) * 2015-11-30 2016-07-13 浪潮电子信息产业股份有限公司 Method for carrying out cross validation on stability of hard disk based on dc and reboot under linux
CN108089965A (en) * 2017-12-08 2018-05-29 郑州云海信息技术有限公司 A kind of computer parallel type method for testing pressure
CN108228406A (en) * 2018-01-09 2018-06-29 郑州云海信息技术有限公司 A kind of QAT pressure testing systems and method
CN109240865A (en) * 2018-09-06 2019-01-18 郑州云海信息技术有限公司 A kind of AC test method, device, terminal and the storage medium of AEP memory

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050015675A1 (en) * 2003-07-03 2005-01-20 Kolawa Adam K. Method and system for automatic error prevention for computer software
US20070061625A1 (en) * 2005-09-15 2007-03-15 Acosta Juan Jr Automation structure for software verification testing
US20090113249A1 (en) * 2007-10-24 2009-04-30 Inventec Corporation Stress testing method of file system
CN105760262A (en) * 2015-11-30 2016-07-13 浪潮电子信息产业股份有限公司 Method for carrying out cross validation on stability of hard disk based on dc and reboot under linux
CN108089965A (en) * 2017-12-08 2018-05-29 郑州云海信息技术有限公司 A kind of computer parallel type method for testing pressure
CN108228406A (en) * 2018-01-09 2018-06-29 郑州云海信息技术有限公司 A kind of QAT pressure testing systems and method
CN109240865A (en) * 2018-09-06 2019-01-18 郑州云海信息技术有限公司 A kind of AC test method, device, terminal and the storage medium of AEP memory

Also Published As

Publication number Publication date
CN109783293B (en) 2022-02-18

Similar Documents

Publication Publication Date Title
CN109165168A (en) A kind of method for testing pressure, device, equipment and medium
CN104717236A (en) Equipment performance test method and device
CN101593146B (en) Method and device for automatically testing page
CN104850480B (en) The method and device of high density storage server hard disk performance test
CN107038120B (en) Software testing method and device
WO2019104916A1 (en) Development role creation method, device and equipment for test case, and storage medium
CN109413158A (en) Data transmission method for uplink, data processing method, car-mounted terminal and server
CN105207844A (en) Method for testing server stability and system thereof
CN111723018A (en) Performance pressure testing method, device, equipment and storage medium
CN113961413A (en) Server power consumption testing method and device
CN111124871A (en) Interface test method and device
CN101441592A (en) Test system and method of embedded system
CN107329849A (en) A kind of data verification method and system based on Java systems
CN108241576A (en) A kind of interface test method and system
CN105487952A (en) PCIE-SSD automatic test method based on FIO
CN106096960A (en) The method and apparatus of the outside payment system of monitoring and method of payment and system
CN109284974A (en) A kind of checking method based on block chain, device, audit equipment and storage medium
CN109739700A (en) A kind of interface test method and device
CN110928731B (en) DRAM eye diagram evaluation method based on hardware self-test module
CN107832176A (en) Hard disk pressure automatic test approach and system under a kind of Windows
CN109783293A (en) A kind of alternating blend pressure test method based on AEP memory
DE112019007610T5 (en) AUTOMATIC TEST EQUIPMENT FOR TESTING A TEST OBJECT HAVING A PROCESSING UNIT AND PROGRAM AND/OR DATA STORAGE, AUTOMATIC TEST EQUIPMENT HAVING A TEST CONTROLLER, ONE OR MORE INTERFACES TO THE TEST OBJECT AND SHARED STORAGE, AND A TEST OBJECT METHOD
CN112363883A (en) CPU pressure testing method and device
CN105022693B (en) A kind of performance test methods and device of application program
CN106230624A (en) A kind of network quality appraisal procedure and device

Legal Events

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