CN113076237B - Memory performance testing method and system and computer readable storage medium - Google Patents

Memory performance testing method and system and computer readable storage medium Download PDF

Info

Publication number
CN113076237B
CN113076237B CN202110243748.4A CN202110243748A CN113076237B CN 113076237 B CN113076237 B CN 113076237B CN 202110243748 A CN202110243748 A CN 202110243748A CN 113076237 B CN113076237 B CN 113076237B
Authority
CN
China
Prior art keywords
data
memory performance
memory
test
calculating
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.)
Active
Application number
CN202110243748.4A
Other languages
Chinese (zh)
Other versions
CN113076237A (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.)
Shandong Yingxin Computer Technology Co Ltd
Original Assignee
Shandong Yingxin Computer 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 Shandong Yingxin Computer Technology Co Ltd filed Critical Shandong Yingxin Computer Technology Co Ltd
Priority to CN202110243748.4A priority Critical patent/CN113076237B/en
Publication of CN113076237A publication Critical patent/CN113076237A/en
Application granted granted Critical
Publication of CN113076237B publication Critical patent/CN113076237B/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/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3409Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment for performance assessment
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3452Performance evaluation by statistical analysis

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Evolutionary Biology (AREA)
  • Probability & Statistics with Applications (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

The invention discloses a memory performance testing method, which comprises the following steps: creating a memory performance data pool, and storing the first information into the memory performance data pool; classifying first information, recording the classified first information as second data, executing a first data screening strategy to obtain third data, calculating an average value of memory performance values of the third data, and calculating memory performance baseline data according to the average value: performing memory performance test on the third data to obtain fourth data, and performing data cleaning on the fourth data to obtain fifth data and memory performance data; judging whether the memory performance test passes according to the quantity of the fifth data, and if so, carrying out the memory performance standard test on the fifth data; judging whether the memory performance standard test passes or not, and if so, storing fifth data and memory performance data into a memory performance data pool; through the mode, the efficiency, the accuracy and the stability of the memory performance test can be improved.

Description

Memory performance testing method and system and computer readable storage medium
Technical Field
The present invention relates to the field of test methods, and in particular, to a method and a system for testing memory performance, and a computer-readable storage medium.
Background
With the rapid development of information technology in recent years, the size of data centers is increasingly enlarged, and the traffic of customers is increasing. The performance requirements of clients on machines are getting higher and higher, and especially the performance of memory is getting more and more important for high concurrent, low latency traffic.
The existing performance test has fixed comparative definition on the method for establishing the performance baseline and the method for testing the performance. The performance baseline is always set to be a fixed and unchangeable value, the performance of the memory changes along with the continuous repair of the BIOS to the security vulnerability and the continuous optimization of the memory process by the memory manufacturer, if the traditional performance baseline is continuously used, a larger error is generated, and the time consumption for the traditional performance baseline designation is long.
Disclosure of Invention
The invention mainly solves the problems that the assignment of the performance baseline is a fixed and invariable value due to the fixed and invariable data of the traditional method, and the customization of the performance baseline consumes longer time.
In order to solve the technical problems, the invention adopts a technical scheme that: a method for testing the performance of a memory is provided, which comprises the following steps: creating a memory performance data pool, and storing first information to the memory performance data pool;
classifying the first information, recording the classified first information as second data, executing a first data screening strategy on the second data to obtain third data, calculating an average value of memory performance values of the third data, and calculating memory performance baseline data according to the average value:
performing memory performance test on the third data to obtain fourth data, and performing data cleaning on the fourth data to obtain fifth data and memory performance data;
judging whether the memory performance test passes according to the quantity of the fifth data, and if so, carrying out the memory performance standard test on the fifth data;
and judging whether the memory performance standard test passes, if so, storing the fifth data and the memory performance data of the fifth data into the memory performance data pool.
Preferably, the first data screening policy is: calculating a plurality of classified memory performance values in the second data, and calculating an average value of the memory performance values;
calculating a first difference ratio of the memory performance value and the average value of the memory performance values, filtering the classification in the second data corresponding to the memory performance value of which the first difference ratio is greater than a first percentage, and marking the filtered data as third data.
Preferably, the step of performing a memory performance test on the third data to obtain fourth data further includes: performing memory performance test on the third data for a first preset number of times to obtain fourth data;
calculating an average value of the fourth data.
Preferably, the step of performing data cleansing on the fourth data further includes: and calculating a second difference ratio of the fourth data to the average value of the fourth data, filtering the fourth data with the second difference ratio being greater than a second percentage, and recording the filtered fourth data as fifth data.
Preferably, the step of determining whether the memory performance test passes or not according to the amount of the fifth data further includes: and judging whether the quantity of the fifth data is greater than a first preset quantity, if so, passing the memory performance test, and calculating the average value of the fifth data, wherein the average value of the fifth data is the memory performance data.
Preferably, if the quantity of the fifth data is not greater than the first preset quantity, performing the memory performance test again, and judging whether the memory performance test passes or not according to the quantity of the fifth data again;
and if the memory performance test is still failed after the second preset times, the memory performance test is not passed.
Preferably, the memory performance standard test is as follows: dividing the memory performance data and the memory performance baseline data to obtain a first numerical value;
judging whether the first value is in a first range, if not, failing the memory performance standard test;
and if the first value is in the first range, the memory performance standard test is passed.
Preferably, the memory performance baseline data is recalculated after a first preset time.
The invention also provides a memory performance test system, comprising: the device comprises a storage module, a classification module, a calculation module, a test module, a judgment module and an updating module;
the storage module is used for creating a memory performance data pool and storing first information to the memory performance data pool;
the classification module is used for classifying the first information and recording the classified first information as second data;
the calculation module is used for executing a first data screening strategy on the second data to obtain third data, calculating an average value of memory performance values of the third data, and calculating memory performance baseline data according to the average value:
the test module is used for carrying out memory performance test on the third data to obtain fourth data, carrying out data cleaning on the fourth data to obtain fifth data and memory performance data, and carrying out memory performance standard test on the fifth data;
the judging module is used for judging whether the memory performance test passes according to the quantity of the fifth data;
the memory performance data storage module is used for judging whether the memory performance standard test passes or not, and if the memory performance standard test passes, the fifth data and the memory performance data are stored in the memory performance data pool;
the updating module is used for updating the memory performance baseline data.
The present invention further provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the steps of the memory performance testing method are implemented.
The beneficial effects of the invention are:
1. the memory performance testing method can realize that the memory performance data is continuously updated along with some external changes, avoids the problems that the traditional method is fixed and unchangeable in data, so that a large amount of misoperation is caused in the production process, and the subsequent base line customization consumes longer time, and improves the testing efficiency, accuracy and stability;
2. the memory performance test system can realize the calculation of the difference value between the memory performance data obtained by the memory performance test and the data cleaning through the test module and the memory performance baseline data calculated by the calculation module, and improves the accuracy of the memory performance test through the judgment of the judgment module;
3. the computer-readable storage medium can update the memory performance baseline data at certain time intervals, ensures that the baseline data is continuously updated along with updating of BIOS, manufacturer optimization actions and the like, and also ensures the stability and accuracy of the test.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a schematic diagram of a method for testing memory performance according to embodiment 1 of the present invention;
fig. 2 is a schematic diagram of a memory performance testing system architecture according to embodiment 2 of the present invention.
Detailed Description
The technical solutions of the present invention will be described clearly and completely with reference to the accompanying drawings, and it should be understood that the described embodiments are some, but not all embodiments of the present invention. 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.
In the description of the present invention, it should be noted that the terms "first", "second", and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
It should be noted that, in the description of the present invention,
BISO (basic Input Output System) is a basic Input Output system.
The CPU (Central Processing Unit) is a central Processing unit.
Example 1
An embodiment of the present invention provides a method for testing memory performance, referring to fig. 1, including the following steps:
s100, creating a memory performance data pool, wherein the specific data pool comprises a data server and a memory performance database, and the data server is used for installing the memory performance database; the memory performance database is used for storing memory performance data, specifically comprises a model code of a server, a BIOS version, a mainboard model, a memory manufacturer, memory capacity, memory frequency, a CPU model and the like, and records the information as first information;
s200, performing memory data classification calculation, acquiring data in a memory performance data pool, and classifying according to first information, wherein the specific steps are as follows: classifying the memory performance data in the memory pool according to the model code of the server, the BIOS version, the memory manufacturer, the memory size, the CPU model and other information, and recording the classified data as second data; the second data is classified data and comprises a plurality of different classification configurations;
because the performances of memories combined by different models, BIOS versions and memory manufacturers are different, more accurate performance data need to be obtained by classification according to different configurations, and different classification combinations are selected according to different scenes by a specific classification mode; for example, the same machine type is classified into one type, the same BIOS version is classified into one type, and the same memory manufacturer is classified into one type;
performing a first data screening strategy, wherein the first data screening strategy is as follows: calculating the memory performance value of each classified configuration in the second data, adding the performance values, and calculating the average value of the memory performance values of the second data; removing the classification configuration with the data first difference ratio of the memory performance value of each classification configuration in the second data to the memory performance average value exceeding a first percentage; recording the removed second data after the classified configuration as third data, and calculating the average value of the memory performance values of the third data;
it should be noted that, in the description of the present invention, the first percentage is preset by a person, the first percentage is 2 percent, and different first percentages can be set according to different situations.
Calculating the memory performance baseline data of each classified configuration in the third data according to the memory performance average value of the third data, and storing the memory performance baseline data into a memory performance data pool;
when the memory performance baseline data needs to be updated, repeating the step S200, and replacing the updated data with the data in the original memory performance data pool;
s300, performing memory performance test for each classification configuration in the third data for a specified first preset number of times to obtain the memory performance of the test machine, and comparing the memory performance with a memory performance baseline to check whether the memory performance baseline meets the requirement;
obtaining data after performing a specified first time of memory performance test for each classification configuration, recording the data as fourth data, and calculating the average value of the fourth data;
cleaning the fourth data, removing data with a second difference ratio of the average value data of the fourth data exceeding a second percentage, and marking the removed data as fifth data;
judging whether the quantity of the fifth data is larger than a first preset quantity, if so, passing the memory performance test, calculating the average value of the fifth data, and taking the average value as memory performance data;
if the quantity of the fifth data is not greater than the first preset quantity, the performance fluctuation of the configured memory is large, and the memory test is carried out again for judging again;
if the data of the fifth data is still not greater than the first preset quantity after the second preset times of retesting, the fluctuation is still large, and the memory performance test is not passed;
it should be noted that, in the description of the present embodiment, the first preset number is 18, and the first preset number is 20; the second percentage is 5 percent, and the first preset number, the first number and the second percentage can be different values according to different test conditions;
s400, performing a memory performance standard test; searching memory performance baseline data according to different classification configurations; dividing the memory performance data with the memory performance baseline data to obtain a first numerical value;
judging whether the range of the first numerical value is in the first range, if not, the memory performance data and the memory performance baseline data floating value exceed the specified range, the memory performance standard test is not passed, otherwise, the memory performance standard test is passed;
the first range is between 1.05 and 0.95. It should be noted that the first range may be changed with different memory performance tests.
S500, if the memory performance data in the step S300 is valid and the memory performance standard test in the step S400 passes, uploading the configuration and memory performance data in the fifth passing data to a memory performance data pool;
updating the data of which the memory performance meets the baseline requirement into a memory performance data pool, and updating the memory performance baseline with the same configuration; and recalculating after the first preset time passes each time, specifically: the memory performance baseline data is repeatedly updated in the step S200 every day, every week and every month, so that the baseline data is continuously updated along with the updating of BIOS, manufacturer optimization actions and the like.
Example 2
An embodiment of the present invention further provides a memory performance testing system, please refer to fig. 2, including: the device comprises a storage module, a classification module, a calculation module, a test module, a judgment module and an updating module;
the storage module is used for creating a memory performance data pool and storing first information to the memory performance data pool;
the classification module is used for classifying the first information and recording the classified first information as second data;
the calculation module is used for executing a first data screening strategy on the second data to obtain third data, calculating an average value of memory performance values of the third data, and calculating memory performance baseline data according to the average value:
the test module is used for carrying out memory performance test on the third data to obtain fourth data, carrying out data cleaning on the fourth data to obtain fifth data and memory performance data, and carrying out memory performance standard test on the fifth data;
the judging module is used for judging whether the memory performance test passes according to the quantity of the fifth data;
the memory performance data storage module is used for judging whether the memory performance standard test passes or not, and if the memory performance standard test passes, the fifth data and the memory performance data are stored in the memory performance data pool;
the updating module is used for updating the memory performance baseline data.
Based on the same inventive concept as the method in the foregoing embodiments, an embodiment of the present specification further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the memory performance testing method as disclosed in the foregoing are implemented.
The numbers of the embodiments disclosed in the embodiments of the present invention are merely for description, and do not represent the merits of the embodiments.
It will be understood by those skilled in the art that all or part of the steps of implementing the above embodiments may be implemented by hardware, and a program that can be implemented by the hardware and can be instructed by the program to be executed by the relevant hardware may be stored in a computer readable storage medium, where the storage medium may be a read-only memory, a magnetic or optical disk, and the like.
The above description is only an embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes performed by the present specification and drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (7)

1. A memory performance testing method is characterized by comprising the following steps: s100, creating a memory performance data pool, and storing first information to the memory performance data pool;
s200, classifying the first information, recording the classified first information as second data, executing a first data screening strategy on the second data to obtain third data, calculating an average value of memory performance values of the third data, calculating memory performance baseline data according to the average value, and storing the memory performance baseline data into a memory performance data pool; when the memory performance baseline data needs to be updated, repeating the step S200, and replacing the updated data with the data in the original memory performance data pool;
s300, performing memory performance test on the third data to obtain fourth data, and performing data cleaning on the fourth data to obtain fifth data and memory performance data; s400, judging whether the memory performance test passes according to the quantity of the fifth data, and if so, carrying out the memory performance standard test on the fifth data; s500, judging whether the memory performance standard test is passed, if so, storing the fifth data and the memory performance data of the fifth data into the memory performance data pool;
the first data screening strategy is as follows: calculating a plurality of classified memory performance values in the second data, and calculating an average value of the memory performance values; calculating a first difference ratio of the memory performance values and the average value of the memory performance values, filtering the classification of the second data corresponding to the memory performance values of which the first difference ratio is greater than a first percentage, and recording the filtered data as third data;
the step of performing a memory performance test on the third data to obtain fourth data further includes: performing memory performance test on the third data for a first preset number of times to obtain fourth data; calculating an average value of the fourth data;
the step of data cleansing the fourth data further comprises: and calculating a second difference ratio of the fourth data to the average value of the fourth data, filtering the fourth data with the second difference ratio being greater than a second percentage, and recording the filtered fourth data as fifth data.
2. The method according to claim 1, wherein: the step of judging whether the memory performance test passes or not according to the quantity of the fifth data further comprises: and judging whether the quantity of the fifth data is greater than a first preset quantity, if so, passing the memory performance test, and calculating the average value of the fifth data, wherein the average value of the fifth data is the memory performance data.
3. The method according to claim 2, wherein: if the quantity of the fifth data is not greater than the first preset quantity, performing the memory performance test again, and judging whether the memory performance test passes or not according to the quantity of the fifth data again;
and if the memory performance test is still failed after the second preset times, the memory performance test is not passed.
4. The method according to claim 1, wherein: the memory performance standard test is as follows: dividing the memory performance data and the memory performance baseline data to obtain a first numerical value;
judging whether the first value is in a first range, if not, failing the memory performance standard test;
and if the first value is in the first range, the memory performance standard test is passed.
5. The method according to claim 1, wherein: and recalculating the memory performance baseline data after a first preset time.
6. A memory performance testing system using a memory performance testing method according to any one of claims 1 to 5, comprising: the device comprises a storage module, a classification module, a calculation module, a test module, a judgment module and an updating module;
the storage module is used for creating a memory performance data pool and storing first information to the memory performance data pool;
the classification module is used for classifying the first information and recording the classified first information as second data;
the calculation module is used for executing a first data screening strategy on the second data to obtain third data, calculating an average value of memory performance values of the third data, and calculating memory performance baseline data according to the average value:
the test module is used for carrying out memory performance test on the third data to obtain fourth data, carrying out data cleaning on the fourth data to obtain fifth data and memory performance data, and carrying out memory performance standard test on the fifth data;
the judging module is used for judging whether the memory performance test passes according to the quantity of the fifth data;
the memory performance data storage module is used for judging whether the memory performance standard test passes or not, and if the memory performance standard test passes, the fifth data and the memory performance data are stored in the memory performance data pool;
the updating module is used for updating the memory performance baseline data.
7. A computer-readable storage medium, in which a computer program is stored, which, when being executed by a processor, carries out the steps of a method for testing the performance of a memory according to any one of claims 1 to 5.
CN202110243748.4A 2021-03-05 2021-03-05 Memory performance testing method and system and computer readable storage medium Active CN113076237B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110243748.4A CN113076237B (en) 2021-03-05 2021-03-05 Memory performance testing method and system and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110243748.4A CN113076237B (en) 2021-03-05 2021-03-05 Memory performance testing method and system and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN113076237A CN113076237A (en) 2021-07-06
CN113076237B true CN113076237B (en) 2022-09-20

Family

ID=76610019

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110243748.4A Active CN113076237B (en) 2021-03-05 2021-03-05 Memory performance testing method and system and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN113076237B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109448778A (en) * 2018-11-06 2019-03-08 郑州云海信息技术有限公司 A kind of solid state hard disk performance test methods, system, device and readable storage medium storing program for executing

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9837170B2 (en) * 2014-06-24 2017-12-05 Globalfoundries Singapore Pte. Ltd. Systems and methods for testing performance of memory modules
CN109783294A (en) * 2019-01-23 2019-05-21 郑州云海信息技术有限公司 A kind of test method and system of server memory performance
CN111367737A (en) * 2020-02-29 2020-07-03 苏州浪潮智能科技有限公司 Method and device for optimizing memory performance test
CN111290370B (en) * 2020-03-03 2021-07-23 腾讯科技(深圳)有限公司 Automatic driving performance detection method and device
CN112306774A (en) * 2020-11-13 2021-02-02 苏州浪潮智能科技有限公司 Method and system for predicting performance of storage device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109448778A (en) * 2018-11-06 2019-03-08 郑州云海信息技术有限公司 A kind of solid state hard disk performance test methods, system, device and readable storage medium storing program for executing

Also Published As

Publication number Publication date
CN113076237A (en) 2021-07-06

Similar Documents

Publication Publication Date Title
US9563538B2 (en) Code path tracking
CN107391744B (en) Data storage method, data reading method, data storage device, data reading device and equipment
US9195730B2 (en) Verifying correctness of a database system via extended access paths
CN112181430B (en) Code change statistical method, device, electronic equipment and storage medium
CN111858600A (en) Data wide table construction method, device, equipment and storage medium
CN111723091A (en) Index processing method, system, equipment and storage medium based on Oracle database
CN113076237B (en) Memory performance testing method and system and computer readable storage medium
CN116467975B (en) Data processing method, device, electronic equipment and storage medium
CN112631920A (en) Test method, test device, electronic equipment and readable storage medium
CN112685275A (en) Algorithm strategy searching method and device, electronic equipment and storage medium
CN112732242A (en) Wide table processing script generation method and device
CN115437965B (en) Data processing method suitable for test management platform
CN111782264A (en) Code classification information extraction method and device, computer equipment and storage medium
CN115756395A (en) Multi-dimensional object data statistical method based on annotation configuration
CN112882956B (en) Method and device for automatically generating full-scene automatic test cases through data combination calculation, storage medium and electronic equipment
CN111586043B (en) Operation and maintenance management system for computer equipment
CN113220551A (en) Index trend prediction and early warning method and device, electronic equipment and storage medium
CN111382068A (en) Hierarchical testing method and device for mass data
CN111783835A (en) Data dimension reduction method, device and system
JP3498702B2 (en) Computer system and trace information control method used therefor
CN115904906A (en) Hard disk performance index data testing method, device, equipment and medium
CN113905400B (en) Network optimization processing method and device, electronic equipment and storage medium
CN111078714B (en) Data processing method and device
CN118051779A (en) Automatic parameter searching method and device for large model training and electronic equipment
CN113744789B (en) Method, system, equipment and medium for testing SSD stability in research and development stage

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