CN109522181A - A kind of performance test methods of distributed memory system, device and equipment - Google Patents
A kind of performance test methods of distributed memory system, device and equipment Download PDFInfo
- Publication number
- CN109522181A CN109522181A CN201811231254.9A CN201811231254A CN109522181A CN 109522181 A CN109522181 A CN 109522181A CN 201811231254 A CN201811231254 A CN 201811231254A CN 109522181 A CN109522181 A CN 109522181A
- Authority
- CN
- China
- Prior art keywords
- tested
- test
- node
- performance
- distributed memory
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3003—Monitoring arrangements specially adapted to the computing system or computing system component being monitored
- G06F11/3034—Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a storage system, e.g. DASD based or network based
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/34—Recording 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/3409—Recording 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/34—Recording 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/3466—Performance evaluation by tracing or monitoring
- G06F11/3476—Data logging
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)
- Computing Systems (AREA)
- Mathematical Physics (AREA)
- Techniques For Improving Reliability Of Storages (AREA)
- Debugging And Monitoring (AREA)
Abstract
The embodiment of the invention discloses a kind of performance test methods of distributed memory system, device and equipment, it include the relevant information and performance indicator to be tested of the node to be tested of distributed memory system by reading the test profile of distributed memory system, in the test profile;Then, node to be tested is connected to according to the relevant information of node to be tested;Then, it is based on testing performance index to be tested node to be tested, obtains the current performance index of node to be tested, and test report is generated according to current performance index.In this way, utilize the automatic test equipment for encapsulating each testing process, distributed memory system is targetedly tested by read test configuration file, without manual intervention or manual compiling test program, suitable for quick, the comprehensive and accurate test of a variety of performance indicators to be tested to all kinds of distributed memory systems, to guarantee that distributed memory system reliably and accurately can provide good service for user.
Description
Technical field
The present invention relates to the field of test technology, performance test methods, dress more particularly to a kind of distributed memory system
It sets and equipment.
Background technique
With the arrival of information age, a large amount of data are had all the time and are generated, the data for needing to store and process
Also risen with exponential trend, this just needs to rely on building low cost, high-performance, expansible, easy-to-use distributed memory system.For
Ensure that distributed memory system may be implemented data, status information persistence, and in Autonomic Migration Framework, automatic fault tolerant, concurrent
The consistency that data are kept during read-write, needs adequately to test the function and performance of the distributed memory system,
To ensure its reliabilty and availability, to provide more quality services for user.
Currently, the test for distributed memory system, can by the way of manual test, thus it is possible, on the one hand, due to
The code path of distributed memory system is complicated, and manual test is caused to be difficult to all generations for covering the distributed memory system
Code path;In addition, the failure project (such as: timing, deadlock, resource contention, multithreading) due to test is more, it is difficult to realize pair
Each failure is comprehensively tested;In another aspect, since the distributed memory system is suitable for many applications,
Manual test is difficult to the system performance under the various applications of simulation test;Moreover, increasing suddenly for data volume instantly, survey manually
It is slower to try speed, in current fast pace work and life, it is difficult to test by the short time and guarantee the distributed memory system
Safety.
And current non-manual test mode, also simply by Linux Shell automatic test script is write, operation should
Automatic test script is realized to one or the test of a kind of distributed memory system, still, due to the automatic test
Script cannot be general, tests other performance if necessary or tests another type of distributed system, is both needed to
Rewrite one for test automatic test script, alternatively, modify to existing automatic test script, because
This, it can be difficult to extending, needing frequent maintenance, is adjusted although the test method is not that manually, testing efficiency may be promoted
Examination and test process are complicated for operation, time-consuming and laborious.It would therefore be highly desirable to which can quickly, comprehensively and accurately be tested by providing one kind by various points
The test method of cloth storage system.
Summary of the invention
The technical problem to be solved by the invention is to provide a kind of performance test methods of distributed memory system, device
And equipment, so that no matter can also be right in face of how many performance indicators to be tested in face of more complicated distributed memory systems
The performance indicator to be tested of distributed memory system realizes quick, comprehensive and accurate test, ensures that distributed storage
System reliably and accurately can provide good service for user.
In a first aspect, providing a kind of performance test methods of distributed memory system, comprising:
The test profile of distributed memory system is read, includes the distributed storage in the test profile
The relevant information and performance indicator to be tested of the node to be tested of system;
The node to be tested is connected to according to the relevant information of the node to be tested;
Based on node to be tested described in the testing performance index to be tested, the current performance of the node to be tested is obtained
Index, and test report is generated according to the current performance index.
Optionally, this method further include:
Using the node to be tested and the corresponding performance indicator to be tested, testing process is configured, and calls test
Interface obtains test preparatory condition;
It is described to be based on node to be tested described in the testing performance index to be tested, it specifically includes:
Under the test precise conditions, the node to be tested is tested based on the performance indicator to be tested automatically.
It is optionally, described that test report is generated according to the current performance index, comprising:
Obtain the related performance indicators in the system log of the node to be tested;
According to the related performance indicators in the current performance index and the system log, test report is generated.
Optionally, after the generation test report according to the current performance index, further includes:
Performance indicator reference range corresponding with the performance indicator in the test report is compared;
If the performance indicator in the reference range, does not generate warning information, it is used to indicate the distribution and deposits
The performance indicator of storage system is abnormal.
Second aspect additionally provides a kind of performance testing device of distributed memory system, comprising:
Reading unit includes in the test profile for reading the test profile of distributed memory system
The relevant information and performance indicator to be tested of the node to be tested of the distributed memory system;
Connection unit, for being connected to the node to be tested according to the relevant information of the node to be tested;
Test cell, for obtaining described to be tested based on node to be tested described in the testing performance index to be tested
The current performance index of node, and test report is generated according to the current performance index.
Optionally, the device further include:
Configuration and call unit, for utilizing the node to be tested and the corresponding performance indicator to be tested, configuration
Testing process, and test interface is called, obtain test preparatory condition;
The test cell, is specifically used for:
It is described configuration and call unit execute complete after, based on the performance indicator to be tested test automatically described in
Test node.
Optionally, the test cell, comprising:
Obtain subelement, the related performance indicators in system log for obtaining the node to be tested;
Subelement is generated, for according to the related performance indicators in the current performance index and the system log, life
At test report.
Optionally, the device further include:
Comparing unit, for the test cell execute complete after, by the test report performance indicator with
The corresponding reference range of the performance indicator is compared;
Alarm Unit, if generating warning information not in the reference range for the performance indicator, being used to indicate
The performance indicator of the distributed memory system is abnormal.
The third aspect additionally provides a kind of performance test apparatus of distributed memory system, comprising: configuration file loads mould
Block, automatic test module;
The configuration file loading module, for the testing requirement according to distributed memory system, generating the test is needed
Corresponding configuration file is sought, and the configuration file is sent to the automatic test module;
The automatic test module, for executing the performance test methods of distributed memory system described in first aspect,
Current performance index is obtained, the first test report is exported.
Optionally, equipment further include: log analysis module;
The log analysis module, the current performance index and system for being obtained according to the automatic test module
Related performance indicators in log export the second test report.
In embodiments of the present invention, the test profile of reading distributed memory system can be passed through, wherein the test
The relevant information and performance indicator to be tested of node to be tested in configuration file including distributed memory system;Then, according to
The relevant information of the node to be tested is connected to the node to be tested;Then, it is based on the testing performance index to be tested
The node to be tested obtains the current performance index of the node to be tested, and is generated and surveyed according to the current performance index
Examination report.In this way, can use the automatic test equipment for encapsulating each testing process, by read test configuration file to distribution
Formula storage system is targetedly tested, and is not necessarily to manual intervention or manual compiling test program, be can be adapted for all kinds of
Quick, the comprehensive and accurate test of a variety of performance indicators to be tested of distributed memory system, thereby may be ensured that distribution
Storage system reliably and accurately can provide good service for user.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment
Attached drawing is briefly described, it should be apparent that, the accompanying drawings in the following description is only some implementations recorded in the present invention
Example, for those of ordinary skill in the art, is also possible to obtain other drawings based on these drawings.
Fig. 1 is network system block schematic illustration involved in an application scenarios in the embodiment of the present invention;
Fig. 2 is a kind of flow diagram of the performance test methods of distributed memory system provided in an embodiment of the present invention;
Fig. 3 is the process signal of the performance test methods of another distributed memory system provided in an embodiment of the present invention
Figure;
Fig. 4 is a kind of structural schematic diagram of the performance testing device of distributed memory system provided in an embodiment of the present invention;
Fig. 5 is a kind of structural schematic diagram of the performance test apparatus of distributed memory system provided in an embodiment of the present invention.
Specific embodiment
Inventor has found that hand nowadays can be used if the performance to distributed memory system is tested
Dynamic test and specific aim write automatic test script both methods, and still, not only testing efficiency is low for manual test, it is difficult to
Meet the needs of corresponding to test speed under current fast pace, and more complicated distributed memory system and is to distribution
The performance indicator of system more side door, is difficult to obtain by manual test, limits to the comprehensive of distributed memory system test
Property;And write automatic test script, then cannot test various distributed memory systems, can only specific aim test some distribution
Storage system, that is, the test method is not general, and write early period, later period debugging and attended operation it is complicated, higher cost.
But currently, for every field, especially cloud computation data center has a large amount of data all the time
It generates, therefore, it is necessary to the progress to the distributed memory system for storing these data fast and accurately to test, it is ensured that distributed
Storage system can be identified fault-free and quickly put into use.In this way, above two to distributed memory system
Test method, it is difficult to meet the needs of tester, it is desirable to provide one kind can be quickly to the property of the distributed memory system
It can be carried out the method sufficiently tested, to ensure its reliabilty and availability, to meet the needs of user is to more good service.
Based on this, in embodiments of the present invention, using automatic test equipment that is reusable, encapsulating each testing process,
Distributed memory system is targetedly tested by read test configuration file, is not necessarily to manual intervention or manual compiling
Test program can be adapted for the quick, comprehensive and accurate of a variety of performance indicators to be tested of all kinds of distributed memory systems
Test, thereby may be ensured that distributed memory system reliably and accurately can provide good service for user.
For example, one of the scene of the embodiment of the present invention, can be applied to scene as shown in Figure 1.In the scene
It include: the performance test apparatus 200 of client 100 and distributed memory system, wherein the performance of the distributed memory system is surveyed
Trying equipment 200 includes: configuration file loading module 210 and automatic test module 220.It is understood that configuration file loads
The configuration information that module 210 can be generated according to the configuration operation of tester on a client 100, automatically generates test configurations
File, wherein tester can be configured accordingly according to the testing requirement of distributed memory system on a client 100
Operation;Matched alternatively, configuration file loading module 210 can also receive directly from client 100 according to what configuration information generated
Set file.Obtained configuration file is sent to the automatic test module 220 by configuration file loading module 210.
It is understood that automatic test module 220 can specifically encapsulate there are many testing process submodule, each survey
Examination process submodule can be write using C Plus Plus completion, realize to the test of one or one side performance indicator.Specifically
This test stream can be realized by calling the interface of each testing process submodule to realize to the testing process submodule is run
The test of the corresponding performance indicator of journey submodule;And calling interface completion pair can also be passed through between each testing process submodule
The test of distributed memory system performance indicator.
As an example, it is assumed that tester wants to test its performance indicator A respectively to node 1, node 2 and node 3
With performance indicator B, it is possible to input corresponding configuration information on a client 100,210 basis of configuration file loading module
The configuration information generates test profile, carries (node 1- (performance indicator A, performance indicator B) in the test profile;
Node 2- (performance indicator A, performance indicator B);Node 3- (performance indicator A, performance indicator B)).So, when there is new test to match
After setting file generated, automatic test module 220 can then read the test profile, according to the correlation of the node to be tested
Information, such as IP address, the port numbers of node to be tested etc. are connected to the node to be tested;Then, the automatic test module
220 can obtain the current performance of the node to be tested based on node to be tested described in the testing performance index to be tested
Index, such as: the performance indicator A test result a1 and performance indicator B test result b1 of node 1, and according to the current performance
Index generates test report, includes: (node 1- (a1, b1) in the test report;Node 2- (a2, b2);Node 3- (a3,
b3))。
It is understood that when distributed memory system is when carrying out other processing, it is also possible to generate some other phases
Performance indicator is closed, then, these related performance indicators are recorded in system log, need to use these correlations in case subsequent
It can index.Therefore, the performance test apparatus 200 of the distributed memory system can also include log analysis module 230;The log
Analysis module 230, the current performance index for being obtained according to the automatic test module are related in system log
Performance indicator exports another test report.In this way, in conjunction with the related performance indicators in system log and testing resulting current
Performance indicator, the test report of generation can more comprehensively reflect the performance of the distributed memory system, suitable for wanting to height
It asks and is used under test occasion.
It is understood that above-mentioned scene is only a Sample Scenario provided in an embodiment of the present invention, the embodiment of the present invention
It is not limited to this scene.
With reference to the accompanying drawing, by embodiment come a kind of property of distributed memory system in the present invention will be described in detail embodiment
It can test method, the specific implementation of device and equipment.
Fig. 2 is a kind of flow diagram of the performance test methods of distributed memory system provided in an embodiment of the present invention.
Referring to fig. 2, this method can specifically include:
Step 201, the test profile of distributed memory system is read, includes described point in the test profile
The relevant information and performance indicator to be tested of the node to be tested of cloth storage system.
It is understood that test profile, tester can be embodied to the testing requirement of distributed memory system,
Including needing node to be tested and each node to need performance indicator to be tested to be tested.Wherein, which can
To be conf file, init file or xml document, can need to select suitable file type according to exploitation environment and design
As test profile, such as: in order to keep the test profile general, it can choose and generate xml document conduct
Test profile.
As an example, the performance test apparatus which can be the distributed memory system generates
, it specifically may is that tester carries out corresponding configuration operation according to testing requirement on the client, and by matching after determination
It sets and operates the performance test apparatus that corresponding configuration information is sent to distributed memory system, the performance of the distributed memory system
Test equipment can generate corresponding test profile according to the configuration information received.
As another example, which is also possible in other terminals, such as tester's operation
Client on, generate and send to the performance test apparatus of distributed memory system, the performance of the distributed memory system
What test received is exactly test profile itself.
When specific implementation, the performance test apparatus of distributed memory system can read the test profile, therefrom obtain
The relevant information and performance to be tested for obtaining the node to be tested of distributed memory system included in the test profile refer to
Mark.Wherein, the relevant information of node to be tested specifically can be IP address, port numbers of node to be tested etc., which can
To be physical IP address and/or virtual ip address;Performance indicator to be tested may include that at least one can characterize joint behavior
The index of quality, such as: the data of 4 bytes of 1GB, primary read-write needed for time, block stores the read-write per second time of equipment
Number etc., if performance indicator to be tested includes multiple, can be embodied in test profile in the form of a list.
Step 202, the node to be tested is connected to according to the relevant information of the node to be tested.
It is understood that can be parsed from the configuration file to be tested by the reading for treating test profile
The relevant information of node to be tested out, is dependent on this, is needed before test by the performance test apparatus of distributed memory system
It is connected to node to be tested.
As an example, if from the relevant information of node to be tested, all nodes to be tested can be informed in
It is middle to there is specified destination node and other nodes to be tested, then, step 202 can specifically include: firstly, according to each to be measured
The relevant information for trying node, finds specified destination node;Then, believed according to the address in the relevant information of the destination node
It ceases (such as IP address), the performance test apparatus of distributed memory system is based on the address information and is connected to the destination node
On;Then it, then by the destination node is consecutively connected on other nodes to be tested, completes the company to all nodes to be tested
It connects.
As another example, if from the relevant information of node to be tested, it can know all nodes to be tested
It is a rank, there is no specified destination nodes, then, step 202 can specifically include: firstly, from each section to be tested
In the relevant information of point, each address of node information (such as IP address) to be tested is searched respectively;Then, based on correspondingly
The performance test apparatus of distributed memory system is connected respectively on each node to be tested by location information, is completed to all to be measured
Try the connection of node.
It is understood that according to the relevant information of the node to be tested by distributed memory system in step 202
Performance test apparatus is connected to the node to be tested, provides test basis for automatic test.
It should be noted that after step 202 completes the connection with each node to be tested, in the survey for executing step 203
Before examination operation, in order to which the performance test apparatus of the distributed memory system can accurately realize the secondary test, not by this point
The influence of configuration item before in the performance test apparatus of cloth storage system can also survey the performance of distributed memory system
Examination equipment initializes, and specifically may is that using the node to be tested and the corresponding performance indicator to be tested,
Testing process is configured, and calls test interface, obtains test preparatory condition.That is, according to needing to use in test profile
Testing process be configured in the performance test apparatus of distributed memory system, other testing process are shielded;It will
Interface for testing node to be tested and performance indicator to be tested is opened, and calls these interfaces, in this test not
The interface setting used closes or is set as that state can not be called;Test precise conditions are to configure testing process and call survey
Try the distributed memory system after mouth performance test apparatus current state.So, it can be ensured that this test can be with
It is promoted according to the testing requirement of tester.
Step 203, based on node to be tested described in the testing performance index to be tested, the node to be tested is obtained
Current performance index, and test report is generated according to the current performance index.
It is understood that test report, the file that can be generated according to the pre-set format of tester, such as:
Txt file or doc file.Consider from the content of the test report, in a kind of situation, which be can be to current
The file that the conclusion and arrangement of performance indicator obtain, in another case, the test report is also possible to by current performance
The analysis and summary of index obtain more intuitive file.
As an example, if the performance for having carried out the distributed memory system between step 202 and step 203 is surveyed
The initialization operation of equipment is tried, then, step 203 specifically may is that under the test precise conditions, based on described to be tested
Performance indicator tests the node to be tested automatically.
Such as: assuming that in test profile include node 1 to be tested and node 2, node 1 test its performance indicator A and
Performance indicator B, node 2 test its performance indicator B and performance indicator C, then, the performance test apparatus of the distributed memory system
Test result a can be obtained to calling the corresponding testing process X of performance indicator A to test the node 1 of connection;Similarly, should
The performance test apparatus of distributed memory system can to call the corresponding testing process Y of performance indicator B respectively to the section of connection
Point 1 and node 2 are tested, and test result b1 and b2 are respectively obtained;The performance test apparatus of the distributed memory system can be with
To calling the corresponding testing process Z of performance indicator C to test the node 2 of connection, test result c is obtained;In this way, node 1
Obtained current performance index is a and b1, and the current performance index that node 2 obtains is b2 and c;So, according to above-mentioned currency
The energy available test report of index may is that node 1 (A:a, B:b1) node 2 (B:b2, C:c).
In addition, in other implementations, when generating test report, if it is desired to know more performance indicators or
More performance indicators are loaded into test report, then, the current test that the embodiment of the present invention can also be obtained according to test
As a result other related performance indicators of the distributed memory system recorded in system log are combined, test report is completed.
When specific implementation, generating the mode that test includes be can specifically include:
S1 obtains the current of the node to be tested based on node to be tested described in the testing performance index to be tested
Performance indicator;
S2 obtains the related performance indicators in the system log of the node to be tested;
S3 generates test report according to the related performance indicators in the current performance index and the system log.
Wherein, the related performance indicators in system log, generation when can specifically refer to distributed memory system operation
Index data, the performance of the distributed memory system can be characterized to a certain extent.It should be noted that test gained
Current performance index can also be recorded in system log, information recorded in system log is that comparison is comprehensively and reliable
's.
It may include log analysis module in the performance test apparatus of the distributed memory system when specific implementation, as
One example, the log analysis module are used for after obtaining current performance index, and whether there is in analysis system log can be auxiliary
Other related performance indicators for illustrating the current distributed memory system performance are helped, if it does, it can be also included in life
It carries out default processing (such as averaging) in test report, or by itself and current performance index and obtains new performance indicator,
To support the test report with data as much as possible.
As another example, which can be used for after obtaining current performance index, in response to surveying
The acquisition of examination personnel operates, the specified related performance indicators obtained from system log, and it is also included in generation test
In reports, or itself and current performance index are subjected to default processing (such as averaging) and obtain new performance indicator, so as to
Data as much as possible support the test report.
In addition, after generating test report, in order to allow tester that can intuitively, quickly know the distributed storage
The performance of system, without being judged by way of tabling look-up or inquiring handbook, the embodiment of the present invention can also be in step 203
Described according to the current performance index generate test report after, as shown in figure 3, execute following steps:
Step 304, the performance indicator reference range corresponding with the performance indicator in the test report is compared
Compared with;
Step 305, it if the performance indicator generates warning information not in the reference range, is used to indicate described
The performance indicator of distributed memory system is abnormal.
For example, in test report about the current performance index of performance indicator A be a (a > 0), still, reference range 0
~b (b > 0), then, the performance test apparatus of the distributed memory system can by comparing a whether between 0 and b, if
0 < a < b, then illustrate that the test result of the performance indicator is normal;If b < a, it is abnormal to illustrate that the performance indicator occurs, then
Warning information can be directly generated, for intuitively prompting the exception of tester's distributed memory system and the property of exception
It can index.For example, can be in the initial position of test report, with eye-catching text (such as special font, special color
Deng) prompt tester's performance indicator A is abnormal, in this way, tester is in case of emergency not necessarily to detailed test report of leafing through,
It will also be appreciated that the current state of the distributed memory system, has saved the time of tester, has optimized test report.
As it can be seen that in embodiments of the present invention, the test profile of reading distributed memory system can be passed through, wherein
The relevant information and performance indicator to be tested of node to be tested in the test profile including distributed memory system;So
Afterwards, the node to be tested is connected to according to the relevant information of the node to be tested;Then, referred to based on the performance to be tested
Mapping tries the node to be tested, obtains the current performance index of the node to be tested, and according to the current performance index
Generate test report.In this way, can use the automatic test equipment for encapsulating each testing process, pass through read test configuration file
Distributed memory system is targetedly tested, manual intervention or manual compiling test program is not necessarily to, can be adapted for
Quick, comprehensive and accurate test to a variety of performance indicators to be tested of all kinds of distributed memory systems, thereby may be ensured that
Distributed memory system reliably and accurately can provide good service for user.
Correspondingly, the embodiment of the invention also provides a kind of performance testing device of distributed memory system, such as Fig. 4 institute
Show, which can specifically include:
Reading unit 401 is wrapped in the test profile for reading the test profile of distributed memory system
Include the relevant information and performance indicator to be tested of the node to be tested of the distributed memory system;
Connection unit 402, for being connected to the node to be tested according to the relevant information of the node to be tested;
Test cell 403, for obtaining described to be measured based on node to be tested described in the testing performance index to be tested
The current performance index of node is tried, and test report is generated according to the current performance index.
Optionally, the device further include:
Configuration and call unit, for utilizing the node to be tested and the corresponding performance indicator to be tested, configuration
Testing process, and test interface is called, obtain test preparatory condition;
The test cell 403, is specifically used for:
It is described configuration and call unit execute complete after, based on the performance indicator to be tested test automatically described in
Test node.
Optionally, the test cell 403, comprising:
Obtain subelement, the related performance indicators in system log for obtaining the node to be tested;
Subelement is generated, for according to the related performance indicators in the current performance index and the system log, life
At test report.
Optionally, the device further include:
Comparing unit is used for after the test cell 403 executes completion, by the performance indicator in the test report
Reference range corresponding with the performance indicator is compared;
Alarm Unit, if generating warning information not in the reference range for the performance indicator, being used to indicate
The performance indicator of the distributed memory system is abnormal.
Foregoing description is a kind of associated description of the performance testing device of distributed memory system, wherein specific real
Existing mode and the effect reached, may refer to a kind of performance test methods embodiment of distributed memory system shown in Fig. 2
Description, which is not described herein again.
In addition, the embodiment of the invention also provides a kind of performance test apparatus of distributed memory system, as shown in figure 5,
The equipment can specifically include: configuration file loading module 501, automatic test module 502;
The configuration file loading module 501 generates the test for the testing requirement according to distributed memory system
The corresponding configuration file of demand, and the configuration file is sent to the automatic test module 502;
The automatic test module 502 obtains current for executing the performance test methods of above-mentioned distributed memory system
Performance indicator exports the first test report.
Optionally, equipment further include: log analysis module 503;
The log analysis module 503, the current performance index for being obtained according to the automatic test module 502
With the related performance indicators in system log, the second test report is exported.
Foregoing description is a kind of associated description of the performance test apparatus of distributed memory system, wherein specific implementation side
Formula and the effect reached may refer to a kind of retouching for the performance test methods embodiment of distributed memory system shown in Fig. 2
It states, which is not described herein again.
As seen through the above description of the embodiments, those skilled in the art can be understood that above-mentioned implementation
All or part of the steps in example method can add the mode of general hardware platform to realize by software.Based on this understanding,
Technical solution of the present invention can be embodied in the form of software products, which can store is situated between in storage
In matter, such as read-only memory (English: read-only memory, ROM)/RAM, magnetic disk, CD etc., including some instructions to
So that a computer equipment (can be the network communication equipments such as personal computer, server, or router) executes
Method described in certain parts of each embodiment of the present invention or embodiment.
All the embodiments in this specification are described in a progressive manner, same and similar portion between each embodiment
Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for device and
For apparatus embodiments, since it is substantially similar to the method embodiment, so describing fairly simple, related place is referring to method
The part of embodiment illustrates.Equipment and Installation practice described above is only schematical, wherein as separation
The module of part description may or may not be physically separated, the component shown as module can be or
It can not be physical module, it can it is in one place, or may be distributed over multiple network units.It can be according to reality
Border needs to select some or all of the modules therein to achieve the purpose of the solution of this embodiment.Those of ordinary skill in the art
It can understand and implement without creative efforts.
The above is only a preferred embodiment of the present invention, it is not intended to limit the scope of the present invention.It should refer to
Out, for those skilled in the art, under the premise of not departing from the present invention, can also make several improvements
And retouching, these modifications and embellishments should also be considered as the scope of protection of the present invention.
Claims (10)
1. a kind of performance test methods of distributed memory system characterized by comprising
The test profile of distributed memory system is read, includes the distributed memory system in the test profile
Node to be tested relevant information and performance indicator to be tested;
The node to be tested is connected to according to the relevant information of the node to be tested;
Based on node to be tested described in the testing performance index to be tested, the current performance for obtaining the node to be tested refers to
Mark, and test report is generated according to the current performance index.
2. the method according to claim 1, wherein further include:
Using the node to be tested and the corresponding performance indicator to be tested, testing process is configured, and calls test interface,
Obtain test preparatory condition;
It is described to be based on node to be tested described in the testing performance index to be tested, it specifically includes:
Under the test precise conditions, the node to be tested is tested based on the performance indicator to be tested automatically.
3. the method according to claim 1, wherein described generate test report according to the current performance index
It accuses, comprising:
Obtain the related performance indicators in the system log of the node to be tested;
According to the related performance indicators in the current performance index and the system log, test report is generated.
4. method according to claim 1 or 3, which is characterized in that surveyed in described generated according to the current performance index
After examination report, further includes:
Performance indicator reference range corresponding with the performance indicator in the test report is compared;
If the performance indicator in the reference range, does not generate warning information, it is used to indicate the distributed storage system
The performance indicator of system is abnormal.
5. a kind of performance testing device of distributed memory system characterized by comprising
Reading unit includes described in the test profile for reading the test profile of distributed memory system
The relevant information and performance indicator to be tested of the node to be tested of distributed memory system;
Connection unit, for being connected to the node to be tested according to the relevant information of the node to be tested;
Test cell, for obtaining the node to be tested based on node to be tested described in the testing performance index to be tested
Current performance index, and according to the current performance index generate test report.
6. device according to claim 5, which is characterized in that further include:
Configuration and call unit, for utilizing the node to be tested and the corresponding performance indicator to be tested, configuration test
Process, and test interface is called, obtain test preparatory condition;
The test cell, is specifically used for:
After the configuration and call unit execute completion, tested automatically based on the performance indicator to be tested described to be tested
Node.
7. device according to claim 5, which is characterized in that the test cell, comprising:
Obtain subelement, the related performance indicators in system log for obtaining the node to be tested;
Subelement is generated, for generating and surveying according to the related performance indicators in the current performance index and the system log
Examination report.
8. the device according to claim 5 or 7, which is characterized in that further include:
Comparing unit, for the test cell execute complete after, by the test report performance indicator with it is described
The corresponding reference range of performance indicator is compared;
Alarm Unit is used to indicate described if generating warning information not in the reference range for the performance indicator
The performance indicator of distributed memory system is abnormal.
9. a kind of performance test apparatus of distributed memory system characterized by comprising configuration file loading module, automatic
Test module;
The configuration file loading module generates the testing requirement pair for the testing requirement according to distributed memory system
The configuration file answered, and the configuration file is sent to the automatic test module;
The automatic test module, for perform claim require 1~4 described in distributed memory system performance test methods,
Current performance index is obtained, the first test report is exported.
10. equipment according to claim 9, which is characterized in that further include: log analysis module;
The log analysis module, the current performance index and system log for being obtained according to the automatic test module
In related performance indicators, export the second test report.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811231254.9A CN109522181B (en) | 2018-10-22 | 2018-10-22 | Performance test method, device and equipment of distributed storage system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811231254.9A CN109522181B (en) | 2018-10-22 | 2018-10-22 | Performance test method, device and equipment of distributed storage system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109522181A true CN109522181A (en) | 2019-03-26 |
CN109522181B CN109522181B (en) | 2021-11-09 |
Family
ID=65772929
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811231254.9A Active CN109522181B (en) | 2018-10-22 | 2018-10-22 | Performance test method, device and equipment of distributed storage system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109522181B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111209188A (en) * | 2019-12-26 | 2020-05-29 | 曙光信息产业股份有限公司 | Testing method and device for distributed storage system |
CN111309604A (en) * | 2020-02-07 | 2020-06-19 | Tcl移动通信科技(宁波)有限公司 | Offline automatic testing method and system, storage medium and mobile terminal |
CN112115029A (en) * | 2020-09-28 | 2020-12-22 | 中国银行股份有限公司 | Performance test method and device, computer equipment and computer readable storage medium |
CN112395176A (en) * | 2020-11-16 | 2021-02-23 | 公安部第三研究所 | Method, device, system, equipment, processor and storage medium for testing distributed cloud storage performance |
CN117130901A (en) * | 2023-02-24 | 2023-11-28 | 荣耀终端有限公司 | Dimension measuring method and electronic equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103326902A (en) * | 2013-06-28 | 2013-09-25 | 广东电网公司电力科学研究院 | Configurable monitoring system and monitoring method for distributed type mainframe performance testing data |
CN106569943A (en) * | 2015-10-09 | 2017-04-19 | 北京北方微电子基地设备工艺研究中心有限责任公司 | Hardware testing method and hardware testing system for equipment |
WO2017092544A1 (en) * | 2016-07-15 | 2017-06-08 | 上海华岭集成电路技术股份有限公司 | Configuration and testing method and system for fpga chip using bumping process |
CN107302475A (en) * | 2017-07-06 | 2017-10-27 | 郑州云海信息技术有限公司 | The method of testing and device of a kind of Based on Distributed storage cluster |
CN107368426A (en) * | 2017-08-28 | 2017-11-21 | 郑州云海信息技术有限公司 | A kind of method of testing and test device |
-
2018
- 2018-10-22 CN CN201811231254.9A patent/CN109522181B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103326902A (en) * | 2013-06-28 | 2013-09-25 | 广东电网公司电力科学研究院 | Configurable monitoring system and monitoring method for distributed type mainframe performance testing data |
CN106569943A (en) * | 2015-10-09 | 2017-04-19 | 北京北方微电子基地设备工艺研究中心有限责任公司 | Hardware testing method and hardware testing system for equipment |
WO2017092544A1 (en) * | 2016-07-15 | 2017-06-08 | 上海华岭集成电路技术股份有限公司 | Configuration and testing method and system for fpga chip using bumping process |
CN107302475A (en) * | 2017-07-06 | 2017-10-27 | 郑州云海信息技术有限公司 | The method of testing and device of a kind of Based on Distributed storage cluster |
CN107368426A (en) * | 2017-08-28 | 2017-11-21 | 郑州云海信息技术有限公司 | A kind of method of testing and test device |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111209188A (en) * | 2019-12-26 | 2020-05-29 | 曙光信息产业股份有限公司 | Testing method and device for distributed storage system |
CN111309604A (en) * | 2020-02-07 | 2020-06-19 | Tcl移动通信科技(宁波)有限公司 | Offline automatic testing method and system, storage medium and mobile terminal |
CN111309604B (en) * | 2020-02-07 | 2023-10-03 | Tcl移动通信科技(宁波)有限公司 | Offline automatic test method, system, storage medium and mobile terminal |
CN112115029A (en) * | 2020-09-28 | 2020-12-22 | 中国银行股份有限公司 | Performance test method and device, computer equipment and computer readable storage medium |
CN112115029B (en) * | 2020-09-28 | 2024-10-11 | 中国银行股份有限公司 | Performance test method and device, computer equipment and computer readable storage medium |
CN112395176A (en) * | 2020-11-16 | 2021-02-23 | 公安部第三研究所 | Method, device, system, equipment, processor and storage medium for testing distributed cloud storage performance |
CN117130901A (en) * | 2023-02-24 | 2023-11-28 | 荣耀终端有限公司 | Dimension measuring method and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN109522181B (en) | 2021-11-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109522181A (en) | A kind of performance test methods of distributed memory system, device and equipment | |
CN109302522B (en) | Test method, test device, computer system, and computer medium | |
KR101410099B1 (en) | Function Test Apparatus based on Unit Test Cases Reusing and Function Test Method thereof | |
CN107807877B (en) | Code performance testing method and device | |
CN110046101B (en) | Page automatic testing method and device and computer storage medium | |
CN110750458A (en) | Big data platform testing method and device, readable storage medium and electronic equipment | |
CN105787364B (en) | Automatic testing method, device and system for tasks | |
AU2013305593A1 (en) | Compliance testing engine for integrated computing system | |
CN109977012B (en) | Joint debugging test method, device, equipment and computer readable storage medium of system | |
CN114064208A (en) | Method and device for detecting application service state, electronic equipment and storage medium | |
CN111258913A (en) | Automatic algorithm testing method and device, computer system and readable storage medium | |
CN117370203B (en) | Automatic test method, system, electronic equipment and storage medium | |
KR101976629B1 (en) | Commit sensitive tests | |
CN108073499A (en) | The test method and device of application program | |
KR20110025171A (en) | Method system and computer program for identifying software problems | |
US11093371B1 (en) | Hidden input detection and re-creation of system environment | |
KR101794016B1 (en) | Method of analyzing application objects based on distributed computing, method of providing item executable by computer, server performing the same and storage media storing the same | |
CN112148599A (en) | Performance pressure measurement method, device and equipment | |
CN110971478B (en) | Pressure measurement method and device for cloud platform service performance and computing equipment | |
CN114285756A (en) | Service call dependency relationship analysis method and related device | |
CN117707946A (en) | Test script generation method and device for browser | |
CN116225911A (en) | Function test method and device for observability platform | |
CN108845932B (en) | Unit testing method and device of network library, storage medium and terminal | |
CN114090357A (en) | Hard disk performance test method and device, electronic equipment and storage medium | |
CN113127369A (en) | Processing method and device for execution script |
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 |