Generating Network Topologies

Mudigonda; Jayaram ;   et al.

Patent Application Summary

U.S. patent application number 14/805629 was filed with the patent office on 2015-11-19 for generating network topologies. The applicant listed for this patent is Hewlett-Packard Development Company, L.P.. Invention is credited to Jeffrey Clifford Mogul, Jayaram Mudigonda, Praveen Yalagandula.

Application Number20150333968 14/805629
Document ID /
Family ID48173609
Filed Date2015-11-19

United States Patent Application 20150333968
Kind Code A1
Mudigonda; Jayaram ;   et al. November 19, 2015

Generating Network Topologies

Abstract

A method of generating a plurality of potential network topologies is provided herein. The method includes receiving parameters that specify a number of servers, a number of switches, and a number of ports in the switches. The parameters are for configuring a network topology. The method also includes generating one or more potential network topologies comprising the set of potential network topologies, for each of a number of dimensions. The number of dimensions is based on the number of switches. The method further includes determining that the set of potential network topologies is structurally feasible. Additionally, the method includes determining an optimal link aggregation (LAG) factor in each dimension of each of the set of potential network topologies.


Inventors: Mudigonda; Jayaram; (San Jose, CA) ; Yalagandula; Praveen; (San Francisco, CA) ; Mogul; Jeffrey Clifford; (Menio Park, CA)
Applicant:
Name City State Country Type

Hewlett-Packard Development Company, L.P.

Houston

TX

US
Family ID: 48173609
Appl. No.: 14/805629
Filed: July 22, 2015

Related U.S. Patent Documents

Application Number Filing Date Patent Number
13285842 Oct 31, 2011 9148348
14805629

Current U.S. Class: 709/250
Current CPC Class: H04Q 3/0083 20130101; H04L 41/12 20130101; H04L 49/15 20130101; H04L 41/145 20130101; Y02B 60/33 20130101
International Class: H04L 12/24 20060101 H04L012/24; H04L 12/933 20060101 H04L012/933

Claims



1-20. (canceled)

21. A method of generating a set of potential network topologies, comprising: receiving parameters that specify a number of servers, a number of switches, and a number of ports in the switches, for configuring a network topology; incrementing the number of switches to enable generating more efficient network topologies than possible with the number of switches; generating one or more potential network topologies, for each of a number of dimensions, wherein the number of dimensions is based on the incremented number of switches; determining that the potential network topologies are structurally feasible; and determining an optimal link aggregation (LAG) factor in each dimension of each of the potential network topologies.

22. The method recited in claim 21, wherein generating more efficient network topologies comprises generating topologies such that a number of ports per switch is less than possible with the number of switches.

23. The method recited in claim 21, wherein the potential network topologies comprises HyperX topologies, wherein HyperX topologies comprise network topologies wherein each switch is connected to all other switches in each dimension that the switch belongs to.

24. The method recited in claim 21, wherein determining the optimal LAG factor in each dimension comprises finding an optimal distribution of available ports among the dimensions such that bisection bandwidth is maximized.

25. The method recited in claim 21, wherein determining the optimal LAG factor comprises: determining enough ports are available to increase bandwidth in a dimension; and incrementing the optimal LAG factor by 1.

26. The method recited in claim 25, comprising incrementing the optimal LAG factor by 1 until there are not enough ports to increase bisection bandwidth in the dimension.

27. The method recited in claim 21, wherein determining that the set of potential network topologies is structurally feasible comprises determining that R-T.gtoreq..SIGMA..sub.i=1.sup.D(S.sub.i-1)K.sub.i, wherein R represents a number of ports assigned to a switch, T represents a number of servers assigned to the switch, D represents a number of dimensions in a network topology, S.sub.i represents a number of switches in a dimension, and K.sub.i represents a link aggregation factor of the switch.

28. The method recited in claim 21, wherein generating the one or more potential network topologies comprises: generating first plurality of potential network topologies for a first number of dimensions; and generating a second plurality of potential network topologies for a second number of dimensions by splitting from the all of the first plurality of potential network topologies.

29. The method of claim 28, comprising determining that the one of the first plurality of potential network topologies is not structurally feasible.

