CN114205308A - MTU (maximum Transmission Unit) adjusting method and device of data center network and computer equipment - Google Patents

MTU (maximum Transmission Unit) adjusting method and device of data center network and computer equipment Download PDF

Info

Publication number
CN114205308A
CN114205308A CN202111516479.0A CN202111516479A CN114205308A CN 114205308 A CN114205308 A CN 114205308A CN 202111516479 A CN202111516479 A CN 202111516479A CN 114205308 A CN114205308 A CN 114205308A
Authority
CN
China
Prior art keywords
mtu
flow
service
network
mtu value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202111516479.0A
Other languages
Chinese (zh)
Other versions
CN114205308B (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.)
Industrial and Commercial Bank of China Ltd ICBC
Original Assignee
Industrial and Commercial Bank of China Ltd ICBC
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 Industrial and Commercial Bank of China Ltd ICBC filed Critical Industrial and Commercial Bank of China Ltd ICBC
Priority to CN202111516479.0A priority Critical patent/CN114205308B/en
Publication of CN114205308A publication Critical patent/CN114205308A/en
Application granted granted Critical
Publication of CN114205308B publication Critical patent/CN114205308B/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
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/36Flow control; Congestion control by determining packet size, e.g. maximum transfer unit [MTU]
    • H04L47/365Dynamic adaptation of the packet size
    • 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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/50Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate

Landscapes

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

Abstract

The application relates to a method and a device for adjusting MTU of a data center network, computer equipment, a storage medium and a computer program product. The method comprises the following steps: restoring a flow path by capturing a flow device data packet, and determining a flow source end and a flow destination end based on target network networking; acquiring an MTU value of a network link based on a default MTU value of each interface in a service area and a traffic source end and a destination end; and acquiring a service flow model based on a flow source end of the target network, and adjusting the MTU of the network link according to the service flow model to acquire the optimal MTU. By adopting the method, the transmission efficiency can be improved, or the transmission delay can be reduced, the transmission stability can be improved, the flow path change can be found in time, the link MTU can be intelligently and uniformly modified, and the pressure of operation and maintenance personnel is reduced.

Description

