CN110990207A - BPS memory testing method, system, terminal and storage medium based on Whitley platform - Google Patents

BPS memory testing method, system, terminal and storage medium based on Whitley platform Download PDF

Info

Publication number
CN110990207A
CN110990207A CN201911203421.3A CN201911203421A CN110990207A CN 110990207 A CN110990207 A CN 110990207A CN 201911203421 A CN201911203421 A CN 201911203421A CN 110990207 A CN110990207 A CN 110990207A
Authority
CN
China
Prior art keywords
memory
bps
test
value
disk
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
CN201911203421.3A
Other languages
Chinese (zh)
Other versions
CN110990207B (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.)
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 CN201911203421.3A priority Critical patent/CN110990207B/en
Publication of CN110990207A publication Critical patent/CN110990207A/en
Application granted granted Critical
Publication of CN110990207B publication Critical patent/CN110990207B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2273Test methods
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)
  • Debugging And Monitoring (AREA)

Abstract

本发明提供一种基于Whitley平台的BPS内存测试方法、系统、终端及存储介质,包括:将APD模式的BPS内存等量划分为第一整盘和第二整盘;对装载有BPS内存的Whitley平台服务器进行reboot测试;获取每次重启后的第一整盘的MD5值并将所述MD5值与标准MD5值做一致性校对,记录校对结果;每次重启后对所述第二整盘进行IO压力测试并记录压力测试结果。本发明能够实现对Whitley平台上的BPS内存的快速测试,节省了测试时间,提高了测试效率。

Figure 201911203421

The invention provides a BPS memory testing method, system, terminal and storage medium based on the Whitley platform, including: dividing the BPS memory in APD mode into a first whole disk and a second whole disk in equal amounts; The platform server performs a reboot test; obtains the MD5 value of the first entire disk after each restart and performs consistency check between the MD5 value and the standard MD5 value, and records the proofreading result; IO stress test and record the stress test results. The invention can realize the rapid test of the BPS memory on the Whitley platform, save the test time and improve the test efficiency.

Figure 201911203421

Description