30. The method recited in claim 21, wherein generating the one or more potential network topologies is based on one or more constraints of each potential network topology comprising: a specified cost; a specified bisection bandwidth; a space constraint; and using components from a specified list of parts, wherein the specified list of parts comprise: switches with different numbers and types of ports; cables of different types; and cables of different lengths.

31. A computer system for generating a set of potential HyperX topologies, comprising: a memory storing instructions; a processor executing the instructions to: receive parameters that specify a number of servers, a number of switches, and a number of ports in the switches, for configuring a HyperX topology; and increment the number of switches to enable generating more efficient network topologies than possible with the number of switches; generate one or more potential HyperX topologies for each of a number of dimensions, wherein the number of dimensions is based on the incremented number of switches; determine that the set of potential HyperX topologies is structurally feasible; and determine an optimal link aggregation (LAG) factor in each dimension of each of the potential HyperX topologies.

32. The computer system recited in claim 31, wherein the more efficient network topologies are generated by generating topologies with the incremented number of switches such that a number of ports per switch is less than possible with the number of switches.

33. The computer system recited in claim 31, the processor executing the instructions to rank the set of potential HyperX topologies based on a cost for each of the set of potential HyperX topologies.

34. The computer system recited in claim 31, wherein the optimal LAG factor is determined by increasing a number of ports assigned from each switch to all other switches in the dimension.

35. The computer system recited in claim 31, wherein determining the optimal LAG factor comprises: determining enough ports are available to increase bandwidth in a dimension; and incrementing the optimal LAG factor by 1.

36. The computer system recited in claim 35, wherein determining the optimal LAG factor comprises incrementing the optimal LAG factor by 1 until there are not enough ports to increase bisection bandwidth in the dimension.

37. The computer system recited in claim 31, wherein determining the optimal LAG factor in each dimension comprises finding an optimal distribution of available ports among the dimensions such that bisection bandwidth is maximized.

38. The computer system recited in claim 31, wherein determining the optimal LAG factor comprises: determining enough ports are available to increase bandwidth in a dimension; and incrementing the optimal LAG factor by 1.

39. A computer-readable medium comprising machine-readable instructions executable by a processor to: receive parameters that specify a number of servers, a number of switches, and a number of ports in the switches, for configuring a HyperX topology; and increment the number of switches to enable generating more efficient network topologies than possible with the number of switches; generate one or more potential HyperX topologies for each of a number of dimensions, wherein the number of dimensions is based on the incremented number of switches; determine that the set of potential HyperX topologies is structurally feasible; determine an optimal link aggregation (LAG) factor in each dimension of each of the set of potential HyperX topologies; generate a first plurality of potential network topologies for a first number of dimensions; and generate a second plurality of potential network topologies for a second number of dimensions by splitting one of the first number of dimensions into two dimensions.

40. The computer-readable medium recited in claim 39, wherein determining the optimal LAG factor in each dimension comprises finding an optimal distribution of available ports among the dimensions such that bisection bandwidth is maximized.
Description



BACKGROUND

[0001] Network topologies are typically tree-based, and do not provide path diversity, or high bandwidth. However, multipath topologies, which are inherently redundant, may provide both. For example, HyperX topologies are an extension of hypercube and flattened butterfly topologies. HyperX topologies provide a large number of paths between any two end-points, and can provide improvements in bandwidth over typical topologies. However, choosing a cost-effective topology is challenging because the various parameters for configuration create a large design space. The potential network topologies that may be created for a specific set of servers and switches is numerous. Further, these parameters have complex interactions amongst themselves, which makes the design space computationally complex to resolve. Additionally, the physical layout of datacenter racks housing servers in such networks may affect certain settings that influence performance. Generating HyperX topologies in a way that is less computationally complex would be useful in creating multipath networks with greater bandwidth.

BRIEF DESCRIPTION OF THE DRAWINGS

[0002] Certain embodiments are described in the following detailed description and in reference to the drawings, in which:

[0003] FIG. 1 is a block diagram of a system for generating potential HyperX topologies in accordance with embodiments;

[0004] FIG. 2 is a process flow diagram of a method for generating potential HyperX topologies in accordance with embodiments;

[0005] FIG. 3 is a process flow diagram of a method for generating potential HyperX topologies, in accordance with embodiments;

[0006] FIG. 4 is a block diagram of a system for generating potential HyperX topologies in accordance with embodiments; and

