CN110798378B - Storage testing method and system - Google Patents

Storage testing method and system Download PDF

Info

Publication number
CN110798378B
CN110798378B CN201911006287.8A CN201911006287A CN110798378B CN 110798378 B CN110798378 B CN 110798378B CN 201911006287 A CN201911006287 A CN 201911006287A CN 110798378 B CN110798378 B CN 110798378B
Authority
CN
China
Prior art keywords
server
network congestion
data packet
preset
storage
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
CN201911006287.8A
Other languages
Chinese (zh)
Other versions
CN110798378A (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 CN201911006287.8A priority Critical patent/CN110798378B/en
Publication of CN110798378A publication Critical patent/CN110798378A/en
Application granted granted Critical
Publication of CN110798378B publication Critical patent/CN110798378B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0817Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking functioning
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/14Network analysis or design
    • H04L41/145Network analysis or design involving simulating, designing, planning or modelling of a network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/32Flow control; Congestion control by discarding or delaying data units, e.g. packets or frames

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The application discloses a storage testing method, which comprises the steps that a network congestion simulation server receives a data packet sent by a client server; the network congestion simulation server transmits the data packet to a storage server in a delayed manner by using a preset network congestion simulation tool according to a preset network congestion simulation strategy, and/or transmits the data packet to the storage server after exception processing is carried out on the data packet; and the storage server receives the data packet and tests the performance of the storage server by using a preset test tool. The storage testing method can be used for conveniently, effectively and low-cost storage testing under the network environment of a public network, so that the storage performance of the storage server is optimized, and the storage applicability is improved. The application also discloses a storage test system and a computer readable storage medium, which have the technical effects.

Description

Storage testing method and system
Technical Field
The application relates to the technical field of computers, in particular to a storage testing method; a storage test system and a computer readable storage medium are also related.
Background
In the cloud computing and big data era, mass data are continuously generated, and the requirements on the performance and stability of a storage system are continuously improved. At present, a dedicated network link is established between data centers to provide a stable and high-speed data transmission channel, a public network is generally used between a client and the data centers for communication, and the network environment of the public network is complex, and bandwidth, time delay and the like are easily affected by network congestion, so that corresponding requirements on the performance and stability of a storage server in a weak network environment are met, and the testing of the storage server becomes more important. For the test of the storage server, the existing test mode is implemented by a manufacturer, but the research, development and debugging of the manufacturer often use a laboratory local area network, only the theoretical optimal value can be tested, and the actual performance and stability of the storage server in the network environment of a public network cannot be evaluated. Or the performance and stability of the storage server are tested by using a special testing instrument, however, the special testing instrument is expensive, complex to operate and incapable of being popularized in a large amount, and the testing effect of the storage server is seriously affected.
In view of this, how to perform a storage test conveniently, efficiently and at low cost in a network environment of a public network has become a technical problem to be solved by those skilled in the art.
Disclosure of Invention
The storage testing method can be used for conveniently, effectively and low-cost storage testing under the network environment of a public network, so that the storage performance of a storage server is optimized, and the storage applicability is improved; it is another object of the present application to provide a storage test system and a computer readable storage medium, both having the above technical effects.
In order to solve the above technical problem, the present application provides a storage test method, including:
a network congestion simulation server receives a data packet sent by a client server;
the network congestion simulation server transmits the data packet to a storage server in a delayed manner by using a preset network congestion simulation tool according to a preset network congestion simulation strategy, and/or transmits the data packet to the storage server after exception processing is carried out on the data packet;
and the storage server receives the data packet and tests the performance of the storage server by using a preset test tool.
Optionally, the network congestion simulation server sends the data packet to the storage server in a delayed manner, including:
the network congestion simulation server delays the data packets for a preset time and then sends the data packets to the storage server, or the network congestion simulation server delays the data packets for the first preset time and then sends the data packets to the storage server within a first preset delay time range, or the network congestion simulation server delays the data packets for the first preset time and then sends the data packets for the first preset proportion to the storage server, and sends the data packets for the second preset proportion to the storage server within a second preset delay time range.
Optionally, the performing, by the network congestion simulation server, exception handling on the data packet includes:
the network congestion simulation server discards the data packets in a third preset proportion at random, or the network congestion simulation server generates repeated data packets in a fourth preset proportion at random, or the network congestion simulation server damages the data packets in a fifth preset proportion, or the network congestion simulation server immediately sends the data packets in a sixth preset proportion and sends the remaining data packets after a preset time length.
Optionally, the preset network congestion simulation tool is a Traffic Control tool.
Optionally, the preset testing tool is a vddnch testing tool.
In order to solve the above technical problem, the present application further provides a storage test system, including:
the client server is used for sending the data packet;
the network congestion simulation server is used for receiving the data packet sent by the client server, delaying and sending the data packet to a storage server by using a preset network congestion simulation tool according to a preset network congestion simulation strategy, and/or sending the data packet to the storage server after exception processing is carried out on the data packet; and enabling the storage server to receive the data packet and test the performance of the storage server by using a preset test tool.
Optionally, the network congestion simulation server is specifically configured to delay the data packet by a preset time and send the data packet to the storage server, or the network congestion simulation server sends the data packet to the storage server within a first preset delay time range, or the network congestion simulation server sends the data packet of a first preset proportion to the storage server after delaying the data packet by the first preset time, and sends the data packet of a second preset proportion to the storage server within a second preset delay time range.
Optionally, the network congestion simulation server is specifically configured to discard the data packets at a third preset ratio randomly, or the network congestion simulation server generates repeated data packets at a fourth preset ratio randomly, or the network congestion simulation server damages the data packets at a fifth preset ratio, or the network congestion simulation server immediately sends the data packets at a sixth preset ratio and sends the remaining data packets after a preset duration.
Optionally, a Traffic Control tool is specifically installed in the network congestion simulation server.
To solve the above technical problem, the present application further provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the computer program implements the steps of the storage test method as described above.
The storage testing method comprises the steps that a network congestion simulation server receives a data packet sent by a client server; the network congestion simulation server transmits the data packet to a storage server in a delayed manner by using a preset network congestion simulation tool according to a preset network congestion simulation strategy, and/or transmits the data packet to the storage server after exception processing is carried out on the data packet; and the storage server receives the data packet and tests the performance of the storage server by using a preset test tool.
Therefore, according to the storage testing method provided by the application, the network congestion simulation server is arranged between the client server and the storage server, and the network congestion simulation tool is installed on the network congestion simulation server, so that network congestion is simulated by the network congestion simulation server through the network congestion simulation tool under the network environment of a public network, and the storage server is enabled to test the performance of the storage server through the related testing tool under the condition of network congestion. According to the storage testing method, a special testing tool is not needed, the client server and the storage server are connected with the network congestion simulation server through the network cable, the network congestion simulation strategy of the network congestion simulation server is configured according to actual testing requirements, the network congestion simulation server can be used and matched with the testing tool to complete testing of the storage server in a public network environment, convenient, effective and low-cost storage testing is achieved, optimization of storage performance of the storage server is facilitated, and storage applicability is improved.
The storage test system and the computer readable storage medium provided by the application have the technical effects.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed in the prior art and the embodiments are briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
Fig. 1 is a schematic flowchart of a storage testing method according to an embodiment of the present application;
fig. 2 is a schematic diagram of a storage test system according to an embodiment of the present application.
Detailed Description
The core of the application is to provide a storage test method, which can conveniently, effectively and low-cost carry out storage test under the network environment of a public network so as to optimize the storage performance of a storage server and improve the storage applicability; at the other core of the present application, a storage test system and a computer-readable storage medium are provided, which have the above technical effects.
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but 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 application.
Referring to fig. 1, fig. 1 is a schematic flow chart illustrating a memory test method according to an embodiment of the present disclosure; referring to fig. 1, the storage test method includes:
s101: a network congestion simulation server receives a data packet sent by a client server;
s102: the network congestion simulation server transmits the data packet to the storage server in a delayed manner by using a preset network congestion simulation tool according to a preset network congestion simulation strategy, and/or transmits the data packet to the storage server after exception processing is carried out on the data packet;
s103: and the storage server receives the data packet and tests the performance of the storage server by using a preset test tool.
Specifically, the network congestion simulation server is arranged between a client and a storage server, the network congestion simulation server is respectively connected with the client and the storage server through network cables, and a network congestion simulation tool, namely the preset network congestion simulation tool, is arranged on the network congestion simulation server, so that the preset network congestion tool is used for simulating network congestion in a public network according to a preset network congestion simulation strategy to construct a weak network environment. Specifically, the client server normally sends data packets through the public network, the network congestion simulation service delays and sends the data packets to the storage server after receiving the data packets sent by the client, and/or the network congestion simulation server first performs exception handling on the data packets after receiving the data packets sent by the client, and then sends the data packets to the storage server, for example, the network congestion simulation server randomly discards part of the data packets and then sends the rest of the data packets to the storage server. Further, after receiving the data packets which are sent in a delayed manner and/or have abnormal packet loss and the like, the storage server tests and evaluates the performance of the storage server in the weak network environment by using a preset testing tool.
It can be understood that, on the basis of the existing server, the network congestion simulation tool is installed and the network congestion simulation server can be obtained by performing relevant configuration correspondingly without setting a special server, so that the test cost is greatly reduced. Therefore, under the condition of carrying out relevant configuration on the storage server and the client server, the network congestion environment can be simulated by using the network congestion simulation server, the storage test is realized by the preset test tool on the storage server, and the aim of conveniently and effectively carrying out the storage test under the network environment of a public network is fulfilled.
The method comprises the steps that a storage server is configured, wherein the step of configuring the storage server comprises the steps of adding a server initial name and creating a host on a storage management interface; and creating a raid and a volume in the storage server, and mapping the volume to the host. Configuring the client server includes the client server scanning for additional storage volumes.
In addition, the specific type of the preset network congestion simulation tool and the specific type of the test tool are not limited uniquely, and the difference setting can be performed according to the actual situation under the condition that the network congestion can be simulated and the performance of the storage server can be tested.
In a specific embodiment, the preset network congestion simulation tool may be a Traffic Control tool. In a specific embodiment, the predetermined testing tool may be a vddnch testing tool. For the Traffic Control tool and the vbreach testing tool, details are not repeated herein, and reference may be made to the introduction of the existing document to the Traffic Control tool and the vbreach testing tool.
Furthermore, the network congestion content simulated by the network congestion simulation server, namely the specific way of sending the data packet in a delayed manner and the specific content of performing exception handling on the data packet, is not limited in the present application, and naturally, the more possible network congestion conditions simulated by the network congestion simulation server, the more the accuracy and reliability of the performance test result of the storage server can be ensured.
In a specific embodiment, the network congestion simulation server may delay sending the data packet to the storage server by the network congestion simulation server, where the network congestion simulation server delays the data packet by a preset time and sends the data packet to the storage server, or the network congestion simulation server sends the data packet to the storage server within a first preset delay time, or the network congestion simulation server delays the data packet by a first preset time and sends the data packet to the storage server, and sends the data packet of a second preset proportion to the storage server within a second preset delay time.
Specifically, this embodiment provides several specific ways of delaying sending a data packet, including:
and the network congestion simulation server delays the data packet for a preset time and then sends the data packet to the storage server. In this way, the delay time is fixed, and all the data packets are sent to the storage server after being delayed for the preset time. For example, the network congestion simulation server sends each data packet to the storage server with a delay of 200ms, and the corresponding program script may be as follows:
#tc qdisc add dev eth0 root netem delay 200ms
and the network congestion simulation server sends the data packet to the storage server within a first preset delay time range. In this way, the delay duration fluctuates, and the delay transmission duration of each data packet is within the first preset delay duration range. For example, the network congestion simulation server sends the data packets to the storage server within a delay time range of 100ms ± 20ms, the delay sending time of each data packet is any value between 80 and 120ms, and the corresponding program script may be as follows:
#tc qdisc add dev eth0 root netem delay 100ms 20ms
the network congestion simulation server delays the data packets with the first preset proportion for a first preset time and then sends the data packets with the first preset proportion to the storage server, and the data packets with the second preset proportion are sent to the storage server within a second preset delay time range. In this way, the delay durations of the data packets of the first preset proportion are fixed and are all the first preset durations, the delay durations of the data packets of the second preset proportion fluctuate, and the delay durations of the data packets of the second preset proportion are all within the range of the second preset delay durations. For example, if the second preset proportion is 30%, the first preset proportion is 70%, the network congestion simulation server transmits 70% of the data packets to the storage server with a delay of 100ms, and transmits 30% of the data packets to the storage server within a delay duration range of 100ms ± 10ms, and the corresponding program scripts may be as follows:
#tc qdisc add dev eth0 root netem delay 100ms 10ms 30%
in addition, in a specific embodiment, the performing of the exception handling on the data packet by the network congestion simulation server may include that the network congestion simulation server randomly discards a data packet with a third preset proportion, or the network congestion simulation server randomly generates a repeated data packet with a fourth preset proportion, or the network congestion simulation server damages a data packet with a fifth preset proportion, or the network congestion simulation server immediately sends a data packet with the sixth preset proportion and sends the remaining data packets after a preset duration.
Specifically, this embodiment provides specific contents of several types of data packet exception handling, including:
and the network congestion simulation server randomly discards the data packets with the third preset proportion, namely after receiving the data packets sent by the client, the network congestion simulation server randomly discards part of the data packets and sends the rest of the data packets to the storage server. For example, if the network congestion simulation server randomly discards 2% of the data packets, the corresponding program script may be as follows:
#tc qdisc add dev eth0 root netem loss 2%
the network congestion simulation server randomly generates repeated data packets with a fourth preset proportion, namely after receiving the data packets sent by the client, the network congestion simulation server randomly generates data packets repeated with part of the data packets, and then sends all the data packets including the repeated data packets to the storage server. For example, the network congestion simulation server generates 2% duplicate packets, and the corresponding program script may be as follows:
#tc qdisc add dev eth0 root netem duplicate 2%
and the network congestion simulation server damages the data packets with the fifth preset proportion, namely after receiving the data packets sent by the client, the network congestion simulation server randomly calculates out part of the data packets, and then sends the normal and damaged data packets to the storage server. For example, if the network congestion simulation server randomly generates 0.2% damaged packets, the corresponding program script may be as follows:
#tc qdisc add dev eth0 root netem corrupt 0.2%
and the network congestion simulation server immediately sends the sixth data packet with a preset proportion and sends the rest data packets after a preset time length, namely the network congestion simulation server carries out disorder operation on the data packets, and after receiving the data packets, the network congestion simulation server immediately sends part of the data packets to the storage server and delays and sends the part of the data packets to the storage server. For example, if the network congestion simulation server sends 25% of the data packets to the storage server immediately and the other data packets to the storage server with a delay of 10ms, the corresponding program script may be as follows:
#tc qdisc change dev eth0 root netem delay 10ms reorder 25%50%
wherein 50% means that the packet has a correlation of 50%.
In summary, the storage testing method provided by the present application includes that a network congestion simulation server receives a data packet sent by a client server; the network congestion simulation server transmits the data packet to the storage server in a delayed manner by using a preset network congestion simulation tool according to a preset network congestion simulation strategy, and/or transmits the data packet to the storage server after exception processing is carried out on the data packet; and the storage server receives the data packet and tests the performance of the storage server by using a preset test tool. According to the storage testing method, the network congestion simulation server is arranged between the client server and the storage server, and is provided with the network congestion simulation tool, so that network congestion is simulated by the network congestion simulation server through the network congestion simulation tool under the network environment of a public network, and the storage server is enabled to test the performance of the storage server through the related testing tool under the condition of network congestion. According to the storage testing method, a special testing tool is not needed, the client server and the storage server are connected with the network congestion simulation server through the network cable, the network congestion simulation strategy of the network congestion simulation server is configured according to actual testing requirements, the network congestion simulation server can be used and matched with the testing tool to complete testing of the storage server in a public network environment, convenient, effective and low-cost storage testing is achieved, optimization of storage performance of the storage server is facilitated, and storage applicability is improved.
The present application also provides a storage test system, which is described below and which may be referred to in correspondence with the above-described method. Referring to fig. 2, fig. 2 is a schematic diagram of a memory test system according to an embodiment of the present disclosure; with reference to fig. 2, the storage test system includes:
a client server 10 for transmitting a data packet;
the network congestion simulation server 20 is configured to receive a data packet sent by the client server 10, delay sending the data packet to the storage server by using a preset network congestion simulation tool according to a preset network congestion simulation strategy, and/or send the data packet to the storage server after performing exception processing on the data packet; so that the storage server receives the data packet and tests the performance of the storage server by using a preset test tool.
On the basis of the foregoing embodiment, as a specific implementation manner, the network congestion simulation server 20 is specifically configured to delay the data packet by a preset time and send the data packet to the storage server, or the network congestion simulation server 20 sends the data packet to the storage server within a first preset delay time range, or the network congestion simulation server 20 delays the data packet with a first preset proportion by the first preset time and sends the data packet with a second preset proportion to the storage server within a second preset delay time range.
On the basis of the foregoing embodiment, as a specific implementation manner, the network congestion simulation server 20 is specifically configured to randomly discard a data packet with a third preset ratio, or the network congestion simulation server 20 randomly generates a repeated data packet with a fourth preset ratio, or the network congestion simulation server 20 damages a data packet with a fifth preset ratio, or the network congestion simulation server 20 immediately sends a data packet with the sixth preset ratio and sends the remaining data packets after a preset time length.
On the basis of the above embodiment, as a specific implementation manner, the Traffic Control tool is specifically installed in the network congestion simulation server 20.
According to the storage test system, the network congestion simulation server is arranged between the client server and the storage server, and the network congestion simulation tool is installed on the network congestion simulation server, so that network congestion is simulated by the network congestion simulation server through the network congestion simulation tool under the network environment of a public network, and the storage server is enabled to test the performance of the storage server through the related test tool under the condition of network congestion. According to the storage test method, a special test tool is not needed, the client server and the storage server are connected with the network congestion simulation server through the network cable, the network congestion simulation strategy of the network congestion simulation server is configured according to actual test requirements, the network congestion simulation server can be used and matched with the test tool to complete the test of the storage server in a public network environment, the storage test with convenience, effectiveness and low cost is realized, the storage performance of the storage server is optimized conveniently, and the storage applicability is improved
The present application further provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of:
a network congestion simulation server receives a data packet sent by a client server; the network congestion simulation server transmits the data packet to the storage server in a delayed manner by using a preset network congestion simulation tool according to a preset network congestion simulation strategy, and/or transmits the data packet to the storage server after exception processing is carried out on the data packet; and the storage server receives the data packet and tests the performance of the storage server by using a preset test tool.
The computer-readable storage medium may include: various media capable of storing program codes, 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.
For the introduction of the computer-readable storage medium provided by the present invention, please refer to the above method embodiments, which are not described herein again.
Because the situation is complicated and cannot be illustrated by a list, those skilled in the art can appreciate that there can be many examples in combination with the actual situation under the basic principle of the embodiments provided in the present application and that it is within the scope of the present application without sufficient inventive effort.
The embodiments are described in a progressive manner in the specification, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
The storage testing method, system and computer readable storage medium provided by the present application are described in detail above. The principles and embodiments of the present application are explained herein using specific examples, which are provided only to help understand the method and the core idea of the present application. It should be noted that, for those skilled in the art, it is possible to make several improvements and modifications to the present application without departing from the principle of the present application, and such improvements and modifications also fall within the scope of the claims of the present application.
It is further noted that, in the present specification, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.

Claims (4)

1. A storage testing method, comprising:
a network congestion simulation server receives a data packet sent by a client server;
the network congestion simulation server transmits the data packet to a storage server in a delayed manner by using a preset network congestion simulation tool according to a preset network congestion simulation strategy, and/or transmits the data packet to the storage server after exception processing is carried out on the data packet; the preset network congestion simulation tool is a Traffic Control tool;
the storage server receives the data packet and tests the performance of the storage server by using a preset test tool; the network congestion simulation server, the client server and the storage server are communicated through a public network;
the network congestion simulation server sends the data packet delay to the storage server, and the method comprises the following steps:
the network congestion simulation server delays the data packet for a preset time and then sends the data packet to the storage server, or the network congestion simulation server sends the data packet to the storage server within a first preset delay time range or the network congestion simulation server delays the data packet with a first preset proportion for a first preset time and then sends the data packet to the storage server, and sends the data packet with a second preset proportion to the storage server within a second preset delay time range;
the network congestion simulation server performs exception handling on the data packet, and the exception handling includes:
the network congestion simulation server discards the data packets in a third preset proportion at random, or the network congestion simulation server generates repeated data packets in a fourth preset proportion at random, or the network congestion simulation server damages the data packets in a fifth preset proportion, or the network congestion simulation server immediately sends the data packets in a sixth preset proportion and sends the remaining data packets after a preset time length.
2. The storage testing method of claim 1, wherein the predetermined testing tool is a vdbech testing tool.
3. A storage testing system, comprising:
the client server is used for sending the data packet;
the network congestion simulation server is used for receiving the data packet sent by the client server, delaying and sending the data packet to a storage server by using a preset network congestion simulation tool according to a preset network congestion simulation strategy, and/or sending the data packet to the storage server after exception processing is carried out on the data packet; enabling the storage server to receive the data packet and test the performance of the storage server by using a preset test tool; the network congestion simulation server, the client server and the storage server are communicated through a public network; a Traffic Control tool is specifically installed on the network congestion simulation server;
the network congestion simulation server is specifically configured to delay the data packet by a preset time and send the data packet to the storage server, or the network congestion simulation server sends the data packet to the storage server within a first preset delay time range or the network congestion simulation server delays the data packet by a first preset proportion by the first preset time and sends the data packet to the storage server, and sends the data packet by a second preset proportion to the storage server within a second preset delay time range;
the network congestion simulation server is specifically configured to discard the data packets at a third preset ratio randomly, or the network congestion simulation server generates repeated data packets at a fourth preset ratio randomly, or the network congestion simulation server damages the data packets at a fifth preset ratio, or the network congestion simulation server immediately sends the data packets at a sixth preset ratio and sends the remaining data packets after a preset duration.
4. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program which, when being executed by a processor, carries out the steps of the storage testing method according to claim 1 or 2.
CN201911006287.8A 2019-10-22 2019-10-22 Storage testing method and system Active CN110798378B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911006287.8A CN110798378B (en) 2019-10-22 2019-10-22 Storage testing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911006287.8A CN110798378B (en) 2019-10-22 2019-10-22 Storage testing method and system

Publications (2)

Publication Number Publication Date
CN110798378A CN110798378A (en) 2020-02-14
CN110798378B true CN110798378B (en) 2022-04-22

Family

ID=69440555

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911006287.8A Active CN110798378B (en) 2019-10-22 2019-10-22 Storage testing method and system

Country Status (1)

Country Link
CN (1) CN110798378B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103618645A (en) * 2013-11-28 2014-03-05 武汉虹旭信息技术有限责任公司 Complex network environment test system and method with intelligent simulation function
CN109495336A (en) * 2018-08-28 2019-03-19 优视科技(中国)有限公司 Network Abnormal test method and device, computer equipment and readable medium
CN110324161A (en) * 2018-03-29 2019-10-11 大唐联仪科技有限公司 A kind of test method and equipment of transport protocol

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100356736C (en) * 2004-10-27 2007-12-19 华为技术有限公司 IP network jitter simulation method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103618645A (en) * 2013-11-28 2014-03-05 武汉虹旭信息技术有限责任公司 Complex network environment test system and method with intelligent simulation function
CN110324161A (en) * 2018-03-29 2019-10-11 大唐联仪科技有限公司 A kind of test method and equipment of transport protocol
CN109495336A (en) * 2018-08-28 2019-03-19 优视科技(中国)有限公司 Network Abnormal test method and device, computer equipment and readable medium

Also Published As

Publication number Publication date
CN110798378A (en) 2020-02-14

Similar Documents

Publication Publication Date Title
US8301761B2 (en) Determining server load capacity with virtual users
CN103067214B (en) For testing the method for web site performance, client, server and system
US8886795B2 (en) Method and system for determining response time of a server
CN109600280B (en) Pressure testing system, method, device and computer readable storage medium
US20060277303A1 (en) Method to improve response time when clients use network services
CN106657180B (en) Information transmission method and device for cloud service, terminal equipment and system
CN110955409B (en) Method and device for creating resources on cloud platform
US11223698B2 (en) Intermediated retrieval of networked content
CN109815112B (en) Data debugging method and device based on functional test and terminal equipment
US20230353467A1 (en) Methods and apparatus for determining low latency network connectivity in computing systems
CN111669285A (en) Network detection data processing method, system and storage medium
CN107992416B (en) Method and device for determining webpage time delay
CN115914062A (en) Network card testing method and device, electronic equipment and storage medium
CN110716912B (en) SQL performance detection method and server
CN111352778A (en) Network simulation processing method and device, electronic equipment and storage medium
CN109491702B (en) Optimization scheme determination method and device, terminal equipment and storage medium
CN114629831A (en) Network card performance test method, device, equipment and storage medium
CN110798378B (en) Storage testing method and system
CN110209548B (en) Service control method, system, electronic device and computer readable storage medium
CN113179317A (en) Test system and method for content rewriting device
CN112436982B (en) Network flow automatic mixed running test method, system, terminal and storage medium
CN115576791A (en) Dynamic adjustment method and device for pressure measurement thread, electronic equipment and storage medium
CN109495330A (en) A kind of method and device realized UDP and intercept test
CN109245964B (en) Communication method, system, equipment and medium for public network pressure test
CN113821336A (en) Resource allocation method and device, storage medium and electronic equipment

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