In one embodiment, an apparatus includes a switch core that defines a single logical entity and has a multi-stage switch fabric physically distributed across a plurality of chassis. The multi-stage switch fabric has a plurality of ingress ports and a plurality of egress ports. The switch core is configured to be coupled to a plurality of peripheral processing devices via the plurality of ingress ports and the plurality of egress ports. The switch core is also configured to provide non-blocking connectivity at line rate between a first peripheral processing device disposed with a first chassis and a second peripheral processing device disposed within a second chassis.
Embodiments relate generally to data center equipment, and more particularly to architectures, apparatus and methods for data center systems having a switch core and edge devices.
Known architectures for data center systems involve overly involved and complex approaches that increase the costs and latency of such systems. For example, some known data center networks consist of three or more layers of switches where Ethernet and/or Internet Protocol (IP) packet processing is performed at each layer. Packet processing and queuing overhead unnecessarily repeated at each layer directly increases the costs and end-to-end latency. Similarly, such known data center networks do not typically scale in a cost effective manner: an increase in the number servers for a given data center systems often requires the addition of ports, and thus the addition of more devices, at each layer of the data center systems. Such poor scalability increases the cost of such data center systems.
Thus, a need exists for improved data center systems including improved architectures, apparatus and methods.
Each of the peripheral processing devices 170 is configured to communicate via the switch core 180 of the data center 100. Specifically, the switch core 180 of the data center 100 is configured to provide any-to-any connectivity between the peripheral processing devices 170 at relatively low latency. For example, switch core 180 can be configured to transmit (e.g., convey) data between one or more of the compute nodes 110 and one or more of the storage nodes 140. In some embodiments, the switch core 180 can have at least hundreds or thousands of ports (e.g., egress ports and/or ingress ports) through which peripheral processing devices 170 can transmit and/or receive data. The peripheral processing devices 170 can include one or more network interface devices (e.g., a network interface card (NIC), a 10 Gigabit (Gb) Ethernet Converged Network Adapter (CNA) device) through which the peripheral processing device 170 can send signals to and/or receive signals from the switch core 180. The signals can be sent to and/or received from the switch core 180 via a physical link and/or a wireless link operably coupled to the peripheral processing devices 170. In some embodiments, the peripheral processing devices 170 can be configured to send to and/or receive signals from the switch core 180 based on one or more protocols (e.g., an Ethernet protocol, a multi-protocol label switching (MPLS) protocol, a fibre channel protocol, a fibre-channel-over Ethernet protocol, an Infiniband-related protocol).
In some embodiments, the switch core 180 can be (e.g., can function as) a single consolidated switch (e.g., a single large-scale consolidated L2/L3 switch). In other words, the switch core 180 can be configured to operate as a single logical entity (e.g., a single logical network element). The switch core 180 can be configured to connect (e.g., facilitate communication between) the compute nodes 110, the storage nodes 140, the services nodes 120, and/or the routers 130 within the data center 100. In some embodiments, the switch core 180 can be configured to communicate via interface devices configured to transmit data at a rate of at least 10 Gb/ss. In some embodiments, the switch core 180 can be configured to communicate via interface devices (e.g., fibre-channel interface devices) configured to transmit data at a rate of, for example, 2 Gb/ss, 4, Gb/ss, 8 Gb/ss, 10 Gb/ss, 40 Gb/ss, 100 Gb/ss and/or faster link speeds.
Although the switch core 180 can be logically centralized, the implementation of the switch core 180 can be highly distributed, for example, for reliability. For example, portions of the switch core 180 can be physically distributed across, for example, many chassis. In some embodiments, for example, a processing stage of the switch core 180 can be included in a first chassis and another processing stage of the switch core 180 can be included in a second chassis. Both of the processing stages can logically function as part of a single consolidated switch. More details related to architecture of the switch core 180 are described in connection with
As shown in
Data can be processed at the peripheral processing devices 170, at the switch core 180, the switch fabric 187 of the switch core 180, and/or at the edge portion 185 of the switch core 180 (e.g., at edge devices included in the edge portion 185) based on different platforms. For example, communication between one or more of the peripheral processing devices 170 and an edge device at the edge portion 185 can be a stream of data packets defined based on an Ethernet protocol or a non-Ethernet protocol. The data packets can be parsed into cells at the edge device of edge portion 185, and the cells can be transmitted from the edge device to the switch fabric 187. The cells can be parsed into segments and transmitted within the switch fabric 187 as segments (also can be referred to as flits in some embodiments). In some embodiments, the data packets can be parsed into cells at a portion of the switch fabric 187. More details related to processing of data packets, cells, and/or segments within components of the data center are described below.
In some embodiments, edge devices within the edge portion 185 can be configured to classify, for example, data packets received at the switch core 180 from the peripheral processing devices 170. The switch core 180 can be defined so that classification of data packets is not performed in the switch fabric 187. Accordingly, although the switch fabric 187 can have multiple stages, the stages are not topological hops where data packet classification is performed. More details related to packet classification within a data center are described in connection with
In some embodiments, one or more portions of the data center 100 can be (or can include) a hardware-based module (e.g., an application-specific integrated circuit (ASIC), a digital signal processor (DSP), a field programmable gate array (FPGA)) and/or a software-based module (e.g., a module of computer code, a set of processor-readable instructions that can be executed at a processor). In some embodiments, one or more of the functions associated with the data center 100 can be included in different modules and/or combined into one or more modules. For example, the data center management module 190 can be a combination of hardware modules and software modules configured to manage the resources (e.g., resources of the switch core 180) within the data center 100.
One or more of the compute nodes 110 can be a general-purpose computational engine that can include, for example, processors, memory, and/or one or more network interface devices (e.g., a network interface card (NIC)). In some embodiments, the processors within a compute nodes 110 can be part of one or more cache coherent domains.
In some embodiments, the compute nodes 110 can be host devices, servers, and/or so forth. In some embodiments, one or more of the compute nodes 110 can have virtualized resources such that any compute node 110 (or a portion thereof) can be substituted for any other compute node 110 (or a portion thereof) within the data center 100.
One or more of the storage nodes 140 can be devices that include, for example, processors, memory, locally-attached disk storage, and/or one or more network interface devices. In some embodiments, the storage nodes 140 can have specialized modules (e.g., hardware modules and/or software modules) configured to enable, for example, one or more of the compute nodes 110 to read data from and/or write data to one or more of the storage nodes 140 via the switch core 180. In some embodiments, one or more of the storage nodes 140 can have virtualized resources so that any storage node 140 (or a portion thereof) can be substituted for any other storage node 140 (or a portion thereof) within the data center 100.
One or more of the services nodes 120 can be an open systems interconnection (OSI) layer-4 through layer-7 device that can include, for example, processors (e.g., network processors), memory, and/or one or more network interface devices (e.g., 10 Gb Ethernet devices). In some embodiments, the services nodes 120 can include hardware and/or software configured to perform computations on relatively heavy network workloads. In some embodiments, the services nodes 120 can be configured perform computations on a per packet basis in a relatively efficient fashion (e.g., more efficiently than can be performed at, for example, a compute node 110). The computations can include, for example, stateful firewall computations, intrusion detection and prevention (IDP) computations, extensible markup language (XML) acceleration computations, transmission control protocol (TCP) termination computations, and/or application-level load-balancing computations. In some embodiments, one or more of the services nodes 120 can have virtualized resources so that any service node 120 (or a portion thereof) can be substituted for any other service node 120 (or a portion thereof) within the data center 100.
One or more of the routers 130 can be networking devices configured to connect at least a portion of the data center 100 to another network (e.g., the global Internet). For example, as shown in
More details related to virtualized resources within a data center are set forth in co-pending U.S. patent application Ser. No. 12/346,623, filed Dec. 30, 2008, entitled, “Method and Apparatus for Determining a Network Topology During Network Provisioning,” co-pending U.S. patent application Ser. No. 12/346,632, filed Dec. 30, 2008, entitled, “Methods and Apparatus for Distributed Dynamic Network Provisioning,” and co-pending U.S. patent application Ser. No. 12/346,630, filed Dec. 30, 2008, entitled, “Methods and Apparatus for Distributed Dynamic Network Provisioning,” all of which are hereby incorporated by reference herein in their entireties.
As discussed above, the switch core 180 can be configured to function as a single universal switch connecting any peripheral processing device 170 in the data center 100 to any other peripheral processing device 170. Specifically, the switch core 180 can be configured to provided any-to-any connectivity between the peripheral processing devices 170 (e.g., a relatively large number of peripheral processing devices 170) with the switch core 180 having substantially no perceptible limits except those imposed by the bandwidth of the network interfaces devices connecting the peripheral processing devices 170 to the switch core 180 and by speed-of-light signaling delays (also referred to as speed-of-light latency). Said differently, the switch core 180 can be configured so that each peripheral processing device 170 appears to be interconnected directly to every other peripheral processing device within the data center 100. In some embodiments, the switch core 180 can be configured so that the peripheral processing devices 170 can communicate at line rate (or at substantially line rate) via the switch core 180. A schematic representation of any-to-any connectivity is shown in
In some embodiments, the switch core 280 can be defined so that the switch core 280 is fair in the sense that the bandwidth of a destination link between the peripheral processing devices PD and the other peripheral processing devices 210 is shared substantially equitably among contending peripheral processing devices 210. For example, when several (or all) of the peripheral processing devices 210 shown in
In some embodiments, any-to-any connectivity, low latency, fairness, and/or so forth, which are attributes of the switch core 280, can enable peripheral processing devices 210 of a given type (e.g., of a storage node type, of a compute node type) connected to (e.g., in communication with) the switch core 280 to be treated interchangeably (e.g., independent of location relative to other processing devices 210 and the switch core 280). This can be referred to as fungibility, and can facilitate the efficiency and simplicity of a data center including switch core 280. The switch core 280 can have the attributes of any-to-any connectivity and/or fairness even though the switch core 280 may have a large number of ports (e.g., more than 1000 ports) such that each port operates at a relatively high speed (e.g., operate a speed greater than 10 Gb/ss). This can be achieved without specialized interconnects included in, for example, a supercomputer and/or without perfect a-priori knowledge of all communication patterns. More details related to the architecture of the switch core having any-to-any connectivity and/or fairness are described, at least in part, in connection with
Referring back to
In some embodiments, the data center 100 can support security models that permit a wide range of policies to be implemented. For example, the data center 100 can support no communication policies, where applications reside in separate virtual data centers of the data center 100 but can share the same physical peripheral processing devices (e.g., compute nodes 100, storage nodes 140) and network infrastructure (e.g., switch core 180). In some configurations, the data center 100 can support multiple processes that are part of the same application and need to communicate with almost no limitations. In some configurations, the data center 100 can also support policies that may require, for example, deep packet inspection, stateful firewalls, and/or stateless filters.
The data center 100 can have an end-to-end application to application latency (also can be referred to as end-to-end latency) defined based on source latency, zero-load latency, congestion latency, and destination latency. In some embodiments, source latency can be, for example, time expended during processing at a source peripheral processing device (e.g., time expended by software and/or a NIC). Similarly, destination latency can be, for example, time expended during processing at a destination peripheral processing device (e.g., time expended by software and/or a NIC). In some embodiments, zero-load latency can be the speed-of-light delay plus the processing and store-and-forward delays inside, for example, the switch core 180. In some embodiments, congestion latency can be, for example, queuing delays caused by backups in the network. The data center 100 can have a low end-to-end latency that enables desirable application performance for applications that are sensitive to latency such as applications with real-time constraints and/or applications with high levels of inter-process communication requirements.
The zero-load latency of the switch core 180 can be significantly less than that of a data center core portion having an interconnection of Ethernet-based hops. In some embodiments, for example, the switch core 180 can have a zero-load latency (excluding speed-of-light latency) from an ingress port of the switch core 180 to an egress port of the switch core 180 of less than 6 microseconds. In some embodiments, for example, the switch core 180 can have a zero-load latency (excluding congestion latency and speed-of-light latency) of less than 12 microseconds. Ethernet-based data center core portions may have significantly higher latencies because of, for example, undesirable levels of congestion (e.g., congestion between links). The congestion within the Ethernet-based data center core portions can be exacerbated by the inability of the Ethernet-based data center core (or management devices associated with the Ethernet-based data center core) to handle the congestion in a desirable fashion. In addition, latencies within an Ethernet-based data center core portion can be non-uniform because the core portion can have different numbers of hops between different source-destination pairs and/or many store-and-forward switch nodes where classification of data packets is performed. In contrast, classification of the switch core 180 is performed at the edge portion 185 and is not performed in the switch fabric 187, and the switch core 180 has a deterministic cell-based switch fabric 187. For example, the latency of processing of cells through the switch fabric 187 (but not the paths the cells through the switch fabric 187) can be predictable.
The switch core 180 of the data center 100 can provide lossless-end-to-end packet delivery, at least in part, based on flow control schemes implemented within the data center 100. For example, scheduling of transmission of data (e.g., data associated with data packets) via the switch fabric 187 is performed on a cell basis using a request-grant scheme (also can be referred to as a request-authorization scheme). Specifically, cells are transmitted into the switch fabric 187 (e.g., transmitted into the switch fabric 187 from the edge portion 185) after a request to transmit the cells has been granted based on substantially guaranteed delivery (without loss). Once admitted into the switch fabric 187, the cells are processed within the switch fabric 187 as segments. Flow of the segments within the switch fabric 187 can further be controlled, for example, so that the segments are not lost when congestion within the switch fabric 187 is detected. More details related to processing of cells and segments within the switch core 180 are described below.
Also, flow of data packets in the switch core 180, which can be parsed into cells and segments, can be controlled at the peripheral processing devices 170 based on a fine grain flow control scheme. In some embodiments, fine grain flow control can be implemented based on stages of queues. This type of fine grain flow control can prevent (or substantially prevent) head-of-line blocking, which can result in poor network utilization. The fine grain flow control can also be used to reduce (or minimize) latency within the switch core 180. In some embodiments, fine grain flow control can enable high-performance block oriented disk traffic to and from the peripheral processing devices 170, which may not be achieved using Ethernet and Internet Protocol (IP) networks in a desirable fashion. More details related to fine grain flow control are described in connection with
In some embodiments, the data center 100, and, in particular, the switch core 180 can have a modular architecture. Specifically, the switch core 180 of the data canter 100 can be implemented initially at small scale and can be expanded (e.g., incrementally expanded) as needed. The switch core 180 can be expanded substantially without disruption to continuous operation of the existing network and/or can be expanded without constraints on where the new equipment of the switch core 180 should be physically located.
In some embodiments, one or more portions of the switch core 180 can be configured to operate based on virtual private networks (VPN's). Specifically, the switch core 180 can be partitioned so that one or more of the peripheral processing devices 170 can be configured to communicate via overlapping or non-overlapping virtual partitions of the switch core 180. The switch core 180 can also be parsed into virtualized resources that have disjoint or overlapping subsets. In other words, the switch core 180 can be a single switch that can be partitioned in a flexible fashion. In some embodiments, this approach can enable networking at scale once within the consolidated switch core 180 of the data center 100. This can be contrasted with data centers that can be a collection of separate scalable networks that may each have customized and/or specialized resources. In some embodiments, networking resources that define the switch core 180 can be pooled so that they can be used efficiently.
In some embodiments, the data center management module 190 can be configured to define multiple levels of virtualization of the physical (and/or virtual) resources that define the data center 100. For example, the data center management module 190 can be configured to define multiple levels of virtualization that can represent the breadth of applications of the data center 100. In some embodiments, a lower level (of two levels) can include a virtual application cluster (VAC), which can be a set of physical (or virtual) resources assigned to a single application belonging to (e.g., controlled by) one or more entities (e.g., an administrative entity, a financial institution). An upper level (of two levels) can include a virtual data center (VDC), which can include a set of VAC's belonging to (e.g., controlled by) one or more entities. In some embodiments, the data center 100 can include a number of VAC's that can each belong to a different administrative entity.
In some embodiments, VDCs (and VACs) can be established so that resources associated with a data center can be managed in a desirable fashion by, for example, entities that use (e.g., lease, own, communicate through) the resources of the data center and/or administrators of the resources of the data center. For example, VDC1 can be a virtual data center associated with a financial institution, and VDC2 can be a virtual data center associated with telecommunications service provider. Accordingly, the policy PY1 can be defined by the financial institution so that VDC1 (and the physical and/or virtual data center resources associated with VDC1) can be managed in a manner that is different from (or similar to) a manner in which VDC2 (and the physical and/or virtual data center resources associated with VDC2) is managed based on policy PY2, which can be defined by the telecommunications service provider. In some embodiments, one or more policies (e.g., a portion of policy PY1) can be established by a network administrator that, when implemented, provide information security and/or firewalls between VDC1, which is associated with the financial institution, and VDC2, which is associated with the telecommunications service provider.
In some embodiments, policies can be associated with (e.g., integrated within) a data center management (not shown). For example, VDC2 can be managed based on policy PY2 (or a subset of policy PY2). In some embodiments, the data center management can be configured to, for example, monitor the real-time performance of applications within the VDCs and/or can be configured to allocate or de-allocate resources automatically to satisfy the respective policies for applications within the VDCs. In some embodiments, policies can be configured to operate based on time thresholds. For example, one or more policies can be configured to function based on periodic events (e.g., predictable periodic events) such as variations in a parameter value (e.g., a traffic level) at a specified time of day or during a day of week.
In some embodiments, policies can be defined based on a high level language. Accordingly, the policies can be specified in a relatively accessible fashion. Examples of policies include information securing policies, failure isolation policies, firewall policies, performance guarantees policies (e.g., policies related to service levels to be implemented by an application), and/or other administrative policies (e.g., management isolation policies) related to protection or archiving of information.
In some embodiments, the policies can be implemented at a packet classification module that can be configured to, for example, classify a data packet (e.g., an IP packet, a session control protocol packet, a media packet, a data packet defined at a peripheral processing device). For example, the policies can be implemented within a packet classification module of an access switch within an edge portion of a switch core. Classifying can include any processing performed so that the data packet can be processed within a data center (e.g., a switch core of a data center) based on a policy. In some embodiments, the policy can include one or more policy conditions that are associated with an instruction that can be executed. The policy can be, for example, a policy to route a data packet to a particular destination (instruction) if the data packet has a specified type of network address (policy condition). Packet classification can include determining whether or not the policy condition has been satisfied so that the instruction can be executed. For example, one or more portions (e.g., a field, a payload, an address portion, a port portion) of the data packet can be analyzed by the packet classification module based on a policy condition defined within a policy. When the policy condition is satisfied, the data packet can be processed based on an instruction associated with the policy condition.
In some embodiments, one or more portions of the logical groups 300 can be configured to be operate in a “lights out” manner from multiple remote locations—such as a separate location for each of the VDCs and one or two master locations to control the logical groups 300. In some embodiments, a data center with logical groups such as those shown in
As shown in
In some embodiments, one or more of the VDCs can be manually defined (e.g., manually defined by a network administrator) and/or automatically defined (e.g., automatically defined based on a policy). In some embodiments, the VDCs can be configured to change (e.g., change dynamically). For example, a VDC (e.g., VDC1) can include a specified set of resources during a period of time and can include a different set of resources (e.g., mutually exclusive set of resources, overlapping set of resources) during a different period of time (e.g., mutually exclusive period of time, overlapping period of time).
In some embodiments, one or more portions of a data center can be dynamically provisioned in response to, before, or during a change related to a VDC (e.g., a migration of a portion of the VDC such as a virtual machine of the VDC). For example, a switch core of a data center can include multiple network devices such as network switches, each storing a library of configuration templates including provisioning instructions for services provided by and/or required by virtual machines. When a virtual machine migrates to and/or is instantiated or started on a server connected to a port of a network switch of the switch core, the server can send to the network switch an identifier related to a service provided by the virtual machine. The network device can select a configuration template from the library of configuration templates based on the identifier, and provision the port and/or the server based on the configuration template. Thus, the task of provisioning network ports and/or devices can be distributed (e.g., distributed in an automated fashion, distributed without redefining templates) across network switches in the switch core, and can vary dynamically as virtual machines or resources are migrated among peripheral processing devices.
In some embodiments, provisioning can include various types or forms of device and/or software module setup, configuration, and/or adjustment. For example, provisioning can include configuring a network device within a data center such as a network switch based on a policy such as one of the policies PY shown in
In some embodiments, virtual resources associated with a data center can be provisioned. A virtual resource can be, for example, a software module implementing a virtual switch, virtual router, or virtual gateway that is configured to operate as an intermediary between a physical network and virtual resources hosted by a host device such as a server. In some embodiments, a virtual resource can be hosted by the host device. In some embodiments, provisioning can include establishing a virtual port or connection between a virtual resource and a virtual device.
More details related to virtualized resources within a data center are set forth in co-pending U.S. patent application Ser. No. 12/346,623, filed Dec. 30, 2008, entitled, “Method and Apparatus for Determining a Network Topology During Network Provisioning,” co-pending U.S. patent application Ser. No. 12/346,632, filed Dec. 30, 2008, entitled, “Methods and Apparatus for Distributed Dynamic Network Provisioning,” and co-pending U.S. patent application Ser. No. 12/346,630, filed Dec. 30, 2008, entitled, “Methods and Apparatus for Distributed Dynamic Network Provisioning,” all of which have been incorporated by reference herein in their entireties.
In some embodiments, each module 412 of the first stage 440 can be a cell switch. The cell switches can be configured to effectively redirect data (e.g., segments) as it flows through the switch fabric 400. In some embodiments, for example, each cell switch can include multiple input ports operatively coupled to write interfaces on a memory buffer (e.g., a cut-through buffer). In some embodiments, the memory buffer can be included in a buffer module. Similarly, a set of output ports can be operatively coupled to read interfaces on the memory buffer. In some embodiments, the memory buffer can be a shared memory buffer implemented using on-chip static random access memory (SRAM) to provide sufficient bandwidth for all input ports to write one incoming cell (e.g., a portion of a data packet) per time period and all output ports to read one outgoing cell per time period. Each cell switch operates similar to a crossbar switch that can be reconfigured subsequent each time period. More details related to a shared memory buffer are described in connection with
In alternate embodiments, each module of the first stage can be a crossbar switch having input bars and output bars. Multiple switches within the crossbar switch connect each input bar with each output bar. When a switch within the crossbar switch is in an “on” position, the input is operatively coupled to the output and data can flow. Alternatively, when a switch within the crossbar switch is in an “off” position, the input is not operatively coupled to the output and data cannot flow. Thus, the switches within the crossbar switch control which input bars are operatively coupled to which output bars.
Each module 412 of the first stage 440 includes a set of input ports 460 configured to receive data as it enters the switch fabric 400. In this embodiment, each module 412 of the first stage 440 includes the same number of input ports 460.
Similar to the first stage 440, the second stage 442 of the switch fabric 400 includes modules 414. The modules 414 of the second stage 442 are structurally similar to the modules 412 of the first stage 440. Each module 414 of the second stage 442 is operatively coupled to each module of the first stage 440 by a data path 420. Each data path 420 between each module of the first stage 440 and each module 414 of the second stage 442 is configured to facilitate data transfer from the modules 412 of the first stage 440 to the modules 414 of the second stage 442.
The data paths 420 between the modules 412 of the first stage 440 and the modules 414 of the second stage 442 can be constructed in any manner configured to facilitate data transfer from the modules 412 of the first stage 440 to the modules 414 of the second stage 442 in a desirable fashion (e.g., in an effective fashion). In some embodiments, for example, the data paths are optical connectors between the modules. In other embodiments, the data paths are within a midplane. Such a midplane can be similar to that described in further detail herein. Such a midplane can be effectively used to connect each module of the second stage with each module of the first stage. In still other embodiments, the modules are contained within a single chip package and the data paths are electrical traces.
In some embodiments, the switch fabric 400 is a non-blocking Clos network. Thus, the number of modules 414 of the second stage 442 of the switch fabric 400 varies based on the number of input ports 460 of each module 412 of the first stage 440. In a rearrangeably non-blocking Clos network (e.g., a Benes network), the number of modules 414 of the second stage 442 is greater than or equal to the number of input ports 460 of each module 412 of the first stage 440. Thus, if n is the number of input ports 460 of each module 412 of the first stage 440 and m is the number of modules 414 of the second stage 442, m≧n. In some embodiments, for example, each module of the first stage has five input ports. Thus, the second stage has at least five modules. All five modules of the first stage are operatively coupled to all five modules of the second stage by data paths. Said another way, each module of the first stage can send data to any module of the second stage.
The third stage 444 of the switch fabric 400 includes modules 416. The modules 416 of the third stage 444 are structurally similar to the modules 412 of the first stage 440. The number of modules 416 of the third stage 444 is equivalent to the number of modules 412 of the first stage 440. Each module 416 of the third stage 444 includes output ports 462 configured to allow data to exit the switch fabric 400. Each module 416 of the third stage 444 includes the same number of output ports 462. Further, the number of output ports 462 of each module 416 of the third stage 444 is equivalent to the number of input ports 460 of each module 412 of the first stage 440.
Each module 416 of the third stage 444 is connected to each module 414 of the second stage 442 by a data path 424. The data paths 424 between the modules 414 of the second stage 442 and the modules 416 of the third stage 444 are configured to facilitate data transfer from the modules 414 of the second stage 442 to the modules 416 of the third stage 444.
The data paths 424 between the modules 414 of the second stage 442 and the modules 416 of the third stage 444 can be constructed in any manner configured to effectively facilitate data transfer from the modules 414 of the second stage 442 to the modules 416 of the third stage 444. In some embodiments, for example, the data paths are optical connectors between the modules. In other embodiments, the data paths are within a midplane. Such a midplane can be similar to that described in further detail herein. Such a midplane can be effectively used to connect each module of the second stage with each module of the third stage. In still other embodiments, the modules are contained within a single chip package and the data paths are electrical traces.
The input/output modules 502 are configured to send data to and/or receive data from the first switch fabric portion 571 and/or the second switch fabric portion 573. Additionally, each input/output module 502 can include a parsing function, a classifying function, a forwarding function, and/or a queuing and scheduling function. Thus, packet parsing, packet classifying, packet forwarding, and packet queuing and scheduling all occur prior to a data packet entering the first switch fabric portion 571 and/or the second switch fabric portion 573. Accordingly, these functions do not need to be preformed at each stage of the switch fabric 575, and each module of the switch fabric portions 571, 573 (described in further detail herein) do not need to include capabilities to perform these functions. This can reduce the cost, power consumption, cooling requirements and/or physical area required for each module of the switch fabric portions 571, 573. This also reduces the latency associated with the switch fabric. In some embodiments, for example, the end-to-end latency (i.e., time it takes to send data through the switch fabric from an input/output module to another input/output module) can be lower than the end-to-end latency of a switch fabric system using an Ethernet protocol. In some embodiments, the throughput of the switch fabric portions 571, 573 is constrained only by the connection density of the switch fabric system 500 and not by power and/or thermal limitations. In some embodiments, the input/output modules 502 (and/or the functionality associated with the input/output modules 502) can be included in, for example, an edge device within a edge portion of a switch core such as that shown in
Each input/output module 502 is configured to connect to a first end of a cable of the first set of cables 540 and a first end of a cable of the second set of cables 542. Each cable 540 is disposed between an input/output module 502 and the first switch fabric portion 571. Similarly, each cable 542 is disposed between an input/output module 502 and the second switch fabric portion 573. Using the first set of cables 540 and the second set of cables 542, each input/output module 502 can send data to and/or receive data from the first switch fabric portion 571 and/or the second switch fabric portion 573, respectively.
The first set of cables 540 and the second set of cables 542 can be constructed of any material suitable to transfer data between the input/output modules 502 and the switch fabric portions 571, 573. In some embodiments, for example, each cable 540, 542 is constructed of multiple optical fibers. In such an embodiment, each cable 540, 542 can have twelve transmit and twelve receive fibers. The twelve transmit fibers of each cable 540, 542 can include eight fibers for transmitting data, one fiber for transmitting a control signal, and three fibers for expanding the data capacity and/or for redundancy. Similarly, the twelve receive fibers of each cable 540, 542 have eight fibers for transmitting data, one fiber for transmitting a control signal, and three fibers for expanding the data capacity and/or for redundancy. In other embodiments, any number of fibers can be contained within each cable.
A first switch fabric portion 571 is used in conjunction with a second switch fabric portion 573 for redundancy and/or greater capacity. In other embodiments, only one switch fabric portion is used. In still other embodiments, more than two switch fabric portions are used for increased redundancy and/or greater capacity. For example, four switch fabric portions can be operatively coupled to each input/output module by, for example, four cables. The second switch fabric portion 573 is structurally and functionally similar to the first switch fabric 571. Accordingly, only the first switch fabric portion 571 is described in detail herein.
As shown in
Each interface card 510 is connected to each interface card 516 via the midplane 550. Thus, each interface card 510 can send data to and receive data from each interface card 516, as described in further detail herein. Using a midplane 550 to connect the interface cards 510 to the interface cards 516, decreases the number of cables used to connect the stages of the first switch fabric portion 571.
The first interface card 510′ includes multiple cable connector ports 560, a first module system 512, a second module system 514, and multiple midplane connector ports 562. For example,
The first module system 512 and the second module system 514 of the first interface card 510′ each includes a module of the first stage of the first switch fabric portion 571 and a module of the third stage of the first switch fabric portion 571. In some embodiments, eight cable connector ports of the sixteen cable connector ports 560 are operatively coupled to the first module system 512 and the remaining eight cable connector ports of the sixteen cable connector ports 560 are operatively coupled to the second module system 514. Both the first module system 512 and the second module system 514 are operatively coupled to each of the eight midplane connector ports 562 of interface card 510′.
The first module system 512 and the second module system 514 of first interface card 510′ are ASICs. The first module system 512 and the second module system 514 are instances of the same ASIC. Thus, manufacturing costs can be decreased because multiple instances of a single ASIC can be produced. Further, a module of the first stage of the first switch fabric portion 571 and a module of the third stage of the first switch fabric are both included on each ASIC.
In some embodiments, each midplane connector port of the eight midplane connector ports 562 has twice the data capacity of each cable connector port of the sixteen cable connector ports 560. Thus, instead of having eight data transmit and eight data receive connections, the eight midplane connector ports 562 each has sixteen data transmit and sixteen data receive connections. Thus, the bandwidth of the eight midplane connector ports 562 is equivalent to the bandwidth of the sixteen cable connector ports 560. In other embodiments, each midplane connector port has thirty-two data transmit and thirty-two data receive connections. In such an embodiment, each cable connector port has sixteen data transmit and sixteen data receive connections.
The eight midplane connector ports 562 of the first interface card 510′ are connected to the midplane 550. The midplane 550 is configured to connect each interface card 510 which is associated with the first stage and the third stage of the first switch fabric portion 571, to each interface card 516 which is associated with the second stage of the first switch fabric portion 571. Thus, the midplane 550 ensures that each midplane connector port 562 of each interface card 510 is connected to a midplane connector port 580 of a different interface card 516. Said another way, no two midplane connector ports of the same interface card 510 are operatively coupled to the same interface card 516. Thus, the midplane 550 allows each interface card 510 to send data to and receive data from any of the eight interface cards 516.
While
The first interface card 516′ includes multiple midplane connector ports 580, a first module system 518, and a second module system 519. The multiple midplane connector ports 580 are configured to send data to and receive data from any of the interface cards 510, via the midplane 550. In some embodiments, the first interface card 516′ includes eight midplane connector ports 580.
The first module system 518 and the second module system 519 of the first interface card 516′ are operatively coupled to each midplane connector port 580 of the first interface card 516′. Thus, through the midplane 550, each of the module systems 512, 514 associated with the first stage and the third stage of the first switch fabric portion 571 is operatively coupled to each of the module systems 518, 519 associated with the second stage of the first switch fabric portion 571. Said another way, each module system 512, 514 associated with the first stage and the third stage of the first switch fabric portion 571 can send data to and receive data from any of the module systems 518, 519 associated with the second stage of the first switch fabric portion 571, and vice versa. Specifically, a module associated with the first stage within a module system 512 or 514 can send data to a module associated with the second stage within a module system 518 or 519. Similarly, the module associated with the second stage within the module system 518 or 519 can send data to a module associated with the third stage within a module system 512 or 514. In other embodiments, the module associated with the third stage can send data and/or control signals to the module associated with the second stage, and the module associated with the second stage can send data and/or control signals to the module associated with the first stage.
In embodiments where each module of the first stage of the first switch fabric portion 571 has eight inputs (i.e., two modules per each interface card 510), the second stage of the first switch fabric portion 571 can have at least eight modules for the first switch fabric portion 571 to remain rearrangeably non-blocking. Thus, the second stage of the first switch fabric portion 571 has at least eight modules and is rearrangeably non-blocking. In some embodiments, twice the number of modules of the second stage are used to facilitate expansion of the switch fabric system 500 from a three-stage switch fabric to a five-stage switch fabric, as described in further detail herein. In such a five-stage switch fabric, the second stage supports twice the switching throughput as the second stage within the three-stage switch fabric of the switch fabric system 500. For example, in some embodiments, sixteen modules of the second stage can be used to facilitate future expansion of the switch fabric system 500 from a three-stage switch fabric to a five-stage switch fabric.
The first module system 518 and the second module system 519 of first interface card 516′ are ASICs. The first module system 518 and the second module system 519 are instances of the same ASIC. Additionally, in some embodiments, the first module system 518 and the second module system 519 which are associated with the second stage of the first switch fabric portion 571, are instances of the ASIC also used for the first module system 512 and the second module system 514 of the first interface card 510′, which are associated with the first stage and the third stage of the first switch fabric portion 571. Thus, manufacturing costs can be decreased because multiple instances of a single ASIC can be used for each of the module systems in the first switch fabric portion 571.
In use, data is transferred from a first input/output module 502 to a second input/output module 502 via the first switch fabric portion 571. The first input/output module 502 sends data into the first switch fabric portion 571 via a cable of the first set of cables 540. The data passes through a cable connector port 560 of one of the interface cards 510′ and into the first stage module within a module system 512 or 514.
The first stage module within the module system 512 or 514 forwards the data to a second stage module within a module system 518 or 519, by sending the data through one of the midplane connector ports 562 of the interface card 510′, through the midplane 550, and to one of the interface cards 516′. The data enters the interface card 516′ through a midplane connector port 580 of the interface card 516′. The data is then sent to the second stage module within a module system 518 or 519.
The second stage module, determines how the second input/output module 502 is connected and redirects the data back to the interface card 510′, via the midplane 550. Because each module system 518 or 519 is operatively coupled to each module system 512 and 514 on interface card 510′, the second stage module within the module system 518 or 519 can determine which third stage module within the module system 512 or 514 is operatively coupled to the second input/output module and send the data accordingly.
The data is sent to the third stage module within a module system 512, 514 on the interface card 510′. The third stage module then sends the data to the second input/output module of the input/output modules 502 via a cable of the first set of cables 540 through a cable connector port 560.
In other embodiments, instead of the first stage module sending the data to a single second stage module, the first stage module separates the data into separate portions (e.g., cells) and forwards a portion of the data to each second stage module to which the first stage module is operatively coupled (e.g., in this embodiment, every second stage module receives a portion of the data). Each second stage module then determines how the second input/output module is connected and redirects the portions of the data back to a single third stage module. The third stage module then reconstructs the received portions of the data and sends the data to the second input/output module.
Each horizontally positioned interface card 620 is operatively coupled to each vertically positioned interface card 630 by the midplane 640 (see
The receptacles 650 of the midplane 640 operatively couple each horizontally-positioned interface card 620 to each vertically-positioned interface card 630. The receptacles 650 facilitate the transfer of signals between a horizontally-positioned interface card 620 and a vertically-positioned interface card 630. In some embodiments, for example, the receptacles 650 can be multiple-pin connectors configured to receive multiple pin-connectors disposed on the midplane connector ports 622, 632 of the interface cards 620, 630, hollow tubes that allow a horizontally-positioned interface card 620 to directly connect with a vertically-positioned interface card 630, and/or any other device configured to operatively couple two interface cards. Using such a midplane 640, each horizontally-positioned interface card 620 is operatively coupled to each vertically-positioned interface card 630 without routing connections (e.g., electrical traces) on the midplane.
If the first switch fabric portion 571 were housed in housing 600, for example, each interface card 510 associated with the first stage and the third stage of the first switch fabric portion 571 would be positioned horizontally and each interface card 516 associated with the second stage of the first switch fabric portion 571 would be positioned vertically. Thus, each interface card 510 associated with the first stage and the third stage of the first switch fabric portion 571 is easily connected to each interface card 516 associated with the second stage of the first switch fabric portion 571, through the midplane 640. In other embodiments, each interface card associated with the first stage and the third stage of the first switch fabric portion is positioned vertically and each interface card associated with the second stage of the first switch fabric portion is positioned horizontally. In still other embodiments, each interface card associated with the first stage and the third stage of the first switch fabric portion can be positioned at any angle with respect to the housing and each interface card associated with the second stage of the first switch fabric portion can be positioned at an angle orthogonal to the angle of the interface card associated with the first stage and the third stage of the first switch fabric portion with respect to the housing.
Each switch fabric system 1108 includes multiple input/output modules 1102, a first set of cables 1140, a second set of cables 1142, a first switch fabric portion 1171 disposed within a housing 1170, and a second switch fabric portion 1173 disposed within a housing 1172. Each switch fabric system 1108 is structurally and functionally similar. Further, the input/output modules 1102, the first set of cables 1140, and the second set of cables 1142 are structurally and functionally similar to the input/output modules 202, the first set of cables 240, and the second set of cables 242, respectively.
When the switch fabric 1100 is in the first configuration, the first switch fabric portion 1171 and the second switch fabric portion 1173 of each switch fabric system 1108 function similar to the first switch fabric portion 571 and the second switch fabric portion 573, described above. Thus, when the switch fabric 1100 is in the first configuration, the first switch fabric portion 1171 and the second switch fabric portion 1173 operate as stand-alone three-stage switch fabrics. Accordingly, each switch fabric system 1108 acts as a stand-alone switch fabric system and is not operatively coupled to the other switch fabric systems 1108 when the switch fabric 1100 is in the first configuration.
In the second configuration (
The third set of cables 1144 can be constructed of any material suitable to transfer data between the switch fabric portions 1171, 1173 and the connection switch fabrics 1191. In some embodiments, for example, each cable 1144 is constructed of multiple optical fibers. In such an embodiment, each cable 1144 can have thirty-six transmit and thirty-six receive fibers. The thirty-six transmit fibers of each cable 1144 can include thirty-two fibers for transmitting data, and four fibers for expanding the data capacity and/or for redundancy. Similarly, the thirty-six receive fibers of each cable 1144 have thirty-two fibers for transmitting data, and four fibers for expanding the data capacity and/or for redundancy. In other embodiments, any number of fibers can be contained within each cable. By using cables having an increased number of optical fibers, the number of cables used can be significantly reduced.
As discussed above, flow control can be performed within a switch fabric of, for example, a data center.
Each module 1314 of the second stage 1342 is operatively coupled to each module of the first stage 1340 by a unidirectional data path 1320. Each unidirectional data path 1320 between each module of the first stage 1340 and each module 1314 of the second stage 1342 is configured to facilitate data transfer from the modules 1312 of the first stage 1340 to the modules 1314 of the second stage 1342. Because the data paths 1320 are unidirectional, they do not facilitate data transfer from the modules 1314 of the second stage 1342 to the modules 1312 of the first stage 1340. Such unidirectional data paths 1320 cost less, use fewer data connections, and are easier to implement than similar bidirectional data paths.
Each module 1316 of the third stage 1344 is connected to each module 1314 of the second stage 1342 by a unidirectional data path 1324. The unidirectional data paths 1324 between the modules 1314 of the second stage 1342 and the modules 1316 of the third stage 1344 are configured to facilitate data transfer from the modules 1314 of the second stage 1342 to the modules 1316 of the third stage 1344. Because the data paths 1324 are unidirectional, they do not facilitate data transfer from the modules 1316 of the third stage 1344 to the modules 1314 of the second stage 1344. As stated above, such unidirectional data paths 1324 cost less and use less area than similar bidirectional data paths.
The unidirectional data paths 1320 between the modules 1312 of the first stage 1340 and the modules 1314 of the second stage 1342 and/or the unidirectional data paths 1320 between the modules 1314 of the second stage 1342 and the modules 1316 of the third stage 1344 can be constructed in any manner configured to effectively facilitate data transfer. In some embodiments, for example, the data paths are optical connectors between the modules. In other embodiments, the data paths are within a midplane connector. Such a midplane connector can be similar to that described in
Each module 1312 of the first stage 1340 is physically proximate to a respective module 1316 of the third stage 1344. Said another way, each module 1312 of the first stage 1340 is paired with a module 1316 of the third stage 1344. For example, in some embodiments, each module 1312 of the first stage 1340 is within the same chip package of a module 1316 of the third stage 1344. A bidirectional flow-control path 1322 exists between each module 1312 of the first stage 1340 and its respective module 1316 of the third stage 1344. The flow-control path 1322 allows a module 1312 of the first stage 1340 to send a flow-control indicator to the respective module 1316 of the third stage 1344, and vice versa. As described in further detail herein, this allows any module in any stage of the switch fabric to send a flow-control indicator to the module sending it data. In some embodiments, the bidirectional flow-control path 1322 is constructed of two separate unidirectional flow control paths. The two separate unidirectional flow control paths allow flow-control indicators to pass between a module 1312 of the first stage 1340 and a module 1316 of the third stage 1344.
The module 1312′ of the first stage 1340 and its pair module 1316′ of the third stage 1344 are both included on a first chip package 1326. This allows the flow-control path 1322 between the module 1312′ of the first stage 1340 and the module 1316′ of the third stage 1344 to be easily constructed. For example, the flow-control path 1322 can be a trace on the first chip package 1326 between the module 1312′ of the first stage 1340 and the module 1316′ of the third stage. In other embodiments, the module of the first stage and the module of the third stage are on separate chip packages but are in close proximity to each other, which still allows the flow-control path between them to be constructed without using a large amount of wiring and/or a long trace.
The module 1314′ of the second stage 1342 is included on a second chip package 1328. The unidirectional data path 1320 between the module 1312′ of the first stage 1340 and the module 1314′ of the second stage 1342, and the unidirectional data path 1324 between the module of the second stage 1314′ and the module 1316′ of the third stage 1344 operatively connect the first chip package 1326 to the second chip package 1328. While not shown in
The flow-control path 1322 and the unidirectional data paths 1320, 1324 can be effectively used to send flow-control indicators between the modules 1312′, 1314′, 1316′. For example, if the module 1312′ of the first stage 1340 is sending data to the module 1314′ of the second stage 1342 and the amount of data in the buffer of the module 1314′ of the second stage 1342 exceeds a threshold, the module 1314′ of the second stage 1342 can send a flow-control indicator to the module 1316′ of the third stage 1344 via the unidirectional data path 1324 between the module 1314′ of the second stage 1342 and the module 1316′ of the third stage 1344. This flow-control indicator triggers the module 1316′ of the third stage 1344 to send a flow-control indicator to the module 1312′ of the first stage 1340 via the flow-control path 1322. The flow-control indicator sent from the module 1316′ of the third stage 1344 to the module 1312′ of the first stage 1340 causes the module 1312′ of the first stage 1340 to stop sending data to the module 1314′ of the second stage 1342. Similarly, flow-control indicators can be sent from the module 1314′ of the second stage 1342 to the module 1312′ of the first stage 1340 via the module 1316′ of the third stage 1344 requesting that data be sent (i.e., resume sending data) from the module 1312′ of the first stage 1340 to the module 1314′ of the second stage 1342.
Having two stages of the switch fabric within the same chip package with an on-chip bidirectional flow-control path between them minimizes the connections between separate chip packages, which can be bulky and/or require a large amount of volume. Additionally, having two stages physically within the same package with an on-chip bidirectional flow-control path between them, allows the data paths between chip packages to be unidirectional while providing an ability for the flow-control communication between a sending module and a receiving module. More details related to bidirectional flow-control paths within a switch fabric are described in co-pending U.S. patent application Ser. No. 12/345,490, filed on Dec. 29, 2008, entitled, “Flow-Control in a Switch Fabric,” which is incorporated herein by reference in its entirety.
As described in connection with
The buffer module 1500 can be configured to process the data signals 1560 such that processing latencies of the data signals 1560 through the buffer module 1500 can be relatively small and substantially constant. Accordingly, the bit rates of the data signals 1560, as the data signals 1560 are processed through the buffer module 1500, can be substantially constant. For example, the processing latency of data signal S2 through the buffer module 1500 can be a substantially constant number of clock cycles (e.g., a single clock cycle, a few clock cycles). Accordingly, the data signal S2 may be time-shifted by the number of clock cycles, and the bit rate of the data signal S2 transmitted into the input side 1580 of the buffer module 1500 will be substantially the same as the bit rate of the data signal S2 transmitted from the output side 1585 of the buffer module 1500.
The buffer module 1500 can be configured to modify a bit rate of one or more of the data signals 1560 in response to one or more portions of flow control signal 1570. For example, the buffer module 1500 can be configured to delay data signal S2 received at the buffer module 1500 in response to a portion of the flow control signal 1570 indicating that data signal S2 should be delayed for a specified period of time. Specifically, the buffer module 1500 can be configured to store (e.g. hold) one or more portions of the data signal S2 until the buffer module 1500 receives an indicator (e.g., a portion of flow control signal 1570) that data signal S2 should no longer be delayed. Accordingly, the bit rate of the data signal S2 transmitted into the input side 1580 of the buffer module 1500 will be different (e.g., substantially different) than the bit rate of the data signal S2 transmitted from the output side 1585 of the buffer module 1500.
In some embodiments, processing at the buffer module 1500 can be performed at memory bank based on, for example, segments of variable-sized cells. For example, in some embodiments, the segments of the cells can be processed through various memory banks (e.g., static random-access memory (SRAM) memory banks) included in the buffer module 1500 during a distribution process. The memory banks can collectively define a shared memory buffer. In some embodiments, the segments of the data signals can be distributed to memory banks in a predefined fashion (e.g., in a predefined pattern, in accordance with a predefined algorithm) during the distribution process. For example, in some embodiments, the leading segments of the data signals 1560 can be processed at portions of the buffer module 1500 (e.g., specified memory banks of the buffer module 1500) that can be different than portions where the trailing segments are processed within the buffer module 1500. In some embodiments, the segments of the data signals 1560 can be processed in a particular order. In some embodiments, for example, each of the segments of the data signals 1560 can be processed based on their respective positions within a cell. After the segments of the cells have been processed through the shared memory buffer, the segments of the cells can be ordered and sent from the buffer module 1500 during a reassembly process.
In some embodiments, for example, a read multiplexing module of the buffer module 1500 can be configured to reassemble the segments associated with the data signals 1560 and send (e.g., transmit) the data signals 1560 from the buffer module 1500. The reassembly process can be defined based on the predefined methodology used to distribute segments to memory banks of the buffer module 1500. For example, the read multiplexing module can be configured to first read a leading segment associated with a cell from a leading memory bank, and then read trailing segments associated with the cell from trailing memory banks in a round-robin fashion (because the segments were written in a round-robin fashion). Accordingly, very few control signals, if any, need to be transmitted between a write multiplexing module and the read multiplexing module. More details related to segment processing (e.g., segment distribution and/or segment reassembly) are described in co-pending U.S. patent application bearing attorney docket no. JUNI-031/00US 108200-2056, filed on Mar. 31, 2009, entitled, “Methods and Apparatus Related to a Shared Memory Buffer for Variable-Sized Cells,” which has been incorporated herein by reference in its entirety.
As shown in
In some embodiments, the ingress queues 1610 can be included in one or more ingress line cards (not shown) disposed outside of the ingress stage 1602 of the switch fabric 1600. In some embodiments, the egress ports 1640 can be included in one or more egress line cards (not shown) disposed outside of the egress stage 1606 of the switch fabric 1600. In some embodiments, one or more of the ingress queues 1610 and/or one or more of the egress ports 1640 can be included in a one or more stages (e.g., ingress stage 1602) of the switch fabric 1600. In some embodiments, the egress schedule module 1620 can be included in one or more egress line cards and/or the ingress schedule module 1630 can be included in one or more ingress line cards. In some embodiments, each line card (e.g., egress line card, ingress line card) associated with the switch core 1690 can include one or more schedule modules (e.g., egress schedule module, ingress schedule module).
In some embodiments, the ingress queues 1610 and/or the egress ports 1640 can be included in one or more gateway devices (not shown) disposed between the switch fabric 1600 and/or peripheral processing devices (not shown). The gateway device(s), the switch fabric 1600 and/or the peripheral processing devices can collectively define at least a portion of a data center (not shown). In some embodiments, the gateway device(s) can be edge devices within an edge portion of the switch core 1690. In some embodiments, the switch fabric 1600 and the peripheral processing devices can be configured to handle data based on different protocols. For example, the peripheral processing devices can include, for example, one or more host devices (e.g., host devices configured to execute one or more virtual resources, a web server) that can be configured to communicate based on an Ethernet protocol and the switch fabric 1600, which can be a cell-based fabric. In other words, the gateway device(s) can provide the other devices configured to communicate via one protocol with access to the switch fabric 1600, which can be configured to communicate via another protocol. In some embodiments, the gateway device(s) can be referred to as an access switch or as a network device. In some embodiments, the gateway device(s) can be configured to function as a router, a network hub device, and/or a network bridge device.
In this embodiment, for example, the ingress schedule module 1630 can be configured to define a group of cells GA queued at ingress queue IQ1 and a group of cells GC queued at ingress queue IQK-1. The group of cells GA is queued at a front portion of the ingress queue IQ1 and a group of cells GB is queued within the ingress queue IQ1 behind the group of cells GA. Because ingress queue IQ1 is a FIFO type queue, the group of cells GB cannot be transmitted via the switch fabric 1600 until the group of cells GA have been transmitted from the ingress queue IQ1. The group of cells GC is queued at a front portion of the ingress queue IQK-1.
In some embodiments, a portion of the ingress queues 1610 can be mapped to (e.g., assigned to) one or more of the egress ports 1640. For example, ingress queues IQ1 through IQK-1 can be mapped to egress port P1 so that all of the queued cells 310 ingress ports IQ1 through IQK-1 will be scheduled by the ingress schedule module 1620 for transmission via the switch fabric 1600 to egress port P1. Similarly, ingress queues IQK can be mapped to egress port P2. The mapping can be stored at a memory (e.g., memory 1622) as, for example, a look-up table that can be accessed by ingress schedule module 1620 when scheduling (e.g., requesting) transmission of groups of cells.
In some embodiments, one or more of the ingress queues 1610 can be associated with a priority value (also can be referred to a transmission priority value). The ingress schedule module 1620 can be configured to schedule transmission of cells from the ingress queues 1610 based on the priority values. For example, ingress schedule module 1620 can be configured to request transmission of group of cells GC to egress port P1 before requesting transmission of group of cells GA to egress port P1 because ingress queue IQK-1 can be associated with a higher priority value than ingress queue IQ1. The priority values can be defined based on a level of service (e.g., a quality of service (QoS)). For example, in some embodiments, different types of network traffic can be associated with a different level of service (and, thus a different priority). For example, storage traffic (e.g., read and write traffic), inter-processor communication, media signaling, session layer signaling, and so forth each can be associated with at least one level of service. In some embodiments, the priority values can be based on, for example, the IEEE 802.1qbb protocol, which defines a priority-based flow control strategy.
In some embodiments, one or more of the ingress queues 1610 and/or one or more of the egress ports 1640 can be paused. In some embodiments, one or more of the ingress queues 1610 and/or one or more of the egress ports 1640 can be paused so that cells are not dropped. For example, if egress port P1 is temporarily unavailable, transmission of cells from ingress queue IQ1 and/or ingress queue IQK-1 can be paused so that cells won't be dropped at egress port P1 because egress port P1 is temporarily unavailable. In some embodiments, one or more of the ingress queues 1610 can be associated with a priority value. For example, if egress port P1 is congested, transmission of cells from ingress queue IQ1 to egress port P1 can be paused rather than transmission of cells ingress queue IQK-1 to egress port P1 because ingress queue IQK-1 can be associated with a higher priority value than ingress queue IQ1.
The ingress schedule module 1620 can be configured to exchange signals with (e.g., transmit signals to and receive signals from) the egress schedule module 1630 to coordinate the transmission of the group of cells GA via the switch fabric 1600 to egress port P1, and to coordinate the transmission of group of cells GC via the switch fabric 1600 to egress port P1. Because the group of cells GA is to be transmitted to egress port P1, the egress port P1 can be referred to as a destination port of the group of cells GA. Similarly, egress port P1 can be referred to as a destination port of the group of cells GB. As shown in
The group of cells GA and the group of cells GB are defined by the ingress schedule module 1620 based on cells 4110 that are queued at ingress queue IQ1. Specifically, the group of cells GA can be defined based on each cell from the group of cells GA having a common destination port and having a specified position within the ingress queue IQ1. Similarly, the group of cells GC can be defined based on each cell from the group of cells GC having a common destination port and having a specified position within the ingress queue IQK-1. Although not shown, in some embodiments, for example, the cells 4110 can include content (e.g., data packets) received at the switch core 1690 from one or more peripheral processing devices (e.g., a personal computer, a server, a router, a personal digital assistant (PDA)) via one or more networks (e.g., a local area network (LAN), a wide area network (WAN), a virtual network) that can be wired and/or wireless. More details related to defining of groups of cells, such as group of cells GA, the group of cells GB, and/or the group of cells GC, are discussed in connection with
In some embodiments, the transmission request 22 can be queued on an ingress side of the switch fabric 1600 before being sent to the egress side of the switch fabric 1600. In some embodiments, the transmission request 22 can be queued until the ingress schedule module 1620 triggers sending of the transmission request 22 to the egress side of the switch fabric 1600. In some embodiments, the ingress schedule module 1620 can be configured to hold (or trigger holding of) the transmission request 22 in, for example, an ingress transmission request queue (not shown) because a volume of transmission requests for sending from the ingress side of the switch fabric 1600 is higher than a threshold value. The threshold value can be defined based on latency of transmission via the switch fabric 1600.
In some embodiments, the transmission request 22 can be queued at an egress queue (not shown) on an egress side of the switch fabric 1600. In some embodiments, the egress queue can be included in a line card (not shown), can be disposed within or outside of the switch fabric 1600, or can be disposed outside of the switch core 1690. Although not shown, in some embodiments, the transmission request 22 can be queued in an egress queue or a portion of an egress queue associated with a specific ingress queue (e.g., ingress queue IQ1). In some embodiments, each of the egress ports 1640 can be associated with egress queues that are associated with (e.g., correspond with) priority values of the ingress queues 1610. For example, egress port P1 can be associated with an egress queue (or portion of an egress queue) associated with ingress queue IQ1 (which can have a specified priority value) and an egress queue (or portion of an egress queue) associated with ingress queue IQK (which can have a specified priority value). Accordingly, a transmission request 22, which is queued at ingress queue IQ1, can be queued at the egress queue associated with ingress queue IQ1. In other words, the transmission request 22 can be queued in an egress queue (on an egress side of the switch fabric 1600) associated with a priority value of at least one of the ingress queues 1610. Similarly, the transmission request 22 can be queued in an ingress transmission request queue (not shown) or portion of an ingress transmission queue associated with a priority value of the at least one of the ingress queues 1610.
If the egress schedule module 1630 determines that the destination port of the group of cells GA (i.e., egress port P1 shown in
In response to the transmission response 24, the ingress schedule module 1620 can be configured to transmit the group of cells GA from the ingress side of the switch fabric 1600 to the egress side of the switch fabric 1600 via the switch fabric 1600. In some embodiments, the transmission response 24 can include an instruction to transmit the group of cells GA via a particular transmission path (such as transmission path 4112 shown in
As shown in
The cell quantity value 30 and the destination identifier 32 can be used by the egress schedule module 1630 to schedule the group of cells GA for transmission via the switch fabric 1600 to egress port P1 (shown in
In some embodiments, if the number of cells included in the group of cells GA cannot be handled (e.g., cannot be received) at the destination port of the group of cells GA (e.g., egress port P1 shown in
In some embodiments, the availability or unavailability of, for example, egress port P1 (shown in
As shown in
In some embodiments, the queue sequence value 36 can be selected from a range of queue sequence values associated with ingress queue IQ1 (shown in
In some embodiments, the range of queue sequence values associated with the ingress queue IQ1 can overlap with a range of queue sequence values associated with another of the ingress queues 1610 (shown in
In some embodiments, the ingress schedule module 1620 can be configured to wait to define a transmission request (not shown) associated with group of cells GB. For example, the ingress schedule module 1620 can be configured to wait until transmission request 22 is sent or wait until a response (e.g., the transmission response 24, a transmission denial) is received in response to transmission request 22 before defining a transmission request associated with group of cells GB.
As shown in
In some embodiments, the egress schedule module 1630 can be configured to delay sending the transmission response 24 in response to the transmission request 22. In some embodiments, the egress schedule module 1630 can be configured to delay responding if, for example, the destination port of the group of cells GA (i.e., egress port P1 shown in
In some embodiments, the egress schedule module 1630 can be configured to delay sending the transmission response 24 because the destination port of the group of cells GA (i.e., egress port P1 shown in
In some embodiments, the egress schedule module 1630 can be configured to delay sending the transmission response 24 because at least a portion of a transmission path (such as transmission path 4112 shown in
As shown in
Referring back to
In some embodiments, the group of cells GA can be retrieved and transmitted to egress port PI with a response identifier included with the group of cells GA by the ingress schedule module 1620 when the group of cells GA is transmitted to the egress side of the switch fabric 1600. The response identifier can be defined at the egress schedule module 1630 and included in the transmission response 24. In some embodiments, if the group of cells GA is queued at an egress queue (not shown) associated the destination port of the group of cells GA, the response identifier can be used to retrieve the group of cells GA from the destination port of the group of cells GA so that the group of cells GA can be transmitted from the switch fabric 1600 via the destination port of the group of cells GA. The response identifier can be associated with a location in the egress queue that has been reserved by the egress schedule module 1630 for queuing of the group of cells GA.
In some embodiments, a group of cells queued at the ingress queues 1610 can be moved to the memory 1622 when a transmission request (such as transmission request 22 shown in
In some embodiments, the ingress schedule module 1620 can be configured to retrieve a group of cells stored in the memory 1622 based on a queue identifier and/or a queue sequence value associated with the group of cells. In some embodiments, the location of the group of cells within the memory 1622 can be determined based on a look-up table and/or an index value. The group of cells can be retrieved before the group of cells is transmitted from the ingress side of the switch fabric 1600 to the egress side of the switch fabric 1600. For example, the group of cells GD can be associated with a queue identifier and/or a queue sequence value. A location within the memory 1622 where the group of cells GD is stored can be associated with the queue identifier and/or the queue sequence value. A transmission request defined by the ingress schedule module 1620 and sent to the egress schedule module 1630 can include the queue identifier and/or the queue sequence value. A transmission response received from the egress schedule module 1630 can include the queue identifier and/or the queue sequence value. In response to the transmission response, the ingress schedule module 1620 can be configured to retrieve the group of cells GD from the memory 1622 at the location based on the queue identifier and/or the queue sequence value, and the ingress schedule module 1620 can trigger transmission of the group of cells GD.
In some embodiments, a number of cells included in a group of cells can be defined based on an amount of space available in the memory 1622. For example, the ingress schedule module 1620 can be configured to define the number of cells included in the group of cells GD based on an amount of available storage space included in the memory 1622 at the time that the group of cells GD is being defined. In some embodiments, the number of cells included in the group of cells GD can be increased if the amount of available storage space included in the memory 1622 increased. In some embodiments, the number of cells included in the group of cells GD can be increased by the ingress schedule module 1620 before and/or after the group of cells GD is moved to the memory 1622 for storage.
In some embodiments, a number of cells included in a group of cells can be defined based on a latency of transmission across, for example, the switch fabric 1600. Specifically, the ingress schedule module 1620 can be configured to define the size of a group of cells to facilitate flow across the switch fabric 1600 in view of latencies associated with the switch fabric 1600. For example, the ingress schedule module 1620 can be configured to close a group of cells (e.g., define a size of the group of cells) because the group of cells has reached a threshold size defined based on the latency of the switch fabric 1600. In some embodiments, the ingress schedule module 1620 can be configured to immediately send a data packet in a group of cells, rather than wait for additional data packets to define a larger group of cells, because the latency across the switch fabric 1600 is low.
In some embodiments, the ingress schedule module 1620 can be configured to limit the number of transmission requests sent from the ingress side of the switch fabric 1600 to the egress side of the switch fabric 1600. In some embodiments, the limit can be defined based on a policy stored at the ingress schedule module 1620. In some embodiments, a limit can be defined based on a priority value associated with one or more of the ingress queues 1610. For example, ingress schedule module 1620 can be configured to permit (based on a threshold limit) more transmission requests associated with ingress queue IQ1 than from ingress queue IQK because ingress queue IQ1 has a higher priority value than ingress queue IQK.
In some embodiments, one or more portions of the ingress schedule module 1620 and/or the egress schedule module 1630 can be a hardware-based module (e.g., a DSP, FPGA) and/or a software-based module (e.g., a module of computer code, a set of processor-readable instructions that can be executed at a processor). In some embodiments, one or more of the functions associated with the ingress schedule module 1620 and/or the egress schedule module 1630 can be included in different modules and/or combined into one or more modules. For example, the group of cells GA can be defined by a first sub-module within the ingress schedule module 1620 and the transmission request 22 (shown in
In some embodiments, the switch fabric 1600 can have more or less stages than are shown in
As shown in
Each cell from the queued cells 1710 has content queued for transmission to one of four egress ports 1770—egress port E, egress port F, egress port G, or egress port H—as indicated by the egress port label (e.g., letter “E”, letter “F”) on each cell from the queued cells 1710. The egress port 1770 to which a cell is to be transmitted can be referred to as a destination port. The queued cells 1710 can each be transmitted to their respective destination port via the switch fabric 1700. In some embodiments, the ingress schedule module 1740 can be configured to determine the destination port for each cell from the queued cells 1710 based on, for example, a look-up table (LUT) such as a routing table. In some embodiments, the destination port of each cell from the queued cells 1710 can be determined based on a destination of content (e.g., data) included in the cell. In some embodiments, one or more of the egress ports 1770 can be associated with an egress queue where cells can be queued until transmitted via the egress ports 1770.
The first group of cells 1712 and the second group of cells 1716 can be defined by the ingress schedule module 1740 based on the destination ports of the queued cells 1710. As shown in
The groups of cells (e.g., the first group of cells 1712) are defined based on destination port because the groups of cells are transmitted via the switch fabric 1700 as a group. For example, if cell1 were included in the first group of cells 1712, the first group of cells 1712 could not be delivered to a single destination port because cell1 has a different destination port (egress port “F”) than cell2 through cell7 (egress port “E”). Thus, the first group of cells 1712 could not be delivered via the switch fabric 1700 as a group.
The groups of cells are defined as continuous blocks of cells because the groups of cells are transmitted via the switch fabric 1700 as a group and because the ingress queue 1720 is a FIFO type queue. For example, cell2, and cell2 through cell7 could not be defined as a group of cells because cell12 cannot be transmitted with the block of cells cell2 through cell7. Cell8 through cell11 are intervening cells that must be transmitted from ingress queue 1720 after cell2 through cell7 are transmitted from ingress queue 1720, but before cell12 is transmitted from ingress queue 1720. In some embodiments, if the ingress queue 1720 were not a FIFO type queue, one or more of the queued cells 1710 could be transmitted out of order and groups could span intervening cells.
Although not shown, each cell from the queues cells 1710 can have a sequence value that can be referred to as a cell sequence value. The cell sequence value can represent an order of, for example, cell2 with respect to cell3. The cell sequence value can be used to re-order the cells at, for example, one or more of the egress ports 1770 before the content associated with the cells is transmitted from the egress ports 1770. For example, in some embodiments, group of cells 1712 can be received at an egress queue (not shown) associated with egress port E and re-ordered based on cell sequence values. In some embodiments, the egress queue can be relatively small (e.g., a shallow egress queue) compared with the ingress queue 1720.
In addition, data (e.g., data packets) that is included within the cells can also have a sequence value that can be referred to as a data sequence value. For example, the data sequence value can represent a relative ordering of, for example, a first data packet with respect to a second data packet. The data sequence values can be used to re-order the data packets at, for example, one or more of the egress ports 1770 before the data packets are transmitted from the egress ports 1770.
As shown in
Each cell from the queued cells 1810 has content associated with one or more data packets (e.g., Ethernet data packets). The data packets are represented by the letters “Q” through “Y.” For example, as shown in
The groups of cells (e.g., the first group of cells 1812) are defined so that portions of data packets are not associated with different groups of cells. Said differently, the groups of cells are defined so that entire data packets are associated with a single group of cells. The boundaries of the groups of cells are defined based on boundaries of the data packets queued at ingress queue 1820 so that the data packets are not included in different groups of cells. Dividing data packets into different groups of cells could result in undesirable consequences such as buffering at the egress side of the switch fabric 1800. For example, if a first portion of data packet T (e.g., cell6) was included in the first group of cells 1812 and second portion of data packet T (e.g., cell7) was included in the second group of cells 1816, the first portion of data packet T would have to be buffered in at least a portion of one or more egress queues (not shown) at the egress side of the switch fabric 1800 until the second portion of the data packet T were transmitted to the egress side of the switch fabric 1800 so that the entire data packet T could be transmitted from the switch fabric 1800 via egress port E2.
In some embodiments, the data packets that are included within the queued cells 1810 can also have a sequence value that can be referred to as a data sequence value. The data sequence value can represent a relative ordering of, for example, data packet R with respect to a data packet S. The data sequence values can be used to re-order the data packets at, for example, one or more of the egress ports 1870 before the data packets are transmitted from the egress ports 1870.
A group of cells that have a common destination are defined from the cells queued at the ingress queue, at 1910. The destination of each cell from the group of cells can be determined based on a look-up table. In some embodiments, the destination can be determined based on a policy and/or based on a packet classification algorithm. In some embodiments, the common destination can be a common destination port associated with an ingress portion of the switch fabric.
A request tag is associated with the group of cells, at 1920. The request tag can include, for example, one or more of a cell quantity value, a destination identifier, a queue identifier, a queue sequence value, and so forth. The request tag can be associated with the group of cells before the group of cells is transmitted to an ingress side of the switch fabric.
A transmission request that includes the request tag is sent to an egress schedule module, at 1930. In some embodiments, the transmission request can include a request to be transmitted at a particular time or via a particular transmission path. In some embodiments, the transmission request can be sent after the group of cells has been stored in a memory associated with an ingress stage of the switch fabric. In some embodiments, the group of cells can be moved to the memory to reduce the probability of congestion at the ingress queue. In other words, the group of cells can be moved to the memory so that other cells queued behind the group of cells can be prepared for transmission (or transmitted) from the ingress queue without waiting for the group of cells to be transmitted from the ingress queue. In some embodiments, the transmission request can be a request to transmit to a specified egress port (e.g., a specified destination port).
A transmission denial that includes a response tag is sent to the ingress scheduling module, at 1950 when, in response to the transmission request, transmission via the switch fabric is not authorized at 1940. In some embodiments, the transmission request can be denied because the switch fabric is congested, a destination port is unavailable, and so forth. In some embodiments, the transmission request can be denied for a specified period of time. In some embodiments, the response tag can include one or more identifiers that can be used to associate the transmission denial with the group of cells.
If the transmission via the switch fabric is authorized at 1940, a transmission response that includes a response tag to the ingress scheduling module is sent, at 1960. In some embodiments, the transmission response can be a transmission authorization. In some embodiments, the transmission response can be sent after a destination of the group of cells is ready (or nearly ready) to receive the group of cells.
The group of cells is retrieved based on the response tag, at 1970. If the group of cells has been moved to a memory, the group of cells can be retrieved from the memory. If the group of cells is queued at the ingress queue, the group of cells can be retrieved from the ingress queue. The group of cells can be retrieved based on a queue identifier and/or a queue sequence value included in the response tag. The queue identifier and/or the queue sequence value can be from the queue tag.
The group of cells can be transmitted via the switch fabric, at 1980. The group of cells can be transmitted via the switch fabric according to an instruction included in the transmission response. In some embodiments, the group of cells can be transmitted at a specified time and/or via a specified transmission path. In some embodiments, the group of cells can be transmitted via the switch fabric to a destination such as an egress port. In some embodiments, after being transmitted via the switch fabric, the group of cells can be queued at an egress queue associated with a destination (e.g., destination port) of the group of cells.
As shown in
The egress schedule module 2030 can determine that transmission of a transmission request from ingress schedule module 2020 may have failed based on the request sequence values. Specifically, the egress schedule module 2030 can determine that a transmission request associated with the request sequence value of 5201 was not received before transmission request 56, which is associated with request sequence value 5202, was received. In some embodiments, the egress schedule module 2030 can execute an action with respect to the missing transmission request 54 when a time period between receipt of transmission request 52 and transmission request 56 (shown as time period 2040) exceeds a threshold time period. In some embodiments, egress schedule module 2030 can request that ingress schedule module 2020 retransmit transmission request 54. The egress schedule module 2030 can include the missing request sequence value so that the ingress schedule module 2020 can identify the transmission request 54 that was not received. In some embodiments, egress schedule module 2030 can deny a request for transmission of a group of cells included in transmission request 56. In some embodiments, the egress schedule module 2030 can be configured to process and/or respond to transmission requests (such as transmission requests 58) based on queue sequence values in a substantially similar fashion to the methods described in connection with request sequence values.
As shown in
The ingress schedule module 2120 can determine that transmission of a transmission response from egress schedule module 2130 may have failed based on the response sequence values. Specifically, the ingress schedule module 2120 can determine that a transmission response associated with the response sequence value of 5301 was not received before transmission response 66, which is associated with the response sequence value of 5302, was received. In some embodiments, the ingress schedule module 2120 can execute an action with respect to the missing transmission response 64 when a time period between receipt of transmission response 62 and transmission response 66 (shown as time period 2140) exceeds a threshold time period. In some embodiments, ingress schedule module 2120 can request that egress schedule module 2130 retransmit transmission response 64. The ingress schedule module 2120 can include the missing response sequence value so that the egress schedule module 2130 can identify the transmission response 64 that was not received. In some embodiments, ingress schedule module 2120 can drop a group of cells when a transmission response associated with a transmission request is not received within a specified period of time.
As shown in
Flow of data via the physical link 2200 can be controlled (e.g., modified, suspended) based on flow control signaling associated with flow control loops between the source entity 2230 and the destination entity 2240. For example, data transmitted from the source entity 2230 on the transmit side of the physical link 2200 can be received at the destination entity 2240 on the receive side of the physical link 2200. A flow control signal can be defined at and/or sent from the destination entity 2240 to the source entity 2230 when the destination entity 2240 is unavailable to receive data from source entity 2230 via the physical link 2200. The flow control signal can be configured to trigger the source entity 2230 to modify the flow of the data from the source entity 2230 to the destination entity 2240.
For example, if receive queue D2 is unavailable to handle data transmitted from transmit queue A1, the destination entity 2240 can be configured to send a flow control signal associated with a flow control loop to the source entity 2230; the flow control signal can be configured to trigger suspension of transmission of data from the transmit queue A1 to the receive queue D2 via a transmission path that includes at least a portion of the second stage of queues 2220 and the physical link 2200. In some embodiments, the receive queue D2 can be unavailable, for example, when the receive queue D2 is too full to receive data. In some embodiments, the receive queue D2 can change from an available state to an unavailable state (e.g., a congestion state) in response to data previously received from the transmit queue A1. In some embodiments, transmit queue A1 can be referred to as a target of the flow control signal. The transmit queue A1 can be identified within the flow control signal based on a queue identifier associated with the transmit queue A1. In some embodiments, the flow control signal can be referred to as a feedback signal.
In this embodiment, a flow control loop is associated with the physical link 2200 (referred to as a physical link control loop), a flow control loop is associated with first the stages of queues 2210 (referred to as a first stage control loop), and a flow control loop is associated with the second stage of queues 2220 (referred to as a second stage control loop). Specifically, the physical link control loop is associated with a transmission path that includes the physical link 2200, and excludes the first stage of queues 2210 as well as the second stage of queues 2220. Flow of data via the physical link 2200 can be turned on and turned off based on flow control signaling associated with the physical link control loop.
The first stage control loop can be based on transmission of data from at least one of the transmit queues 2234 within the second stage of queues 2210 and a flow control signal defined based on an availability of (e.g., an indicator of an availability of) at least one of the receive queues 2244 within the first stage of queues 2210. Thus, the first stage control loop can be referred to as being associated with the first stage of queues 2210. The first stage control loop can be associated with a transmission path that includes the physical link 2200, at least a portion of the second stage of queues 2220, and at least a portion of the first stage of queues 2210. Flow control signaling associated with the first stage control loop can trigger control of data flow from transmit queues 2234 associated with the first stage of queues 2210.
The second stage control loop can be associated with a transmission path that includes the physical link 2200 and includes at least a portion of the second stage of queues 2220, but excludes the first stage of queues 2210. The second stage control loop can be based on transmission of data from at least one of the transmit queues 2232 within the second stage of queues 2220 and a flow control signal defined based on an availability of (e.g., an indicator of an availability of) at least one of the receive queues 2242 within the second stage of queues 2220. Thus, the second stage control loop can be referred to as being associated with the second stage of queues 2220. Flow control signaling associated with the second stage control loop can trigger control of data flow from transmit queues 2232 associated with the second stage of queues 2220.
In this embodiment, the flow control loop associated with the second stage of queues 2220 is a priority-based flow control loop. Specifically, each transmit queue from the second-stage transmit queues 2232 is paired with a receive queue from the second-stage receive queues 2242; and each queue pair is associated with a level of service (also can be referred to as a class of service or quality of service). In this embodiment, second-stage transmit queue B1 and second-stage transmit queue C1 define a queue pair and are associated with level of service X. The second-stage transmit queue B2 and second-stage transmit queue C2 define a queue pair and are associated with service level Y. In some embodiments, different types of network traffic can be associated with a different level of service (and, thus a different priority). For example, storage traffic (e.g., read and write traffic), inter-processor communication, media signaling, session layer signaling, and so forth each can be associated with at least one level of service. In some embodiments, the second stage control loop can be based on, for example, the Institute of Electrical and Electronics Engineers (IEEE) 802.1qbb protocol, which defines a priority-based flow control strategy.
Flow of data via a transmission path 74, shown in
For example, flow of data from first-stage transmit queue A1 via transmission path 74 to first-stage receive queue D3 can be modified based on one or more of the control loops—the first stage control loop, the second stage control loop, and/or the physical link control loop. Suspension of data flow to the first-stage receive queue D3 may be triggered because the first-stage receive queue D3 may have changed from an available state to an unavailable state (e.g., a congestion state).
If the data flowing to first-stage receive queue D3 is associated with level of service X, the flow of data via second-stage transmit queue B1 and second-stage receive queue C1 (which define the queue pair associated with level of service X) can be suspended based on flow control signaling associated with the second stage control loop (which is a priority-based control loop). But suspending transmission of data via the queue pair associated with level of service X can result in suspension of data transmissions from transmit queues that fan into the second-stage transmit queue B1. Specifically, suspending transmission of data via the queue pair associated with level of service X can result in suspension of data transmissions from not only first-stage transmit queue A2, but also of data transmissions from first-stage transmit queue A1. In other words, flow of data from the first-stage transmit queue A1 is indirectly or collaterally affected. In some embodiments, data received at transmit queue A1 and data received at transmit queue A2 can be associated with the same level of service X, but the data received at transmit queue A1 and the data received at transmit queue A2 may be from, for example, from different (e.g., independent) network devices (not shown) such as peripheral processing devices that can be associated with a different level of service.
The data flowing to first-stage receive queue D3 can also be suspended by specifically suspending transmission of data from the first-stage transmit queue A2 based on flow control signaling associated with the first stage control loop. By directly suspending transmission of data from the first-stage transmit queue A2, data transmissions from first-stage transmit queue A1 may not be disrupted. In other words, flow control of the first-stage transmit queue A2 can be directly controlled based on a flow control signal associated with the first stage control loop without suspending data transmission from other first-stage transmit queues such as the first-stage transmit queue A1.
Flow of data to first-stage receive queue D3 can also be controlled by suspending transmission of data via the physical link 2200 based on flow control signaling associated with the physical link control loop. But suspending transmission of data via the physical link 2200 can result in suspension of all data transmissions via the physical link 2200.
The queues on the transmit side of the physical link 2200 can be referred to as transmit queues 2236 and the queues on the receive side of the physical link can be referred to as receive queues 2246. In some embodiments, the transmit queues 2236 can also be referred to as source queues, and the receive queues 2246 can be referred to as destination queues. Although not shown, in some embodiments, one or more of the transmit queues 2236 can be included in one or more interface cards associated with the source entity 2230, and one or more of the receive queues 2246 can be included in one or more interface cards associated with the destination entity 2240.
When source entity 2230 transmits data via the physical link 2200, source entity 2230 can be referred to as a transmitter disposed on a transmit side of the physical link 2200. Destination entity 2240 can be configured to receive the data and can be referred to as a receiver disposed on a receive side of the physical link 2200. Although not shown, in some embodiments, the source entity 2230 (and associated elements (e.g., transmit queues 2236)) can be configured to function as a destination entity (e.g., a receiver) and the destination entity 2240 (and associated elements (e.g., receive queues 2246)) can be configured to function as a source entity (e.g., a transmitter). Moreover, the physical link 2200 can function as a bidirectional link.
In some embodiments, the physical link 2200 can be a tangible link such as an optical link (e.g., a fiber optic cable, a plastic fiber cable), a cable link (e.g., a copper-based wire), a twisted pair link (e.g., a category-5 cable), and so forth. In some embodiments, the physical link 2200 can be a wireless link. Data transmissions via the physical link 2200 can be defined based on a protocol such as an Ethernet protocol, a wireless protocol, an Ethernet protocol, a fiber channel protocol, a fiber-channel-over Ethernet protocol, an Infiniband-related protocol, and/or so forth.
In some embodiments, the second stage control loop can be referred to as being nested within the first stage control loop because the second stage of queues 2220, which is associated with the second stage control loop, is disposed inside of the first stage of queues 2210, which is associated with the first stage control loop. Similarly, the physical link control loop can be referred to as being nested within the second stage control loop. In some embodiments, the second stage control loop can be referred to as an inner control loop and the first stage control loop can be referred to as an outer control loop.
As shown in
Transmit queues QA1 through QAN, which are included the first stage of queues 2310, can each be referred to as a first-stage transmit queue and can collectively be referred to as transmit queues 2334 (or as queues 2334). Transmit queues QB1 through QBM, which are included in the second stage of queues 2320, can each be referred to as a second-stage transmit queue and can collectively be referred to as transmit queues 2332 (or as queues 2332). Receive queues QD1 through QDR, which are included in the first stage of queues 2310, can each be referred to as a first-stage receive queue and can collectively be referred to as receive queues 2344 (or as queues 2344). Receive queues QC1 through QCM, which are in the second stage of queues 2320, can each be referred to as a second-stage receive queue and can collectively be referred to as receive queues 2342 (or as queues 2342).
As shown in
In this embodiment, a physical link control loop is associated with the physical link 2300, a first stage control loop is associated with first the stages of queues 2310, and a second stage control loop is associated with the second stage of queues 2320. In some embodiments, the second stage control loop can be priority-based control loop. In some embodiments, the physical link control loop can include the physical link 2300, queue QP1, and queue QP2.
Flow control signals can be defined at and/or transmitted between a source control module 2370 at the source entity 2330 and a destination control module 2380 at the destination entity 2340. In some embodiments, the source control module 2370 can be referred to as a source flow control module, and the destination control module 2380 can be referred to as a destination flow control module. For example, destination control module 2380 can be configured to send a flow control signal to source control module 2370 when one or more of the receive queues 2346 (e.g., receive queue QD2) at the destination entity 2340 is unavailable to receive data. The flow control signal can be configured to trigger source control module 2370 to, for example, suspend the flow of data from one or more of the receive queues 2336 to the one or more receive queues 2346.
A queue identifier can be associated with data queued at a transmit queue from the transmit queues 2336 by the source control module 2370 before the data is transmitted. The queue identifier can represent and/or can be used to identify the transmit queue where the data is being queued. For example, when a data packet is queued at first-stage transmit queue QA4, a queue identifier uniquely identifying first-stage transmit queue QA4 can be appended to the data packet or included in a field (e.g., a header portion, a trailer portion, a payload portion) within the data packet. In some embodiments, the queue identifier can be associated with data at the source control module 2370, or triggered by the source control module 2370. In some embodiments, the queue identifier can be associated with data just before the data is transmitted, or after the data has been transmitted from one of the transmit queues 2336.
The queue identifier can be associated with data transmitted from the transmit side of the physical link 2300 to the receive side of the physical link 2300 so that the source of the data (e.g., the source queue) can be identified. Accordingly, a flow control signal can be defined to suspend transmission of one or more of the transmit queues 2336 based on the queue identifier. For example, a queue identifier associated with first-stage transmit queue QAN can be included in a data packet transmitted from first-stage transmit queue QAN to first-stage receive queue QD3. If after receiving the data packet, first-stage receive queue QD3 is unable to receive another data packet from first-stage transmit queue QAN, a flow control signal requesting that first-stage transmit queue QAN suspend transmission of additional data packets to first-stage receive queue QD3 can be defined based on the queue identifier associated with first-stage transmit queue QAN. The queue identifier can be parsed from the data packet by the destination control module 2380 and used by the destination control module 2380 to define the flow control signal.
In some embodiments, data transmissions to first-stage receive queue QDR from several of the transmit queues 2336 (e.g., first-stage transmit queues 2334) can be suspended in response to the first-stage receive queue QDR changing from an available state to an unavailable state. Each of the several transmit queues 2336 can be identified within a flow control signal based on their respective queue identifiers.
In some embodiments, one or more of the transmit queues 2336 and/or one or more of the receive queues 2346 can be a virtual queue (e.g., a logically defined group of queues). Accordingly, a queue identifier can be associated with (e.g., can represent) the virtual queue. In some embodiments, a queue identifier can be associated with a queue from a set of queues that define a virtual queue. In some embodiments, each queue identifier from a set of queue identifiers associated with the physical link 2300 can be unique. For example, each transmit queues 2336, which are associated with the physical link 2300 (e.g., associated with a hop), can be associated with a unique queue identifier.
In some embodiments, the source control module 2370 can be configured to associate a queue identifier with only a specified subset of the transmit queues 2336 and/or only a subset of data queued at one of the transmit queues 2336. For example, if data is transmitted from first-stage transmit queue QA2 to first-stage receive queue QD1 without a queue identifier, a flow control signal configured to request that transmission of data from first-stage transmit queue QA2 be suspended may not be defined because the source of the data may not be known. Accordingly, a transmit queue from the transmit queues 2336 can be exempted from flow control by not associating (e.g., omitting) a queue identifier with data when the data is transmitted from the transmit queue.
In some embodiments, the unavailability of one or more of the receive queues 2346 at the destination entity 2340 can be defined based on a condition being satisfied. The condition can be related to a storage limit of a queue, a queue access rate, a flow rate of data into the queue, and so forth. For example, a flow control signal can be defined at the destination control module 2380 in response to a status of one or more of the receive queues 2346 such as second-stage receive queue QC2 changing from an available state to an unavailable state (e.g., a congestion state) based on a threshold storage limit being exceeded. The second-stage receive queue QC2 can be unavailable to receive data when in the unavailable state because, for example, the second-stage receive queue QC2 is considered too full (as indicated by the threshold storage limit being exceeded). In some embodiments, one or more of the receive queue 2346 can be in an unavailable state when disabled. In some embodiments, the flow control signal can be defined based on a request to suspend transmission of data to a receive queue from the receive queues 2346 when the receive queue is unavailable to receive data. In some embodiments, the status of one or more of the receive queues 2346 can be changed from an available state to a congestion state (by destination control module 2380) in response to a specified subset of receive queues 2346 (e.g., receive queues within a specified stage) being in a congestion state.
In some embodiments, a flow control signal can be defined at the destination control module 2380 to indicate that one of the receive queues 2346 has changed from an unavailable state to an available state. For example, initially, the destination control module 2380 can be configured to define and send a first flow control signal to the source control module 2370 in response to first-stage receive queue QD3 changing from an available state to an unavailable state. The first-stage receive queue QD3 can change from the available state to the unavailable state in response to data sent from first-stage transmit queue QA2. Accordingly, the target of the first flow control signal can be first-stage transmit queue QA2 (as indicated based on a queue identifier). When the first-stage receive queue QD3 changes from the unavailable state back to the available state, the destination control module 2380 can be configured to define and send a second flow control signal to the source control module 2370 indicating the change from the unavailable state back to the available state. In some embodiments, the source control module 2370 can be configured to trigger transmission of data from one or more of the transmit queues 2336 to the first-stage receive queue QD3 in response to the second flow control signal.
In some embodiments, a flow control signal can have one or more parameter values that can be used by the source control module 2370 to modify transmission from one of the transmit queues 2336 (identified within the flow control signal by a queue identifier). For example, a flow control signal can include a parameter value that can trigger the source control module 2370 to suspend transmission from one of the transmit queues 2336 for a specified period of time (e.g., 10 milliseconds (ms)). In other words, the flow control signal can include a suspension-time-period parameter value. In some embodiments, the suspension time period can be indefinite. In some embodiments, the flow control signal can define a request to transmit data from one or more of the transmit queues 2336 at a specified rate (e.g., specified number of frames per second, specified number of bytes per second).
In some embodiments, a flow control signal (e.g., the suspension time period within the flow control signal) can be defined based on a flow control algorithm. The suspension time period can be defined based on a time period during which a receive queue from the receive queues 2346 (e.g., first-stage receive queue QD4) will be unavailable. In some embodiments, the suspension time period can be defined based on more than one of the first stage receive queues 2344 being unavailable. For example, in some embodiments, the suspension time period can be increased when more or less than a specified number of the first stage receive queues 2344 is in a congestion state. In some embodiments, this type of determination can be made at the destination control module 2380. The time period during which the receive queue will be unavailable can be a projected (e.g., predicted) time period calculated by the destination control module 2380 based on, for example, a flow rate (e.g., a historic flow rate, a prior flow rate) of data from the receive queue.
In some embodiments, the source control module 2370 can deny or alter a request to modify the flow of data from one or more of the transmit queues 2336. For example, in some embodiments, the source control module 2370 can be configured to decrease or increase a suspension time period. In some embodiments, rather than suspend transmission of data in response to a flow control signal, the source control module 2370 can be configured to modify a transmission path associated with one of the transmission queues 2336. For example, if first-stage transmit queue QA2 has received a request to suspend transmission based on a change in status of first-stage receive queue QD2, the source control module 2370 can be configured to trigger transmission of data from first-stage transmit queue QA2 to, for example, first-stage receive queue QD3 rather than comply with the request to suspend transmission.
As shown in
Also, as shown in
Because many of the flow control loops (e.g., first control loop) are associated with different fan-in and fan-out architectures, the flow control loops can have various affects on the flow of data via the physical link 2300. For example, when transmission of data from the second-stage transmit queue QB1 is suspended based on the second stage control loop, transmission of data from first-stage transmit queues QA1, QA2, QA3, and QAN-1 via the second-stage transmit queue QB1 to one or more of the receive queues 2346 is also suspended. In this case, transmission of data from one or more upstream queues (e.g., first-stage transmit queue QA1) can be suspended when transmission from a downstream queue (e.g., second-stage transmit queue QB1) is suspended. In contrast, if transmission of data from first-stage transmit queue QA1 along a transmission path that includes at least downstream second-stage transmit queue QB1 is suspended based on the first stage control loop, a flow rate of data from the second-stage transmit queue QB1 may be decreased without entirely suspending transmission of data from second-stage transmit queue QB1; first-stage transmit queue QA1, for example, may still be able to transmit data via second-stage transmit queue QB1.
In some embodiments, the fan-in and fan-out architecture can be different than that shown in
Flow control signaling associated with the transmit queues 2336 is handled by the source control module 2370 and flow control signaling associated with the receive queues 2346 is handled by the destination control module 2380. Although not shown, in some embodiments, flow control signaling can be handled by one or more control modules (or control sub-modules) that can be separate and/or integrated into a single control module. For example, flow control signaling associated with the first-stage receive queues 2344 can be handled by a control module separate from a control module configured to handle flow control signaling associated with the second-stage receive queues 2342. Likewise, flow control signaling associated with the first-stage transmit queues 2334 can be handled by a control module separate from a control module configured to handle flow control signaling associated with the second-stage transmit queues 2332. In some embodiments, one or more portions of the source control module 2370 and/or the destination control module 2380 can be a hardware-based module (e.g., a DSP, a FPGA) and/or a software-based module (e.g., a module of computer code, a set of processor-readable instructions that can be executed at a processor).
The destination control module 2450 is configured to send the flow control signal 6428 to the source control module 2460 in response to one or more receive queues within the first stage of queues 2410 being unavailable to receive data from a single source queue at the first stage of queues 2410. The source control module 2460 can be configured to suspend transmission of data from the source queue at the first stage of queues 2410 to the multiple receive queues at the first stage of queues 2410 based on the flow control signal 6428.
The flow control signal 6428 can be defined by the destination control module 2450 based on information associated with each unavailable receive queue within the first stage of queues 2410. The destination control module 2450 can be configured to collect the information associated with the unavailable receive queues and can be configured to define the flow control signal 6428 so that potentially conflicting flow control signals (not shown) will not be sent to the single source queue at the first stage of queues 2410. In some embodiments, the flow control signal 6428 defined based on the collection of information can be referred to as an aggregated flow control signal.
Specifically, in this example, the destination control module 2450 is configured to define the flow control signal 6428 in response to two receive queues—receive queue 2442 and receive queue 2446-at the receive side of the first stage of queues 2410 being unavailable to receive data from a transmit queue 2412 on the transmit side of the first stage of queues 2410. In this embodiment, receive queue 2442 and receive queue 2446 are changed from an available state to an unavailable state in response to data packets sent from transmit queue 2412 via transmission path 6422 and transmission path 6424, respectively. As shown in
In some embodiments, a flow control algorithm can be used to define the flow control signal 6428 based on information related to the unavailability of receive queue 2442 and/or information related to the unavailability of receive queue 2446. For example, if destination control module 2450 determines that receive queue 2442 and that receive queue 2446 will be unavailable for different time periods, the destination control module 2450 can be configured to define the flow control signal 6428 based on the different time periods. For example, the destination control module 2450 can request, via the flow control signal 6428, that transmission of data from transmit queue 2412 be suspended for a time period calculated based on the different time periods (e.g., a time period equal to an average of the different time periods, a time period equal to the greater of the time different periods). In some embodiments, the flow control signal 6428 can be defined based on individual suspension requests from the receive side of the first stage of queues 2410 (e.g., a suspension request associated with receive queue 2442 and a suspension request associated with receive queue 2446).
In some embodiments, the flow control signal 6428 can be defined based on a maximum or a minimum allowable time period. In some embodiments, the flow control signal 6428 can be calculated based on an aggregate flow rate of data from, for example, transmit queue 2412. For example, the suspension time period can be scaled based on the aggregate flow rate of data from transmit queue 2412. In some embodiments, for example, the suspension time period can be increased if the flow rate of data from transmit queue 2412 is larger than a threshold value, and the suspension time period can be decreased if the flow rate of data from transmit queue 2412 is lower than a threshold value.
In some embodiments, the flow control algorithm can be configured to wait for a specified period of time before defining and/or sending the flow control signal 6428. The wait time period can be defined so that multiple suspension requests related to transmit queue 2412 and, which can be received at different times within the wait time period, can be used to define the flow control signal 6428. In some embodiments, the wait period can be triggered in response to at least one suspension request related to transmit queue 2412 being received.
In some embodiments, the flow control signal 6428 can be defined by a flow control algorithm based on a priority value associated with each receive queue within the first stage of queues 2410. For example, if receive queue 2442 has a priority value that is higher than a priority value associated with receive queue 2446, the destination control module 2450 can be configured to define the flow control signal 6428 based on information associated with receive queue 2442 rather than receive queue 2446. For example, the flow control signal 6428 can be defined based on a suspension time period associated with receive queue 2442 rather than a suspension time period associated with receive queue 2446 because receive queue 2442 can have a higher priority value than a priority value associated with receive queue 2446.
In some embodiments, the flow control signal 6428 can be defined by a flow control algorithm based on an attribute associated with each receive queue within the first stage of queues 2410. For example, the flow control signal 6428 can be defined based on receive queue 2442 and/or receive queue 2446 being a specified type of queue (e.g., a last-in-first-out (LIFO) queue, a first-in-first-out (FIFO) queue). In some embodiments, the flow control signal 6428 can be defined based on receive queue 2442 and/or receive queue 2446 being configured to receive a specified type of data (e.g., a control data/signal queue, a media data/signal queue).
Although not shown, one or more control modules associated with a stage of queues (e.g., the first stage of queues 2410) can be configured to send information to a different control module where the information can be used to define a flow control signal. The different control module can be associated with a different stage of queues. For example, a suspension request associated with receive queue 2442 and a suspension request associated with receive queue 2446 can be defined at destination control module 2450. The suspension requests can be sent to a destination control module (not shown) associated with a receive side of the second stage of queues 2420. A flow control signal (not shown) can be defined at the destination control module associated with the receive side of the second stage of queues 2420 based on the suspension requests and based on a flow control algorithm.
The flow control signal 6428 can be defined based on a flow control loop associated with the first stage of queues 2410 (e.g., a first stage control loop). One or more flow control signals (not shown) can also be defined based on a flow control loop associated with the second stage of queues 2420 and/or a flow control loop associated with the physical link 2400.
Transmission of data associated with transmit queues within the first stage of queues 2410 (other than transmit queue 2412) is substantially unrestricted by flow control signal 6428 because flow of data to the receive queues 2442 and 2446 is controlled based on the first stage flow control loop. For example, transmit queue 2414 can continue to transmit data via transmit queue 2422 even though transmission of data from transmit queue 2412 is suspended. For example, transmit queue 2414 can be configured to transmit data via transmission path 6426, which includes transmit queue 2422, to receive queue 2448 even though transmission of data from transmit queue 2412 via transmit queue 2422 has been suspended. In some embodiments, transmit queue 2422 can be configured to continue to transmit data to receive queue 2442 from, for example, transmit queue 2416 even though transmission of data from queue 2412 via transmission path 6422 has been suspended based on flow control signal 6428.
If transmission of data to the receive queues 2442 and 2446 were instead suspended by controlling flow of data via transmit queue 2422 based on a flow control signal (not shown) associated with the second stage control loop, transmission of data from transmit queue 2414 and transmit queue 2416 via transmit queue 2422 would also be restricted (in addition to transmission of data from transmit queue 2412). Transmission of data from transmit queue 2422 could be suspended because it is associated with a specified level of service, and the data that caused, for example, congestion at receive queues 2442 and 2446 may be associated with that specified level of service.
One or more parameter values defined within the flow control signal 6428 can be stored at a memory 2452 of the destination control module 2450. In some embodiments, the parameter value(s) can be stored at the memory 2452 of the destination control module 2450 after they have been defined and/or when the flow control signal 6428 is sent to the source control module 2460. A parameter value defined within the flow control signal 6428 can be used to track a state of, for example, transmit queue 2412. For example, an entry within the memory 2452 can indicate that the transmit queue 2412 is in a suspended state (e.g., a non-transmit state). The entry can be defined based on a suspension-time-period parameter value defined within the flow control signal 6428. When the suspension time period has expired, the entry can be updated to indicate that the state of the transmit queue 2412 has changed to, for example, an active state (e.g., a transmit state). Although not shown, in some embodiments, the parameter value(s) can be stored at a memory (e.g., a remote memory) outside of the destination control module 2450.
In some embodiments, the parameter value(s) (e.g., state information defined based on the parameter value(s)) stored at the memory 2452 of the destination control module 2450 can be used by the destination control module 2450 to determine whether or not an additional flow control signal (not shown) should be defined. In some embodiments, the parameter value(s) can be used by the destination control module 2450 to define one or more additional flow control signals.
For example, if receive queue 2442 is changed from an available state to an unavailable (e.g., a congestion state) in response to a first data packet received from transmit queue 2412, a request to suspend transmission of data from transmit queue 2412 can be communicated via the flow control signal 6428. The flow control signal 6428 can indicate, based on a queue identifier, that transmit queue 2412 is a target of the request and can specify a suspension time period. The suspension time period and the queue identifier associated with transmit queue 2412 can be stored in the memory 2452 of the destination control module 2450 when the flow control signal 6428 is sent to the source control module 2460. After the flow control signal 6428 is sent, receive queue 2444 can be changed from an available state to a congestion state in response to a second data packet received from transmit queue 2412 (transmission path is not shown in
In some embodiments, the source control module 2460 can be configured to suspend transmission from transmit queue 2412 based on the most recent flow control signal parameter values. For example, after the flow control signal 6428, which is targeted to transmit queue 2412, has been sent to the source control module 2460, a later flow control signal (not shown) targeted to transmit queue 2412 can be received at the source control module 2460. The source control module 2460 can be configured to implement one or more parameter values associated with the later flow control signal rather than parameter values associated with flow control signal 6428. In some embodiments, the later flow control signal can trigger the transmit queue 2412 to remain in a suspended state for a longer or shorter period of time than indicated in the flow control signal 6428.
In some embodiments, the source control module 2460 can optionally implement one or more of the parameter values associated with the later flow control signal when a priority value associated with the parameter value(s) is higher (or lower) than a priority value associated with one or more of the parameter values associated with flow control signal 6428. In some embodiments, each priority value can be defined at the destination control module 2450 and each priority value can be defined based on a priority value associated with one or more of the receive queues 2480.
In some embodiments, the flow control signal 6428 and the later flow control signal (which are both targeted to transmit queue 2412) can both be defined in response to the same receive queue from the receive queues 2480 being unavailable. For example, the later flow control signal can include updated parameter values defined by the destination control module 2450 based on receive queue 2442 remaining in an unavailable state for a longer period of time than previously calculated. In some embodiments, the flow control signal 6428 targeted to transmit queue 2412 can be defined in response to one of the receive queues 2480 changing state (e.g., changing from an available state to an unavailable state), and the later flow control signal targeted to transmit queue 2412 can be defined in response to another of the receive queues 2480 changing state (e.g., changing from an available state to an unavailable state).
In some embodiments, multiple flow control signals can be defined at the destination control module 2450 to suspend transmissions from multiple transmit queues from the first stage of queues 2410. In some embodiments, the multiple transmit queues can be transmitting data to a single receive queue such as receive queue 2444. In some embodiments, a history of the flow control signals to the multiple transmit queues from the first stage of queues 2410 can be stored in the memory 2452 of the destination control module 2450. In some embodiments, a later flow control signal associated with the single receive queue can be calculated based on the history of the flow control signals.
In some embodiments, suspension time periods that are associated with multiple transmit queues can be grouped and included in a flow control packet. For example, a suspension time period associated with transmit queue 2412 and a suspension time period associated with transmit queue 2414 can be included in a flow control packet (also can be referred to as a flow control packet). More details related to a flow control packet are described in connection with
In some embodiments, the flow control packet can be defined at, for example, a destination control module such as destination control module 2450 shown in
Although not shown, in some embodiments, multiple queue IDs can be associated with a single suspension-time-period parameter value. In some embodiments, at least one queue ID can be associated with a parameter value other than a suspension-time-period parameter value. For example, a queue ID can be associated with a flow rate parameter value. The flow rate parameter value can indicate a flow rate (e.g., a maximum flow rate) at which transmit queues (represented by the queue IDs) should transmit data. In some embodiments, the flow control packet can have one or more fields configured to indicate whether or not a particular receive queue is available to receive data.
The flow control packet can be communicated from the destination control module to a source control module (such as source control module 2460 shown in
Referring back to
In some embodiments, the parameter value(s) (and/or state information) stored at the memory 2562 of the source control module 2560 can be used by the source control module 2560 to determine whether or not data should be transmitted to one or more of the receive queues 2580. For example, the source control module 2560 can be configured to transmit data from transmit queue 2516 to receive queue 2544 rather than receive queue 2542 based on state information related to receive queue 2544 and receive queue 2542.
In some embodiments, the source control module 2560 can analyze data transmission patterns to determine whether or not data should be transmitted from one or more of the source queues 2570 to one or more of the receive queues 2580. For example, the source control module 2560 can determine based on parameter values stored at the memory 2562 of the source control module 2560 that transmit queue 2514 is sending a relatively high volume of data to receive queue 2546. Based on this determination the source control module 2560 can trigger queue 2516 to transmit data to receive queue 2548 rather than receive queue 2546 because receive queue 2546 is receiving the high volume of data from transmit queue 2514. By analyzing transmission patterns associated with the transmit queues 2570 the onset of congestion at one or more of the receive queues 2580 can be substantially avoided.
In some embodiments, the source control module 2560 can analyze parameter values (and/or state information) stored at the memory 2562 of the source control module 2560 to determine whether or not data should be transmitted to one or more of the receive queues 2580. By analyzing stored parameter values (and/or state information), the onset of congestion at one or more of the transmit queues 2580 can be substantially avoided. For example, the source control module 2560 can trigger data to be transmitted to receive queue 2540 rather than receive queue 2542 based on the historical availability of receive queue 2540 compared with (e.g., being better than, being worse than) the historical availability of receive queue 2542. In some embodiments, for example, the source control module 2560 can transmit data to receive queue 2542 rather than receive queue 2544 based on the historical performance of receive queue 2542 compared with the historical performance of receive queue 2544 with respect to data bursts patterns. In some embodiments, the analysis of parameter values related to one or more of the receive queues 2580 can be based on a particular time window, a particular type of network transaction (e.g., inter-processor communication), a particular level of service, and so forth.
In some embodiments, the destination control module 2550 can send status information (e.g., current status information) about the receive queues 2580 that can be used by the source control module 2560 to determine whether or not data should be transmitted from one or more of the source queues 2570. For example, the source control module 2560 can trigger queue 2514 to transmit data to queue 2544 rather than queue 2546 because queue 2546 has more available capacity than queue 2544 as indicated by the destination control module 2550. In some embodiments, any combination of current status information, transmission pattern analysis, and historical data analysis can be used to substantially prevent, or reduce the likelihood of the onset of congestion of one or more of the receive queues 2580.
In some embodiments, the flow control signal 6428 can be sent from the destination control module 2550 to the source control module 2560 via an out-of-band transmission path. For example, the flow control signal 6428 can be sent via a link dedicated to communications related to flow control signaling. In some embodiments, the flow control signal 6428 can be transmitted via queues associated with the second stage of queues 2520, queues associated with the first stage of queues 2510, and/or the physical link 2500.
Some embodiments described herein relate to a computer storage product with a computer-readable medium (also can be referred to as a processor-readable medium) having instructions or computer code thereon for performing various computer-implemented operations. The media and computer code (also can be referred to as code) may be those designed and constructed for the specific purpose or purposes. Examples of computer-readable media include, but are not limited to: magnetic storage media such as hard disks, floppy disks, and magnetic tape; optical storage media such as Compact Disc/Digital Video Discs (CD/DVDs), Compact Disc-Read Only Memories (CD-ROMs), and holographic devices; magneto-optical storage media such as optical disks; carrier wave signal processing modules; and hardware devices that are specially configured to store and execute program code, such as ASICs, Programmable Logic Devices (PLDs), and Read-Only Memory (ROM) and RAM devices.
Examples of computer code include, but are not limited to, micro-code or micro-instructions, machine instructions, such as produced by a compiler, code used to produce a web service, and files containing higher-level instructions that are executed by a computer using an interpreter. For example, embodiments may be implemented using Java, C++, or other programming languages (e.g., object-oriented programming languages) and development tools. Additional examples of computer code include, but are not limited to, control signals, encrypted code, and compressed code.
While various embodiments have been described above, it should be understood that they have been presented by way of example only, not limitation, and various changes in form and details may be made. Any portion of the apparatus and/or methods described herein may be combined in any combination, except mutually exclusive combinations. The embodiments described herein can include various combinations and/or sub-combinations of the functions, components and/or features of the different embodiments described.
This patent application claims priority to and the benefit of U.S. Patent Application No. 61/098,516 entitled “Systems, Apparatus and Methods for a Data Center” and filed on Sep. 19, 2008; and claims priority to and the benefit of U.S. Patent Application No. 61/096,209 entitled “Methods and Apparatus Related to Flow Control within a Data Center” and filed on Sep. 11, 2008; each of which is incorporated herein by reference in its entirety. This patent application is a continuation-in-part of U.S. patent application Ser. No. 12/343,728 entitled “Methods and Apparatus for Transmission of Groups of Cells via a Switch Fabric” and filed on Dec. 24, 2008; a continuation-in-part of U.S. patent application Ser. No. 12/345,500 entitled “System Architecture for a Scalable and Distributed Multi-Stage Switch Fabric” and filed on Dec. 29, 2008; a continuation-in-part of U.S. patent application Ser. No. 12/345,502 entitled “Methods and Apparatus Related to a Modular Switch Architecture” and filed on Dec. 29, 2008; a continuation-in-part of U.S. patent application Ser. No. 12/242,224 entitled “Methods and Apparatus for Flow Control Associated with Multi-Staged Queues” and filed on Sep. 30, 2008, which claims priority to and the benefit of U.S. Patent Application No. 61/096,209 entitled “Methods and Apparatus Related to Flow Control within a Data Center” and filed on Sep. 11, 2008; and a continuation-in-part of U.S. patent application Ser. No. 12/242,230 entitled “Methods and Apparatus for Flow-Controllable Multi-Staged Queues” and filed on Sep. 30, 2008, which claims priority to and the benefit of U.S. Patent Application No. 61/096,209 entitled “Methods and Apparatus Related to Flow Control within a Data Center” and filed on Sep. 11, 2008. Each of the above-identified applications is incorporated herein by reference in its entirety. This patent application is related to U.S. Patent Application bearing Attorney Docket No. JUNI-015/02US 108200-2058 entitled “Methods and Apparatus Related to Lossless Operation within a Data Center” and filed on same date; U.S. Patent Application bearing Attorney Docket No. JUNI-015/03US 108200-2059 entitled “Methods and Apparatus Related to Low Latency within a Data Center” and filed on same date; U.S. Patent Application bearing Attorney Docket No. JUNI-015/04US 108200-2057 entitled “Methods and Apparatus Related to Flow Control within a Data Center Switch Fabric” and filed on same date; and U.S. Patent Application bearing Attorney Docket No. JUNI-015/05US 108200-2060 entitled “Methods and Apparatus Related to Virtualization of Data Center Resources” and filed on same date; each of which is incorporated herein by reference in its entirety.
Number | Date | Country | |
---|---|---|---|
61098516 | Sep 2008 | US | |
61096209 | Sep 2008 | US | |
61096209 | Sep 2008 | US | |
61096209 | Sep 2008 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 12343728 | Dec 2008 | US |
Child | 12495337 | US | |
Parent | 12345500 | Dec 2008 | US |
Child | 12343728 | US | |
Parent | 12345502 | Dec 2008 | US |
Child | 12345500 | US | |
Parent | 12242224 | Sep 2008 | US |
Child | 12345502 | US | |
Parent | 12242230 | Sep 2008 | US |
Child | 12242224 | US |