[0007] FIG. 5 is a block diagram showing a non-transitory, computer-readable medium that stores code for generating potential HyperX topologies in accordance with embodiments.

DETAILED DESCRIPTION

[0008] FIG. 1 is a block diagram of a system 100 for generating potential HyperX topologies in accordance with embodiments. The system 100 includes a topology generator 102, HyperX topologies 104, and constraints 106. The topology generator 102 generates a set of HyperX topologies 104 based on a specified set of constraints 106. HyperX topologies 104 are an extension of the hypercube and flattened butterfly topologies. In a HyperX topology 104, switches are points in a D-dimensional integer lattice, with S.sub.k switches in each dimension k=1 . . . D. The dimensions may not be equal in size. Each of the switches connects to all other switches that share a dimension. In other words, each switch connects to all switches that share all but one of its coordinates. For example, in a 2 dimensional HyperX topology, a switch connects to all switches in the same row and in the same column. The link bandwidths K.sub.1, . . . , K.sub.D are fixed in each dimension, but can vary across dimensions. At each switch, T ports are assigned to server downlinks. A network with a HyperX topology may be represented as HyperX(D, .about.S, .about.K, T), where .about.S and .about.K are vectors. Further, the number of switches, servers, and links, in the HyperX(D, .about.S, .about.K, T) may be represented as shown in Formulas 1-3, respectively:

.PI..sub.k=1.sup.DS.sub.k (1)

T.PI..sub.k=1.sup.DS.sub.k (2)

(1/2).PI..sub.k=1.sup.DS.sub.k.PI..sub.k=1.sup.D[(S.sub.k-1)K.sub.k] (3)

[0009] The constraints 106 may include space and cost constraints. Other constraints 106 may include achieving a specified bisection bandwidth and using components from a specified list of parts. Parts may include switches with different numbers and types of ports, cables of different types and lengths, etc.

[0010] Since the number of topologies feasible even with a set of constraints can be numerous, network designers arbitrarily choose among a few manually-derived topologies. However, this approach can result in an expensive topology. In one embodiment, the topology generator 102 may perform a systematic analysis of the design space, and distribute the available switch ports efficiently across HyperX dimensions. In this way, the topology generator 102 may automatically generate a HyperX topology 104 that fits within a given physical space, achieves a specified bisection bandwidth, reduces the overall cost, and uses components from a specified list of parts. In embodiments, the topology generator 102 is parallelizable and may include large compute clusters. Further, the speed and parallelizability makes it possible to do thorough "what-if" analysis. Such analyses can be useful in making designs future-proof, determining which parts to stock, and reducing costs, such as those associated with maintaining stock keeping units (SKUs).

[0011] The topology generator 102 generates all of the potential HyperX topologies 104 based on the constraints 106. In embodiments, a set of potential HyperX topologies 104 is generated based on a given number of servers, N, (or server-equivalents, to account for external bandwidth) and a given number of switches, S, with radix (port count), R. The topology generator 102 ranks the potential HyperX topologies 104 according to their costs. In embodiments, certain simplifying assumptions are made. One example of a simplifying assumption is that all network interface controllers (NICs) and server ports have the same unit bandwidth. Another example of a simplifying assumption is that all switches are similar, and have the same number of servers attached. However, in embodiments, the number of servers attached to each switch may vary.

[0012] FIG. 2 is a process flow diagram of a method 200 for generating potential HyperX topologies 104 in accordance with embodiments. It should be understood that the data flow diagram is not intended to indicate a particular order of execution. The method begins at block 202, where the topology generator 102 determines the number of HyperX ports. The HyperX ports are the ports on each switch that are left available for intra-cluster links. Intra-cluster links are the links between switches. In embodiments where the same number of servers are assigned to each switch, the number of HyperX ports is the difference between the radix and the number of assigned servers.

[0013] At block 204, the topology generator 102 iterates over the possible number of dimensions for the potential HyperX topologies 104. This may be based on the number of switches. For example, a potential HyperX topology with eight switches may include up to three possible dimensions (values for D). At block 206, the potential HyperX topologies 104 may be generated. In other words, all possible values of .about.S may be generated for each number of dimensions, D. For a single dimension (D=1), the potential HyperX topologies 104 are limited to one linear topology (S.sub.1=S). A method for generating potential HyperX topologies 104 in multiple dimensions is described with reference to FIG. 3. At block 208, the potential HyperX topologies 104 are ranked according to cost. A user may select from the potential HyperX topologies 104 for implementation.