BPS memory test method, system, terminal and storage medium based on Whitley platform
Technical Field
The invention relates to the technical field of memory testing, in particular to a method, a system, a terminal and a storage medium for testing a BPS memory based on a Whitley platform.
Background
BPS Memory, Barlow Pass, is another option Dimm from Intel corporation, and introduces a new Memory class layer, Persistent Memory or Persistent storage, which is a new Memory and storage technology designed for data center use, to extract more value from data. BPS memory can provide a perfect combination of high capacity, stability, and endurance compared to traditional memory. This amount of memory is intended to reduce latency and optimize memory, capacity and cost-constrained workloads. The operation modes of the BPS memory are mainly divided into 3 types: memory mode, APD mode, and Mix mode. The APD modes are divided into an interleaved mode and a not-interleaved mode. When the Memory mode is adopted, the Memory has the function of a Memory similar to a common Memory and can be used as the Memory; when the APD mode is adopted, the storage function is realized, and the device can be used as a hard disk; when the mode is the mixed mode, the function of the memory and the hard disk is simultaneously realized.
The Whitley platform is a platform which can support the operation and use of the BPS memory, can verify the performance and the function of the BPS memory and can fully exert the excellent characteristics of the BPS memory. For memory intensive workloads, the Whitley platform may support higher memory bandwidth and capacity. Each CPU comprises 8 DDR4 memory channels, the memory speed can reach 3200MT/s at most, and 16 DIMMs can be inserted. On the Whitely platform, there are various configurations of the BPS memory and the normal memory, such as: 8+8, 8+4, 4+4, 6+1, wherein the front of the + number is a common memory and the back is a BPS memory.
If the BPS memory is introduced and used on the Whitley platform, the compatibility between the BPS memory and the platform and the stability and reliability of the operation of the BPS memory on the platform need to be verified to the maximum extent. Therefore, performing a system test on the BPS memory is an important test for evaluating compatibility and stability, and a rebot test is an essential test in the system test. Most of the existing tests sequentially execute a rebot test, a pressure test and a memory MD5 value comparison test, and the test method consumes longer overall test time and has low test efficiency and complexity.
Disclosure of Invention
In view of the above disadvantages in the prior art, the present invention provides a method, a system, a terminal and a storage medium for testing a BPS memory based on a Whitley platform, so as to solve the above technical problems.
In a first aspect, the present invention provides a method for testing a BPS memory based on a Whitley platform, including:
equally dividing a BPS memory of an APD mode into a first whole disk and a second whole disk;
carrying out rebot test on the Whitley platform server loaded with the BPS memory;
acquiring the MD5 value of the first whole disk after each restart, performing consistency check on the MD5 value and the standard MD5 value, and recording a check result;
and carrying out IO pressure test on the second whole disk after each restart and recording a pressure test result.
Further, the dividing the BPS memory of the APD mode into a first full disk and a second full disk in equal amount includes:
setting the operation mode of the BPS memory to be an APD interleaved mode;
creating a namespace and formatting the namespace into an EXT4 format;
and allocating a namespace for the first whole disk and the second whole disk.
Further, the method further comprises:
creating a first folder corresponding to the first whole disk under an mnt directory;
mounting the first whole disc in the first folder;
writing a file with a preset size into the first whole disk;
and acquiring the standard MD5 value of the first whole disk after the file is written, and storing the standard MD5 value.
Further, the method further comprises:
acquiring initial performance state parameters of a system CPU and initial performance state parameters of a BPS memory after each restart;
marking the corresponding restart times of the system CPU initial performance state parameters and the BPS memory initial performance state parameters and then storing the system CPU initial performance state parameters and the BPS memory initial performance state parameters into a test log;
and carrying out consistency comparison on the system CPU initial performance state parameters in the test logs and the pre-stored initial CPU initial performance state parameters, carrying out consistency comparison on the BPS memory initial performance state parameters and the pre-stored initial BPS memory initial performance state parameters, and outputting performance state parameters with inconsistent comparison results and the marked restart times of the inconsistent performance state parameters.
In a second aspect, the present invention provides a Bits Per Second (BPS) memory test system based on a Whitley platform, including:
the equivalent dividing unit is configured for equally dividing the BPS memory of the APD mode into a first whole disk and a second whole disk;
the restarting test unit is configured to perform rebot test on the Whitley platform server loaded with the BPS memory;
the MD5 value proofreading unit is configured to acquire an MD5 value of the first whole disk after each restart, perform consistency proofreading on the MD5 value and a standard MD5 value, and record a proofreading result;
and the pressure test unit is configured to perform IO pressure test on the second whole disk after each restart and record a pressure test result.
Further, the equivalent dividing unit includes:
the mode setting module is configured to set the operation mode of the BPS memory to be an APD interleaved mode;
a name creation module configured to create a namespace and format the namespace into EXT4 format;
and the naming allocation module is configured to allocate a naming space for the first whole disk and the second whole disk.
Further, the system further comprises:
the folder creating unit is configured to create a first folder corresponding to the first whole disc under an mnt directory;
the whole disc mounting unit is configured to mount the first whole disc on the first folder;
a file writing unit configured to write a file of a preset size to the first entire disk;
and the standard storage unit is configured to acquire the standard MD5 value of the first whole disk after the file is written and store the standard MD5 value.
Further, the system further comprises:
the parameter acquisition unit is configured to acquire the initial performance state parameters of the system CPU and the BPS memory after each restart;
the parameter storage unit is configured to mark the corresponding restart times of the system CPU initial performance state parameters and the BPS memory initial performance state parameters and then store the system CPU initial performance state parameters and the BPS memory initial performance state parameters into a test log;
and the parameter checking unit is configured for performing consistency comparison on the system CPU initial performance state parameters in the test log and pre-stored initial CPU initial performance state parameters, performing consistency comparison on the BPS memory initial performance state parameters and the pre-stored initial BPS memory initial performance state parameters, and outputting the performance state parameters with inconsistent comparison results and the mark restarting times of the inconsistent performance state parameters.
In a third aspect, a terminal is provided, including:
a processor, a memory, wherein,
the memory is used for storing a computer program which,
the processor is used for calling and running the computer program from the memory so as to make the terminal execute the method of the terminal.
In a fourth aspect, a computer storage medium is provided having stored therein instructions that, when executed on a computer, cause the computer to perform the method of the above aspects.
The beneficial effect of the invention is that,
according to the BPS memory test method, system, terminal and storage medium based on the Whitley platform, the BPS memory in an APD mode is equally partitioned to obtain a first whole disk and a second whole disk with opposite capacities, the first whole disk is used for performing MD5 value correction test, the second whole disk is used for performing pressure test, the Whitley platform server is subjected to rebot test, the MD5 value correction test and the pressure test are executed after each restart, corresponding test results are recorded, after the rebot test is finished, multiple MD5 value correction test results and pressure test results are obtained, and the test results are used for analysis and processing of testers. The invention can realize the rapid test of the BPS memory on the Whitley platform, save the test time and improve the test efficiency.
In addition, the invention has reliable design principle, simple structure and very wide application prospect.
Drawings
In order to more clearly illustrate the embodiments or technical solutions in the prior art of the present invention, the drawings used in the description of the embodiments or prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained based on these drawings without creative efforts.
FIG. 1 is a schematic flow diagram of a method of one embodiment of the invention.
FIG. 2 is a schematic block diagram of a system of one embodiment of the present invention.
Fig. 3 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
Detailed Description
In order to make those skilled in the art better understand the technical solution of the present invention, the technical solution in the embodiment of the present invention will be clearly and completely described below with reference to the drawings in the embodiment of the present invention, and it is obvious that the described embodiment is only a part of the embodiment of the present invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
FIG. 1 is a schematic flow diagram of a method of one embodiment of the invention. The execution subject in fig. 1 may be a BPS memory test system based on the Whitley platform.
As shown in fig. 1, the method 100 includes:
step 110, equally dividing the BPS memory of the APD mode into a first whole disk and a second whole disk;
step 120, performing a reboot test on the Whitley platform server loaded with the BPS memory;
step 130, acquiring the MD5 value of the first whole disk after each restart, performing consistency check on the MD5 value and a standard MD5 value, and recording a check result;
and 140, carrying out IO pressure test on the second whole disk after each restart and recording a pressure test result.
In order to facilitate understanding of the present invention, the following further describes the method for testing the BPS based on the Whitley platform according to the principles of the method for testing the BPS based on the Whitley platform of the present invention and the process of testing the BPS in the embodiment.
Specifically, the method for testing the BPS memory based on the Whitley platform includes:
and S1, equally dividing the BPS memory of the APD mode into a first whole disk and a second whole disk.
(1) And (3) matching a required test environment according to the test requirement, upgrading the BPS memory FW (firmware) to a required version, and installing necessary tools required by the test, such as an ipmctl tool and an ndctl tool.
(2) The operation mode of the BPS memory is set to be an APD mode (interleaved). After the mode is successfully set, all namespaces in the mode are created and completely formatted into the EXT4 format. Some of the commands used are as follows: (1) a setting command # ipmctl create-high persistence memorytype ═ appdata of the APD mode; (2) creation command # ndctl create-namespace for namespace: (3) command # mkfx. etx4/dev/pmemX formatted as EXT4, where X is the device serial number corresponding to BPS memory namespace.
(3) The BPS memory is partitioned equally, i.e. two partitions with 50% of the total disk capacity are created. An example of a create command is as follows:
# paired-a optimal-s/dev/pmem 0 (or 1) - - -mklabel gpt
# partitioned-a optimal-s/dev/pmem 0 (or 1) - - -mkpart primary 0% 50%
# partitioned-a optimal-s/dev/pmem 0 (or 1) - - -mkpart primary% 0% -1
Where namespace 0.0 corresponds to the device pmem0 below it and namespace 1.0 corresponds to the device pmem 1.
S2, carrying out rebot test on the Whitley platform server loaded with the BPS memory.
(1) Open/etc/rcd/rc. local file: local, then add an execute command on the last row, e.g.: sh-f/dev/nvme0p 2/dev/nvme 1p2-l 500-bwerm &, wherein BPS _ reboot.sh is the name of the script and/root/Desktop is the path; -l is followed by the number of turns that need to be restarted; b is followed by a restart type, and war stands for rebot.
(2) The test script and the rc.local file are endowed with execution authority, and then execution/etc/rc.local under the system is executed, so that the reboot test of the server can be realized.
And S3, acquiring the MD5 value of the first whole disk after each restart, performing consistency check on the MD5 value and the standard MD5 value, and recording the check result.
The first whole disk performs acquisition, saving and verification of the MD5 value. Creating a folder corresponding to the partition under the mnt directory, for example: # mkdir-p/mnt/pmem 0p 1; # mkdir-p/mnt/pmem 1p 1. Then, the whole disk device corresponding to the partition is mounted in the corresponding folder, for example: # mount/dev/pmem0p1/mnt/pmem0p 1. The entire disk pmem0p1(pmem1p1) is mounted under the pmem0p1(pmem1p1) folder under the mnt directory. After the mount is completed, the file with the preset size can be written into the BPS memory, and this embodiment adopts a 20G file. For example: # dd if/dev/urandomef/mnt/pmem 0p1/testfile bs 1024k count 20000; # dd if/dev/urandom of/mnt/pmem 1p1/testfile bs 1024k count 20000. After writing the large-capacity file into the first whole disk of the BPS memory, the acquisition, storage and later verification of the MD5 value are carried out. The acquisition and saving of MD5 values may be implemented with the command # MD5sum/mnt/pmem0p1 (or pmem1p1)/testfile | awk '{ print $1 }'. This is followed by a check of the MD5 value, and a brief description of how this is done is as follows: the original MD5 value (MD 5 value obtained immediately after storing the file) is used as the standard MD5 value, testfile is deleted at each boot, and then the file is rewritten in the BPS memory, and new MD5 value is obtained and stored and compared with the standard MD5 value. The MD5 value obtained by each restart is consistent with the standard MD5 value, and the comparison result (consistent or inconsistent) of the MD5 value obtained after each restart and the standard MD5 value is written into a test log.
And S4, carrying out IO pressure test on the second whole disk after each restart and recording the pressure test result.
Carrying out IO pressure test to the whole dish of second after restarting at every turn, the load is pressed and is surveyed the use and is carried out pressure with the fio instrument, and the pressurization strategy indicates as follows: FIO-name _ mix _ random _1 jobjd 128-filename $ { FIO _ parameter _ LIST } - -ioengine ═ libaio-direct ═ 1-thread ═ 1-bs ═ 4 k-numjobs ═ 1-iodepth ═ 128-rw ═ range-rwmixread ═ 50-runtime ═ 1 h-time _ based ═ 1-size 100%, where $ { FIO _ parameter _ LIST } is/dev/pmem 0p2 or/dev/pmem 1p 2. And acquiring the random reading rate, the random writing rate, the sequential reading rate and the sequential writing rate in the pressure testing process, writing the acquired pressure testing result into a testing log and marking the testing times.
S5, acquiring initial performance state parameters of the CPU and the BPS memory before the start of the reboot test, for example, information of the CPU, basic information of the BPS memory, and a series of information such as namespace and region, and storing the initial performance state parameters as initial values. The initial performance state parameters of the system CPU and the BPS memory are collected after each restart, and can be set as test state parameters for obtaining for the convenience of detection. And comparing whether the restarted performance state parameters are consistent with the initial state parameters or not, and writing the comparison result into a test log. And after the test is finished, outputting the performance state parameters with inconsistent comparison and the test times.
As shown in fig. 2, the system 200 includes:
an equivalent dividing unit 210 configured to divide the BPS memory of the APD mode into a first full disk and a second full disk in an equivalent amount;
the restart testing unit 220 is configured to perform a reboot test on the Whitley platform server loaded with the BPS memory;
the MD5 value proofreading unit 230 is configured to acquire an MD5 value of the first whole disc after each restart, perform consistency proofreading on the MD5 value and a standard MD5 value, and record a proofreading result;
and the pressure testing unit 240 is configured to perform IO pressure testing on the second entire disk after each restart and record a pressure testing result.
Optionally, as an embodiment of the present invention, the equivalent dividing unit includes:
the mode setting module is configured to set the operation mode of the BPS memory to be an APD interleaved mode;
a name creation module configured to create a namespace and format the namespace into EXT4 format;
and the naming allocation module is configured to allocate a naming space for the first whole disk and the second whole disk.
Optionally, as an embodiment of the present invention, the system further includes:
the folder creating unit is configured to create a first folder corresponding to the first whole disc under an mnt directory;
the whole disc mounting unit is configured to mount the first whole disc on the first folder;
a file writing unit configured to write a file of a preset size to the first entire disk;
and the standard storage unit is configured to acquire the standard MD5 value of the first whole disk after the file is written and store the standard MD5 value.
Optionally, as an embodiment of the present invention, the system further includes:
the parameter acquisition unit is configured to acquire the initial performance state parameters of the system CPU and the BPS memory after each restart;
the parameter storage unit is configured to mark the corresponding restart times of the system CPU initial performance state parameters and the BPS memory initial performance state parameters and then store the system CPU initial performance state parameters and the BPS memory initial performance state parameters into a test log;
and the parameter checking unit is configured for performing consistency comparison on the system CPU initial performance state parameters in the test log and pre-stored initial CPU initial performance state parameters, performing consistency comparison on the BPS memory initial performance state parameters and the pre-stored initial BPS memory initial performance state parameters, and outputting the performance state parameters with inconsistent comparison results and the mark restarting times of the inconsistent performance state parameters.
Fig. 3 is a schematic structural diagram of a terminal system 300 according to an embodiment of the present invention, where the terminal system 300 may be used to execute a BPS memory testing method based on a Whitley platform according to the embodiment of the present invention.
The terminal system 300 may include: a processor 310, a memory 320, and a communication unit 330. The components communicate via one or more buses, and those skilled in the art will appreciate that the architecture of the servers shown in the figures is not intended to be limiting, and may be a bus architecture, a star architecture, a combination of more or less components than those shown, or a different arrangement of components.
The memory 320 may be used for storing instructions executed by the processor 310, and the memory 320 may be implemented by any type of volatile or non-volatile storage terminal or combination thereof, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk. The executable instructions in memory 320, when executed by processor 310, enable terminal 300 to perform some or all of the steps in the method embodiments described below.
The processor 310 is a control center of the storage terminal, connects various parts of the entire electronic terminal using various interfaces and lines, and performs various functions of the electronic terminal and/or processes data by operating or executing software programs and/or modules stored in the memory 320 and calling data stored in the memory. The processor may be composed of an Integrated Circuit (IC), for example, a single packaged IC, or a plurality of packaged ICs connected with the same or different functions. For example, the processor 310 may include only a Central Processing Unit (CPU). In the embodiment of the present invention, the CPU may be a single operation core, or may include multiple operation cores.
A communication unit 330, configured to establish a communication channel so that the storage terminal can communicate with other terminals. And receiving user data sent by other terminals or sending the user data to other terminals.
The present invention also provides a computer storage medium, wherein the computer storage medium may store a program, and the program may include some or all of the steps in the embodiments provided by the present invention when executed. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM) or a Random Access Memory (RAM).
Therefore, the invention equally partitions the BPS memory in the APD mode to obtain a first whole disk and a second whole disk with opposite capacities, wherein the first whole disk is used for performing MD5 value correction test, the second whole disk is used for performing pressure test and performing reboot test on the Whitley platform server, the MD5 value correction test and the pressure test are executed after each restart, corresponding test results are recorded, and after the reboot test is finished, a plurality of MD5 value correction test results and pressure test results are obtained and are used for analysis and processing by testers. The invention can realize the rapid test of the BPS memory on the Whitley platform, save the test time and improve the test efficiency, and the technical effect achieved by the embodiment can be referred to the description above and is not repeated herein.
Those skilled in the art will readily appreciate that the techniques of the embodiments of the present invention may be implemented as software plus a required general purpose hardware platform. Based on such understanding, the technical solutions in the embodiments of the present invention may be embodied in the form of a software product, where the computer software product is stored in a storage medium, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and the like, and the storage medium can store program codes, and includes instructions for enabling a computer terminal (which may be a personal computer, a server, or a second terminal, a network terminal, and the like) to perform all or part of the steps of the method in the embodiments of the present invention.
The same and similar parts in the various embodiments in this specification may be referred to each other. Especially, for the terminal embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant points can be referred to the description in the method embodiment.
In the embodiments provided in the present invention, it should be understood that the disclosed system and method can be implemented in other ways. For example, the above-described system embodiments are merely illustrative, and for example, the division of the units is only one logical functional division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, systems or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
Although the present invention has been described in detail by referring to the drawings in connection with the preferred embodiments, the present invention is not limited thereto. Various equivalent modifications or substitutions can be made on the embodiments of the present invention by those skilled in the art without departing from the spirit and scope of the present invention, and these modifications or substitutions are within the scope of the present invention/any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1.一种基于Whitley平台的BPS内存测试方法,其特征在于,包括:1. a BPS memory test method based on Whitley platform, is characterized in that, comprises: 将APD模式的BPS内存等量划分为第一整盘和第二整盘;Divide the BPS memory in APD mode into the first whole disk and the second whole disk; 对装载有BPS内存的Whitley平台服务器进行reboot测试;Reboot test on Whitley platform server loaded with BPS memory; 获取每次重启后的第一整盘的MD5值并将所述MD5值与标准MD5值做一致性校对,记录校对结果;Obtain the MD5 value of the first whole disk after each restart and do consistency check between the MD5 value and the standard MD5 value, and record the check result; 每次重启后对所述第二整盘进行IO压力测试并记录压力测试结果。After each restart, an IO stress test is performed on the second entire disk and the stress test result is recorded. 2.根据权利要求1所述的方法,其特征在于,所述将APD模式的BPS内存等量划分为第一整盘和第二整盘,包括:2. method according to claim 1, is characterized in that, the described BPS memory of APD mode is divided into first whole disk and second whole disk in equal amount, comprising: 将所述BPS内存的操作模式设置为APD interleaved模式;Setting the operation mode of the BPS memory to the APD interleaved mode; 创建命名空间并将所述命名空间格式化为EXT4格式;create a namespace and format said namespace in EXT4 format; 为所述第一整盘和所述第二整盘分配命名空间。Namespaces are allocated for the first disk and the second disk. 3.根据权利要求1所述的方法,其特征在于,所述方法还包括:3. The method according to claim 1, wherein the method further comprises: 在mnt目录下创建所述第一整盘对应的第一文件夹;Create a first folder corresponding to the first entire disk under the mnt directory; 将所述第一整盘挂载在所述第一文件夹;Mounting the first entire disk in the first folder; 向所述第一整盘写入预设大小的文件;writing a file of a preset size to the first entire disk; 获取写入文件后的第一整盘的标准MD5值,保存所述标准MD5值。Acquire the standard MD5 value of the first entire disk after writing the file, and save the standard MD5 value. 4.根据权利要求1所述的方法,其特征在于,所述方法还包括:4. The method according to claim 1, wherein the method further comprises: 获取每次重启后的系统CPU初始性能状态参数和BPS内存初始性能状态参数;Obtain the initial performance status parameters of the system CPU and the initial performance status parameters of the BPS memory after each restart; 将所述系统CPU初始性能状态参数和BPS内存初始性能状态参数标记相应重启次数后保存至测试日志;The system CPU initial performance state parameter and the BPS memory initial performance state parameter are marked with the corresponding restart times and saved to the test log; 将测试日志中的系统CPU初始性能状态参数与预存的初始CPU初始性能状态参数进行一致性比对,并将BPS内存初始性能状态参数与预存的初始BPS内存初始性能状态参数进行一致性比对,输出比对结果不一致的性能状态参数和不一致性能状态参数的标记重启次数。Compare the system CPU initial performance state parameters in the test log with the pre-stored initial CPU initial performance state parameters, and compare the BPS memory initial performance state parameters with the pre-stored initial BPS memory initial performance state parameters. Outputs the performance status parameters for which the comparison results are inconsistent and the number of marked restarts for the inconsistent performance status parameters. 5.一种基于Whitley平台的BPS内存测试系统,其特征在于,包括:5. a BPS memory test system based on Whitley platform, is characterized in that, comprises: 等量划分单元,配置用于将APD模式的BPS内存等量划分为第一整盘和第二整盘;The equal division unit is configured to divide the BPS memory in the APD mode into the first entire disk and the second entire disk in equal amounts; 重启测试单元,配置用于对装载有BPS内存的Whitley平台服务器进行reboot测试;Restart the test unit and configure it to perform a reboot test on the Whitley platform server loaded with BPS memory; MD5值校对单元,配置用于获取每次重启后的第一整盘的MD5值并将所述MD5值与标准MD5值做一致性校对,记录校对结果;The MD5 value proofreading unit is configured to obtain the MD5 value of the first entire disk after each restart and perform consistency proofreading between the MD5 value and the standard MD5 value, and record the proofreading result; 压力测试单元,配置用于每次重启后对所述第二整盘进行IO压力测试并记录压力测试结果。The stress testing unit is configured to perform an IO stress test on the second entire disk after each restart and record the stress test result. 6.根据权利要求5所述的系统,其特征在于,所述等量划分单元包括:6. The system according to claim 5, wherein the equal division unit comprises: 模式设置模块,配置用于将所述BPS内存的操作模式设置为APD interleaved模式;a mode setting module, configured to set the operation mode of the BPS memory to the APD interleaved mode; 命名创建模块,配置用于创建命名空间并将所述命名空间格式化为EXT4格式;Name the creation module, configured to create a namespace and format the namespace into EXT4 format; 命名分配模块,配置用于为所述第一整盘和所述第二整盘分配命名空间。A naming assignment module, configured to assign namespaces to the first entire disk and the second entire disk. 7.根据权利要求5所述的系统,其特征在于,所述系统还包括:7. The system of claim 5, wherein the system further comprises: 文件夹创建单元,配置用于在mnt目录下创建所述第一整盘对应的第一文件夹;a folder creation unit, configured to create a first folder corresponding to the first entire disk in the mnt directory; 整盘挂载单元,配置用于将所述第一整盘挂载在所述第一文件夹;an entire disk mounting unit, configured to mount the first entire disk in the first folder; 文件写入单元,配置用于向所述第一整盘写入预设大小的文件;a file writing unit, configured to write a file of a preset size to the first entire disk; 标准保存单元,配置用于获取写入文件后的第一整盘的标准MD5值,保存所述标准MD5值。The standard saving unit is configured to obtain the standard MD5 value of the first entire disk after writing the file, and save the standard MD5 value. 8.根据权利要求5所述的系统,其特征在于,所述系统还包括:8. The system of claim 5, wherein the system further comprises: 参数获取单元,配置用于获取每次重启后的系统CPU初始性能状态参数和BPS内存初始性能状态参数;The parameter obtaining unit is configured to obtain the initial performance state parameters of the system CPU and the initial performance state parameters of the BPS memory after each restart; 参数保存单元,配置用于将所述系统CPU初始性能状态参数和BPS内存初始性能状态参数标记相应重启次数后保存至测试日志;A parameter saving unit, configured to save the system CPU initial performance state parameter and the BPS memory initial performance state parameter to the test log after marking the corresponding restart times; 参数校验单元,配置用于将测试日志中的系统CPU初始性能状态参数与预存的初始CPU初始性能状态参数进行一致性比对,并将BPS内存初始性能状态参数与预存的初始BPS内存初始性能状态参数进行一致性比对,输出比对结果不一致的性能状态参数和不一致性能状态参数的标记重启次数。The parameter verification unit is configured to compare the system CPU initial performance state parameters in the test log with the pre-stored initial CPU initial performance state parameters, and compare the BPS memory initial performance state parameters with the pre-stored initial BPS memory initial performance parameters. The status parameters are compared for consistency, and the performance status parameters with inconsistent comparison results and the number of marked restarts for the inconsistent performance status parameters are output. 9.一种终端,其特征在于,包括:9. A terminal, characterized in that, comprising: 处理器;processor; 用于存储处理器的执行指令的存储器;memory for storing instructions for execution of the processor; 其中,所述处理器被配置为执行权利要求1-4任一项所述的方法。wherein the processor is configured to perform the method of any one of claims 1-4. 10.一种存储有计算机程序的计算机可读存储介质,其特征在于,该程序被处理器执行时实现如权利要求1-4中任一项所述的方法。10. A computer-readable storage medium storing a computer program, characterized in that, when the program is executed by a processor, the method according to any one of claims 1-4 is implemented.
CN201911203421.3A 2019-11-29 2019-11-29 BPS memory test method, system, terminal and storage medium based on Whitley platform Active CN110990207B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911203421.3A CN110990207B (en) 2019-11-29 2019-11-29 BPS memory test method, system, terminal and storage medium based on Whitley platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911203421.3A CN110990207B (en) 2019-11-29 2019-11-29 BPS memory test method, system, terminal and storage medium based on Whitley platform