MTU (maximum Transmission Unit) adjusting method and device of data center network and computer equipment
Technical Field
The present application relates to the field of network transmission technologies, and in particular, to a method and an apparatus for adjusting MTU of a data center network, a computer device, a storage medium, and a computer program product.
Background
The Maximum Transmission Unit (MTU) mainly refers to the Maximum packet size for the network layer to communicate. Aiming at the situation that in some service area networks of a data center, excessive data packet fragments are discarded, and meanwhile, the transmitted data packets can be transmitted in all network equipment.
In the prior art, 1, an operation and maintenance person usually sets the MTU value of each network device interface to a default value (ethernet 1500, RoCE network 4200); 2. the working principle of the method is that a packet with a DF (non-segmentation) option is sent in an IP header set by using a PMTU (Path MTU, PATH MTU technology), any device on a PATH with an MTU smaller than the packet discards the packet and sends the packet back to an ICMP (Internet Control Message Protocol) target unreachable (packet too large) Message, and the MTU value of the device is determined to ensure that all network devices on the data transmission PATH can normally transmit the packet.
Because a data center carries a large number of different service types, different services have different service flow characteristics including delay sensitivity type and throughput sensitivity type, different link media also have different MTU values, it cannot be ensured that the MTU values of two end devices are the same, packet loss is easily caused, and as the popularization of high performance networks, the bandwidth reaches 25G or even 100G, and some specific applications such as NFS file systems also have a requirement for sending large packets, so that a network interface device set as the default value of MTU is not necessarily suitable for all service flows of the data center, and because a PMTU determines its MTU by sending an ICMP message, some firewalls erroneously discard all ICMP data packets in order to deny service attacks, including data packets required for normal operation of the PMTU, resulting in that the MTU cannot be normally found.
Therefore, the problem that the data center unreasonably sets MTU values of different service models exists in the prior art.
Disclosure of Invention
In view of the foregoing, there is a need to provide a method, an apparatus, a computer device, a computer readable storage medium, and a computer program product for adjusting MTU of a data center network, which can reasonably configure MTU values for different business models.
In a first aspect, the present application provides a method for adjusting an MTU of a data center network. The method comprises the following steps:
restoring a flow path by capturing a flow device data packet, and determining a flow source end and a flow destination end based on target network networking;
acquiring an MTU value of a network link based on a default MTU value of each interface in a service area and a traffic source end and a destination end;
and acquiring a service flow model based on a flow source end of the target network, and adjusting the MTU of the network link according to the service flow model to acquire the optimal MTU.
In one embodiment, the determining the traffic source and the destination based on the target network networking includes:
acquiring a default MTU value of each interface in a service area based on a system log of network equipment;
capturing an equipment data packet to restore a flow path based on an intelligent network analysis platform deployed on the network monitoring equipment;
and determining a traffic source end and a destination end according to the target network.
In one embodiment, the obtaining the MTU value of the network link based on the default MTU value of each interface in the service area and the traffic source and destination includes:
restoring a flow path according to a flow source end and a destination end;
and confirming the minimum MTU value on the traffic path as the MTU value of the network link based on the default MTU value of each interface in the service area.
In one embodiment, the adjusting the MTU of the network link according to the service traffic model, and acquiring the optimal MTU includes:
if the service flow model is a delay sensitive service, taking the MTU value of the network link as an assembly line;
gradually reducing the MTU value of the network link, and if the service flow delay is synchronously reduced, continuously reducing the MTU value of the network link;
and if the service flow delay rises, acquiring the MTU value at the service flow delay inflection point as a waterline, and taking the MTU value at the moment as the optimal MTU.
In one embodiment, the adjusting the MTU of the network link according to the service traffic model, and acquiring the optimal MTU further includes:
if the service flow model is a handling sensitive service, taking the MTU value of the network link as a downloading line;
gradually increasing the MTU value of the network link, and if the IOPS performance is detected to be synchronously increased, continuously increasing the MTU value of the network link;
and if the IOPS performance is detected to be reduced, acquiring the MTU when the IOPS performance is at the inflection point as an upper waterline, and taking the MTU value at the moment as the optimal MTU.
In one embodiment, the adjusting the MTU of the network link according to the service traffic model, and acquiring the optimal MTU further includes:
and if the service flow model is general service, taking the MTU value of the network link as the optimal MTU to be unchanged.
In a second aspect, the application further provides an MTU adjusting apparatus for a data center network. The device comprises:
the determining module is used for restoring a flow path by capturing a flow device data packet and determining a flow source end and a flow destination end based on the target network networking;
the acquisition module is used for acquiring the MTU value of the network link based on the default MTU value of each interface in the service area as well as the traffic source end and the destination end;
and the optimization module is used for acquiring a service flow model based on a flow source end of the target network, adjusting the MTU of the network link according to the service flow model and acquiring the optimal MTU.
In a third aspect, the present application also provides a computer device. The computer device comprises a memory storing a computer program and a processor implementing the following steps when executing the computer program:
restoring a flow path by capturing a flow device data packet, and determining a flow source end and a flow destination end based on target network networking;
acquiring an MTU value of a network link based on a default MTU value of each interface in a service area and a traffic source end and a destination end;
and acquiring a service flow model based on a flow source end of the target network, and adjusting the MTU of the network link according to the service flow model to acquire the optimal MTU.
In a fourth aspect, the present application further provides a computer-readable storage medium. The computer-readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of:
restoring a flow path by capturing a flow device data packet, and determining a flow source end and a flow destination end based on target network networking;
acquiring an MTU value of a network link based on a default MTU value of each interface in a service area and a traffic source end and a destination end;
and acquiring a service flow model based on a flow source end of the target network, and adjusting the MTU of the network link according to the service flow model to acquire the optimal MTU.
In a fifth aspect, the present application further provides a computer program product. The computer program product comprising a computer program which when executed by a processor performs the steps of:
restoring a flow path by capturing a flow device data packet, and determining a flow source end and a flow destination end based on target network networking;
acquiring an MTU value of a network link based on a default MTU value of each interface in a service area and a traffic source end and a destination end;
and acquiring a service flow model based on a flow source end of the target network, and adjusting the MTU of the network link according to the service flow model to acquire the optimal MTU.
The MTU adjusting method, the MTU adjusting device, the computer equipment, the storage medium and the computer program product of the data center network restore a flow path by grabbing a flow equipment data packet, determine a flow source end and a target end based on target network networking, obtain an MTU value of a network link based on a default MTU value of each interface in a service area and the flow source end and the target end, obtain a service flow model based on the flow source end of the target network, adjust the MTU of the network link according to the service flow model to obtain an optimal MTU, appropriately increase or decrease the MTU value on the basis of the default value aiming at different service models by judging the service flow characteristics of the data center, and detect the service performance change in real time, thereby determining the upper and lower waterline ranges of the MTUs of different service models and obtaining the optimal MTU. The transmission efficiency is improved, or the transmission delay is reduced, the transmission stability is improved, meanwhile, the flow path change can be found in time, the link MTU is modified intelligently and uniformly, and the pressure of operation and maintenance personnel is reduced.
Drawings
FIG. 1 is a diagram of an exemplary implementation of a method for adjusting MTU in a data center network;
FIG. 2 is a flowchart illustrating a method for adjusting MTU of a data center network according to an embodiment;
FIG. 3 is a flowchart illustrating the step of adjusting the MTU of the network link according to the traffic flow model in one embodiment;
FIG. 4 is a block diagram of an MTU adjustment apparatus for a data center network according to an embodiment;
FIG. 5 is a diagram illustrating an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The data center bears a large number of different service types, different services have different service flow characteristics, including delay sensitivity type, throughput sensitivity type and the like, different link media also have different MTU values, it cannot be ensured that the MTU values of the two end devices are the same, packet loss is easily caused, and with the popularization of high performance networks, the bandwidth reaches 25G or even 100G, some specific applications such as NFS file systems also have a requirement for sending large packets, so that the network interface device set as the default value of MTU is not necessarily suitable for all service flows of the data center, and because the PMTU determines its MTU by sending an ICMP message, some firewalls erroneously discard all ICMP data packets in order to reject service attacks, including data packets required for normal operation of the PMTU, resulting in that the MTU cannot be normally found.
1. The MTU is set to be too small, and the message size is larger, so that the message fragmentation is too much, the message is discarded by the Qos queue, and the normal data transmission is influenced;
2. if the MTU is set to be too large, the maximum value that can be borne by the receiving end may be exceeded, or the maximum value that can be borne by a device on the transmission path may be exceeded, which may also cause the packet fragmentation and even discard, thus increasing the burden of network transmission and affecting the normal transmission of data.
3. Different service flow characteristics such as delay sensitivity and throughput sensitivity, the same MTU value is set, and delay or throughput is influenced.
4. When the traffic path changes, the optimal MTU cannot be known and acquired in time, which affects traffic delay or causes packet loss.
The operation and maintenance personnel need to check the MTU values of all the nodes on the link, select the minimum MTU as the MTU value of the whole link, and manually modify the MTU values of all the network equipment interfaces, so that the operation and maintenance labor consumption is huge.
The method for adjusting the MTU of the data center network provided by the embodiment of the present application can be applied to the application environment shown in fig. 1. Wherein the terminal 102 communicates with the server 104 via a network. The data storage system may store data that the server 104 needs to process. The data storage system may be integrated on the server 104, or may be located on the cloud or other network server.
The terminal 102 may be, but not limited to, various personal computers, notebook computers, smart phones, tablet computers, internet of things devices and portable wearable devices, and the internet of things devices may be smart speakers, smart televisions, smart air conditioners, smart car-mounted devices, and the like. The portable wearable device can be a smart watch, a smart bracelet, a head-mounted device, and the like. The server 104 may be implemented as a stand-alone server or as a server cluster comprised of multiple servers.
In one embodiment, as shown in fig. 2, there is provided a method for adjusting MTU of a data center network, which is described by taking the method as an example applied to the server in fig. 1, and includes the following steps:
step 202, restoring a flow path by capturing a flow device data packet, and determining a flow source end and a flow destination end based on target network networking.
Specifically, the service flow delay and the IOPS performance change are queried in real time through the network monitoring equipment. The IOPS (Input/Output Per Second), i.e., the Input/Output amount Per Second (or the number of read/write operations), is one of the main indicators for measuring the performance of the magnetic disk. IOPS refers to the number of I/O requests a system can handle per unit of time, which are typically read or write data operation requests. The network device reports default MTU values of all interfaces of the network device in the service area to the network monitoring device through the syslog, captures a flow device data packet to restore a flow path through a FabricInsight (intelligent network analysis platform) deployed on the network monitoring device, and determines a flow source end and a destination end by combining network networking.
Step 204, acquiring the MTU value of the network link based on the default MTU value of each interface in the service area and the traffic source end and the destination end.
Specifically, the MTU value of the network link is obtained based on the default MTU value of each interface in the service area and the traffic source end and destination end, the default MTU value of each device interface is collected by the network monitoring device, and the minimum MTU value on the traffic path is confirmed as the MTU value of the network link by restoring the traffic path.
And step 206, acquiring a service flow model based on the flow source end of the target network, and adjusting the MTU of the network link according to the service flow model to acquire the optimal MTU.
Specifically, a traffic source end based on a target network acquires a service traffic model, and adjusts an MTU of a network link according to the service traffic model to acquire an optimal MTU, wherein the service traffic model includes, but is not limited to, a delay sensitive service, a throughput sensitive service, and a general service. When the flow path changes, an MTU adjusting command is issued to each equipment interface on the path, the link MTU is adjusted in time, the flow performance is checked in real time, and the default MTU is increased or decreased according to the service flow characteristics, so that the most reasonable MTU value is obtained. Typically, large packets occupy a link longer than small packets, causing greater delay for subsequent packets and affecting stability.
If the service type is a delay sensitive service, the service flow delay performance is detected in real time, the MTU value of the network link is properly reduced on the basis of the MTU value, if the service flow delay at a certain moment is from descending to ascending and an inflection point appears, the MTU is considered to be offline at the moment, the MTU is defaulted to be an upper waterline, the MTU is reduced, the transmission delay is reduced, and the link stability is improved;
if the service type is a handling sensitive service, the IOPS performance is detected in real time, the service type is properly increased on the basis of the MTU value of a network link, if the service flow delay at a certain moment is from rising to falling and an inflection point appears, the MTU is considered as an on-line at the moment, the MTU is defaulted as an off-line, and the MTU is increased to improve the transmission efficiency;
if the service type is general service, the default MTU value, namely the MTU value of the network link, is not modified.
In the method for adjusting the MTU of the data center network, a flow path is restored by capturing a flow device data packet, a flow source end and a target end are determined based on target network networking, the MTU value of a network link is obtained based on the default MTU value of each interface in a service area and the flow source end and the target end, a service flow model is obtained based on the flow source end of the target network, the MTU of the network link is adjusted according to the service flow model to obtain the optimal MTU, the MTU value is properly increased or decreased on the basis of the default value aiming at different service models by judging the service flow characteristics of the data center, and the service performance change is detected in real time, so that the upper and lower waterline ranges of the MTUs of different service models are determined, and the optimal MTU is obtained. The transmission efficiency is improved, or the transmission delay is reduced, the transmission stability is improved, meanwhile, the flow path change can be found in time, the link MTU is modified intelligently and uniformly, and the pressure of operation and maintenance personnel is reduced.
In one embodiment, the determining the traffic source and the destination based on the target network networking comprises:
and acquiring default MTU values of all interfaces in the service area based on a system log of the network equipment, and confirming the minimum MTU value on the traffic path as the MTU value of the network link by restoring the traffic path.
Capturing an equipment data packet to restore a flow path based on an intelligent network analysis platform deployed on the network monitoring equipment;
and determining a traffic source end and a destination end according to the target network.
Specifically, when a traffic source end and a destination end are determined based on target network networking, a default MTU value of each interface in a service area is obtained according to a system log of network equipment, and a minimum MTU value on a traffic path is determined as an MTU value of a network link by restoring the traffic path. An intelligent network analysis platform deployed on the network monitoring equipment captures an equipment data packet to restore a flow path, and a flow source end and a flow destination end are determined according to a target network.
In this embodiment, a system log based on a network device obtains a default MTU value of each interface in a service area, determines a minimum MTU value on a flow path as an MTU value of a network link by restoring the flow path, captures a device data packet based on an intelligent network analysis platform deployed on a network monitoring device to restore the flow path, determines a flow source end and a destination end according to a target network, and creates a premise for further obtaining a service flow model and optimizing the MTU by determining the flow source end and the destination end.
In an embodiment, the obtaining the MTU value of the network link based on the default MTU value of each interface in the service area and the traffic source and destination includes:
restoring a flow path according to a flow source end and a destination end;
and confirming the minimum MTU value on the traffic path as the MTU value of the network link based on the default MTU value of each interface in the service area.
Specifically, when acquiring the MTU value of the network link, the traffic path is restored according to the traffic source end and the destination end, the minimum MTU value on the traffic path is determined as the MTU value of the network link based on the default MTU value of each interface in the service area, and when the MTU value is subsequently adjusted and the traffic path changes, an MTU adjustment command is issued to each device interface on the path to adjust the MTU of the link in time.
In this embodiment, a traffic path is restored according to a traffic source end and a destination end, and based on a default MTU value of each interface in a service area, a minimum MTU value on the traffic path is determined as an MTU value of a network link, so that the MTU value of the network link is obtained, and based on the MTU value of the network link, the MTU can be adjusted according to the type of a traffic flow model to obtain an optimal MTU.
In an embodiment, the adjusting the MTU of the network link according to the service traffic model, and acquiring the optimal MTU includes:
if the service flow model is a delay sensitive service, taking the MTU value of the network link as an assembly line;
gradually reducing the MTU value of the network link, and if the service flow delay is synchronously reduced, continuously reducing the MTU value of the network link;
and if the service flow delay rises, acquiring the MTU value at the service flow delay inflection point as a waterline, and taking the MTU value at the moment as the optimal MTU.
Specifically, the MTU of the network link is adjusted according to the service traffic model, when the optimal MTU is obtained, if the service traffic model is a delay sensitive service, the MTU value of the network link is used as an upper waterline, the MTU value of the network link is gradually reduced on the basis, by observing that if the service traffic delay is synchronously reduced, the MTU value of the network link is continuously reduced until the service traffic delay is observed to rise, the MTU value at the service traffic delay inflection point is obtained as a lower waterline, and the MTU value at the time is used as the optimal MTU.
In this embodiment, when the optimal MTU is obtained, if the traffic flow model is a delay sensitive service, the MTU value of the network link is used as an upper waterline, the MTU value of the network link is gradually reduced, if the traffic flow delay is synchronously reduced, the MTU value of the network link is continuously reduced, if the traffic flow delay is increased, the MTU value at the inflection point of the traffic flow delay is obtained as a lower waterline, and the MTU value at this time is used as the optimal MTU, so that the obtaining of the optimal MTU value of the traffic flow model which is a delay sensitive service is realized, and the transmission stability of the delay sensitive service is improved.
In an embodiment, the adjusting the MTU of the network link according to the service traffic model, and acquiring the optimal MTU further includes:
if the service flow model is a handling sensitive service, taking the MTU value of the network link as a downloading line;
gradually increasing the MTU value of the network link, and if the IOPS performance is detected to be synchronously increased, continuously increasing the MTU value of the network link;
and if the IOPS performance is detected to be reduced, acquiring the MTU when the IOPS performance is at the inflection point as an upper waterline, and taking the MTU value at the moment as the optimal MTU.
Specifically, when the service flow model is a throughput sensitive service, the MTU value of the network link is used as a lower waterline, the MTU value of the network link is gradually increased on the basis of the lower waterline, if the IOPS performance is detected to be synchronously increased, the MTU value of the network link is continuously increased until the IOPS performance is detected to be reduced, the MTU at the inflection point of the IOPS performance in the interval is obtained as an upper waterline, and the MTU value at the moment is used as an optimal MTU.
In this embodiment, if the service traffic model is a throughput sensitive service, the MTU value of the network link is used as a downline, the MTU value of the network link is gradually increased, if it is detected that the IOPS performance is synchronously increased, the MTU value of the network link is continuously increased, if it is detected that the IOPS performance is decreased, the MTU with the IOPS performance at an inflection point is obtained as a watermark, the MTU value at this time is used as an optimal MTU, and the optimal MTU value of the throughput sensitive service is obtained by obtaining the MTU value with the IOPS performance at the inflection point as the optimal MTU.
In an embodiment, the adjusting the MTU of the network link according to the service traffic model, and acquiring the optimal MTU further includes:
and if the service flow model is general service, taking the MTU value of the network link as the optimal MTU to be unchanged.
Specifically, if the traffic flow model is general traffic, the MTU value of the network link, that is, the minimum MTU value on the traffic path, is used as the optimal MTU, and the minimum MTU value on the traffic path is kept unchanged.
In this embodiment, when the traffic flow model is a general service, the MTU value of the network link is used as the optimal MTU and is not changed, and the default MTU value is not modified, so that the optimal MTU value is obtained when the traffic flow model is a general service, and the pressure of operation and maintenance personnel is reduced.
Fig. 3 is a schematic flowchart illustrating a step of adjusting an MTU of a network link according to a traffic model in an embodiment, as shown in fig. 3, a network monitoring discovery device queries traffic delay and IOPS performance change in real time; the network equipment reports the default MTU value of each interface of the network equipment in the service area to the network monitoring equipment through a syslog, captures an equipment data packet to restore a flow path through a FabricInsight (intelligent network analysis platform) deployed on the network monitoring equipment, determines a flow source end and a destination end by combining network networking, and finally determines the default MTU of the whole link based on the flow. And determining each service flow model according to the acquired flow source end. When the flow path changes, an MTU adjusting command is issued to each equipment interface on the path, the link MTU is adjusted in time, the flow performance is checked in real time, and the default MTU is increased or decreased according to the service flow characteristics, so that the most reasonable MTU value is obtained. Typically, large packets occupy a link longer than small packets, causing greater delay for subsequent packets and affecting stability.
If the service type is a delay sensitive service, the service flow delay performance is detected in real time, the MTU value of the network link is properly reduced on the basis of the MTU value, if the service flow delay at a certain moment is from descending to ascending and an inflection point appears, the MTU is considered to be offline at the moment, the MTU is defaulted to be an upper waterline, the MTU is reduced, the transmission delay is reduced, and the link stability is improved;
if the service type is a handling sensitive service, the IOPS performance is detected in real time, the service type is properly increased on the basis of the MTU value of a network link, if the service flow delay at a certain moment is from rising to falling and an inflection point appears, the MTU is considered as an on-line at the moment, the MTU is defaulted as an off-line, and the MTU is increased to improve the transmission efficiency;
if the service type is general service, the default MTU value, namely the MTU value of the network link, is not modified.
The application has the advantages that: 1) aiming at the delay sensitive service with high requirement on stability, the MTU value is properly reduced, the transmission delay is reduced, and the transmission stability is improved; 2) aiming at the throughput sensitivity service, the MTU value is properly increased, and the transmission efficiency is improved; 3) acquiring an upper assembly line and a lower assembly line of MTUs of different service models to obtain an optimal MTU; 4) the intelligent unified modification reduces the pressure of operation and maintenance personnel.
It should be understood that, although the steps in the flowcharts related to the embodiments as described above are sequentially displayed as indicated by arrows, the steps are not necessarily performed sequentially as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a part of the steps in the flowcharts related to the embodiments described above may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, and the execution order of the steps or stages is not necessarily sequential, but may be rotated or alternated with other steps or at least a part of the steps or stages in other steps.
Based on the same inventive concept, the embodiment of the present application further provides an MTU adjusting apparatus for a data center network, which is used for implementing the above MTU adjusting method for the data center network. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme described in the above method, so specific limitations in the embodiments of the MTU adjustment device for one or more data center networks provided below may refer to the limitations on the MTU adjustment method for a data center network in the above description, and are not described herein again.
In one embodiment, as shown in fig. 4, there is provided an MTU adjusting apparatus for a data center network, including: a determining module 401, an obtaining module 402 and an optimizing module 403, wherein:
a determining module 401, configured to restore a traffic path by capturing a traffic device data packet, and determine a traffic source end and a destination end based on target network networking;
an obtaining module 402, configured to obtain an MTU value of a network link based on a default MTU value of each interface in a service area and a traffic source end and a destination end;
the optimization module 403 is configured to obtain a service traffic model based on a traffic source end of a target network, and adjust an MTU of a network link according to the service traffic model to obtain an optimal MTU.
In an embodiment, the obtaining module 402 is specifically configured to: acquiring a default MTU value of each interface in a service area based on a system log of network equipment; capturing an equipment data packet to restore a flow path based on an intelligent network analysis platform deployed on the network monitoring equipment; and determining a traffic source end and a destination end according to the target network.
In one embodiment, the obtaining module 402 is further configured to: restoring a flow path according to a flow source end and a destination end; and confirming the minimum MTU value on the traffic path as the MTU value of the network link based on the default MTU value of each interface in the service area.
In an embodiment, the optimization module 403 is specifically configured to: if the service flow model is a delay sensitive service, taking the MTU value of the network link as an assembly line; gradually reducing the MTU value of the network link, and if the service flow delay is synchronously reduced, continuously reducing the MTU value of the network link; and if the service flow delay rises, acquiring the MTU value at the service flow delay inflection point as a waterline, and taking the MTU value at the moment as the optimal MTU.
In one embodiment, the optimization module 403 is further configured to: if the service flow model is a handling sensitive service, taking the MTU value of the network link as a downloading line; gradually increasing the MTU value of the network link, and if the IOPS performance is detected to be synchronously increased, continuously increasing the MTU value of the network link; and if the IOPS performance is detected to be reduced, acquiring the MTU when the IOPS performance is at the inflection point as an upper waterline, and taking the MTU value at the moment as the optimal MTU.
In one embodiment, the optimization module 403 is further configured to: and if the service flow model is general service, taking the MTU value of the network link as the optimal MTU to be unchanged.
The MTU adjusting device of the data center network restores a flow path by capturing a flow device data packet, determines a flow source end and a target end based on target network networking, acquires an MTU value of a network link based on a default MTU value of each interface in a service area and the flow source end and the target end, acquires a service flow model based on the flow source end of the target network, adjusts the MTU of the network link according to the service flow model to acquire an optimal MTU, properly increases or decreases the MTU value on the basis of the default value aiming at different service models by judging the service flow characteristics of the data center, and detects the service performance change in real time, thereby determining the upper and lower waterline ranges of the MTUs of different service models and acquiring the optimal MTU. The transmission efficiency is improved, or the transmission delay is reduced, the transmission stability is improved, meanwhile, the flow path change can be found in time, the link MTU is modified intelligently and uniformly, and the pressure of operation and maintenance personnel is reduced.
The various modules in the MTU adjusting apparatus of the data center network described above may be implemented in whole or in part by software, hardware, and combinations thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a server, the internal structure of which may be as shown in fig. 5. The computer device includes a processor, a memory, and a network interface connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a method of MTU tuning for a data center network.
Those skilled in the art will appreciate that the architecture shown in fig. 5 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory having a computer program stored therein, the processor implementing the following steps when executing the computer program:
restoring a flow path by capturing a flow device data packet, and determining a flow source end and a flow destination end based on target network networking;
acquiring an MTU value of a network link based on a default MTU value of each interface in a service area and a traffic source end and a destination end;
and acquiring a service flow model based on a flow source end of the target network, and adjusting the MTU of the network link according to the service flow model to acquire the optimal MTU.
In one embodiment, the processor, when executing the computer program, further performs the steps of: acquiring a default MTU value of each interface in a service area based on a system log of network equipment; capturing an equipment data packet to restore a flow path based on an intelligent network analysis platform deployed on the network monitoring equipment; and determining a traffic source end and a destination end according to the target network.
In one embodiment, the processor, when executing the computer program, further performs the steps of: restoring a flow path according to a flow source end and a destination end; and confirming the minimum MTU value on the traffic path as the MTU value of the network link based on the default MTU value of each interface in the service area.
In one embodiment, the processor, when executing the computer program, further performs the steps of: if the service flow model is a delay sensitive service, taking the MTU value of the network link as an assembly line; gradually reducing the MTU value of the network link, and if the service flow delay is synchronously reduced, continuously reducing the MTU value of the network link; and if the service flow delay rises, acquiring the MTU value at the service flow delay inflection point as a waterline, and taking the MTU value at the moment as the optimal MTU.
In one embodiment, the processor, when executing the computer program, further performs the steps of: if the service flow model is a handling sensitive service, taking the MTU value of the network link as a downloading line; gradually increasing the MTU value of the network link, and if the IOPS performance is detected to be synchronously increased, continuously increasing the MTU value of the network link; and if the IOPS performance is detected to be reduced, acquiring the MTU when the IOPS performance is at the inflection point as an upper waterline, and taking the MTU value at the moment as the optimal MTU.
In one embodiment, the processor, when executing the computer program, further performs the steps of: and if the service flow model is general service, taking the MTU value of the network link as the optimal MTU to be unchanged.
The computer equipment restores a flow path by capturing a flow equipment data packet, determines a flow source end and a target end based on target network networking, acquires an MTU value of a network link based on a default MTU value of each interface in a service area and the flow source end and the target end, acquires a service flow model based on the flow source end of the target network, adjusts the MTU of the network link according to the service flow model, acquires an optimal MTU, appropriately increases or decreases the MTU value on the basis of the default value aiming at different service models by judging the service flow characteristics of a data center, and detects the change of service performance in real time, thereby determining the upper and lower waterline ranges of the MTUs of different service models and acquiring the optimal MTU. The transmission efficiency is improved, or the transmission delay is reduced, the transmission stability is improved, meanwhile, the flow path change can be found in time, the link MTU is modified intelligently and uniformly, and the pressure of operation and maintenance personnel is reduced.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of:
restoring a flow path by capturing a flow device data packet, and determining a flow source end and a flow destination end based on target network networking;
acquiring an MTU value of a network link based on a default MTU value of each interface in a service area and a traffic source end and a destination end;
and acquiring a service flow model based on a flow source end of the target network, and adjusting the MTU of the network link according to the service flow model to acquire the optimal MTU.
In one embodiment, the computer program when executed by the processor further performs the steps of: acquiring a default MTU value of each interface in a service area based on a system log of network equipment; capturing an equipment data packet to restore a flow path based on an intelligent network analysis platform deployed on the network monitoring equipment; and determining a traffic source end and a destination end according to the target network.
In one embodiment, the computer program when executed by the processor further performs the steps of: restoring a flow path according to a flow source end and a destination end; and confirming the minimum MTU value on the traffic path as the MTU value of the network link based on the default MTU value of each interface in the service area.
In one embodiment, the computer program when executed by the processor further performs the steps of: if the service flow model is a delay sensitive service, taking the MTU value of the network link as an assembly line; gradually reducing the MTU value of the network link, and if the service flow delay is synchronously reduced, continuously reducing the MTU value of the network link; and if the service flow delay rises, acquiring the MTU value at the service flow delay inflection point as a waterline, and taking the MTU value at the moment as the optimal MTU.
In one embodiment, the computer program when executed by the processor further performs the steps of: if the service flow model is a handling sensitive service, taking the MTU value of the network link as a downloading line; gradually increasing the MTU value of the network link, and if the IOPS performance is detected to be synchronously increased, continuously increasing the MTU value of the network link; and if the IOPS performance is detected to be reduced, acquiring the MTU when the IOPS performance is at the inflection point as an upper waterline, and taking the MTU value at the moment as the optimal MTU.
In one embodiment, the computer program when executed by the processor further performs the steps of: and if the service flow model is general service, taking the MTU value of the network link as the optimal MTU to be unchanged.
The storage medium restores a flow path by capturing a flow device data packet, determines a flow source end and a target end based on target network networking, acquires an MTU value of a network link based on a default MTU value of each interface in a service area and the flow source end and the target end, acquires a service flow model based on the flow source end of the target network, adjusts the MTU of the network link according to the service flow model, acquires an optimal MTU, judges the service flow characteristics of a data center, appropriately increases or decreases the MTU value on the basis of the default value aiming at different service models, and detects the service performance change in real time, thereby determining the upper and lower waterline ranges of the MTUs of different service models and acquiring the optimal MTU. The transmission efficiency is improved, or the transmission delay is reduced, the transmission stability is improved, meanwhile, the flow path change can be found in time, the link MTU is modified intelligently and uniformly, and the pressure of operation and maintenance personnel is reduced.
In one embodiment, a computer program product is provided, comprising a computer program which, when executed by a processor, performs the steps of:
restoring a flow path by capturing a flow device data packet, and determining a flow source end and a flow destination end based on target network networking;
acquiring an MTU value of a network link based on a default MTU value of each interface in a service area and a traffic source end and a destination end;
and acquiring a service flow model based on a flow source end of the target network, and adjusting the MTU of the network link according to the service flow model to acquire the optimal MTU.
In one embodiment, the computer program when executed by the processor further performs the steps of: acquiring a default MTU value of each interface in a service area based on a system log of network equipment; capturing an equipment data packet to restore a flow path based on an intelligent network analysis platform deployed on the network monitoring equipment; and determining a traffic source end and a destination end according to the target network.
In one embodiment, the computer program when executed by the processor further performs the steps of: restoring a flow path according to a flow source end and a destination end; and confirming the minimum MTU value on the traffic path as the MTU value of the network link based on the default MTU value of each interface in the service area.
In one embodiment, the computer program when executed by the processor further performs the steps of: if the service flow model is a delay sensitive service, taking the MTU value of the network link as an assembly line; gradually reducing the MTU value of the network link, and if the service flow delay is synchronously reduced, continuously reducing the MTU value of the network link; and if the service flow delay rises, acquiring the MTU value at the service flow delay inflection point as a waterline, and taking the MTU value at the moment as the optimal MTU.
In one embodiment, the computer program when executed by the processor further performs the steps of: if the service flow model is a handling sensitive service, taking the MTU value of the network link as a downloading line; gradually increasing the MTU value of the network link, and if the IOPS performance is detected to be synchronously increased, continuously increasing the MTU value of the network link; and if the IOPS performance is detected to be reduced, acquiring the MTU when the IOPS performance is at the inflection point as an upper waterline, and taking the MTU value at the moment as the optimal MTU.
In one embodiment, the computer program when executed by the processor further performs the steps of: and if the service flow model is general service, taking the MTU value of the network link as the optimal MTU to be unchanged.
The computer program product restores a flow path by capturing a flow device data packet, determines a flow source end and a target end based on target network networking, acquires an MTU value of a network link based on a default MTU value of each interface in a service area and the flow source end and the target end, acquires a service flow model based on the flow source end of the target network, adjusts the MTU of the network link according to the service flow model, acquires an optimal MTU, appropriately increases or decreases the MTU value on the basis of the default value aiming at different service models by judging the service flow characteristics of a data center, and detects the change of service performance in real time, thereby determining the upper and lower waterline ranges of the MTUs of different service models and acquiring the optimal MTU. The transmission efficiency is improved, or the transmission delay is reduced, the transmission stability is improved, meanwhile, the flow path change can be found in time, the link MTU is modified intelligently and uniformly, and the pressure of operation and maintenance personnel is reduced.
It should be noted that, the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, presented data, etc.) referred to in the present application are information and data authorized by the user or sufficiently authorized by each party.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, database, or other medium used in the embodiments provided herein may include at least one of non-volatile and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, high-density embedded nonvolatile Memory, resistive Random Access Memory (ReRAM), Magnetic Random Access Memory (MRAM), Ferroelectric Random Access Memory (FRAM), Phase Change Memory (PCM), graphene Memory, and the like. Volatile Memory can include Random Access Memory (RAM), external cache Memory, and the like. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), among others. The databases referred to in various embodiments provided herein may include at least one of relational and non-relational databases. The non-relational database may include, but is not limited to, a block chain based distributed database, and the like. The processors referred to in the embodiments provided herein may be general purpose processors, central processing units, graphics processors, digital signal processors, programmable logic devices, quantum computing based data processing logic devices, etc., without limitation.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present application shall be subject to the appended claims.

