The invention provides an alternating mixed pressure test method based on AEP memory, which first installs the AEP memory driver on the server, and then sets the AEP memory mixed mode distribution strategy after installation. After the mixed mode is set up, pressure tools are used to test the hard disk module in AEP memory. The specific time is set according to the requirements, and then the pressure test of the hard disk module is carried out after the pressure test of the hard disk module. Hard disk module and memory module have completed a test, that is to complete an AEP memory alternating pressure test. When the total number of pressure measurements is less than or equal to the number of predictions, the AEP memory alternating pressure measurements are repeated. When the total number of alternating pressure measurements is greater than the preset number, the test will be automatically terminated. When the test is finished, the test result log can be checked and analyzed to determine whether the AEP memory can meet the complex application scenario.
【技术实现步骤摘要】
一种基于AEP内存的交替混合压力测试方法
本专利技术涉及计算机
,更具体的说是涉及一种基于AEP内存的交替混合压力测试方法。
技术介绍
AEP(ApachePass)内存位于硬盘和普通内存之间,却集成了两者的优点。其特点主要有两个:(1)传输速度极快;(2)具有非易失性。同硬盘相比,AEP内存的传输速度比硬盘快100-1000倍,比普通内存也高出8-10倍。同以往普通内存相比,其具有掉电后数据不会丢失的另一大优势。AEP内存的安装方式同普通内存一样,也是安装在内存槽位上。但是AEP内存可通过调整分配设置策略,变成内存模式(memorymode)、硬盘模式(APDmode)或混合模式(mixmode)。当为AEP内存分配策略设置为100%内存模式(memorymode)时,同普通内存类似,具有内存的作用,可当内存使用。当为AEP内存分配策略设置为100%硬盘模式(APDmode)时,就可以当硬盘使用,具有存储的功能,但是远比普通硬盘读写速度快。除此之外,还可以实现将AEP内存分配策略设置为混合模式(mixmode),使同一条内存虚拟分解成硬盘功能区和内存功能区,同时具有内存功能和硬盘功能。当AEP内存设置为混合模式(mixmode)后,在实际使用过程中,由于应用场景的变化,在某个时间段可能主要使用其内存功能区,在其他时间段则可能主要使用其硬盘功能区。也可能会存在两种功能区的交替使用情况。如何更好的模拟这种AEP内存应用场景,并进行针对性测试,是一个需要解决的问题。
技术实现思路
针对以上问题,本专利技术的目的在于提供一种基于AEP内存的交替混合压力测试方法 ...
【技术保护点】
1.一种基于AEP内存的交替混合压力测试方法,其特征在于,包括如下步骤:步骤1:安装AEP内存驱动;步骤2:将AEP内存设置为混合模式;步骤3:配置AEP内存混合模式分布策略;步骤4:预设第一压力测试时间为M秒、第二压力测试时间为m秒、交替压测次数为n次;步骤5:对AEP内存中的硬盘模块进行M秒压力测试;步骤6:对AEP内存中的内存模块进行m秒压力测试;步骤7:判断AEP内存当前已完成的交替压测次数是否小于n,如果是,转到步骤5;如果否,测试结束。
【技术特征摘要】
1.一种基于AEP内存的交替混合压力测试方法,其特征在于,包括如下步骤:步骤1:安装AEP内存驱动;步骤2:将AEP内存设置为混合模式;步骤3:配置AEP内存混合模式分布策略;步骤4:预设第一压力测试时间为M秒、第二压力测试时间为m秒、交替压测次数为n次;步骤5:对AEP内存中的硬盘模块进行M秒压力测试;步骤6:对AEP内存中的内存模块进行m秒压力测试;步骤7:判断AEP内存当前已完成的交替压测次数是否小于n,如果是,转到步骤5;如果否,测试结束。2.根据权利要求1所述的基于AEP内存的交替混合压力测试方法,其特征在于,所述步骤3具体为:使用ipmctl工具设置AEP内存中的内存模块和硬盘模块的空间占用比例均为50%。3.根据权利要求2所述的基于AEP内存的交替混合压力测试方法,其特征在于,所述步骤3的具体指令为:ipmctlcreate-goalMemoryMode=50PersistentMemoryType=AppDirectNotInterleaved。4.根据权利要求1所述...
【专利技术属性】
技术研发人员:范鹏飞,贠雄斌,
申请(专利权)人:郑州云海信息技术有限公司,
类型:发明
国别省市:河南,41
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。