The present invention relates to a switching technique that extends the Carrier Sense Multiple Access (CSMA) network control protocol.
CSMA is a protocol in which a node senses the presence or absence of a carrier (i.e. data traffic) on a shared transmission medium before attempts to transmit to an intended receiver node. If a carrier is not sensed, an Ethernet frame is transmitted, otherwise, a node waits a random delay before sensing the carrier again in a new attempt to transmit. The goal of CSMA is to avoid collisions (concurrent interfering transmission by multiple nodes) by transmitting at a random time upon sensing a carrier. Currently, 1 Gbps, 10 Gbps or greater Ethernet transmission is available using electrical Ethernet interface based on 1 GBASE-T, 10 GBASE-T or follow-on standards.
The present invention achieves technical advantages and methods, as a scalable switch, a system of switches and methods, configured to sense a carrier at the output of the respective switch. The invention intelligently, and dynamically, controls the connection of a respective switch input to a respective switch output as a function of a carrier being present, or absent, at a selected output. The present invention provides a switching system that is scalable, and not limited as are Stored Program Control (SPC) type switches.
In a given network employing CSMA, the end-to-end connection established between two nodes may involve any number of cross bar switches (CBS) that can be interconnected in stages to form a circuit. The end-to-end circuit defines the collision domain in which the absence or presence of a carrier must be detected. Refer to
Currently, there are two main techniques that extend (modify or enhance) the CSMA protocol:
Carrier Sense Multiple Access with Collision Detection (CSMA/CD): In this modification a node follows the basic CSMA protocol—verifying the medium is not busy before transmitting—but with this enhancement, after a node begins transmitting, it must listen (monitor the medium) to detect a collision. A transmitting node may detect a collision using any one of various techniques, but it typically involves comparing transmitted data to received data; if they are different, it is assumed to be due to a collision and a jamming signal is transmitted immediately. The jamming signal causes any conflicting nodes to stop their transmission and back off by random amounts of time before reattempting transmission.
Carrier Sense Multiple Access with Collision Avoidance (CSMA/CA): This modification requires a handshake before transmission. The transmitting node issues a Request-to-Send (RTS) and must receive back a Clear-to-Send (CTS) from the intended receiving node, before beginning a transmission. The handshake serves as a notification to all other nodes to refrain from transmitting, thus avoiding collisions. This extension to the CSMA protocol is primarily intended for use with wireless transmission mediums where CSMA/CD won't work because it is not possible for a node to listen while transmitting to detect a collision.
Both CSMA/CD and CSMA/CA utilize timing (temporal switching) of the transmission to avoid collision. However, temporal switching is but one of the two foundational concepts in circuit switching theory; the second concept is spatial switching. Up to now, spatial switching has not been applied to extend CSMA. The invention introduces a third technique that utilizes spatial switching to enhance the CSMA protocol and is designated from this point forward as “Time-Space Carrier Sense Multiple Access (CSMA/TS)”.
The simplest case for applying CSMA/TS, such as shown in
As 10 Gb/s node connections becomes common and cumulative network traffic scales beyond the terabit per second (Tb/sec=1012 bps) range, routing of packets through these complex MINs becomes very complicated. Just 1000 Tb/sec lines would combine for an aggregate data rate of 1 petabit per second (Pb/sec=1015 bps). At such data rates, the existing packet switching approach becomes a problem. Emerging and proposed high data-rate virtualization protocols such as iSCSI and i-PCI will require new switching technologies to gain widespread acceptance and in turn—as they gain popularity—have the potential to actually fuel the momentum for change in switching. i-PCI in fact requires a minimum 10 Gbps network infrastructure. CSMA/TS is viewed as a key enabler for widespread adoption of these virtualization protocols.
CSMA/TS eliminates the need for a separate NIC at the input and output of each MIN, thus reducing the power requirement for complex MINs. CSMA/TS may be considered a “Green” technology.
The switches in these MINs are typically designed for centralized Stored Program Control (SPC). With the SPC approach, a controller determines the path to route each packet through the MIN based on the Media Access Control (MAC) address. This centralized packet switch control does not scale very well when it becomes necessary to add additional switching capability to handle more nodes and traffic. CSMA/TS addresses this scalability by introducing a unique distributed step-by-step carrier sensing approach for MAC address path control. Path control under CSMA/TS becomes distributed and modularized and thus readily scalable.
Classical circuit switching uses either the aforementioned centralized Stored Program Control (SPC) or distributed Step-By-Step (SBS) methods to route a connection through the MIN with M inputs and N outputs.
A MIN with s-stages is defined for each stage k, for 1≦k≦s, to have nk crossbar switches of size nk−1×nk+1. We define n0=M/n1≡m and ns+1=N/ns≡n. Thus a switch at stage k is connected to each switch at stage k−1 and stage k+1 by one link. An example of a MIN topology is shown in
An end-to-end connection, such as shown in
With the SPC approach, a controller determines the path to route each circuit using a memory map of established connections. SPC has the disadvantage that connection requests are completed sequentially and centrally, which is not fast enough for Ethernet frame routing in a MIN. Instead of using a MIN to switch Ethernet frame by frame, Virtual LAN's (VLAN) are configured to interconnect LANs using semi-permanent circuits facilitated by use of a MIN. Advantageously, the present invention performs carrier sensing the MIN directly to form a path. A connection request searches for a free path in a MIN step-by-step using carrier sensing.
One advantageous aspect of the present invention utilizes SBS carrier sensing, for which carrier sensing is done not only temporally, but also spatially in a MIN step-by-step. This step-by-step route search is done as a precurser to establish the route prior to the transmission of the actual data. This advantageously avoids the need for maintaining large memory maps to track established connections.
In current designs, an Ethernet switch translates the destination Ethernet address via a table into segment addresses. For CSMA/TS a different more scalable approach is used. For CSMA/TS the NIC associated with a node translates the destination Ethernet address via a table into MIN segment addresses. For the SS MIN topology shown in
In multi-stage carrier sensing, the present invention distinguishes two modes of control. First, a persistent CSMA/TS-P for which links sensed idle are seized and not released even if downstream links are found busy. For example in
Alternatively, a fast release CSMA/TS-FR may release links in an earlier stage should later stage links be found busy. In this example, output 6 in the first stage is released after node 11 is sensed to be busy. Another attempt to connect to output 11 is attempted after a random delay.
Traditional CSMA/CA (Collision avoidance) or CSMA/CD (Collision Detection) retransmits Ethernet frames after a random time delay when the Ethernet is found to be busy. Undesirable delay is therefore incurred. CSMA/TS can retransmit the Ethernet frame over random space instead of random time delay, thus reducing delay.
To improve reliability and throughput, a Clos “SSS” configuration is often used. In the Clos SSS configuration, there is more than one path between two nodes as shown in
In this simplified example, there are two possible paths through the MIN (either the solid bold black route or the dashed bold black route). For example, input node 5 may choose the bold solid black route labeled “ABCD”. It then establishes the path step-by-step similar to that of the SS MIN. If the NIC detects a carrier in intermediate segments, it immediately tries the alternative bold dashed path. In that case CSMA randomizes transmission over space. If a carrier is detected in the final segment, no alternative path would work either, and CSMA then may have to randomize transmission over time by carrier sensing after a random delay.
In the example of
If both B and C are sensed idle, carrier sensing proceeds to segment D connecting to the output node 11. If a carrier is sensed, there is an output conflict of node 11 for which no alternative path searching can avoid. In this case, segments B and C may be persistently maintained until segment D becomes idle. This is called 3-Stage CSMA/TS-P, though there can be a fast release of the earlier stage segment B should C be found busy, or if desired.
Alternatively, the present invention may fast release segments B and C when segment D is found busy. Since carrier sensing an alternative path (such as the dashed path) will not avoid an output conflict, input node 5 may only attempt transmission at a later random time. This is called 3-Stage CSMA/TS-FR.
With alternative paths, an SSS MIN with CSMA suffers little or no internal blocking. Since path searching is done per input in a distributed manner, parallel searching is accomplished. This makes path searching in a MIN independent of the size of the MIN and the switch is highly scalable without creating a path search bottleneck as is often the case for SPC switching
For carrier sensing of each segment, CSMA/TS includes (but is not limited to) two possible approaches.
In the first approach, the individual switches are intelligent and perform the actual carrier sensing and signal the presence or absence of a carrier for that particular segment by sending a busy or idle indication back to the NIC. The NIC is responsible for tracking progress through the MIN.
In a second approach, referring to
For the 2-Stage SS MIN topology an output node is addressed by two consecutive segment addresses. For example consider node 5 sending an Ethernet frame to node 11 in
Table 1 below, Example Segment ← → MAC Address Mapping for Node 5 shows the MAC Address to Segment Cross Ref Table shown on the Network Interface Card in
In both cases, for 3-stage networks the 1st stage switch has the responsibility for determining the first stage output connection, as it has first hand knowledge of which output is not busy and alternative routes through the MIN are defined by the output of the 1st stage. Thus, idle outputs of a 1st stage switch can be assigned conflict free. After the 1st stage, the remainder of the route in a 3-stage network is uniquely determined by the destination Ethernet address.
Advantageously, this invention includes:
A new technique of carrier sensing to establish a path through a MIN. The technique utilizes spatial switching—in addition to temporal switching—to define an third major enhancement to the CSMA protocol. This enhancement is referred to as Time-Space Carrier Sense Multiple Access (CSMA/TS).
A unique decentralized MIN control approach that addresses MIN scalability and reduces latency by introducing a distributed step-by-step carrier sensing protocol for MAC address path determination and control.
Two modes of control are presented and defined:
1. CSMA/TS-P: A persistent control, in which links sensed idle are seized and not released even if downstream links are found busy.
2. CSMA/TS-FR: A fast release control, in which links in a earlier stage links are released if later stage links are found busy.
Switch and routing capability and responsibility integrated into the NIC at each node, rather than at the switch itself, thus by default enabling a distributed and scalable switching architecture. As nodes are added, the switching capability increases right along with the nodes.
A preferred embodiment is the implementation of the CSMA/TS protocol in an SSS topology MIN.
Though the invention has been described with respect to a specific preferred embodiment, many variations and modifications will become apparent to those skilled in the art upon reading the present application. It is therefore the intention that the appended claims be interpreted as broadly as possible in view of the prior art to include all such variations and modifications.
This application claims priority of U.S. Provisional Ser. No. 60/925,415 entitled “SPACE-TIME CARRIER SENSE MULTIPLE ACCESS” filed Apr. 20, 2007, the teachings of which are incorporated herein by reference.
Number | Name | Date | Kind |
---|---|---|---|
6141355 | Palmer et al. | Oct 2000 | A |
6157643 | Ma | Dec 2000 | A |
6775235 | Datta et al. | Aug 2004 | B2 |
7180875 | Neumiller et al. | Feb 2007 | B1 |
20030154324 | Harding et al. | Aug 2003 | A1 |
20060013207 | McMillen et al. | Jan 2006 | A1 |
20060092840 | Kwan et al. | May 2006 | A1 |
20060104298 | McAlpine et al. | May 2006 | A1 |
Number | Date | Country |
---|---|---|
1732271 | Dec 2006 | EP |
Number | Date | Country | |
---|---|---|---|
20080279209 A1 | Nov 2008 | US |
Number | Date | Country | |
---|---|---|---|
60925415 | Apr 2007 | US |