Claims (10)

1. A method for adjusting MTU of a data center network is characterized by comprising the following steps:
restoring a flow path by capturing a flow device data packet, and determining a flow source end and a flow destination end based on target network networking;
acquiring an MTU value of a network link based on a default MTU value of each interface in a service area and a traffic source end and a destination end;
and acquiring a service flow model based on a flow source end of the target network, and adjusting the MTU of the network link according to the service flow model to acquire the optimal MTU.
2. The method of claim 1, wherein determining a traffic source and a destination based on target network networking comprises:
acquiring a default MTU value of each interface in a service area based on a system log of network equipment;
capturing an equipment data packet to restore a flow path based on an intelligent network analysis platform deployed on the network monitoring equipment;
and determining a traffic source end and a destination end according to the target network.
3. The method of claim 2, wherein the obtaining the MTU value of the network link based on the default MTU value of each interface in the service area and the traffic source and destination comprises:
restoring a flow path according to a flow source end and a destination end;
and confirming the minimum MTU value on the traffic path as the MTU value of the network link based on the default MTU value of each interface in the service area.
4. The method of claim 1, wherein the adjusting the MTU of the network link according to the traffic model and obtaining the optimal MTU comprises:
if the service flow model is a delay sensitive service, taking the MTU value of the network link as an assembly line;
gradually reducing the MTU value of the network link, and if the service flow delay is synchronously reduced, continuously reducing the MTU value of the network link;
and if the service flow delay rises, acquiring the MTU value at the service flow delay inflection point as a waterline, and taking the MTU value at the moment as the optimal MTU.
5. The method of claim 4, wherein the adjusting the MTU of the network link according to the traffic flow model and obtaining the optimal MTU further comprises:
if the service flow model is a handling sensitive service, taking the MTU value of the network link as a downloading line;
gradually increasing the MTU value of the network link, and if the IOPS performance is detected to be synchronously increased, continuously increasing the MTU value of the network link;
and if the IOPS performance is detected to be reduced, acquiring the MTU when the IOPS performance is at the inflection point as an upper waterline, and taking the MTU value at the moment as the optimal MTU.
6. The method of claim 4, wherein the adjusting the MTU of the network link according to the traffic flow model and obtaining the optimal MTU further comprises:
and if the service flow model is general service, taking the MTU value of the network link as the optimal MTU to be unchanged.
7. An MTU adjustment apparatus for a data center network, the apparatus comprising:
the determining module is used for restoring a flow path by capturing a flow device data packet and determining a flow source end and a flow destination end based on the target network networking;
the acquisition module is used for acquiring the MTU value of the network link based on the default MTU value of each interface in the service area as well as the traffic source end and the destination end;
and the optimization module is used for acquiring a service flow model based on a flow source end of the target network, adjusting the MTU of the network link according to the service flow model and acquiring the optimal MTU.
8. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method of any of claims 1 to 6.
9. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 6.
10. A computer program product comprising a computer program, characterized in that the computer program realizes the steps of the method of any one of claims 1 to 6 when executed by a processor.
CN202111516479.0A 2021-12-13 2021-12-13 MTU adjustment method and device for data center network and computer equipment Active CN114205308B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111516479.0A CN114205308B (en) 2021-12-13 2021-12-13 MTU adjustment method and device for data center network and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111516479.0A CN114205308B (en) 2021-12-13 2021-12-13 MTU adjustment method and device for data center network and computer equipment

