Reconfigurable computing platform using optical networks with one-to-many optical switches
Dynamically configuring the arrangement and connection of computing nodes through optical network technology solves the problems of supercomputers in handling node failures and optimizing the arrangement of computing nodes, achieving high availability, performance and security.
Patent Information
- Application Number
- CN202210624144.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2019-07-01
- Filing Date
- 2020-07-01
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2040-07-01
AI Technical Summary
Due to their rigid structure, existing supercomputers are difficult to dynamically adjust processing nodes, resulting in reduced availability and performance when processing node failures, and it is difficult to optimize the arrangement of computing nodes to improve workload efficiency.
Optical network technology is used to dynamically configure the arrangement and connection of computing nodes through one-to-many optical switches and optical path switches to form a reconfigurable computing node cluster, allowing the replacement of failed nodes and optimizing the distribution of computing nodes.
It improves the availability and performance of computing nodes, enables flexible configuration and fault isolation of computing nodes, enhances security, and reduces data transmission delays.
Smart Images

Figure CN115002584B_ABST
Abstract
Description
[0001] This application is a divisional application of the following application:
[0002] Application number of the original application: 202010617949.1
[0003] Filing date of original application: July 1, 2020,
[0004] Title of the invention of the original application: Reconfigurable computing platform using an optical network with one-to-many optical switches Background Art
[0005] Some computational workloads, such as machine learning training, require a large number of processing nodes to efficiently complete the workload. The processing nodes can communicate with each other through an interconnect network. For example, in machine learning training, the processing nodes can communicate with each other to converge on an optimal deep learning model. The interconnect network is critical to the speed and efficiency with which the processing units achieve convergence.
[0006] Because machine learning and other workloads vary in size and complexity, the rigid structure of a supercomputer comprising multiple processing nodes can limit the availability, scalability, and performance of the supercomputer. For example, if some of the processing nodes of a supercomputer having a rigid interconnect network connecting a particular arrangement of processing nodes fail, the supercomputer may not be able to replace these processing nodes, resulting in reduced availability and performance. Some specific arrangements may also result in higher performance than other arrangements, regardless of failed nodes. Summary of the invention
[0007] This specification describes techniques involving a superpod of reconfigurable computing nodes from which workload clusters are generated using optical networks.
[0008] In general, an innovative aspect of the subject matter described in this specification can be embodied in a method comprising receiving request data of a requested computing node specifying a computing workload. The request data specifies a target arrangement of computing nodes. A subset of the building blocks is selected from a super platform comprising a set of building blocks, each building block in the set of building blocks comprising computing nodes arranged in m dimensions. Each building block is connected to an optical network comprising two or more optical circuit switching (OCS) switches for each of the m dimensions. For each of the m dimensions, each building block comprises one or more segments of computing nodes interconnected along the dimension. Each segment comprises a first computing node at a first end of the segment and a second computing node at a second end of the segment opposite to the first end. For each of the m dimensions, a first portion of a first computing node is connected to a first OCS switch of the two or more OCS switches for the dimension, one or more additional portions of the first computing node are connected to corresponding additional OCS switches of the two or more OCS switches for the dimension, and a second computing node of each segment is connected to an input of a corresponding one-to-many optical switch having an input and multiple outputs. The first output is connected to the first OCS switch, and for each additional portion of the first computing node, a corresponding additional output is connected to an additional OCS switch for the additional portion of the first computing node. A logical arrangement of a subset of computing nodes that matches a target arrangement of computing nodes is determined. For each dimension in the m dimensions, the logical arrangement defines a connection between a segment of each building block and a corresponding segment of one or more other building blocks. A workload cluster of computing nodes is generated, which includes a subset of building blocks and is connected to each other based on the logical arrangement. The generation includes configuring corresponding routing data for each of two or more OCS switches for the dimension for each dimension of the workload cluster. The corresponding routing data for each dimension of the workload cluster specifies how data of the computing workload is routed between computing nodes along the dimension of the workload cluster. The generation also includes configuring at least a portion of the one-to-many switch based on the logical arrangement so that the second computing node in each segment of computing nodes is connected to the same OCS switch as the corresponding first computing node of the corresponding segment to which the second computing node in the logical arrangement is connected. The computing nodes of the workload cluster are caused to execute the computing workload. Other embodiments of this and other aspects include corresponding systems, methods, and computer programs configured to perform the actions of the method encoded on a computer storage device. A system of one or more computers may be configured by means of software, firmware, hardware or a combination thereof installed on the system so that in operation the system performs actions. One or more computer programs may be configured by instructions which, when executed by a data processing device, cause the device to perform the actions.
[0009] These and other embodiments may each optionally include one or more of the following features. In some aspects, configuring at least a portion of a one-to-many switch based on a logical arrangement so that a second computing node of each segment of computing nodes is connected to the same OCS switch as a corresponding first computing node of a corresponding segment to which the second computing node is connected in the logical arrangement, the configuration may include identifying, for a first building block in the subset, a second building block in the subset that is adjacent to the first building block along a particular dimension, and for each segment of the first building block along the particular dimension, identifying a corresponding segment of the second building block, identifying an OCS switch to which a first computing node of the corresponding segment of the second building block is connected, and configuring the one-to-many switch to which the segment is connected to connect the second computing node of the segment to the identified OCS switch.
[0010] In some aspects, identifying the corresponding segment of the second building block includes identifying a segment of the second building block, the segment of the second building block being along the particular dimension, along the same logical axis as the segment of the first building block in the logical arrangement.
[0011] In some aspects, the one or more additional portions of the first computing node are an additional portion of the first computing node, the one-to-many optical switch is a one-to-two optical switch having one input and two outputs; the first portion of the first computing node includes half of the first computing node, and the additional portion of the first computing node includes half of the first computing node.
[0012] In some aspects, the request data specifies different types of computing nodes, and selecting the subset of building blocks includes selecting, for each type of computing node specified by the request data, a building block that includes one or more computing nodes of the specified type.
[0013] In some aspects, the corresponding routing data for each dimension of the super platform may include an OCS switch routing table for each of the two or more OCS switches of the dimension. In some aspects, each building block may include one of a three-dimensional torus of compute nodes or a grid of compute nodes.
[0014] In some aspects, a super platform includes multiple workload clusters, and each workload cluster includes a different subset of building blocks and performs a different workload than every other workload cluster.
[0015] Some aspects include receiving data indicating that a given building block of a workload cluster has failed, and replacing the given building block with an available building block. Replacing the given building block with an available building block may include updating routing data of one or more optical path switches of the optical network to stop routing data between the given building block and one or more other building blocks in the workload cluster, and updating routing data of the one or more optical path switches of the optical network to route data between the available building block and the one or more other building blocks in the workload cluster. In some aspects, the target arrangement of computing nodes includes an n-dimensional arrangement of computing nodes, where n is greater than or equal to 2.
[0016] The subject matter described in this specification can be implemented in specific embodiments to achieve one or more of the following advantages. Clusters of computing nodes that dynamically configure computing nodes for workloads using optical networks result in higher availability of computing nodes because other computing nodes can easily replace failed or offline computing nodes. Workload clusters can be configured from a super platform that includes computing nodes connected to an optical network. The flexibility of computing node arrangement results in higher performance of computing nodes and more efficient allocation of the appropriate number and arrangement of computing nodes optimized (or improved) for each workload. Using a super platform that includes multiple types of computing nodes connected using an optical network, a workload cluster can be generated that includes not only the appropriate number and arrangement of computing nodes, but also the appropriate type of computing nodes for each workload, for example, rather than being limited to computing nodes that are physically close to each other in a data center or other location.
[0017] Configuring workload clusters for workloads using optical networks also provides fault isolation and better security for workloads. For example, some traditional supercomputers route traffic between the various computers that make up the supercomputer. If one of the computers fails, the communication path will be lost. Using optical networks, data can be quickly rerouted and / or available computing nodes can replace (e.g., substitute) failed computing nodes. For example, by reconfiguring an optical path switching (OCS) switch, another computing node in a super platform can be connected to other computing nodes in a workload cluster. In addition, the physical isolation between workloads provided by the OCS switch (e.g., physical isolation of different optical paths) provides better security between various workloads executed in the same super platform compared to using vulnerable software to manage separation.
[0018] Using optical networks to connect building blocks can also reduce latency in transferring data between building blocks relative to packet-switched networks. For example, in packet switching, there is additional latency because packets need to be received by a switch, buffered, and sent again on another port. Using OCS switches to connect building blocks provides a true end-to-end optical path without packet switching or buffering in between.
[0019] One-to-many optical switches may be included in the optical network to increase the size of a super platform for a given size of OCS switch. This in turn allows for a larger workload cluster to be generated from the compute nodes of a super platform for a given size of OCS switch. Similarly, for a given size of super platform, using one-to-many optical switches may reduce the number of OCS ports used on each OCS switch.
[0020] Various features and advantages of the foregoing subject matter will be described below with reference to the accompanying drawings. Other features and advantages will be apparent from the subject matter described herein and from the claims. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] Figure 1 is a block diagram of an environment in which an exemplary processing system generates a workload cluster of compute nodes and executes a computing workload using the workload cluster.
[0022] Figure 2 An exemplary logical super-platform and exemplary workload clusters generated from a portion of the building blocks in the super-platform are shown.
[0023] Figure 3 Exemplary building blocks and exemplary workload clusters generated using the building blocks are shown.
[0024] Figure 4 An example optical link from a compute node to an optical circuit switching (OCS) switch is shown.
[0025] Figure 5 A logical computing pallet for forming building blocks is shown.
[0026] Figure 6 Sub-blocks of an exemplary building block are shown with one dimension omitted.
[0027] Figure 7 Exemplary building blocks are shown.
[0028] Figure 8 The OCS architecture topology for a super platform is shown.
[0029] Fig. 9 Components of an example super platform are shown.
[0030] Fig.10is a flow chart illustrating an exemplary process for generating a workload cluster and executing a computing workload using the workload cluster.
[0031] Fig.11 is a flow chart illustrating an exemplary process for reconfiguring an optical network to replace a failed building block.
[0032] Fig.12 A portion of an example super platform including building blocks and a 1x2 optical switch is shown.
[0033] Fig.13 Exemplary workload clusters are shown.
[0034] Fig.14 is a flow chart illustrating an exemplary process for generating a workload cluster and executing a computing workload using the workload cluster.
[0035] Like reference numbers and numerals in the various drawings represent like elements. DETAILED DESCRIPTION
[0036] In general, the systems and techniques described herein can configure an optical network structure to generate a workload cluster of computing nodes from a super platform that includes multiple building blocks of computing nodes connected via an optical network. For example, a super platform can include a set of interconnected building blocks. Each building block can include multiple computing nodes in an m-dimensional arrangement (e.g., a two-dimensional or three-dimensional arrangement).
[0037] A user can specify a target arrangement of compute nodes for a particular workload. For example, a user can provide a machine learning workload and specify a target arrangement of compute nodes for machine learning computations. The target arrangement can define the number of compute nodes in each of n dimensions, for example, where n is greater than or equal to 2. That is, the target arrangement can define the size and shape of the workload cluster. For example, some machine learning models and computations perform better on non-square topologies.
[0038] Cross-sectional bandwidth can also become a limitation on the overall computation, e.g., compute nodes waiting for data transfers are left with idle compute cycles. The shape of a workload cluster can have an impact on the performance of the compute nodes in the workload cluster, depending on how the work is distributed across the compute nodes and how much data needs to be transferred over the network in different dimensions.
[0039] For workloads that will have all compute node to all compute node data traffic, a cube-shaped workload cluster will reduce the number of hops between compute nodes. If a workload has a large amount of local communications that then transmit data to adjacent groups of compute nodes in a particular dimension, and the workload invokes many of these adjacent communications that are linked together, then the workload may benefit from an arrangement that has more compute nodes in a particular dimension than in other dimensions. Thus, enabling a user to specify an arrangement of compute nodes in a workload cluster allows the user to specify an arrangement that may result in better performance for their workload.
[0040] If different types of computing nodes are included in the super platform, the request may also specify the number of computing nodes of each type to be included in the workload cluster. This allows the user to specify an arrangement of computing nodes that performs better for a particular workload.
[0041] The workload scheduler can select building blocks for a workload cluster, for example, based on the availability of the building blocks, the health of the building blocks (e.g., working or failed), and / or the priority of the workload in the super platform (e.g., the priority of the workload executed or to be executed by the computing nodes of the super platform). The workload scheduler can provide data identifying the selected building blocks and the target arrangement of the building blocks to an optical circuit switch (OCS) manager. The OCS manager can then configure one or more OCS switches of the optical network to connect the building blocks together to form a workload cluster. The workload scheduler can then execute the computational workload on the computing nodes of the workload cluster.
[0042] If a building block in a workload cluster fails, the failed building block can be quickly replaced with another building block by simply reconfiguring the OCS switch. For example, the workload scheduler can select an available building block in the super platform to replace the failed building block. The workload scheduler can instruct the OCS manager to replace the failed building block with the selected building block. The OCS manager can then reconfigure the OCS switch so that the selected building block is connected to other building blocks of the workload cluster and the failed building block is no longer connected to building blocks of the workload cluster.
[0043] Figure 1is a block diagram of an environment 100 in which an exemplary processing system 130 generates a workload cluster of computing nodes and executes a computing workload using the workload cluster. The processing system 130 can receive a computing workload 112 from a user device 110 via a data communication network 120 (e.g., a local area network (LAN), a wide area network (WAN), the Internet, a mobile network, or a combination thereof). Example workloads 112 include software applications, machine learning models (e.g., training and / or using machine learning models), encoding and decoding video and digital signal processing workloads, etc.
[0044] The user may also specify a requested cluster 114 of computing nodes for the workload 112. For example, the user may specify a target shape and size of the cluster for the requested cluster of computing nodes. That is, the user may specify the number of computing nodes and the shape of the computing nodes in multiple dimensions. For example, if the computing nodes are distributed in three dimensions x, y, and z, the user may specify multiple computing nodes in each dimension. The user may also specify one or more types of computing nodes to be included in the cluster. As described below, the processing system 130 may include different types of computing nodes.
[0045] As described below, processing system 130 can use building blocks to generate a workload cluster that matches the target shape and size of the cluster. Each building block may include multiple computing nodes arranged in m dimensions (e.g., 3 dimensions or other appropriate number of dimensions). Therefore, a user can specify the target shape and size based on the number of building blocks in each of the multiple dimensions. For example, processing system 130 can provide a user interface to user device 110 that enables a user to select a maximum number of building blocks in each dimension.
[0046] User device 110 may provide workload 112 and data specifying requested cluster 114 to processing system 130. For example, user device 110 may provide request data including workload 112 and data specifying requested cluster 114 to processing system 130 over network 120.
[0047] The processing system 130 includes a unit scheduler 140 and one or more units 150. A unit 150 is a group of one or more super platforms. For example, the unit 150 shown includes four super platforms 152-158. Each super platform 152-158 includes a group of building blocks 160, also referred to as a building block pool in this article. In this example, each super platform 152-158 includes 64 building blocks 160. However, the super platforms 152-158 may include other numbers of building blocks 160, such as 20, 50, 100 or another appropriate number. The super platforms 152-158 may also include different amounts of building blocks 160. For example, the super platform 152 may include 64 building blocks, while the super platform 154 includes 100 building blocks.
[0048] As described in more detail below, each building block 160 may include a plurality of computing nodes logically arranged in two or more dimensions. For example, a building block 160 may include 64 computing nodes arranged along three dimensions, with four computing nodes in each dimension. This arrangement of computing nodes is referred to herein as a 4×4×4 building block, with four computing nodes along the x dimension, four computing nodes along the y dimension, and four computing nodes along the z dimension. Other numbers of dimensions (e.g., two dimensions) and other numbers of computing nodes in each dimension are also possible, such as 3×1, 2×2×2, 6×2, 2×3×4, etc.
[0049] A building block may also include a single compute node. However, as described below, to generate a workload cluster, the optical links between the building blocks are configured to connect the building blocks together. Therefore, although smaller building blocks (e.g., building blocks with a single compute node) can provide greater flexibility in generating workload clusters, smaller building blocks may require more OCS switch configurations and more optical network components (e.g., cables and switches). The number of compute nodes in a building block can be selected based on the desired flexibility of the workload cluster and the tradeoff between the need to connect the building blocks together to form a workload cluster and the number of OCS switches required.
[0050] Each computing node of building block 160 may include an application specific integrated circuit (ASIC), such as a Tensor Processing Unit (TPU) for machine learning workloads, a graphics processing unit (GPU), or other types of processing units. For example, each computing node may be a single processor chip including a processing unit.
[0051] In some embodiments, all building blocks 160 in a super platform have the same computing nodes. For example, super platform 152 may include 64 building blocks, each building block having 64 TPUs arranged in a 4×4×4 arrangement for performing machine learning workloads. A super platform may also include different types of computing nodes. For example, super platform 154 may include 60 building blocks with TPUs and 4 building blocks with dedicated processing units that perform tasks other than machine learning workloads. In this way, a workload cluster for a workload may include different types of computing nodes. A super platform may include multiple building blocks of each type of computing node in a super platform for redundancy and / or allowing multiple workloads to run in a super platform.
[0052] In some embodiments, all building blocks 160 in a super platform have the same arrangement, such as the same size and shape. For example, each building block 160 of super platform 152 can have a 4×4×4 arrangement. Super platforms can also have building blocks with different arrangements. For example, super platform 154 can have 32 building blocks arranged in 4×4×4 arrangements and 32 building blocks arranged in 16×8×16 arrangements. Different building block arrangements can have the same or different computing nodes. For example, a building block with a TPU can have a different arrangement than a building block with a GPU.
[0053] The super platform may have different levels of building blocks. For example, the super platform 152 may include a base level building block having a 4×4×4 arrangement. The super platform 152 may also include an intermediate level building block having more computing nodes. For example, the intermediate level building block may have an 8×8×8 arrangement, for example, consisting of 8 basic level building blocks. In this way, a larger workload cluster may be generated using intermediate level building blocks with fewer link configurations than if the base level building blocks were connected to generate a larger workload cluster. Also having base level building blocks in the super platform provides flexibility for smaller workload clusters that may not require the number of computing nodes in the intermediate level building blocks.
[0054] The super platforms 152-158 within a unit 150 may have the same or different types of compute nodes in the building blocks. For example, a unit 150 may include one or more super platforms with TPU building blocks and one or more super platforms with GPU building blocks. The size and shape of the building blocks may also be the same or different in different super platforms 152-158 of a unit 150.
[0055] Each unit 150 also includes a shared data memory 162 and a shared auxiliary computing component 164. Each super platform 152-158 in the unit 150 can use the shared data memory 162 to, for example, store data generated by the workload executed in the super platform 152-158. The shared data memory 162 may include a hard disk drive, a solid state drive, flash memory, and / or other suitable data storage device. The shared auxiliary computing component 164 may include a CPU (e.g., a general purpose CPU machine), a GPU, and / or other accelerators (e.g., video decoding, image decoding, etc.) shared within the unit 150. The auxiliary computing component 164 may also include storage devices, memory devices, and / or other computing components that can be shared by computing nodes over a network.
[0056] The unit scheduler 140 may select a unit 150 and / or a super platform 152-158 of the unit 150 for each workload received from the user device 110. The unit scheduler 140 may select a super platform based on a target ranking specified for the workload, the availability of building blocks 160 in the super platforms 152-158, and the health of the building blocks in the super platforms 152-158. For example, for a workload, the unit scheduler 140 may select a super platform that includes at least a sufficient number of available and healthy building blocks to generate a workload cluster with a target ranking. If the request data specifies a type of computing node, the unit scheduler 140 may select a super platform that has at least a sufficient number of available and healthy building blocks with computing nodes of the specified type.
[0057] As described below, each super platform 152-158 may also include a workload scheduler and an OCS manager. When the unit scheduler 140 selects the super platform of the unit 150, the unit scheduler 140 may provide the workload scheduler of the super platform 150 with the data of the workload and the specified requested cluster. As described in more detail below, the workload scheduler may select a group of building blocks from the building blocks of the super platform to connect to form a workload cluster based on the availability and health of the building blocks and optionally based on the priority of the workload in the super platform. For example, as described below, if the workload scheduler receives a request for a workload cluster, the workload cluster includes more building blocks than the number of healthy and available building blocks in the super platform, then the workload scheduler may reallocate the building blocks of the lower priority workload to the requested workload cluster. The workload scheduler may provide the OCS manager with the data of the selected building blocks. Then, the OCS manager may configure one or more OCS switches to connect the building blocks together to form a workload cluster. Then, the workload scheduler may execute the workload on the computing nodes of the workload cluster.
[0058] In some embodiments, for example, when selecting a super platform 152-158 for a workload, the unit scheduler 140 balances the load between the individual units 150 and the super platforms 152-158. For example, when selecting between two or more super platforms that have capacity for building blocks for the workload, the unit scheduler 140 may select the super platform with the greatest capacity, e.g., the most available and healthy building blocks, or the super platform with the greatest total capacity of units.
[0059] In some embodiments, the unit scheduler 140 may also determine a target arrangement for the workload. For example, the unit scheduler 140 may determine a target arrangement of building blocks based on the estimated computational requirements of the workload and the throughput of one or more types of available computing nodes. In this example, the unit scheduler 140 may provide the determined target arrangement to the workload scheduler of the super platform.
[0060] Figure 2 An example logical super-platform 210 and example workload clusters 220, 230, and 240 generated from a portion of the building blocks in the super-platform 210 are shown. In this example, the super-platform 210 includes 64 building blocks, each of which has a 4×4×4 arrangement. Although many of the examples described in this document are described in terms of 4×4×4 building blocks, the same techniques can also be applied to other arrangements of building blocks.
[0061] In the super platform 210, the building blocks represented by hatching are allocated to workloads, as described below. The building blocks represented by solid white are healthy and available building blocks. The building blocks represented by solid black are unhealthy nodes, which cannot be used to generate workload clusters, for example due to failures.
[0062] Workload cluster 220 is an 8×8×4 platform that includes four of the 4×4×4 building blocks from super platform 210. That is, workload cluster 220 has eight compute nodes along the x dimension, eight compute nodes along the y dimension, and four compute nodes along the z dimension. Since each building block has four compute nodes along each dimension, workload cluster 220 includes two building blocks along the x dimension, two building blocks along the y dimension, and one building block along the z dimension.
[0063] The four building blocks of workload cluster 220 are shown with diagonal hatching to illustrate their location in super platform 210. As shown, the building blocks of workload cluster 220 are not adjacent to each other. As described in more detail below, the use of an optical network enables the generation of a workload cluster from any combination of workload clusters in super platform 210, regardless of their relative location in super platform 210.
[0064] Workload cluster 230 is an 8×8×8 platform that includes the eight building blocks in super platform 210. Specifically, the workload cluster includes two building blocks along each dimension, which provide eight compute nodes along each dimension to workload cluster 230. The building blocks of workload cluster 230 are shown with vertical hatching to show their location in super platform 210.
[0065] Workload cluster 240 is a 16×8×16 platform that includes 32 building blocks in super platform 210. In particular, workload cluster 240 includes four building blocks along the x-dimension, two building blocks along the y-dimension, and four building blocks along the z-dimension, which provides the workload cluster with 16 computing nodes along the x-dimension, eight computing nodes along the y-dimension, and 16 computing nodes along the z-dimension. The building blocks of workload cluster 240 are shown with cross-hatching to show their location in super platform 210.
[0066] Workload clusters 220, 230, and 240 are just some examples of clusters of super platforms 210 that can be generated for workloads. Many other arrangements of workload clusters are also possible. Although the exemplary workload clusters 220, 230, and 240 have a rectangular shape, other shapes are also possible.
[0067] The shape of the workload clusters including workload clusters 220, 230, and 240 is a logical shape rather than a physical shape. The optical network is configured so that the building blocks communicate along each dimension as if the workload clusters were physically connected in the logical configuration. However, the physical building blocks and their corresponding computing nodes can be physically arranged in the data center in a variety of ways. The building blocks of workloads 220, 230, and 240 can be selected from any healthy available building blocks without limiting the physical relationship between the building blocks in super platform 210, except that the building blocks are all connected to the optical network of super platform 210. For example, as described above and Figure 2 As shown, workload clusters 220, 230, and 240 include physically non-adjacent building blocks.
[0068] Furthermore, the logical arrangement of workload clusters is not limited by the physical arrangement of the building blocks of the super platform. For example, the building blocks may be arranged in eight rows and eight columns, with only one building block along the z dimension. However, by configuring the optical network to create this logical arrangement, workload clusters may be configured such that the workload cluster includes multiple building blocks along the z dimension.
[0069] Figure 3 An example building block 310 and example workload clusters 320, 330, and 340 generated using building block 310 are shown. Building block 310 is a 4×4×4 building block with four compute nodes along each dimension. In this example, each dimension of building block 310 includes 16 segments with four compute nodes in each segment. For example, there are 16 compute nodes at the top of building block 310. For each of the 16 compute nodes, there is a segment along the y dimension that includes the compute node and three other compute nodes, including the corresponding last compute node at the bottom of building block 310. For example, one segment along the y dimension includes compute nodes 301-304.
[0070] Each segment of computing nodes is along a logical axis. For example, computing nodes 301-304 are along a logical axis, and the four computing nodes to the right of computing nodes 301-304 are along different logical axes. Computing nodes 305-308 are also along different logical axes. Figure 3 As shown, the 4×4×4 building block has 16 logical axes along each dimension. As described below, one or more OCS switches for the logical axes can be used to connect together computing nodes of different building blocks on the same logical axis.
[0071] The computing nodes within building block 310 can be connected to each other by internal links 318 made of conductive material (e.g., copper cables). Internal links 318 can be used to connect computing nodes in each segment of each dimension. For example, there is an internal link 318 that connects computing node 301 to computing node 302. There is also an internal link 318 that connects computing node 302 to computing node 303, and another internal link 318 that connects computing node 303 to computing node 304. The computing nodes in each other segment can be connected in the same manner to provide internal data communication between the computing nodes of building block 310.
[0072] Building block 310 also includes external links 311-316 that connect building block 310 to an optical network. The optical network connects building block 310 to other building blocks. In this example, building block 310 includes 16 external input links 311 for the x dimension. That is, building block 310 includes an external input link 311 for each of the 16 segments along the x dimension. Similarly, building block 310 includes an external output link 312 for each segment along the x dimension, an external input link 313 for each segment along the y dimension, an external output link 314 for each segment along the y dimension, an external input link 315 for each segment along the z dimension, and an external output link 316 for each segment along the z dimension. Since some arrangements of building blocks can have more than three dimensions, such as a torus, which can have any number of dimensions, building block 310 can include similar external links for each dimension of building block 310.
[0073] Each external link 311-316 can be a fiber link that connects a compute node on a corresponding segment of its compute node to an optical network. For example, each external link 311-316 can connect its compute node to an OCS switch of the optical network. As described below, the optical network can include one or more OCS switches for each dimension for which building block 310 has a segment. That is, external links 311 and 312 for the x dimension can be connected to a different OCS switch than external links 313 and 314. The OCS switches can be configured to connect building blocks to other building blocks to form workload clusters, as described in more detail below.
[0074] Building blocks 310 are in the form of a 4×4×4 grid arrangement. Other arrangements are possible for 4×4×4 (or other sized building blocks). For example, building blocks 310 may be in the form of a three-dimensional torus with wraparound torus links, similar to workload cluster 320. Workload cluster 320 may also be generated from a single grid building block 310 by configuring the optical network to provide wraparound torus links 321-323.
[0075] Ring surface links 321-323 provide wraparound data communication between one end of each segment and the other end of each segment. For example, ring surface link 321 connects the computing node at each end of each segment along the x dimension to the corresponding computing node at the other end of the segment. Ring surface link 321 can include a link connecting computing node 325 to computing node 326. Similarly, ring surface link 322 can include a link connecting computing node 325 to computing node 327.
[0076] Ring surface links 321-323 can be conductive cables, such as copper cables, or optical links. For example, the optical links of ring surface links 321-323 can connect their corresponding computer nodes to one or more OCS switches. The OCS switch can be configured to route data from one end of each segment to the other end of each segment. Building block 310 may include an OCS switch for each dimension. For example, ring surface link 321 can be connected to a first OCS switch, which routes data between one end of each segment along the x dimension and the other end of each segment along the x dimension. Similarly, ring surface link 322 can be connected to a second OCS switch, which routes data between one end of each segment along the y dimension and the other end of each segment along the y dimension. Ring surface link 322 can be connected to a third OCS switch, which routes data between one end of each segment along the z dimension and the other end of each segment along the z dimension.
[0077] Workload cluster 330 includes two building blocks 338 and 339 that form a 4×8×4 platform. Each building block 338 and 339 can be the same as building block 310 or workload cluster 320. The two building blocks are connected along the y direction using external link 337. For example, one or more OCS switches can be configured to route data between the y-dimensional segment of building block 338 and the y-dimensional segment of building block 339.
[0078] In addition, one or more OCS switches can be configured to provide wraparound links 331-333 between one end of each segment and the other end of each segment along all three dimensions. In this example, wraparound link 333 connects one end of the y-dimensional segment of building block 338 to one end of the y-dimensional segment of building block 339, thereby providing full wraparound communication for the y-dimensional segment formed by the combination of the two building blocks 338 and 339.
[0079] Workload cluster 340 includes 8 building blocks (one not shown) that form an 8×8×8 cluster. Each building block 348 can be identical to building block 310. Building block links connected along the x dimension are connected using external links 345a-345c. Similarly, building block links connected along the y dimension are connected using external links 344A-344C, and building blocks connected along the z dimension are connected using external links 346A-346C. For example, one or more OCS switches can be configured to route data between x-dimensional segments, one or more OCS switches can be configured to route data between y-dimensional segments, and one or more OCS switches can be configured to route data between z-dimensional segments. There are additional external links for each dimension that will be in Figure 3 Building blocks not shown in FIG. 3 are connected to adjacent building blocks. In addition, one or more OCS switches may be configured to provide wraparound links 341-343 between one end of each segment and the other end of each segment along all three dimensions.
[0080] Figure 4An example optical link 400 from a computing node to an OCS switch is shown. The computing nodes of a super platform can be installed in a tray of a data center rack. Each computing node may include six high-speed electrical links. Two of these electrical links may be connected to a circuit board of the computing node, and four electrical links may be routed to an external electrical connector, such as an octal small form factor pluggable (OSFP) connector, which is connected to a port 410, such as an OSFP port. In this example, port 410 is connected to an optical module 420 via an electrical contact 412. If necessary, optical module 420 may convert an electrical link to an optical link to extend the length of the external link, such as to more than one kilometer (km), to provide data communication between computing nodes in a large data center. The type of optical module may vary depending on the required length between the building block and the OCS switch and the required speed and bandwidth of the link.
[0081] The optical module 420 is connected to the circulator 430 via fiber optic cables 422 and 424. The fiber optic cable 422 may include one or more fiber optic cables for transmitting data from the optical module 420 to the circulator 430. The fiber optic cable 424 may include one or more fiber optic cables for receiving data from the circulator 430. For example, the fiber optic cables 422 and 424 may include bidirectional optical fibers or unidirectional TX / RX fiber pairs. The circulator 430 may reduce the number of fiber optic cables (e.g., from two pairs to a single pair of fiber optic cables 432) by converting from unidirectional optical fibers to bidirectional optical fibers. This aligns well with the single OCS port 445 of the OCS switch 440, which typically accommodates a pair of optical paths (2 optical fibers) that are switched together. In some embodiments, the circulator 430 may be integrated into the optical module 420 or omitted from the optical link 400.
[0082] Figure 5-7 It is shown how to form a 4x4x4 building block using multiple computing trays. Similar techniques can be used to form building blocks of other sizes and shapes.
[0083] Figure 5 A logical compute tray 500 is shown for forming a 4×4×4 building block. The basic hardware block of the 4×4×4 building block is a single compute tray 500 with a 2×2×1 topology. In this example, the compute tray 500 has two compute nodes along the x-dimension, two nodes along the y-dimension, and one node along the z-dimension. For example, compute nodes 501 and 502 form an x-dimensional segment, while compute nodes 503 and 504 form an x-dimensional segment. Similarly, compute nodes 501 and 503 form a y-dimensional segment, and compute nodes 502 and 504 form a y-dimensional segment.
[0084] Each computing node 501-504 is connected to two other computing nodes using an internal link 510 (e.g., a copper cable or traces on a printed circuit board). Each computing node is also connected to four external ports. Computing node 501 is connected to external port 521. Similarly, computing node 502 is connected to external port 522, computing node 503 is connected to external port 523, and computing node 504 is connected to external port 524. As described above, external ports 521-524 can be OSFPs or other ports that connect computing nodes to an OCS switch. The ports can accommodate electrical copper or fiber modules attached to fiber optic cables.
[0085] The external ports 521-524 of each computing node 501-504 have an x-dimensional port, a y-dimensional port, and two z-dimensional ports. This is because each computing node 501-504 has been connected to another computing node in the x- and y-dimensions using an internal link 510. Having two z-dimensional external ports allows each computing node 501-504 to also connect to two computing nodes along the z-dimension.
[0086] Figure 6 A sub-block 600 of an exemplary building block with one dimension (z dimension) omitted is shown. In particular, the sub-block 600 is composed of a 2×2 computation tray arrangement (e.g., Figure 5 The sub-block 600 includes four computing trays 620A-620D arranged in a 2×2 arrangement. Each computing tray 620A-620D can be connected to Figure 5 The computing tray 500 is the same as that of the embodiment of the present invention, and includes four computing nodes 622 arranged in a 2×2×1 arrangement.
[0087] The computing nodes 622 of computing trays 620A-620D can be connected using internal links 631-634 (eg, copper cables). For example, two computing nodes 622 of computing tray 620A are connected to two computing nodes 622 of computing tray 620B using internal link 632 along the y dimension.
[0088] The two compute nodes 622 of each compute tray 620A-620D are also connected to external links 640 along the x dimension. Similarly, the two compute nodes of each compute tray 620A-620D are also connected to external links 641 along the y dimension. In particular, the compute nodes at the end of each x-dimensional segment and at the end of each y-dimensional segment are connected to external links 640. These external links 640 can be, for example, using Figure 4 The optical links 400 connect the computing nodes to the optical fiber cables of the OCS switches, thereby connecting the building blocks including the computing nodes to the OCS switches.
[0089] A 4×4×4 building block may be formed by connecting four sub-blocks 600 together along the z-dimension. For example, the compute nodes 622 of each compute tray 620A-620A may use internal links to connect to one or two corresponding compute nodes of the compute trays on other sub-blocks 600 arranged in the z-dimension. The compute nodes at the end of each z-dimension segment may include external links 640 connected to an OCS switch, similar to the external links at the ends of the x- and y-dimension segments.
[0090] Figure 7 An exemplary building block 700 is shown. The building block 700 includes four sub-blocks 710A-710D connected along the z dimension. Each sub-block 710A-710D can be connected to Figure 6 The sub-block 600 is the same. Figure 7 Some connections between sub-blocks 710A-710D along the z-dimension are shown.
[0091] In particular, building block 700 includes internal links 730-733 between corresponding compute nodes 716 of compute trays 715 of sub-blocks 710A-710D along the z dimension. For example, internal link 730 connects a segment of compute node 0 along the z dimension. Similarly, internal link 731 connects a segment of compute node 1 along the z dimension, internal link 732 connects a segment of compute node 8 along the z dimension, and internal link 733 connects a segment of compute node 9 along the z dimension. Although not shown, similar internal links connect segments of compute nodes 2-7 and AF.
[0092] Building block 700 also includes external links 720 at the end of each segment along the z-dimension. Although external links 720 are only shown for the segments of compute nodes 0, 1, 8, and 9, each of the other segments of compute nodes 2-7 and AF also includes external links 720. The external links can connect the segments to the OCS switches, similar to the external links at the ends of the x- and y-dimension segments.
[0093] Figure 8 An OCS fabric topology 800 for a super platform is shown. In this example, the OCS fabric topology includes a separate OCS switch for each segment along each dimension of a 4×4×4 building block of a super platform that includes 64 building blocks 805 (i.e., building blocks 0-63). The 4×4×4 building block 805 includes 16 segments along the x-dimension, 16 segments along the y-dimension, and 16 segments along the z-dimension. In this example, the OCS fabric topology includes 16 OCS switches for the x-dimension, 16 OCS switches for the y-dimension, and 16 OCS switches for the z-dimension, for a total of 48 OCS switches, which can be configured to generate various workload clusters.
[0094] That is, the OCS fabric topology includes an OCS switch for each logical axis of a building block. Segments of building blocks on the same logical axis are connected to the same OCS switch. In this way, the OCS switch for the logical axis can be configured to connect segments of computing nodes along the logical axis together when creating a workload cluster, so that computing nodes along the logical axis can communicate with each other via the OCS switch for the logical axis. If building block A is to be logically arranged to the right of building block B in a workload cluster, the OCS switch for the logical axis along the x-dimension can be configured to route data between segments of building block A on the logical axis and segments of building block B on the logical axis.
[0095] For the x dimension, OCS fabric topology 800 includes 16 OCS switches, including OCS switch 810. For each segment along the x dimension, each building block 805 includes an external input link 811 and an external output link 812 that connect to the OCS switch 810 for that segment. These external links 811 and 812 can be connected to Figure 4 The optical link 400 is the same or similar.
[0096] For the y dimension, OCS fabric topology 800 includes 16 OCS switches, including OCS switch 820. For each segment along the y dimension, each building block 805 includes an external input link 821 and an external output link 822 that are connected to the OCS switch 810 for that segment. These external links 821 and 822 can be connected to Figure 4 The optical link 400 is the same or similar.
[0097] For the z dimension, OCS fabric topology 800 includes 16 OCS switches, including OCS switch 830. For each segment along the z dimension, each building block 805 includes an external input link 831 and an external output link 832 that connect to the OCS switch 810 for that segment. These external links 821 and 822 can be connected to Figure 4 The optical link 400 is the same or similar.
[0098] In other examples, multiple segments can share the same OCS switch, for example, depending on the OCS base and / or the number of building blocks in the super platform. For example, if the OCS switch has a sufficient number of ports for all x-dimensional segments of all building blocks in the super platform, all x-dimensional segments can be connected to the same OCS switch. In another example, if the OCS switch has a sufficient number of ports, two segments of each dimension can share the OCS switch. However, by having corresponding segments of all building blocks of the super platform connected to the same OCS switch, data communication can be performed between the computing nodes of these segments using a single routing table. In addition, using a separate OCS switch for each segment or each dimension can simplify troubleshooting and diagnosis. For example, if there is a problem with data communication on a specific segment or dimension, it will be easier to identify the OCS that may be at fault than if multiple OCSs are used for a specific segment or dimension.
[0099] Fig. 9 Components of an example super platform 900 are shown. For example, super platform 900 may be Figure 1 The example super platform 900 includes 64 4×4×4 building blocks 960, which can be used to generate workload clusters that perform computing workloads (e.g., machine learning workloads). As described above, each 4×4×4 building block 960 includes 32 computing nodes, where four computing nodes are arranged along each of the three dimensions. For example, the building block 960 can be the same or similar to the above-described building block 310, workload cluster 320, or building block 700.
[0100] The exemplary super platform 900 includes an optical network 970 that includes 48 OCS switches 930, 940, and 950 connected to building blocks using 96 external links 931, 932, and 933 for each building block 960. Each external link can be connected to a Figure 4 The optical link 400 is similar to or the same as an optical fiber link.
[0101] Optical network 970 includes an OCS switch for each segment of each dimension of each building block, similar to Figure 8800. For the x-dimension, the optical network 970 includes 16 OCS switches 950, one for each segment along the x-dimension. For each building block 960, the optical network 970 also includes an input external link and an output external link for each segment along the x-dimension of the building block 960. These external links connect the compute nodes on the segment to the OCS switch 950 for the segment. Since each building block 960 includes 16 segments along the x-dimension, the optical network 970 includes 32 external links 933 (i.e., 16 input links and 16 output links) that connect the x-dimensional segments of each building block 960 to the corresponding OCS switches 950 for those segments.
[0102] For the y-dimension, the optical network 970 includes 16 OCS switches 930, one for each segment along the y-dimension. For each building block 960, the optical network 970 also includes an input external link and an output external link for each segment along the y-dimension of the building block 960. These external links connect the computing nodes on the segment to the OCS switch 930 for the segment. Since each building block 960 includes 16 segments along the y-dimension, the optical network 970 includes 32 external links 931 (i.e., 16 input links and 16 output links) that connect the y-dimensional segments of each building block 960 to the corresponding OCS switches 930 for those segments.
[0103] For the z-dimension, the optical network 970 includes 16 OCS switches 940, one for each segment along the z-dimension. For each building block 960, the optical network 970 also includes an input external link and an output external link for each segment along the z-dimension of the building block 960. These external links connect the compute nodes on the segment to the OCS switch 940 for the segment. Since each building block 960 includes 16 segments along the z-dimension, the optical network 970 includes 32 external links 932 (i.e., 16 input links and 16 output links) that connect the z-dimensional segments of each building block 960 to the corresponding OCS switches 940 for those segments.
[0104] The workload scheduler 910 may receive request data including a workload and data specifying a building block 960 of a requested cluster for executing the workload. The request data may also include a priority for the workload. The priority may be expressed as a level, such as high, medium, or low, or as a number, such as in a range of 1-100 or another suitable range. For example, the workload scheduler 910 may receive a request from a user device or a unit scheduler (e.g., Figure 1The request data may be received by the user device 110 or the unit scheduler 140. As described above, the request data may specify a target n-dimensional arrangement of computing nodes, such as a target arrangement of building blocks including computing nodes.
[0105] The workload scheduler 910 may select a set of building blocks 960 to generate a workload cluster that matches the target arrangement specified by the request data. For example, the workload scheduler 910 may identify a set of available healthy building blocks in the super platform 900. Available healthy building blocks are building blocks that are not executing another workload or are not part of a workload cluster and are not failed.
[0106] For example, the workload scheduler 910 may maintain and update state data, for example in the form of a database, which indicates the state of each building block 960 in the super platform. The availability state of a building block 960 may indicate whether the building block 960 is assigned to a workload cluster. The health state of a building block 960 may indicate whether the building block is working or failed. The workload scheduler 910 may identify a building block 960 with an availability state, which indicates that the building block 960 is not assigned to a workload and has a healthy working state. When a building block 960 is assigned to a workload (e.g., for generating a workload cluster for the workload), or has a health state change (e.g., from a working state to a failed state or vice versa), the workload scheduler may update the state data of the building block 960 accordingly.
[0107] From the identified building blocks 960, the workload scheduler 910 may select a number of building blocks 960 that matches the number defined by the target arrangement. If the request data specifies one or more types of compute nodes, the workload scheduler 910 may select a building block having the requested one or more types of compute nodes from the identified building blocks 960. For example, if the request data specifies a 2×2 arrangement of building blocks having two TPU building blocks and two GPU building blocks, the workload scheduler 910 may select two available healthy building blocks having TPUs and two healthy available building blocks having GPUs.
[0108] The workload scheduler 910 may also select building blocks 960 based on the priority of each workload currently running in the super platform and the priority of the workload included in the request data. If the super platform 900 does not have enough available healthy building blocks to generate a workload cluster for the requested workload, the workload scheduler 910 may determine whether there are any executing workloads with a lower priority than the requested workload in the super platform 900. If so, the workload scheduler 910 may reallocate building blocks from the workload clusters of one or more lower priority workloads to the workload cluster of the requested workload. For example, the workload scheduler 910 may terminate the lower priority workload, delay the lower priority workload, or reduce the size of the workload cluster for the lower priority workload to free up building blocks for the higher priority workload.
[0109] The workload scheduler 910 can reallocate building blocks from one workload cluster to another simply by reconfiguring the optical network (e.g., by configuring the OCS switches as described below) so that the building blocks are connected to the building blocks of the higher priority workload instead of the building blocks of the lower priority workload. Similarly, if a building block of the higher priority workload fails, the workload scheduler 910 can reallocate building blocks of the workload cluster for the lower priority workload to the workload cluster of the higher priority workload by reconfiguring the optical network.
[0110] The workload scheduler 910 may generate and provide per-job configuration data 912 to the OCS manager 920 of the super platform 900. The per-job configuration data 912 may specify the selected building blocks 960 for the workload and the arrangement of the building blocks. For example, if the arrangement is a 2×2 arrangement, the arrangement includes four points for the building blocks. The per-job configuration data may specify which selected building block 960 goes into each of the four points.
[0111] The job-based configuration data 912 may use a logical identifier for each building block to identify the selected building block 960. For example, each building block 960 may include a unique logical identifier. In a specific example, the 64 building blocks 960 may be numbered 0-63, and these numbers may be unique logical identifiers.
[0112] The OCS manager 920 uses the per-job configuration data 912 to configure the OCS switches 930, 940, and / or 950 to generate workload clusters that match the permutations specified by the per-job configuration data. Each OCS switch 930, 940, and 950 includes a routing table for routing data between physical ports of the OCS switch. For example, assume that an output external link of an x-dimensional segment for a first building block is connected to an input external link of a corresponding x-dimensional segment for a second building block. In this example, the routing table of the OCS switch 950 for the x-dimensional segment will indicate that data between the physical ports of the OCS switches to which these segments are connected will be routed between each other.
[0113] OCS manager 920 may maintain port data that maps each port of each OCS switch 920, 930, and 940 to each logical port of each building block. For each x-dimensional segment of a building block, the port data may specify which physical port of an OCS switch 950 an external input link is connected to and which physical port of an OCS switch 950 an external output link is connected to. The port data may include the same data for each dimension of each building block 960 of super platform 900.
[0114] OCS manager 920 may use this port data to configure routing tables of OCS switches 930, 940, and / or 950 to generate workload clusters for the workload. For example, assume that a first building block will be connected to a second building block in a 2×1 arrangement, where the first building block is to the left of the second building block in the x-dimension. OCS manager 920 will update the routing table of OCS switch 950 for the x-dimension to route data between the x-dimensional segments of the first building block and the second building block. Since each x-dimensional segment of a building block will need to be connected, OCS manager 920 may update the routing table of each OCS switch 950.
[0115] For each x-dimensional segment, the OCS manager 920 may update the routing table of the OCS switch 950 for the segment. In particular, the OCS manager 920 may update the routing table to map the physical port of the OCS switch 950 to which the segment of the first building block is connected to the physical port of the OCS switch to which the segment of the second building block is connected. When each x-dimensional segment includes input and output links, the OCS manager 920 may update the routing table so that the input link of the first building block is connected to the output link of the second building block, and the output link of the first building block is connected to the input link of the second building block.
[0116] The OCS manager 920 may update the routing table by obtaining the current routing table from each OCS switch. The OCS manager 920 may update the appropriate routing table and send the updated routing table to the appropriate OCS switch. In another example, the OCS manager 920 may send update data specifying the update to the OCS switch, and the OCS switches may update their routing tables according to the update data.
[0117] After configuring the OCS switch with the updated routing table, a workload cluster is generated. The workload scheduler 910 can then cause the workload to be executed by the computing nodes of the workload cluster. For example, the workload scheduler 910 can provide the workload to the computing nodes of the workload cluster for execution.
[0118] After the workload is completed, the workload scheduler 910 can update the status of each building block used to generate the workload cluster back to available. The workload scheduler 910 can also instruct the OCS manager 920 to remove the connection between the building blocks used to generate the workload cluster. Then, the OCS manager 920 can update the routing table to remove the mapping between the physical ports of the OCS switch used to route data between the building blocks.
[0119] Using OCS switches in this manner to configure the optical fabric topology to generate workload clusters for workloads enables the super platform to host multiple workloads in a dynamic and secure manner. The workload scheduler 920 can dynamically generate and terminate workload clusters when new workloads are received and workloads are completed. Compared to traditional supercomputers, the routing between segments provided by OCS switches provides better security between different workloads executed in the same super platform. For example, OCS switches use air gaps between workloads to physically decouple workloads from each other. Traditional supercomputers use software that provides isolation between workloads, which is more susceptible to data corruption.
[0120] Fig.10 1 is a flow chart illustrating an exemplary process 1000 for generating a workload cluster and executing a computing workload using the workload cluster. The operations of process 1000 may be performed by a system including one or more data processing devices. For example, the operations of process 1000 may be performed by Figure 1 The processing system 130 is performed.
[0121] The system receives request data specifying a requested cluster of computing nodes (1010). For example, the request data can be received from a user device. The request data can include data of a computing workload and a target n-dimensional arrangement of computing nodes. For example, the request data can specify a target n-dimensional arrangement of building blocks including computing nodes.
[0122] In some embodiments, the request data may also specify the type of computing node of the building block. A super platform may include building blocks with different types of computing nodes. For example, a super platform may include 90 building blocks, each building block including a 4×4×4 arrangement of TPUs, and the super platform also includes 10 dedicated building blocks, which include a 2×1 arrangement of dedicated computing nodes. The request data may specify the number of building blocks of each type of computing node and the arrangement of these building blocks.
[0123] The system selects a subset of building blocks for the requested cluster from a super platform including a set of building blocks (1020). As described above, a super platform may include a set of building blocks having a three-dimensional arrangement of computing nodes (e.g., a 4×4×4 arrangement of computing nodes). The system may select a number of building blocks that matches the number defined by the target arrangement. As described above, the system may select building blocks that are healthy and available for the requested cluster.
[0124] The subset of building blocks may be a proper subset of building blocks. A proper subset is a subset that does not include all members of the set. For example, generating a workload cluster that matches a target arrangement of compute nodes may require fewer than all building blocks.
[0125] The system generates a workload cluster (1030) that includes the selected subset of computing nodes. The workload cluster can have an arrangement of building blocks that matches the target arrangement specified by the request data. For example, if the request data specifies a 4×8×4 arrangement of computing nodes, the workload cluster can include computing nodes arranged similar to Figure 3 The workload cluster 330 has two building blocks.
[0126] To generate a workload cluster, the system can configure routing data for each dimension of the workload cluster. For example, as described above, the super platform may include an optical network that includes one or more OCS switches for each dimension of the building block. The routing data for the dimension may include a routing table for one or more OCS switches. Fig. 9 As described, the routing table of the OCS switch can be configured to route data between compute nodes of the appropriate segment along each dimension.
[0127] The system causes the compute nodes of the workload cluster to execute the computational workload (1040). For example, the system can provide the computational workload to the compute nodes of the workload cluster. While the computational workload is being executed, the configured OCS switches can route data between the building blocks of the workload cluster. Although the compute nodes are not physically connected in the target arrangement, the configured OCS switches can route data between the compute nodes of the building blocks as if the compute nodes were physically connected in the target arrangement.
[0128] For example, the compute nodes of each segment of a dimension can transmit data to other compute nodes of the segment, which are in different building blocks, through the OCS switch, as if the compute nodes in the segment were physically connected in a single physical segment. This is different from a packet-switched network because such a configuration of workload clusters provides a true end-to-end optical path between the corresponding segments without packet switching or buffering in the middle. In packet switching, latency is increased because packets need to be received by the switch, buffered, and sent again on another port.
[0129] After completing a computational workload, the system can free up the building block for use in other workloads, for example, by updating the state of the building block to be available and updating the routing data to no longer route data between the building blocks in the workload cluster.
[0130] Fig.11 1 is a flow chart illustrating an exemplary process 1100 for reconfiguring an optical network to replace a failed building block. The operations of process 1100 may be performed by a system including one or more data processing devices. For example, the operations of process 1100 may be performed by Figure 1 The processing system 130 is executed.
[0131] The system causes the computing nodes of the workload cluster to perform the computing workload (1110). For example, the system can generate a workload cluster and cause the computing nodes to use Fig.10 The process 1000 performs a computational workload.
[0132] The system receives data indicating that a building block of the workload cluster has failed 1120. For example, if one or more computing nodes of the building block fail, another component (e.g., a monitoring component) may determine that the building block has failed and send data indicating that the building block has failed to the system.
[0133] The system identifies available building blocks (1130). For example, the system can identify available healthy building blocks in the same super platform as other building blocks of the workload cluster. The system can identify available healthy building blocks based on, for example, state data of the building blocks maintained by the system.
[0134] The system replaces the failed building block with the identified available building block (1140). The system can update routing data of one or more OCS switches of an optical network connecting the building blocks to replace the failed building block with the identified available building block. For example, the system can update routing tables of one or more OCS switches to remove connections between other building blocks of the workload cluster and the failed building block. The system can also update routing tables of one or more OCS switches to connect the identified building block to other building blocks of the workload cluster.
[0135] The system can logically arrange the identified building block in the logical point of the failed building block point. As described above, the routing table of the OCS switch can map the physical port of the OCS switch connected to a segment of the building block to the physical port of the OCS switch connected to the corresponding segment of another building block. In this example, the system can perform the replacement by updating the mapping to the corresponding segment of the identified available building block (rather than the failed building block).
[0136] For example, assume that the input external link for a particular x-dimensional segment of a failed building block is connected to a first port of an OCS switch, and the input external link for the corresponding x-dimensional segment of an identified available building block is connected to a second port of the OCS switch. Also assume that the routing table maps the first port to a third port of the OCS switch, which is connected to a corresponding x-dimensional segment of another building block. To make a replacement, the system can update the mapping of the routing table to map the second port to the third port instead of mapping the first port to the third port. The system can do this for each segment of the failed building block.
[0137] As described above, the optical network fabric for the super platform may include one or more OCS switches for each logical axis of the building block. A 4×4×4 building block has 16 logical axes along each dimension. Thus, the optical network fabric may include 48 OCS switches, which may be configured to connect building blocks of various logical arrangements.
[0138] Since each segment of each building block has an input connection and an output connection to the OCS switch of the logical axis corresponding to the segment, the OCS switch used for each axis will have 128 ports for the 64-building block super platform. Therefore, in this configuration, if one OCS switch is used for each logical axis, each OCS switch will need at least 128 ports for the 64-building block super platform. For a given size (e.g., a given port count) of OCS switches used to connect building blocks, a one-to-many switch can be used to increase the number of building blocks included in the super platform, and / or for a given size of OCS switches, a one-to-many switch can be used to reduce the number of ports used on each OCS switch.
[0139] Fig.12A portion of an exemplary super platform 1200 including building blocks 1211-1214 and 1×2 optical switches 1261-1264 is shown. The 1×2 optical switch is an exemplary one-to-many optical switch with one input and two outputs. Although the terms input and output are used, light can pass through the switch in either direction, for example, from one output to an input and from an input to an output. As described below, other one-to-many switches with different numbers of outputs may be used, such as a 1×3 optical switch (one input and three outputs), a 1×4 optical switch (one input and four outputs), or other suitable one-to-many optical switches.
[0140] For clarity, this example shows the connection of segments 1221-1224 located on the same logical axis (along the x-dimension) to two OCS switches 1271 and 1272. However, the segments of each building block on each logical axis can be connected to two OCS switches for that logical axis. For example, segments 1231-1234 can be connected to two OCS switches (not shown), segments 1241-1244 can be connected to two OCS switches (not shown), and segments 1251-1254 can be connected to two OCS switches (not shown). The segments of each other logical axis along the x-dimension, the segments of each other logical axis along the y-dimension, and the segments of each logical axis along the z-dimension can also be connected to two OCS switches for that logical axis in a similar manner.
[0141] Super platform 1200 may include other building blocks having the same configuration as building blocks 1211 - 1214. For example, a super platform may include 64 building blocks, only 4 of which are shown in diagram 1200. The segments of these building blocks may be connected to corresponding OCS switches for their logical axes.
[0142] One side of each segment 1221-1224 is connected to the input of a corresponding 1×2 switch 1261-1264 for that segment, for example using fiber optic cables. One output of each 1×2 switch 1261-1264 is connected to an OCS switch 1271, and the other output of each 1×2 switch 1261-1264 is connected to another OCS switch 1272, for example using fiber optic cables. Each segment of each building block can be connected on one side to a 1×2 switch for that segment. The 1×2 switch for that segment can be selectively adjusted to connect that side of the segment to either OCS switch 1271 or OCS switch 1272 (for the logical axes shown). For a super platform including 64 building blocks with a 4×4×4 structure, the super platform can include 3,0721×2 switches, one switch for each segment of each building block.
[0143] The other side of each segment is connected to either OCS switch 1271 or OCS switch 1272. For example, the other sides of segments 1221 and 1223 are connected to OCS switch 1271, while the other sides of segments 1222 and 1224 are connected to OCS switch 1272. In this way, building blocks 1211-1214 use fewer ports of OCS switches 1271 and 1272 than if a single OCS port were used and the input and output connections of each building block were connected to one OCS switch. For example, there are six connections to OCS switch 1271 (for the four building blocks shown). If OCS switch 1271 is the only switch for the logical axis including segments 1221-1224, there will be eight connections to OCS switch 1271, two for each of the four segments 1221-1224. OCS switch 1272 similarly has six connections instead of eight.
[0144] The workload scheduler can create a workload cluster using building blocks 1221-1224 (and / or other building blocks of super platform 1200) by configuring OCS switches 1271 and 1272 (as well as OCS switches for other segments of other logical axes) and 1×2 switches for each segment. As described above, the workload scheduler can select building blocks for the workload cluster and configure routing tables for the OCS switches to route data between segments of the building blocks in the workload cluster.
[0145] In this example, when each segment along a given logical axis is connected to a pair of OCS switches, the workload scheduler configures a routing table for each pair of OCS switches for each logical axis so that the segments of the building blocks in the workload cluster on that logical axis can communicate with each other. Similarly, the workload scheduler can set each 1×2 switch to connect its corresponding segment to one of the two OCS switches based on the segment of another building block with which the segment will communicate.
[0146] For example, assume that building block 1211 will be logically arranged to the left of building block 1213, as shown in Fig.12 In this example, segment 1221 will need to be able to communicate with segment 1223; segment 1231 will need to communicate with segment 1233; segment 1241 will need to communicate with segment 1243; and segment 1251 will need to communicate with segment 1253.
[0147] In particular, the compute nodes on the right side of segments 1221, 1231, 1241, and 1251 should be connected to the compute nodes on the left side of segments 1223, 1233, 1243, and 1253, respectively. For example, the compute nodes on the right side of segment 1221 should be connected to the compute nodes on the left side of segment 1223. The compute nodes on the right side of segments 1221, 1231, 1241, and 1251 are connected to the inputs of their corresponding 1×2 switches (switch 1261 of segment 1221). The compute nodes on the left side of segments 1223, 1233, 1243, and 1253 are connected to OCS switch 1271. Therefore, in order to connect between the computing nodes on the right side of segments 1221, 1231, 1241, and 1251 and the computing nodes on the left side of segments 1223, 1233, 1243, and 1253, respectively, the workload scheduler may configure a 1×2 switch for each segment 1221, 1231, 1241, and 1251 to connect the input of the 1×2 switch to the output (O1) connected to the OCS switch 1271. For example, the 1×2 switch 1261 will be configured such that the input is routed to the output connected to the OCS switch 1271. Since light can propagate through the 1×2 switch in both directions, data can be routed in both directions between the computing nodes on the right side of segment 1221 and the computing nodes on the left side of segment 1223 via the 1×2 switch 1261 and the OCS switch 1271.
[0148] If the workload cluster has only two building blocks along the x-dimension (e.g., a 2×4×4 arrangement), the compute nodes on the right side of segments 1223, 1233, 1243, and 1253 should also be connected to the compute nodes on the left side of segments 1221, 1231, 1241, and 1251, respectively. For example, the compute nodes on the right side of segment 1223 should be connected to the compute nodes on the left side of segment 1221. The compute nodes on the right side of segments 1223, 1233, 1243, and 1253 are connected to the inputs of their respective 1×2 switches (switch 1263 of segment 1223). The compute nodes on the left side of segments 1221, 1231, 1241, and 1251 are connected to OCS switch 1271. Therefore, in order to connect between the computing nodes on the right side of segments 1223, 1233, 1243, and 1253 and the computing nodes on the left side of segments 1221, 1231, 1241, and 1251, respectively, the workload scheduler may configure a 1×2 switch for each segment 1223, 1233, 1243, and 1253 to connect the input of the 1×2 switch to the output (O1) connected to the OCS switch 1271. For example, the 1×2 switch 1263 would be configured such that the input is routed to the output (O1) connected to the OCS switch 1271.
[0149] The workload scheduler may also configure the OCS switch 1271 to route data between corresponding segments. For example, the workload scheduler may configure the routing table of the OCS switch 1271 to route data between segment 1221 and segment 1223. In particular, the workload scheduler may configure the routing table to route data received at the port connected to the output O1 of the 1×2 switch 1261 to the port of the computing node connected to the left side of segment 1223. Similarly, the workload scheduler may configure the routing table to route data received at the port connected to the output O1 of the 1×2 switch 1263 to the computing node on the left side of segment 1221. The workload scheduler may configure the routing table of the OCS switch 1271 for each other segment 1231, 1241, 1251 and its corresponding segments 1233, 1243 and 1253 in a similar manner.
[0150] In another example, assume that building block 1211 will be logically arranged to the left of building block 1212, rather than to the left of building block 1213. In this example, segment 1221 will need to be able to communicate with segment 1222. Segment 1231 will need to communicate with segment 1232, segment 1241 will need to communicate with segment 1242; and segment 1251 will need to communicate with segment 1252.
[0151] In particular, the compute nodes on the right side of segments 1221, 1231, 1241, and 1251 should be connected to the compute nodes on the left side of segments 1222, 1232, 1242, and 1252, respectively. The compute nodes on the right side of segments 1221, 1231, 1241, and 1251 are connected to the inputs of their respective 1×2 switches (switch 1261 of segment 1221). However, the compute nodes on the left side of segments 1222, 1232, 1242, and 1252 are connected to OCS switch 1272. Therefore, in order to connect between the computing nodes on the right side of segments 1221, 1231, 1241, and 1251 and the computing nodes on the left side of segments 1222, 1232, 1242, and 12532, respectively, the workload scheduler may configure the 1×2 switch for each segment 1221, 1231, 1241, and 1251 to connect the input of the 1×2 switch to the output (O2), which is connected to the OCS switch 1272. For example, the 1×2 switch 1261 will be configured so that the input is routed to the output (O2) connected to the OCS switch 1272.
[0152] If the workload cluster has only two building blocks along the x-dimension (e.g., a 2×4×4 arrangement), the compute nodes on the right side of segments 1222, 1232, 1242, and 1252 should be connected to the compute nodes on the left side of segments 1221, 1231, 1241, and 1251, respectively. For example, the compute nodes on the right side of segment 1222 should be connected to the compute nodes on the left side of segment 1221. The compute nodes on the right side of segments 1222, 1232, 1242, and 1252 are connected to the inputs of their respective 1×2 switches (switch 1262 of segment 1222). The compute nodes on the left side of segments 1221, 1231, 1241, and 1251 are connected to OCS switch 1271. Therefore, to connect between the computing nodes on the right side of segments 1222, 1232, 1242, and 1252 and the computing nodes on the left side of segments 1221, 1231, 1241, and 1251, respectively, the workload scheduler may configure a 1×2 switch for each segment 1222, 1232, 1242, and 1252 to connect the input of the 1×2 switch to the output (O1) connected to the OCS switch 1271. For example, the 1×2 switch 1262 would be configured such that the input is routed to the output (O1) connected to the OCS switch 1271.
[0153] The workload scheduler may also configure the OCS switches 1271 and 1272 to route data between the corresponding segments. For example, the workload scheduler may configure the routing table of the OCS switch 1272 to route data received from the output (O2) of the 1×2 switch connected to the computing nodes on the right side of the segments 1221, 1231, 1241, and 1251 to the computing nodes on the left side of the segments 1222, 1232, 1242, and 1252, respectively. In particular, the workload scheduler may configure the routing table to route data received at the port connected to the output (O2) of the 1×2 switch 1261 to the port connected to the computing node on the left side of the segment 1222. Similarly, the workload scheduler may configure the routing table of the OCS switch 1271 to route data received at the port connected to the output (O1) of the 1×2 switch 1262 to the computing node on the left side of the segment 1221. The workload scheduler may configure the routing table of the OCS switch 1271 for each of the other segments 1231 , 1241 , 1251 and their corresponding segments 1232 , 1242 , and 1252 in a similar manner.
[0154] As described above, other one-to-many switches can be used instead of 1×2 switches. For example, a super platform can include three OCS switches for each logical axis. In this example, one side of each segment of each building block can be connected to the input of a 1×3 switch with three outputs. The three outputs of the 1×3 switch for a segment can be connected to the three OCS switches corresponding to the logical axis of the segment. The 1×3 switch and the OCS switch can be configured in a similar manner to the above to connect the segments of the building block with the corresponding segments of other building blocks. Compared to using a 1×2 switch and two OCS switches per logical axis, using a 1×3 switch and three OCS switches per logical axis can achieve a larger super platform and / or use fewer ports for a given size of OCS switch. However, this also results in more OCS switches for each logical axis of the building block. Other one-to-many switches, such as 1×4, 1×5, etc., can also be used, and the number of OCS switches per logical axis is equal to the number of outputs of the one-to-many switch.
[0155] Fig.13 An exemplary workload cluster 1300 is shown. Workload cluster 1300 is an 8×8×8 cluster composed of 8 building blocks. 1311-1317 (the one below building block 1315 is not shown). Each building block is a 4×4×4 building block with 16 segment compute nodes along 16 logical axes in the x-dimension, 16 segment compute nodes along 16 logical axes in the y-dimension, and 16 segment compute nodes along 16 logical axes in the z-dimension. For this example, it is assumed that the super platform from which workload cluster 1300 is created includes two OCS switches for each logical axis and a corresponding 1×2 switch for each segment of each building block.
[0156] The workload scheduler may create workload cluster 1300 by configuring OCS switches and 1×2 switches to connect segments of building blocks to corresponding segments of other building blocks. For example, building block 1311 is logically above building block 1312. The workload scheduler may configure an OCS switch for each logical axis in the y-dimension so that the OCS switch routes data from the top compute node of each segment of building block 1312 to the bottom compute node of the corresponding segment of building block 1311 in the y-dimension. For example, the workload scheduler may configure an OCS switch for logical axis 1330 (the leftmost and frontmost segment along the y-dimension) so that the OCS switch routes data between compute node 1331 of building block 1312 and compute node 1332 of building block 1311. The workload scheduler may also configure a 1×2 switch for each segment in the y-dimension of building blocks 1311 and 1312 to connect the segments to the appropriate OCS switches, as described above with respect to Fig.12 described.
[0157] Similarly, building block 1311 is logically located to the left of building block 1313. The workload scheduler can configure an OCS switch for each logical axis in the x-dimension so that the OCS switch routes data from the rightmost compute node of each segment of building block 1311 to the leftmost compute node of the corresponding segment of building block 1313 in the x-dimension. For example, the workload scheduler can configure an OCS switch for logical axis 1320 (the topmost and frontmost segment along the x-dimension) so that the OCS switch routes data between compute node 1321 of building block 1311 and compute node 1322 of building block 1313. The workload scheduler can also configure a 1×2 switch for each segment in the x-dimension of building blocks 1311 and 1313 to connect the segments to the appropriate OCS switches, as described above with respect to Fig.12 described.
[0158] Similarly, building block 1314 is logically located in front of building block 1317 along the z dimension. The workload scheduler can configure an OCS switch for each logical axis on the z dimension so that the OCS switch routes data from the last compute node of each segment of building block 1314 to the first compute node of the corresponding segment of building block 1317 on the z dimension. For example, the workload scheduler can configure an OCS switch for logical axis 1340 (topmost and rightmost along the z dimension) so that the OCS switch routes data between compute node 1341 of building block 1314 and compute node 1342 of building block 1317. The workload scheduler can also configure a 1×2 switch for each segment on the z dimension of building blocks 1314 and 1317 to connect the segments to the appropriate OCS switches, as described above with respect to Fig.12 described.
[0159] The workload scheduler can configure an OCS switch for each logical axis and a 1×2 switch for each segment so that the segments of each building block communicate with the corresponding segments of the adjacent building blocks. The corresponding segment of a given segment is the segment on the same logical axis as the given segment.
[0160] Fig.14 1400 for generating a workload cluster and executing a computational workload using the workload cluster. The operations of process 1100 may be performed by a system including one or more data processing devices. For example, the operations of process 1100 may be performed by Figure 1 The processing system 130 is executed.
[0161] The system receives request data specifying a requested computing node for a computational workload (1410). For example, the request data may be received from a user device. The request data may include data for the computational workload and a target n-dimensional arrangement of computing nodes. For example, the request data may specify a target n-dimensional arrangement of building blocks including computing nodes.
[0162] The system selects a subset of building blocks for the requested cluster from a super platform including a set of building blocks (1420). As described above, a super platform may include a set of building blocks having a three-dimensional arrangement of computing nodes (e.g., a 4×4×4 arrangement of computing nodes). The system may select an amount of building blocks that matches an amount defined by a target arrangement. As described above, the system may select building blocks that are healthy and available for the requested cluster.
[0163] In a super platform, each building block can be connected to an optical network that includes two or more OCS switches for each of the m dimensions. For example, the optical network can include two OCS switches for each logical axis of each of the m dimensions. For each of the m dimensions, each building block can include one or more segments of computing nodes interconnected along that dimension. For example, each building block can include a segment along each logical axis of that dimension.
[0164] Each segment may include a first computing node at a first end of the segment and a second computing node at a second end of the segment opposite the first end. If the segment includes more than two computing nodes, additional computing nodes may be within the segment between the first computing node and the second computing node.
[0165] The first portion of the first computing node is connected to a first OCS switch of the two or more OCS switches of the dimension. One or more additional portions of the first computing node are connected to corresponding additional OCS switches of the two or more OCS switches of the dimension. As described above, the optical network may include two OCS switches for each logical axis of the building blocks. For a given logical axis, the first computing nodes of some building blocks may be connected to the first OCS switch of the two OCS switches. The first computing nodes of other building blocks may be connected to the second OCS switch of the two OCS switches. These connections may be direct connections without any intermediate one-to-many switches.
[0166] These portions may be allocated to each OCS switch so that the OCS switches are balanced. That is, if the optical network includes two OCS switches for each logical axis, half (or approximately half) of the segments on the logical axis may be allocated to the first OCS switch, and half (or approximately half) of the segments on the logical axis may be allocated to the second OCS switch.
[0167] The second computing node of each segment is connected to the input of a corresponding one-to-many optical switch having an input and multiple outputs. For example, a 1×2 optical switch has one input and two outputs. The first output of the one-to-many optical switch can be connected to the first OCS switch. Each additional output is connected to an additional OCS switch. For example, if the optical network includes two OCS switches for each logical axis and a 1×2 optical switch connected to each segment, the second output of the 1×2 switch for the segment can be connected to the second OCS switch for the logical axis of the segment.
[0168] The system determines a logical arrangement of the subset of computing nodes that matches the target arrangement of computing nodes (1430). The logical arrangement can be an in-memory model of the layout of the building blocks. For each of the m dimensions, the logical arrangement can define connections between segments of each building block and corresponding segments of one or more other building blocks. For example, the logical arrangement can specify which building block will go into which position in the target arrangement of computing nodes. In a specific example, if the target arrangement is similar to Fig.13 For an 8×8×8 arrangement of workload clusters, the logical arrangement can specify which building block is at the top, front, left position, which building block is at the top, right, front position, which building block is at the bottom, left, front position, which building block is at the bottom, right, front position, and so on.
[0169] Based on these positions, segments of building blocks that are on the same logical axis and adjacent along that axis will be connected to each other. For example, if one building block is logically arranged above another building block, then each segment along the y dimension of the top building block will be connected to the corresponding segment of the bottom building block on the same logical axis.
[0170] The system generates a workload cluster of computing nodes that includes a subset of building blocks and is connected to each other based on a logical arrangement (1440). The system can use composition operations 1450 and 1460 to generate the workload cluster.
[0171] For each dimension of the workload cluster, the system configures corresponding routing data for each of the two or more OCS switches of the dimension 1450. The corresponding routing data for each dimension of the workload cluster specifies how data for the compute workload is routed between compute nodes along the dimension of the workload cluster.
[0172] For example, if the optical network includes two OCS switches for each logical axis in each dimension, the system can configure the OCS switch for each logical axis to route data between segments along the logical axis. Routing data can cause the OCS switch to route data between adjacent segments on the same logical axis.
[0173] The system configures at least a portion of the one-to-many switch based on the logical arrangement so that a second compute node in each segment of compute nodes is connected to the same OCS switch as a corresponding first compute node of a corresponding segment in the logical arrangement to which the second compute node is connected (1460). For example, if a first building block is above a second building block, a segment of the first building block will need to be connected to a corresponding segment of the second building block on the same logical axis. If a first compute node of the segment of the first building block is connected to a first OCS switch for the logical axis, the one-to-many switch for the segment of the second building block can be configured so that an input of the one-to-many switch is routed to the first OCS switch.
[0174] The system causes the compute nodes of the workload cluster to execute the computational workload (1470). For example, the system can provide the computational workload to the compute nodes of the workload cluster. While the computational workload is being executed, the configured OCS switches and the one-to-many optical switches can route data between the building blocks of the workload cluster. Although the compute nodes are not physically connected in the target arrangement, the configured OCS switches and the one-to-many optical switches can route data between the compute nodes of the building blocks as if the compute nodes were physically connected in the target arrangement.
[0175] The embodiments of the subject matter and operations described in this specification may be implemented in digital electronic circuits, or in computer software, firmware or hardware, including the structures disclosed in this specification and their structural equivalents, or a combination of one or more of them. The embodiments of the subject matter described in this specification may be implemented as one or more computer programs, i.e., one or more modules of computer program instructions, which are encoded on a computer storage medium to be executed by a data processing device or to control the operation of a data processing device. Alternatively or additionally, the program instructions may be encoded on an artificially generated propagation signal, such as a machine-generated electrical, optical or electromagnetic signal, which is generated to encode information to be sent to an appropriate receiver device for execution by a data processing device. The computer storage medium may be or be included in a computer-readable storage device, a computer-readable storage substrate, a random or serial access memory array or device, or a combination of one or more of them. In addition, when the computer storage medium is not a propagation signal, the computer storage medium may be a source or destination of computer program instructions encoded in an artificially generated propagation signal. The computer storage medium may also be one or more separate physical components or media (e.g., multiple CDs, disks or other storage devices), or be included therein.
[0176] The operations described in this specification can be implemented as operations performed by a data processing apparatus on data stored on one or more computer-readable storage devices or received from other sources.
[0177] The term "data processing apparatus" includes all types of apparatus, devices and machines for processing data, including, for example, a programmable processor, a computer, a system on a chip, or a plurality of systems or combinations of the foregoing. The apparatus may include dedicated logic circuits, such as an FPGA (field programmable gate array) or an ASIC (application-specific integrated circuit). In addition to hardware, the apparatus may also include code that creates an execution environment for the computer program in question, such as code that constitutes processor firmware, a protocol stack, a database management system, an operating system, a cross-platform runtime environment, a virtual machine, or a combination of one or more of them. The apparatus and execution environment may implement a variety of different computing model infrastructures, such as Web services, distributed computing, and grid computing infrastructures.
[0178] A computer program (also referred to as a program, software, software application, script, or code) may be written in any form of programming language, including compiled or interpreted languages, declarative languages, or procedural languages, and may be deployed in any form, including as a stand-alone program or as a module, component, subroutine, object, or other unit suitable for use in a computing environment. A computer program may, but need not, correspond to a file in a file system. A program may be stored as part of a file that holds other programs or data (e.g., one or more scripts stored in a markup language document), in a single file dedicated to the program, or in multiple coordinated files (e.g., files that store one or more modules, subroutines, or code portions). A computer program may be deployed to execute on one computer or on multiple computers located at one site or distributed over multiple sites and interconnected by a communications network.
[0179] The processes and logic flows described in this specification can be performed by one or more programmable processors executing one or more computer programs to perform actions by operating on input data and generating output. The processes and logic flows can also be performed by special purpose logic circuits (e.g., FPGAs (field programmable gate arrays) or ASICs (application specific integrated circuits)), and the apparatus can also be implemented as special purpose logic circuits.
[0180] For example, processors suitable for executing computer programs include general and special purpose microprocessors, and any one or more processors of any type of digital computer. Typically, the processor will receive instructions and data from a read-only memory or a random access memory or both. The basic elements of a computer are a processor for performing actions according to instructions and one or more memory devices for storing instructions and data. Typically, a computer will also include or be operably coupled to receive data from or transfer data to one or more mass storage devices, which are used to store data, such as magnetic disks, magneto-optical disks, or optical disks. However, a computer does not have to have such a device. In addition, a computer can be embedded in another device, such as a mobile phone, a personal digital assistant (PDA), a mobile audio or video player, a game console, a global positioning system (GPS) receiver, or a portable storage device (e.g., a universal serial bus (USB) flash drive), etc. Devices suitable for storing computer program instructions and data include all forms of non-volatile memory, media, and memory devices, including, for example, semiconductor memory devices, such as EPROM, EEPROM, and flash memory devices; magnetic disks, such as internal hard disks or removable disks; magneto-optical disks; CDROM and DVD-ROM disks. The processor and the memory can be supplemented by, or incorporated in, special purpose logic circuitry.
[0181] To provide interaction with a user, embodiments of the subject matter described in this specification may be implemented on a computer having a display device, such as a CRT (cathode ray tube) or LCD (liquid crystal display) monitor, for displaying information to the user, as well as a keyboard and a pointing device, such as a mouse or trackball, through which the user can provide input to the computer. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback, such as visual feedback, auditory feedback, or tactile feedback; and input from the user may be received in any form, including sound, speech, or tactile input. In addition, the computer may interact with the user by sending documents to and receiving documents from a device used by the user; for example, by sending a web page to a web browser on a user's client device in response to a request received from the web browser.
[0182] Embodiments of the subject matter described in this specification may be implemented in a computing system that includes a back-end component, such as a data server, or includes a middleware component, such as an application server, or includes a front-end component, such as a client computer with a graphical user interface or a web browser, through which a user can interact with an implementation of the subject matter described in this specification. Or any combination of one or more such back-end, middleware, or front-end components. The components of the system may be interconnected by digital data communication (e.g., a communication network) in any form or medium. Examples of communication networks include local area networks ("LANs") and wide area networks ("WANs"), inter-networks (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks).
[0183] A computing system may include a client and a server. The client and the server are usually remote from each other and usually interact through a communication network. The relationship between the client and the server is generated by computer programs running on each computer and having a client-server relationship with each other. In some embodiments, the server transmits data (e.g., an HTML page) to a client device (e.g., for displaying data to a user interacting with the client device and receiving user input from a user interacting with the client device). Data generated at the client device (e.g., the result of a user interaction) can be received from the client device at the server.
[0184] Although this specification contains many specific implementation details, these should not be interpreted as limitations on the scope of any invention or the scope of the claimed protection, but should be interpreted as descriptions of specific features of specific embodiments of specific inventions. Certain features described in this specification in the context of separate embodiments may also be implemented in combination in a single embodiment. Conversely, the various features described in the context of a single embodiment may also be implemented individually or in any suitable sub-combination in multiple embodiments. In addition, although features may be described above as working in certain combinations, and even initially claimed as such, in some cases, one or more features in the claimed combination may be removed from the combination, and the claimed combination may be directed to a sub-combination or a variation of the sub-combination.
[0185] Similarly, although operations are described in a particular order in the accompanying drawings, this should not be understood as requiring that the operations be performed in the particular order shown or in a sequential order, or that all of the operations shown be performed to obtain the desired results. In some cases, multitasking and parallel processing may be advantageous. In addition, the separation of various system components in the above-described embodiments should not be understood as requiring such separation in all embodiments, and it should be understood that the described program components and systems can generally be integrated into a single software product or packaged into multiple software products.
[0186] Thus, certain embodiments of the subject matter have been described. Other embodiments are within the scope of the following claims. In some cases, the actions recited in the claims can be performed in a different order and still achieve the desired results. Furthermore, the processes shown in the accompanying drawings do not necessarily require the particular order or sequence shown to achieve the desired results. In some implementations, multitasking and parallel processing may be advantageous.
Claims
1. A method performed by one or more data processing devices, characterized in that The method comprises: identifying a target arrangement of computing nodes for computing the workload; A subset of the building blocks for the computational workload is selected from a set of building blocks, each building block in the set of building blocks comprising computing nodes arranged in m dimensions, wherein: Each building block is connected to an optical network comprising two or more optical switches for each of the m dimensions and a set of one-to-many switches for each building block; For each of the m dimensions: Each building block comprises one or more segments of computing nodes interconnected along the dimension, each segment comprising a first computing node at a first end of the segment and a second computing node at a second end of the segment opposite the first end; for a first subset of the set of building blocks, the first computing node along each segment of the dimension is connected to a first optical switch of the two or more optical switches of the dimension; for each of one or more second subsets of the set of building blocks, the first computing node along each segment of the dimension is connected to a respective additional one of the two or more optical switches for the dimension; and the second computing node of each segment of each building block is connected to an input of a corresponding one-to-many optical switch for the building block and segment, each one-to-many optical switch having the input and a plurality of outputs, wherein a first output of the plurality of outputs is connected to the first optical switch for the dimension, and each additional output of the plurality of outputs is connected to a corresponding respective additional optical switch for the dimension; determining a logical arrangement of a subset of the building blocks that matches the target arrangement of the computing nodes; Generating a workload cluster of computing nodes including the subset of the building blocks, the generating comprising: For each dimension of the workload cluster, configuring corresponding routing data for each of the two or more optical switches of the dimension, the corresponding routing data of each dimension of the workload cluster indicating how data of the computing workload is routed between computing nodes along the dimension of the workload cluster; and At least a portion of the one-to-many switch is configured based on the logical arrangement such that the second compute node of each segment is connected to the same optical switch as a corresponding first compute node of a corresponding segment to which the second compute node is connected in the logical arrangement.
2. The method according to claim 1, characterized in that Each optical switch includes an optical circuit switch (OCS).
3. The method according to claim 1, characterized in that Also included is causing the workload cluster to execute the computing workload.
4. The method according to claim 1, characterized in that: The set of one-to-many switches for each building block includes a respective one-to-many switch for each segment of each dimension of the building block.
5. The method according to claim 1, characterized in that Each segment for each dimension comprises a logical axis along that dimension.
6. The method according to claim 1, characterized in that Configuring at least a portion of the one-to-many switch based on the logical arrangement so that the second computing node of each segment is connected to the same optical switch as the corresponding first computing node of the corresponding segment to which the second computing node is connected in the logical arrangement, comprising: for a first building block in the subset, identifying a second building block in the subset that is logically adjacent to the first building block along a particular dimension; For each segment of the first building block along the particular dimension: identifying a corresponding segment of the second building block; identifying an optical switch connected to the first compute node of the corresponding segment of the second building block; and A corresponding one-to-many switch of the at least a portion of the one-to-many switches to which the segment is connected is configured to connect the second computing node of the segment to the identified optical switch.
7. The method according to claim 1, characterized in that: The one-to-many optical switch is a one-to-two optical switch having one input and two outputs.
8. The method according to claim 1, characterized in that The set of building blocks includes a plurality of workload clusters, and wherein each workload cluster includes a different subset of the building blocks.
9. The method according to claim 1, characterized in that: Also includes: receiving data indicating that a given building block in the workload cluster has failed; and The given building block is replaced with an available building block.
10. The method according to claim 9, characterized in that Replacing the given building block with an available building block comprises: updating routing data of one or more optical switches of the optical network to stop routing data between the given building block and one or more other building blocks in the workload cluster; and Routing data of the one or more optical switches of the optical network is updated to route data between the available building block and the one or more other building blocks in the workload cluster.
11. A system for configuring a super platform, characterized in that: include: A set of building blocks, each building block includes computing nodes arranged in m dimensions; and An optical network comprising two or more optical switches for each of m dimensions and a set of one-to-many switches for each building block, wherein: Each building block is connected to the optical network; For each of the m dimensions: Each building block comprises one or more segments of computing nodes interconnected along the dimension, each segment comprising a first computing node at a first end of the segment and a second computing node at a second end of the segment opposite the first end; for a first subset of the set of building blocks, the first computing node along each segment of the dimension is connected to a first optical switch of the two or more optical switches of the dimension; for each of the one or more second subsets of the set of building blocks, the first computing nodes along each segment of the dimension are connected to a respective additional one of the two or more optical switches for the dimension; and The second computing node of each segment of each building block is connected to an input of a corresponding one-to-many optical switch for the building block and segment, each one-to-many optical switch having the input and a plurality of outputs, wherein a first output of the plurality of outputs is connected to the first optical switch for the dimension and each additional output of the plurality of outputs is connected to a corresponding respective additional optical switch for the dimension.
12. The system according to claim 11, characterized in that Further comprising an OCS manager implemented on one or more computers, the OCS manager configured to: determining a logical arrangement of a subset of the building blocks that matches a target arrangement of the computing nodes for computing a workload; and Generating a workload cluster of computing nodes including the subset of the building blocks, the generating comprising: For each dimension of the workload cluster, configuring corresponding routing data for each of the two or more optical switches of the dimension, the corresponding routing data of each dimension of the workload cluster indicating how data of the computing workload is routed between computing nodes along the dimension of the workload cluster; and At least a portion of the one-to-many switch is configured based on the logical arrangement such that the second compute node of each segment is connected to the same optical switch as a corresponding first compute node of a corresponding segment to which the second compute node is connected in the logical arrangement.
13. The system according to claim 11, characterized in that Each optical switch includes an optical circuit switch (OCS).
14. The system according to claim 11, characterized in that The set of one-to-many switches for each building block includes a respective one-to-many switch for each segment of each dimension of the building block.
15. The system according to claim 11, characterized in that Each segment for each dimension comprises a logical axis along that dimension.
16. The system according to claim 12, characterized in that Configuring at least a portion of the one-to-many switch based on the logical arrangement so that the second computing node of each segment is connected to the same optical switch as the corresponding first computing node of the corresponding segment to which the second computing node is connected in the logical arrangement, comprising: for a first building block in the subset, identifying a second building block in the subset that is logically adjacent to the first building block along a particular dimension; For each segment of the first building block along the particular dimension: identifying a corresponding segment of the second building block; identifying an optical switch connected to the first compute node of the corresponding segment of the second building block; and A corresponding one-to-many switch of the at least a portion of the one-to-many switches to which the segment is connected is configured to connect the second computing node of the segment to the identified optical switch.
17. The system according to claim 11, characterized in that: The one-to-many optical switch is a one-to-two optical switch having one input and two outputs.
18. The system according to claim 11, characterized in that The set of building blocks includes a plurality of workload clusters, and wherein each workload cluster includes a different subset of the building blocks.
19. A non-transitory computer storage medium encoded with a computer program, characterized in that The program includes instructions which, when executed by one or more data processing devices, cause the one or more data processing devices to perform operations including: identifying a target arrangement of computing nodes for computing the workload; A subset of the building blocks for the computational workload is selected from a set of building blocks, each building block in the set of building blocks comprising computing nodes arranged in m dimensions, wherein: Each building block is connected to an optical network comprising two or more optical switches for each of the m dimensions and a set of one-to-many switches for each building block; For each of the m dimensions: Each building block comprises one or more segments of computing nodes interconnected along the dimension, each segment comprising a first computing node at a first end of the segment and a second computing node at a second end of the segment opposite the first end; for a first subset of the set of building blocks, the first computing node along each segment of the dimension is connected to a first optical switch of the two or more optical switches of the dimension; for each of one or more second subsets of the set of building blocks, the first compute node for each segment along the dimension is connected to a respective additional optical switch of the two or more optical switches for the dimension; and the second computing node of each segment of each building block is connected to an input of a corresponding one-to-many optical switch for the building block and segment, each one-to-many optical switch having the input and a plurality of outputs, wherein a first output of the plurality of outputs is connected to the first optical switch for the dimension, and each additional output of the plurality of outputs is connected to a corresponding respective additional optical switch for the dimension; determining a logical arrangement of a subset of the building blocks that matches the target arrangement of the computing nodes; Generating a workload cluster of computing nodes including the subset of the building blocks, the generating comprising: For each dimension of the workload cluster, configuring corresponding routing data for each of the two or more optical switches of the dimension, the corresponding routing data of each dimension of the workload cluster indicating how data of the computing workload is routed between computing nodes along the dimension of the workload cluster; and At least a portion of the one-to-many switch is configured based on the logical arrangement such that the second compute node of each segment is connected to the same optical switch as a corresponding first compute node of a corresponding segment to which the second compute node is connected in the logical arrangement.
20. The non-transitory computer storage medium of claim 19, wherein: The set of one-to-many switches for each building block includes a respective one-to-many switch for each segment of each dimension of the building block.