[0014] FIG. 3 is a process flow diagram of a method 300 for generating potential HyperX topologies 104 in accordance with embodiments. It should be understood that the data flow diagram is not intended to indicate a particular order of execution. Furthermore, the method 300 may be performed at block 206 of FIG. 2. The method begins at block 302, where the topology generator 102 may generate each potential HyperX topology 104 in a specific number of dimensions, D. In embodiments, the topology generator 102 takes each potential HyperX topology 104 from D-1 dimensions, and splits one of the dimensions. For example, a two dimensional topology, e.g., a 6.times.6 topology can be split into a three dimensional, 6.times.3.times.2 topology. Similarly, the 6.times.3.times.2 topology may be split into a 3.times.3.times.2.times.2 topology.

[0015] Blocks 304-308 are repeated for each potential Hyperx topology 104 generated at block 302. At block 306, the topology generator 102 may determine whether the potential topology 104 is structurally feasible. A potential HyperX topology 104 is not structurally feasible if there are not enough HyperX ports to connect to all the remaining switches in each dimension. If the potential HyperX topology 104 is not feasible, this potential HyperX topology is discarded and the method 300 iterates to the next potential HyperX topology 104. In one embodiment, structurally infeasible topologies may include potential HyperX topologies 104 that use too many connectors to fit on a switch faceplate.

[0016] It is noted that when generating potential HyperX topologies 104 by splitting from the topologies from the D-1 dimension, all of the previous candidates generated for D-1 dimension are considered, even the structurally infeasible ones. This is due to the fact that the progeny of an infeasible topology may be structurally feasible.

[0017] If the potential HyperX topology 104 is structurally feasible, at block 308, the LAG factor is determined in each dimension. In other words, the topology generator 102 generates the vector, .about.K. In embodiments, the LAG factors are multiples of the connector and cable width.

[0018] Bisection bandwidth represents the available bandwidth over all bisections of a network. The bisection bandwidth of a HyperX(D, .about.S, .about.K, T) depends both on the topology dimensions, .about.S, and the LAG factors, .about.K. By optimizing .about.K, bisection bandwidth may be improved. Optimizing .about.K is the same as finding an optimal distribution of each switch's available ports (hyperx ports) among the different dimensions, such that the bisection bandwidth is maximized. In embodiments, given: (i) switches with radix R, of which T ports are used for links to servers and (ii) a HyperX network with D dimensions, with sizes .about.S=(S.sub.1, S.sub.2, . . . , S.sub.D), the remaining R-T ports of each switch among the D dimensions are distributed such that the bisection bandwidth of the topology is maximized. It is noted that for HyperX(D, .about.S, .about.K, T), the bisection bandwidth may be represented as shown in Equation 4:

min.sub.i=1.sup.DS.sub.iK.sub.i (4)

[0019] The LAG factors may be maximized under the constraints shown in Equations 5-6:

.A-inverted.i,K.sub.i.epsilon. (5)

.SIGMA..sub.i=1.sup.D(S.sub.i-1)K.sub.i.ltoreq.R-T (6)

[0020] Every dimension, i, with the minimal S.sub.iK.sub.i product is considered for expanding the LAG factor. If enough spare ports are available to increase the bandwidth in that dimension, then the LAG factor is incremented by 1. This process is repeated until there are not enough spare ports left to increase the bisection bandwidth.

[0021] In the description above, a set of potential HyperX topologies 104 is generated that include a specified number of switches, S. However, in some cases, the value of S may not be divisible among multiple dimensions. For example, when S is prime, only a single dimension topology is possible, which may be inefficient. In one embodiment, the topology generator 102 may add switches to the specified number to enable more efficient potential HyperX topologies 104. For example, suppose a user specifies a 31-switch network. Since 31 is prime, this forces a single linear design (effectively, a full mesh). However, adding one switch allows a much wider variety of candidates (e.g., 8.times.4 or 4.times.4.times.2), which could make the design feasible with fewer switch ports. Even if the specified number of switches is not prime, the number might have inconvenient factors, that would be difficult to satisfy unless the number of ports per switch is quite large. For example, if the specified number is 94, the potential HyperX topologies 104 would include switches with at least 49 ports, plus the number of servers, T, per switch. However, potential HyperX topologies 104 with 95 switches are structurally feasible with only 24+T-port switches.