Publications (2)

Publication Number Publication Date
CN114205308A true CN114205308A (en) 2022-03-18
CN114205308B CN114205308B (en) 2024-02-02

Family

ID=80652993

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111516479.0A Active CN114205308B (en) 2021-12-13 2021-12-13 MTU adjustment method and device for data center network and computer equipment

Country Status (1)

Country Link
CN (1) CN114205308B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20230284089A1 (en) * 2022-03-03 2023-09-07 Verizon Patent And Licensing Inc. Systems and methods for dynamic maximum transmission unit adjustment in a wireless network

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110191066A (en) * 2019-06-14 2019-08-30 迈普通信技术股份有限公司 A kind of method, equipment and the system of determining maximum transmission unit PMTU
CN110798407A (en) * 2018-08-01 2020-02-14 阿里巴巴集团控股有限公司 MTU configuration method and device
US20200351194A1 (en) * 2019-04-30 2020-11-05 EMC IP Holding Company LLC Evaluating, weighting, and scheduling the use of network links
CN112235194A (en) * 2020-09-03 2021-01-15 北京邮电大学 Method and device for scheduling delay sensitive flow on line route

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110798407A (en) * 2018-08-01 2020-02-14 阿里巴巴集团控股有限公司 MTU configuration method and device
US20200351194A1 (en) * 2019-04-30 2020-11-05 EMC IP Holding Company LLC Evaluating, weighting, and scheduling the use of network links
CN110191066A (en) * 2019-06-14 2019-08-30 迈普通信技术股份有限公司 A kind of method, equipment and the system of determining maximum transmission unit PMTU
CN112235194A (en) * 2020-09-03 2021-01-15 北京邮电大学 Method and device for scheduling delay sensitive flow on line route

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20230284089A1 (en) * 2022-03-03 2023-09-07 Verizon Patent And Licensing Inc. Systems and methods for dynamic maximum transmission unit adjustment in a wireless network