Publications (2)

Publication Number Publication Date
CN110990207A true CN110990207A (en) 2020-04-10
CN110990207B CN110990207B (en) 2022-07-19

Family

ID=70088516

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911203421.3A Active CN110990207B (en) 2019-11-29 2019-11-29 BPS memory test method, system, terminal and storage medium based on Whitley platform

Country Status (1)

Country Link
CN (1) CN110990207B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111930581A (en) * 2020-08-14 2020-11-13 山东云海国创云计算装备产业创新中心有限公司 Memory interface testing method, device, equipment and readable storage medium
CN114461470A (en) * 2022-01-21 2022-05-10 苏州浪潮智能科技有限公司 A memory power consumption test method, system, device and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103793305A (en) * 2014-02-24 2014-05-14 浪潮电子信息产业股份有限公司 Method for testing parallel pressure of server subsystems
CN108614754A (en) * 2018-08-17 2018-10-02 北京航星中云科技有限公司 A kind of server power failure test method and device based on platform of soaring
CN109426605A (en) * 2017-08-23 2019-03-05 龙芯中科技术有限公司 The stability test method and apparatus of computer
CN110504002A (en) * 2019-08-01 2019-11-26 苏州浪潮智能科技有限公司 A kind of hard disc data conformance test method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103793305A (en) * 2014-02-24 2014-05-14 浪潮电子信息产业股份有限公司 Method for testing parallel pressure of server subsystems
CN109426605A (en) * 2017-08-23 2019-03-05 龙芯中科技术有限公司 The stability test method and apparatus of computer
CN108614754A (en) * 2018-08-17 2018-10-02 北京航星中云科技有限公司 A kind of server power failure test method and device based on platform of soaring
CN110504002A (en) * 2019-08-01 2019-11-26 苏州浪潮智能科技有限公司 A kind of hard disc data conformance test method and device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111930581A (en) * 2020-08-14 2020-11-13 山东云海国创云计算装备产业创新中心有限公司 Memory interface testing method, device, equipment and readable storage medium
CN114461470A (en) * 2022-01-21 2022-05-10 苏州浪潮智能科技有限公司 A memory power consumption test method, system, device and storage medium
CN114461470B (en) * 2022-01-21 2023-11-03 苏州浪潮智能科技有限公司 A memory power consumption testing method, system, equipment and storage medium