[0022] FIG. 4 is a block diagram of a system 400 for generating HyperX topologies in accordance with embodiments. The functional blocks and devices shown in FIG. 4 may comprise hardware elements, software elements, or some combination of software and hardware. The hardware elements may include circuitry. The software elements may include computer code stored on a non-transitory, computer-readable medium. Additionally, the functional blocks and devices of the system 400 are but one example of functional blocks and devices that may be implemented in embodiments. Specific functional blocks may be defined based on design considerations for a particular electronic device.

[0023] The system 400 may include servers 402 in communication with a network 406. Each of the servers 402 may include a processor 408, which may be connected through a bus 410 to a display 412, a keyboard 414, an input device 416, and an output device, such as a printer 418. The input devices 416 may include devices such as a mouse or touch screen. The servers 402 may also be connected through the bus 410 to a network interface card 420. The network interface card 420 may connect the servers 402 to the network 406. The network 406 may be a local area network, a wide area network, such as the Internet, or another network configuration. The network 406 may include routers, switches, modems, or any other kind of interface device used for interconnection. In one example embodiment, the network 406 may be the Internet.

[0024] The servers 402 may operate in parallel compute clusters, or individually. The servers 402 may also have other units operatively coupled to the processor 412 through the bus 410. These units may include non-transitory, computer-readable storage media, such as storage 422. The storage 422 may include media for the long-term storage of operating software and data, such as hard drives. The storage 422 may also include other types of non-transitory, computer-readable media, such as read-only memory and random access memory.

[0025] The storage 422 may include the machine readable instructions used in embodiments of the present techniques. In embodiments, the storage 422 may include a topology generator 424 and HyperX topologies 426. The topology generator 424 may generate all structurally feasible HyperX topologies with various dimensions, and rank them according to cost.

[0026] FIG. 5 is a block diagram showing a non-transitory, computer-readable medium that stores code for generating potential HyperX topologies in accordance with embodiments. The non-transitory, computer-readable medium is generally referred to by the reference number 500.

[0027] The non-transitory, computer-readable medium 500 may correspond to any typical storage device that stores computer-implemented instructions, such as programming code or the like. For example, the storage device may include a hard disk drive, a magnetic disk drive, e.g., to read from or write to a removable magnetic disk, or an optical disk drive, e.g., for reading a CD-ROM disk or to read from or write to other optical media. Further, other types of media that are readable by a computer system and that are suitable to the desired end purpose may be used, such as magnetic cassettes, flash memory cards, digital video disks, Bernoulli cartridges, and the like.

[0028] The storage device may be connected to a system bus by a storage device interface, such as a hard disk drive interface, a magnetic disk drive interface, or an optical drive interface. For example, the storage device may be the storage 422 discussed with respect to FIG. 4.

[0029] When read and executed by a processor 502 via a communication path 504, the instructions stored on the non-transitory, computer-readable medium 500 are adapted to cause the processor 502 to generate a set of potential HyperX topologies according to an example embodiment, as described herein. The non-transitory, computer-readable medium 500 may include a topoplogy generator 506, and HyperX topologies 508. The topology generator 506 may generate HyperX topologies 508 for a specific number of switches and servers in numerous dimensions using an optimal amount of available bandwidth.

* * * * *


uspto.report is an independent third-party trademark research tool that is not affiliated, endorsed, or sponsored by the United States Patent and Trademark Office (USPTO) or any other governmental organization. The information provided by uspto.report is based on publicly available data at the time of writing and is intended for informational purposes only.

While we strive to provide accurate and up-to-date information, we do not guarantee the accuracy, completeness, reliability, or suitability of the information displayed on this site. The use of this site is at your own risk. Any reliance you place on such information is therefore strictly at your own risk.

All official trademark data, including owner information, should be verified by visiting the official USPTO website at www.uspto.gov. This site is not intended to replace professional legal advice and should not be used as a substitute for consulting with a legal professional who is knowledgeable about trademark law.

© 2024 USPTO.report | Privacy Policy | Resources | RSS Feed of Trademarks | Trademark Filings Twitter Feed