Also Published As

Publication number Publication date
CN114205308B (en) 2024-02-02

Similar Documents

Publication Publication Date Title
US11888756B2 (en) Software load balancer to maximize utilization
US11836385B2 (en) High speed data packet flow processing
CN103609071B (en) Systems and methods for tracking application layer flow via a multi-connection intermediary device
CN108809749B (en) Performing upper layer inspection of a stream based on a sampling rate
US8387144B2 (en) Network amplification attack mitigation
US20040095949A1 (en) System and method for receive queue provisioning
US9036469B2 (en) Data communication in openflow networks
US11496403B2 (en) Modifying the congestion control algorithm applied to a connection based on request characteristics
AU2012381763A1 (en) Policy service logging using graph structures
US8539089B2 (en) System and method for vertical perimeter protection
US20210195000A1 (en) Method and device for data transmission
US20120151087A1 (en) System and method for providing a network proxy data tunnel
US11218391B2 (en) Methods for monitoring performance of a network fabric and devices thereof
CN112367278A (en) Cloud gateway system based on programmable data switch and message processing method thereof
CN114205308B (en) MTU adjustment method and device for data center network and computer equipment
US20160248652A1 (en) System and method for classifying and managing applications over compressed or encrypted traffic
US11528187B1 (en) Dynamically configurable networking device interfaces for directional capacity modifications
US20140195572A1 (en) Method and apparatus to transfer file data to a cloud environment
US9432297B2 (en) Jitter-based transmission control method
JP2019216305A (en) Communication device, packet processing method, and program
US8966070B1 (en) System and method of reducing network latency
US20150019745A1 (en) Connection distribution within a connectional parallelism architecture
US10992702B2 (en) Detecting malware on SPDY connections
WO2016184079A1 (en) Method and device for processing system log message
JP4915345B2 (en) Test equipment measurement system

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