Also Published As

Publication number Publication date
CN110990207B (en) 2022-07-19

Similar Documents

Publication Publication Date Title
CN110718264A (en) Method and device for testing information of solid state disk, computer equipment and storage medium
CN106875980A (en) Method for testing hard disk and device
CN107797881A (en) A kind of data coherence tester method, apparatus, equipment and storage medium
CN110765032A (en) Method for reading and writing I2C memory based on system management bus interface
WO2025001042A1 (en) Asset information reporting method and apparatus, and non-volatile readable storage medium and electronic device
US5479413A (en) Method for testing large memory arrays during system initialization
CN111124772A (en) A cloud platform storage performance testing method, system, terminal and storage medium
CN110990207B (en) BPS memory test method, system, terminal and storage medium based on Whitley platform
WO2016173172A1 (en) Method and apparatus for detecting heap memory operation
CN115757066A (en) Hard disk performance test method, device, equipment, storage medium and program product
CN112000513A (en) Computer and VPD data operation method, device and storage medium thereof
CN115562926A (en) Server stress testing method, system, device and computer-readable storage medium
CN114518981A (en) eMMC test method, device, readable storage medium and electronic equipment
CN112328179A (en) Configuration method and system of disk array, electronic device and readable storage medium
US20160217021A1 (en) Hardware signal logging in embedded block random access memory
CN113190241B (en) Method and device for expanding capacity of data partition, electronic equipment and storage medium
CN110727399B (en) Storage array management method and device
CN118155698B (en) Data testing method, electronic equipment and storage medium
CN109062805A (en) A kind of AEP memory firmware promotion and demotion test method, device, terminal and storage medium
CN111063387B (en) A solid-state hard disk performance testing method, device, equipment and storage medium
CN111210863B (en) Method, device and equipment for testing embedded memory and computer storage medium
CN109783031B (en) Method, device, terminal and storage medium for checking drive letter and slot number of RAID card
CN116701208A (en) Verification method, system, chip and device for kernel module in chip
US7162568B2 (en) Apparatus and method for flash ROM management
CN111694727A (en) Network card firmware upgrading and downgrading test method, system, terminal and storage medium

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