VM-to-VM traffic estimation in multi-tenant data centers
Patent Information
- Application Number
- DE112016002949
- Authority / Receiving Office
- DE · DE
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2016-09-14
- Filing Date
- 2016-09-15
- Publication Date
- 2024-10-17
- Estimated Expiration
- 2036-09-15
Smart Images

Figure 00000000_0000_ABST
Abstract
Description
BACKGROUNDTechnical FieldThe present invention relates to data center management and, more particularly, to estimating traffic along virtual flows in a multi-leased data center.Description of Related ArtFor example, modern data centers may serve multiple clients using virtual machines to host multiple work tasks as if they were on separate hardware with a single device. In addition, software defined networking for network administrators provides the ability to dynamically reorganize network resources, create and reorganize virtual local area networks (VLANs), and virtual extensible local area networks (VXLANs) during operation.However, it may be difficult to obtain flow-level information if multiple different work tasks may be transmitted along a single shared physical data link. In a multi-leased data center in which a single device having a single physical connection can host multiple virtual machines and multiple virtual connections, it is difficult to disassemble the use of this physical connection into the use of the multiple virtual connections.Existing attempts to determine flow-level information focus on three issues: improving the collection of performance counters from distributed network devices (e.g., switches and middle boxes) in data centers, scalable data collection systems, and instrumentation of virtualization platforms. For example, some solutions use additional instrumentation at the hypervisor level to perform a packet-level test. Such a check provides accuracy in determining information about the flows on a link, but generally involves significant increases in network monitoring cost and complexity.Pro-flow utilization US 2009 / 0046583 A1 discloses a method for pro-flow utilization in a network, in which the contribution of a flow to the entire traffic in a physical connection between two network components is ascertained by ascertaining the flow to which a packet is assigned in a measurement probe ("probe"). The pro-flow utilization is then performed by per-flow counting of the packets through the sample.It is an object of the present invention to determine a per-flow utilization without having to undertake an adaptation of the network components for flow-dependent packet counting.SUMMARYThe object of the present invention is achieved by a method according to claim 1 and a system according to claim 11.One method for network management includes performing path regression to determine an end-to-end path over physical connections for each data flow in a network. Based on the determined end-to-end paths, a per-flow utilization of each physical connection in the network is estimated. Based on the estimated pro-flow utilization, a management action is performed in the network.A method for network management includes performing path regression to determine an end-to-end path over physical connections by determining a portion of an end-to-end path based on forwarding table information and determining a remainder of the end-to-end path based on one or more inference rules for each data flow in a network. By filtering the flows in accordance with one or more rules and clustering the filtered flows into flow groups, a number of the flows is reduced. Based on the determined end-to-end paths, the per-flow utilization of each physical link in the network is estimated. Based on the estimated pro-flow utilization, a management action is performed in the network.A system for network management includes a path regression module comprising a processor configured to determine an end-to-end path over physical connections for each data flow in a network. A flow usage estimation module is configured to estimate per-flow usage of each physical link in the network based on the determined end-to-end paths. A network management module is configured to execute a management action in the network based on the estimated pro-flow usage.These and other features and advantages will become apparent from the following detailed description of illustrative embodiments thereof, which is to be read in conjunction with the accompanying drawings.BRIEF DESCRIPTION OF THE DRAWINGSThe disclosure provides details of preferred embodiments in the following description with reference to the following figures, in which: FIG. 1 is a block diagram of a multi-leased data center network in accordance with the present principles; FIG. 2 is a block diagram / flow diagram of a method / system for estimating flow usage in accordance with the present principles; FIG. 3 is a block diagram / flow diagram of a method for estimating flow usage in accordance with the present principles; FIG. 4 is a block diagram of a system for estimating flow utilization in accordance with the present principles; and FIG. 5 is a block diagram of a processing system in accordance with the present principles.DETAILED DESCRIPTION OF PREFERRED EMBODIMENTSEmbodiments of the present principles provide flow-level traffic analysis in multi-leased data centers based on existing performance counters and readily available network forwarding table information. The present embodiments use path regression to generate a flow map when forwarding table information has expired. To reduce the number of variables involved, filtering and clustering of flows is used, generating a matrix representation, which flows are active on which connections. The reconstructed flow information is then used to generate a set of expected link performance measurements that can be compared to actual link performance measurements to determine a degree of error in the flow traffic output.Referring now to Figure 1, there is shown a generalized schematic representation of a data center network 100. Multiple virtual machines (VMs) 102 may be implemented in a single physical server 104. The server 104 has a connection to a switch 106, which may be connected to other servers 104, to other switches 106, and to a router 108. This represents the physical network with physical connections, but the communications over the physical network layer forming virtual networks (e.g. virtual local area networks (VLANs) and virtual extensible local area networks (VXLANs) may additionally comprise a logical layer.From a single VM 102's point of view in the data center network 100, other VMs 102 may appear logical or may be in separate virtual network segments, with communication being switched by VLAN or VXLAN gateways (which may be implemented as different servers 102 in the network and which need not be on the most direct physical routing path between two VMs 102). Thus, the path a given flow takes through physical network 100 may be non-trivial, with traffic from a given VM 102 seeking multiple locations before reaching its destination.These arrangements are particularly useful for cloud computing environments where many clients may be served by a single server 104. The virtualization described above allows VMs 102 to act in a simple, easy-to-provide manner without any knowledge of the actual network structure. However, it is challenging to identify, for example, which flows are the cause of a local area network hotspot when there are multiple flows on a single physical connection (and when these flows occasionally double back on a given connection.The devices in the network 100 may maintain certain information regarding the traffic of the network. For example, the Simple Network Management Protocol (SNMP) may be implemented in the switches 106 and routers 108 to track forwarding tables, physical link performance counters, VLAN and VXLAN configurations, etc. Additionally, edge devices may hold information such as VM locations (i.e., the physical server 104 on which a given VM 102 resides), VLAN and VXLAN assignments to clients, etc. It is noted that this information is collected as a matter of standard practice and that no additional instrumentation needs to be introduced to determine these points.However, some of the information may be unreliable. For example, in the case of forwarding tables, the tables may suffer the flow of entries. As a result, this information provides only partial visibility for a given source / destination pair.Referring now to FIG. 2, a system 200 for flow-plane traffic analysis is shown. Block 202 collects data in a network 100. As noted above, a significant amount of data may be tracked as a matter of standard operation in the data center network 100, which information may be made available at block 202. It is noted that this data collection may be performed with no instrumentation or any other type of change to the existing data collection mechanisms in a data structure. Although the protocol format may vary from one virtualization platform to the next, the availability of the data is generally present.As noted above, some of the data from the forwarding tables may be incomplete. Block 204 uses the available data to perform path regression to determine the end-to-end paths of the paired VM flows. To help construct a coarse-grained path, domain knowledge may be used. For example, the end-to-end path may be known to include intermediate hops such as host servers 104, VXLAN gateways, and switches 106. The forwarding tables raised by block 202 are used to determine the exact intermediate hops - e.g., which VXLAN is serving the communication in particular, followed by filling the hops between known intermediate hops. After all hops in a flow path have been filled, a full end-to-end path is calculated for the given source and destination pair. Thus, the path regression block 204 generates a many-to-many mapping of flows to physical connections (e.g., switch ports, service ports, VM ports, etc.) that can be represented in the form of a matrix.To address the forwarding table flow problem, rules may be used to infer forwarding behavior. One of these rules states that MAC addresses in a same VLAN are likely to share a same path. In addition, forwarding capabilities are narrowed down based on network graph characteristics and search space for forwarding based on network configuration is reduced. Another rule is that if a particular MAC address does not appear in a large number of forwarding table snapshot, this means that the flows originating from that MAC address are negligible.In addition to the particular difficulty in accessing full forwarding table information, performance counters detected by the data collection block 202 may be introduced with noise, time misalignments, conflicts, etc. These cause inaccuracies in flow traffic analysis, but as will be described below, feedback is generated based on error analysis to compensate for the inaccuracies.For any physical connection that may include switch ports, server ports, middlebox ports, etc., the total use of flows transmitted through the connection may be expressed as an equation to express the performance counter of that interface. It should be appreciated that this representation is likely to contain some inaccuracies if some forwarding tables were not available. The flows can be represented as a matrix as shown in Table 1 below:Table 1 Table 1Compound 1000...0Compound 2101...1Compound 3010...1..................Compound M011...1In this illustration, each row may be considered an equation, with the values in each column representing values for the variables of the equation. When the lines are viewed in other ways, each line identifies which flows are running on the respective link. Meanwhile, the columns represent the connections through which a given flow passes. However, this system is difficult to solve in this form because the number of variables exceeds the number of equations. Thus, by eliminating flows unlikely to be active, block 206 performs filtering and clustering to reduce the number of variables.Exemplary filters that may be used include:1. Filtering based on a link counter - if the traffic counter of a link is below a threshold, all virtual links traversing the link may be expected to be inactive;2. Filtering based on a temporal domain - if the history of a flow follows certain inactive patterns, the flow can be expected to be inactive in a short term; and3. Spatial domain-based filters - the activity of some flows may depend on other flows, so if it is known that certain flows are inactive, the other flows that depend on them are also inactive.It should be appreciated that these filters are included for description only and are not to be considered limiting. After filtering, the number of flows considered should approximately match the number of connections in the data center network 100 to make the equating system detachable. If the filtering does not sufficiently reduce the number of flows, the remaining flows must be clustered to further reduce their effective number. Clustering may be performed, for example, if two flows in the flow matrix have the same vertical vector.The solution of the equation system may be expressed as P·F=L, where P is the matrix as described above, F is a column vector of flow capability, and L is a column vector of respective link counters collected by the block 202, e.g., using SNMP data. The flux performance is unknown, but the inferred matrix P and known vector L allow the calculation of an inferred flux performance vector F'. An example measurement of flow performance may be the size of a flow in terms of a number of bytes.Then, block 208 may provide data verification based on the inferred flow performance vector F'. The matrix P and vector F' are used to calculate an expected link counter vector L'. The difference between the expected L' and the known L reflects the quality of the data set. For example, if the performance counters are significantly affected by noise or time alignment problems, the error vector L'-L is significant. Classification of errors is possible as follows:1. If errors have locality behavior (i.e., if physical lengths close together have high errors), there may be a certain data bump failure configuration;2. if the error is near the average error, the link does not significantly affect data quality; and3. If the fault of a link over time exhibits a certain up and down behavior, it is likely a consequence of a time alignment problem.Data validation block 208 feeds information back to data collection block 202 to improve further data collection depending on the type of error.After the matrix P and the inferred flow performance vector F' have been calculated, block 210 uses this information to estimate flow usage.Referring now to FIG. 3, a method for flow-plane traffic analysis is shown. Block 302 collects data from network devices (e.g., servers 104, switches 106, and routers 108) that relate to connection and flow capability. This information can be collected using existing SNMP and software defined networking protocols without introducing any new instrumentation into the network device. Block 304 performs path regression based on the information collected to determine an end-to-end path over the network 100 for each flow. As discussed above, the information collected by block 302 may not be sufficient to determine fully complete paths for each flow. Thus, based on rules and other information, block 302 may execute inferences to fill any gaps in the flow paths.Since the number of flows may be much larger than the number of physical connections in the network 100, the block 306 may filter the flows based on criteria such as those discussed above or any other rules appropriate by statistics or domain knowledge. In particular, block 306 may filter out flows that may be predicted to have very little activity. If the filtering in block 306 is not sufficient to reduce the number of flows considered to or below the number of physical connections, block 308 clusters to group flows together to further reduce the number of flow groups considered.Block 310 uses the measured link counters from block 302 and the end-to-end flow paths from block 304 to generate a inferred flow performance vector F', as described above. The inferred flow capability vector F' is then used with the flow path matrix P to generate an expected link counter vector L', which the block 310 compares to the measured link counter information to determine an error vector. Block 312 adjusts the flow path matrix P based on the error vector to account for errors.Block 314 estimates the flow utilization using the inferred flow performance vector F'. This information reflects which flows use each physical connection in the network 100 and their respective contributions to the traffic on those connections. Block 316 performs a network management function based on the flow usage estimate. For example, in the case of high usage on a particular connection causing a bottleneck, block 316 may trigger a redirection of one or more flows from the congested physical connection to another path in network 100. Other network management actions may include prioritizing traffic from particular flows, limiting the bandwidth available for particular flows, changing the network topology, changing settings at servers 104, switches 106, or routers 108, or any other network management action within the ability of one of ordinary skill in the art.Embodiments described herein may be entirely hardware, entirely software, or include both hardware and software elements. In a preferred embodiment, the present invention is implemented in software, including but not limited to firmware, resident software, microcode, etc.Embodiments may include a computer program product accessible from a computer usable or computer readable medium that provides program code for use by or in connection with a computer or any other instruction execution system. A computer usable or computer readable medium may include any means that stores, transmits, propagates, or transports the program for use by or in connection with an instruction execution system, apparatus, or apparatus. The medium may be a magnetic, optical, electronic, electromagnetic system, an infrared or semiconductor system (or a magnetic, optical, electronic, electromagnetic device or device, an infrared or semiconductor device or infrared or semiconductor device), or a propagation medium. The medium may include a computer readable storage medium such as a semiconductor or solid state memory, a magnetic tape, a computer removable disk, a random access memory (RAM), a read only memory (ROM), a magnetic hard disk, and an optical disk, etc.Each computer program may be stored in machine readable storage media or in a machine readable storage device (e.g., a program memory or magnetic disk) that is readable by a general purpose or special purpose programmable computer to configure and control the operation of a computer to perform the procedures described herein when the storage media or storage device is read by the computer. In addition, the system of the invention may be considered to be embodied in a computer readable storage medium configured with a computer program, the storage medium configured to cause a computer to operate in a specific or predetermined manner to perform the functions described herein.A data processing system suitable for storing and / or executing program code may include at least one processor directly or indirectly coupled to memory elements via a system bus. The memory elements may include local memory used during actual execution of the program code, mass storage, and cache memory that provides temporary storage of at least some program code to reduce the number of code read from the mass storage during execution. Input / output or I / O devices (including, but not limited to, keyboards, displays, pointing devices, etc.) may be coupled to the system either directly or via I / O intermediate controllers.Network adapters may also be coupled to the system to enable the data processing system to be coupled to other data processing systems or remote printers or storage devices via private or public internetwork. Modems, cable modem and Ethernet cards are only some of the currently available types of network adapters.Referring now to FIG. 4, a network management system 400 is shown. The system 400 includes a hardware processor 402 and a memory 404. Further, the system 400 may include one or more physical network interfaces 405 that the system 400 uses to communicate with other devices in a network 100. The network also contains one or more functional modules. In one embodiment, the functional modules may be implemented as software stored in memory 404 and executed by processor 402. In an alternative embodiment, some or all of the functional modules, e.g., in the form of application specific integrated chips or freely programmable logic arrays, may be implemented as one or more discrete hardware components.A data collection module 406 accesses the other devices in the network 100 to collect available information regarding the devices and physical connections in the network 100. A path regression module 408 performs path regression using the collected data to fill end-to-end paths for each flow, and a data validation module 410 performs data validation to make corrections to the path regression. The flow usage estimation module 412 determines how the various flows use the physical connections in the network 100. If there are too many flows to perform the flow usage estimation, the filtering / clustering module 409 filters out flows as needed and clusters them to reduce this number. The network management module 414 uses the flow usage estimates to perform network management operations in the network 100 to improve the performance of the network.Referring now to FIG. 5, an example processing system 500 is shown that may represent the network management system 400. The processing system 500 includes at least one processor (CPU) 504 operatively coupled to other components via a bus system 502. Operatively coupled to bus system 502 are a cache 506, a read only memory (ROM) 508, a random access memory (RAM) 510, an input / output (I / O) adapter 520, a sound adapter 530, a network adapter 540, a user interface adapter 550, and a display adapter 560.Operatively coupled to bus system 502 through I / O adapter 520 are a first storage device 522 and a second storage device 524. The storage devices 522 and 524 may be a disk storage device (e.g., a magnetic or optical disk storage device) and / or a solid state magnetic device, etc. The storage devices 522 and 524 may be of the same storage device type or different storage device types.A speaker 532 is operatively coupled to the system bus 502 through the sound adapter 530. A transceiver 542 is operatively coupled to the system bus 502 through the network adapter 540. A display device 562 is operatively coupled to the system bus 502 through the display adapter 560.Operatively coupled to the system bus 502 through the user interface adapter 550 are a first user input device 552, a second user input device 554, and a third user input device 556. The user input devices 552, 554, and 556 may be a keyboard or mouse, or a keypad or image capture device, or motion capture device, or a microphone or device that includes the functionality of at least two of the foregoing devices, etc. Of course, other types of input devices may also be used while maintaining the inventive concept of the present principles. The user input devices 552, 554, and 556 may be the same user input device type or different user input device types. The user input devices 552, 554, and 556 are used to input and output information to and from the system 500.As those skilled in the art will readily understand, the processing system 500 may of course also include other elements (not shown) and certain elements may also be omitted. For example, as those of ordinary skill in the art will readily understand, depending on the particular implementation thereof, various other input devices and / or output devices may be included in the processing system 500. For example, various types of wireless and / or wired input and / or output devices may be used. Moreover, as those of ordinary skill in the art will readily appreciate, additional processors, controllers, memory, etc. may also be used in various configurations. Those of ordinary skill in the art, using the teachings of the present principles provided herein, will readily appreciate these and other variations of the processing system 500.It is to be understood that the foregoing is intended in all respects to be illustrative and exemplary, but not restrictive, and the scope of the invention disclosed herein is intended to be determined not from the detailed description, but instead from the claims interpreted in accordance with the full breadth allowed by the patent laws. It is to be understood that the embodiments shown and described herein are merely illustrative of the principles of the present invention and that various changes may be made therein by those skilled in the art without departing from the scope and spirit of the invention. Those skilled in the art could implement various other combinations of features without departing from the scope and spirit of the invention. Having thus described aspects of the invention with the details and particularity required by the patent laws, what is claimed and claimed by the specification is set forth in the appended claims.
Claims
A method for network management, the method comprising: performing path regression (304) to determine, for each data flow in a network, an end-to-end path over physical connections, wherein the end-to-end path of a data flow may traverse one or more physical connections; estimating the per-data flow utilization (314) of each physical connection in the network based on the determined end-to-end paths; An execution of a management action (316) in the network based on estimated pro-dataflow utilization, characterized in that the method comprises: representing the end-to-end paths as a path matrix P, each row corresponding to a physical connection (M1, M2,...M) and each column corresponding to a dataflow of an end-to-end path, such that a column of the path matrix P represents which physical connections pass through a given dataflow; representing measured connection counts as a vector L of measured connection counts; determining a vector F of inferred dataflow capabilities based on the path matrix P and the vector L of measured connection counts by solving the equation system P · F = L.The method of claim 1, wherein performing the path regression comprises determining a portion of an end-to-end path based on forwarding table information and determining a remainder of the end-to-end path based on one or more inference rules.The method of claim 1, further comprising: calculating expected link counts based on the determined end-to-end paths; comparing the expected link counts to measured link counts to generate an error measurement; and adjusting the determined end-to-end paths based on the error measurement.The method of claim 3, wherein calculating the expected link counts comprises: determining a vector of expected link counts based on the path matrix and the vector of inferred flow capabilities.The method of claim 1 or 2, further comprising reducing a number of the flows by filtering the flows in accordance with one or more rules.The method of claim 1, 2, or 5, further comprising clustering the flows into flow groups.The method of claim 1, wherein performing the network management function comprises redirecting a flow and / or changing a topology of the network and / or changing a setting of a device in the network.The method of claim 7, further comprising: calculating expected link counts based on the determined end-to-end paths; comparing the expected link counts to measured link counts to generate an error measurement; and adjusting the determined end-to-end paths based on the error measurement.The method of claim 8, wherein calculating the expected link counts comprises: determining a vector of expected link counts based on the path matrix and the vector of inferred data loss capabilities.The method of claim 1, wherein executing the network management function comprises redirecting a flow of data and / or changing a topology of the network and / or changing a setting of a device in the network.A system for network management, the system comprising: a path regression module (408) comprising a processor configured to determine, for each data flow in a network, an end-to-end path over physical connections, wherein the end-to-end path of a data flow may traverse one or more physical connections; a data flow usage estimation module (412) configured to estimate, based on the determined end-to-end paths, a per data flow usage of each physical connection in the network; A network management module (414) configured to perform a management action in the network based on the estimated pro dataflow utilization, characterized in that the system comprises: a module for representing the end-to-end paths as a path matrix P, each row corresponding to a physical connection (M1, M2,...M) and each column corresponding to a dataflow of an end-to-end path such that a column of the path matrix P represents which physical connections pass through a given dataflow; and representing the measured connection counts as a vector L of measured connection counts; and determining a vector F of inferred dataflow capabilities based on the path matrix and the vector of measured link counts by solving the equation system P·F=L.The system of claim 11, wherein the path regression module is further configured to determine a portion of an end-to-end path based on forwarding table information and determine a remainder of the end-to-end path based on one or more inference rules.The system of claim 11, further comprising a data validation module configured to calculate expected link counts based on the determined end-to-end paths, compare the expected link counts to measured link counts to generate an error measurement, and adjust the determined end-to-end paths based on the error measurement.The system of claim 13, wherein a data validation module is configured to determine a vector of expected connection counts based on the path matrix and the vector of inferred dataflow capabilities.The system of claim 11, further comprising a filtering module configured to reduce a number of the data flows by filtering the flows in accordance with one or more rules.The system of claim 11, further comprising a clustering module configured to cluster the data flows into data flow groups.The system of claim 11, wherein the network management function comprises redirecting a flow of data and / or changing a topology of the network and / or changing a setting of a device in the network.
Citation Information
Patent Citations
Methods and apparatus to control traffic in a packet-switched network
US20090046583A1
