COMMUNICATION DEVICE AND COMMUNICATION METHOD

The communication device and method address the issue of uniform packet stoppage in Ethernet switches by selectively stopping transmission at nodes causing congestion, enhancing network efficiency and service quality.

JP7544340B2Active Publication Date: 2024-09-03THE INSTITUTE OF PHYSICAL & CHEMICAL RESEARCH +1
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
JP2020152679
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2020-09-11
Publication Date
2024-09-03
Estimated Expiration
2040-09-11

AI Technical Summary

Technical Problem

Conventional packet relaying in Ethernet switches causes all nodes to stop transmitting packets when buffer congestion is detected, leading to reduced transmission efficiency and communication service degradation.

Method used

A communication device and method that monitors packet reception frequency to detect switch buffer congestion, sending a packet transmission stop request only to the source device causing congestion, preventing uniform packet stoppage across the network.

Benefits of technology

Prevents congestion while maintaining efficient packet transmission by targeting specific nodes, improving overall network performance and communication services.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007544340000013
    Figure 0007544340000013
  • Figure 0007544340000007
    Figure 0007544340000007
  • Figure 0007544340000002
    Figure 0007544340000002
Patent Text Reader

Abstract

To avoid congestion while preventing packet transmission stop on all nodes.SOLUTION: Nodes #01 and #03 send packets to a node #00 via a switch SW #0. The packet is buffered in a Tx buffer bf1 in the switch SW #0 and then sent to node #00. When the node #00 detects a sign of congestion in the Tx buffer bf1 on the basis of the packet reception frequency, it is recognized that the nodes sending the packet from the source address included in a received packet to the node #00 are nodes #01 and #03, and the control packet for a transmission stop request is transmitted to the nodes #01 and #03. When the node #01 receives the control packet for the transmission stop request, the node #01 stops transmission of only the packet addressed to the node #00. When the node #03 receives the control packet for the transmission stop request, the node #03 stops transmission of only the packet addressed to the node #00.SELECTED DRAWING: Figure 13
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a communication device and a communication method. [Background technology]

[0002] In recent years, there has been progress in HPC (High Performance Computing) technology, in which multiple computers are interconnected via a network and function as a single system to achieve high-speed calculations.

[0003] In HPC, a network is constructed in which nodes equipped with computers are interconnected to perform high-speed calculations by distributing and parallel processing of a large number of calculations. In addition, in such a network, switches are used to reduce the number of physical ports of the nodes and realize flexible connections and scalability between the nodes. Ethernet (registered trademark) is widely used as a communication protocol for the network between nodes via switches.

[0004] As related technologies, for example, a technology has been proposed that monitors congestion of packets supplied through a switch and notifies the source input / output port of the packet when congestion is detected. Also, a technology has been proposed that performs upstream back pressure control in units of combinations of input ports and priority classes in the front stage of the crosspoint switch of the packet switch. Furthermore, a technology has been proposed that has a pause means for performing flow control in full-duplex communication and performs flow control according to a pause level determined based on the accumulation level of the receiving buffer and the processing load. [Prior art documents] [Patent documents]

[0005] [Patent Document 1] Japanese Patent Application Publication No. 06-177913 [Patent Document 2] JP 2001-217867 A [Patent Document 3] JP 2009-194488 A Summary of the Invention [Problem to be solved by the invention]

[0006] In conventional packet relaying, when packets buffered in an Ethernet switch overflow and congestion is likely to occur, the switch sends out a Pause packet to stop the sending node from sending packets, thereby avoiding congestion.

[0007] However, the pause packets generated by the switch are sent as multicast packets, and all nodes in the network receive the pause packets, causing all nodes to uniformly stop sending packets. This causes a problem of reduced transmission efficiency and communication services, as even nodes that are not sending packets that are causing congestion stop sending packets.

[0008] In one aspect, the present invention has an object to provide a communication device and a communication method that prevent congestion from occurring while preventing packet transmission from being stopped at all nodes. [Means for solving the problem]

[0009] In order to solve the above problem, a communication device is provided, which monitors a communication port that receives packets transmitted from a switch and a reception frequency of the packets received at the communication port, and predicts a congestion of a buffer in the switch based on the reception frequency. Is there Detects When a sign of buffer congestion is detected, The control unit transmits a packet transmission stop request to the packet source device before the buffer becomes congested.

[0010] In order to solve the above problem, a communication method is provided in which a computer executes control similar to that of the above communication device. Effect of the Invention

[0011] According to one aspect, it is possible to avoid the occurrence of congestion while preventing packet transmission from being stopped at all nodes. [Brief description of the drawings]

[0012] [Figure 1] FIG. 1 is a diagram illustrating an example of a communication device. [Diagram 2] FIG. 1 is a diagram illustrating an example of the configuration of a two-dimensional mesh network. [Diagram 3] FIG. 1 is a diagram illustrating an example of a configuration of a two-dimensional torus network. [Figure 4] FIG. 1 is a diagram showing an example of a network configuration using switches to realize a pseudo two-dimensional torus network. [Diagram 5] FIG. 13 illustrates an example of a state in which no congestion occurs in a switch. [Figure 6] 11 is a diagram illustrating an example of a state in which packet transmission is stopped by a Pause packet. FIG. [Figure 7] FIG. 13 illustrates an example of multicast transmission of a Pause packet. [Figure 8] FIG. 2 is a diagram illustrating an example of functional blocks of a node. [Figure 9] FIG. 11 is a diagram showing a specific example of setting values. [Figure 10] FIG. 11 is a diagram showing a specific example of setting values. [Figure 11] FIG. 2 illustrates an example of a hardware configuration of a node. [Figure 12] FIG. 13 is a diagram illustrating an example of a format of a control packet. [Figure 13] FIG. 13 is a diagram illustrating an example of transmission stoppage due to a control packet of a transmission stop request having no priority. [Figure 14] FIG. 13 is a diagram illustrating an example of transmission stoppage due to a transmission stop request control packet with priority. [Figure 15] 13A and 13B are diagrams illustrating an example of a decrease in the transmission rate due to a control packet of a transmission stop request. [Figure 16] FIG. 13 is a diagram illustrating an example of a transmission pause cancellation by a control packet of a transmission pause cancellation request. [Figure 17] FIG. 13 is a diagram illustrating an example of detection of a congestion precursor state. [Figure 18] FIG. 13 is a diagram illustrating an example of detection of resolution of a congestion precursor state. [Figure 19] 13 is a flowchart illustrating an example of the operation of a receiving node. [Figure 20] 13 is a flowchart illustrating an example of an operation of a transmitting node. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0013] The present embodiment will be described below with reference to the drawings. [First embodiment] 1 is a diagram for explaining an example of a communication device. The communication device 1 includes a control unit 1a and a communication port p0. The communication port p0 receives a packet transmitted from a switch.

[0014] The control unit 1a monitors the reception frequency of packets received at the communication port p0, and detects a sign of congestion in the buffer in the switch based on the reception frequency. Then, based on the detection result, the control unit 1a sends a packet transmission stop request to the packet source device before the buffer becomes congested.

[0015] The functions of the control unit 1a are realized by a processor (not shown) included in the communication device 1 executing a predetermined program. The operation will be described using the example of Fig. 1. A communication device 1 and communication devices 1-1 and 1-2 are connected to a switch sw1. The switch sw1 includes a buffer bf0 that buffers packets.

[0016] [Step S1] The communication devices 1-1 and 1-2 transmit packets to the communication device 1 via the switch sw1. [Step S2] The buffer bf0 in the switch sw1 buffers the packet.

[0017] [Step S3] The communication port p0 in the communication device 1 receives the packet transmitted via the switch sw1. [Step S4] The control unit 1a in the communication device 1 monitors the reception frequency of packets received at the communication port p0, and detects a sign of congestion in the buffer bf0 based on the reception frequency.

[0018] [Step S5] If the control unit 1a detects a sign of congestion in the buffer bf0, it transmits a transmission stop request to the communication devices 1-1 and 1-2. [Step S6] Upon receiving the transmission stop request, the communications devices 1-1 and 1-2 stop transmitting packets addressed to the communications device 1 only.

[0019] In this way, in a network environment in which multiple communication devices are interconnected via switches, communication device 1 detects signs of congestion in the switch from the frequency of packet reception and sends a request to the packet source device to stop sending packets before congestion occurs.

[0020] Previously, when a switch buffer was about to overflow, a multicast Pause packet was output from the switch, causing packet transmission from all devices to stop.

[0021] In response to this, when communication device 1 detects a congestion warning in a switch, it sends a packet transmission stop request only to the device that is sending the packet that is causing the congestion warning. This makes it possible to efficiently avoid congestion while preventing packet transmission from being stopped in all devices, thereby improving transmission efficiency and communication services.

[0022] (Configuration of HPC network using switches and its issues) Before describing the present invention in detail, the configuration of a typical HPC network using switches and the problems with conventional congestion avoidance will be described with reference to FIGS. 2 to 7. FIG.

[0023] In HPC, a large number of calculations are processed in parallel in a distributed manner to achieve high speed calculations, so networks that interconnect many nodes, including computers such as CPUs (Central Processing Units), are important.

[0024] In a ring-structured network, the latency increases in proportion to the number of nodes, so mesh structures and torus networks that connect the edges of mesh structures are commonly used in HPC networks.

[0025] 2 is a diagram showing an example of the configuration of a two-dimensional mesh network. The two-dimensional mesh network N1 includes nodes #00, . . ., #03, #10, . . ., #13, #20, . . ., #23, #30, . . ., #33, which are connected in a mesh shape.

[0026] Figure 3 is a diagram showing an example of the configuration of a two-dimensional torus network. The two-dimensional torus network N2 is a donut-shaped network (torus network) that connects the X-direction end and the Y-direction end of the two-dimensional mesh network N1 shown in Figure 2. The degree increases to three dimensions, four dimensions, ... depending on the number of network axes connected to the node.

[0027] In a torus network, adjacent nodes are directly connected to each other in a 1:1 ratio, so in a multidimensional torus network, the number of ports required for a node increases with the degree of the network.

[0028] Therefore, switches are used to reduce the number of physical ports of a node and to realize flexible connections and scalability between nodes. Also, in order to realize multiple links in a virtual topology using one physical port of a node, communication of each virtual link is realized in a time-division manner.

[0029] 4 is a diagram showing an example of a network configuration using switches to realize a pseudo-two-dimensional torus network. Network N3 is a network that uses switches to configure a pseudo (virtual) two-dimensional torus network, and includes nodes #00, . . ., #03, #10, . . ., #13, #20, . . ., #23, #30, . . ., #33, and further includes switches SW#0, . . ., SW#4.

[0030] figure 3 In the two-dimensional torus network shown in Fig. 1, four ports are required for each node when directly connecting the nodes, but in network N3, the four ports are connected virtually via a switch in a time-division manner, so only one connection port is required. It is possible to assign multiple ports per node depending on the network bandwidth.

[0031] Known methods for connecting nodes here are Ethernet and Infiniband (trademark), but when using a switch, Ethernet is the more common because of the low-cost equipment.Recently, research has begun on using accelerators that take advantage of the strengths of FPGAs (Field Programmable Gate Arrays), which are capable of high-speed parallel calculations, to execute part of the calculation processing, and in some cases, nodes that include FPGAs are connected to each other via a network, just like nodes that include CPUs.

[0032] In a network between nodes via Ethernet switches, packet congestion may occur in the relay switches, making efficient transmission impossible. Figure 5 is a diagram showing an example of a state in which no congestion occurs in the switch. Nodes #01, #03, #00, and #02 are connected to switch SW#0. Each of nodes #01, #03, #00, and #02 includes an Rx port (a port for receiving packets) and a Tx port (a port for transmitting packets). Switch SW#0 also includes Tx buffers bf1 and bf2 that buffer transmitted packets.

[0033] The Tx buffer bf1 in the switch SW#0 buffers packets transmitted from nodes #01 and #03. After being buffered, the packets are transmitted to node #00 and received at the Rx port in node #00.

[0034] Furthermore, Tx buffer bf2 in switch SW#0 buffers packets transmitted from node #03. The buffered packets are transmitted to node #02 and received at the Rx port in node #02. In the example of Fig. 5, Tx buffers bf1 and bf2 are not overflowing and no congestion is occurring.

[0035] FIG. 6 is a diagram showing an example of a state in which packet transmission is stopped by a Pause packet. [Step S11] The Tx buffer bf1 buffers packets transmitted from nodes #01 and #03, but the Tx buffer bf1 is close to overflowing.

[0036] [Step S12] The switch SW#0 transmits a Pause packet to nodes #01 and #03. [Step S13] Node #01 receives the Pause packet at its Rx port.

[0037] [Step S14] Having received the Pause packet, node #01 stops transmitting all packets. [Step S15] Node #03 receives the Pause packet at its Rx port.

[0038] [Step S16] Having received the Pause packet, node #03 stops transmitting all packets. FIG. 7 illustrates an example of multicast transmission of a Pause packet.

[0039] [Step S21] The Tx buffer of switch SW#0 is about to overflow. [Step S22] The switch SW#0 transmits a Pause packet to the nodes #00, #01, #02, #03 and the switch SW#4.

[0040] [Step S23] The switch SW#4 transmits a Pause packet to the switches SW#1, SW#2, and SW#3. [Step S24] The switch SW#1 transmits a Pause packet to the nodes #10, #11, #12, and #13.

[0041] [Step S25] The switch SW#2 transmits a Pause packet to the nodes #20, #21, #22, and #23. [Step S26] The switch SW#3 transmits a Pause packet to the nodes #30, #31, #32, and #33.

[0042] In this way, when packets are about to overflow within the switch, the switch sends a Pause packet to the sending node, stopping the sending node from outputting packets, thereby controlling flow. In addition to sending a Pause packet, the switch discards the overflowed packet in the hope of retransmission processing by a higher layer protocol such as IP (Internet Protocol).

[0043] Because the Pause packets generated by the switch are sent as multicast packets, they request all connected nodes to stop / resume packet transmission uniformly, causing a global packet stop. In the example in Figure 7, even though only nodes #01, #03, #10, and #30 communicate with node #00, Pause packets are sent to the entire network, causing a global stop in packet transmission.

[0044] In addition, when virtually connecting many nodes in a multi-dimensional torus network, the number of switches may increase dramatically, which may result in an explosive increase in the number of pause packets sent by multicast. As a result, data communication between nodes other than those that have exceeded the bandwidth may also stop, significantly affecting the performance of the entire system.

[0045] One method to prevent pause packets from being generated is to implement bandwidth restrictions and fine flow control at the switch, but restricting the bandwidth of individual receiving ports will likely result in sending ports being bandwidth restricted even when the node has ample receiving bandwidth, making it difficult to transmit efficiently. In addition, high-performance switches are expensive, and new control of the switches is required, which raises concerns about the complexity and high cost of the system.

[0046] On the other hand, in an inter-node network, since various qualities of service exist, simply pausing and restarting frame output is not sufficient, and more detailed control than simply stopping may be required. For example, in communication between parallel computing circuits implemented on an FPGA, there may be a mixture of communication that requires continuous data flow with little delay even if the rate drops, and communication that can be stopped for a certain period of time.

[0047] The present invention has been made in consideration of these points, and provides highly efficient congestion control in a network using switches that prevents all nodes from being unable to send packets when signs of data congestion occur, thereby avoiding the occurrence of congestion without using pause packets.

[0048] [Second embodiment] Next, a second embodiment in which the functions of the present invention are applied to nodes constituting an HPC network will be described in detail below. In the following, a node that receives a packet containing service data (corresponding to node #00 shown in Figs. 5 to 7) may be called a receiving node. Furthermore, a node that transmits the packet via a switch to a receiving node (corresponding to nodes #01 and #03 shown in Figs. 5 to 7) may be called a transmitting node.

[0049] <Function block> Fig. 8 is a diagram showing an example of a functional block of a node. Node 10 corresponds to communication device 1 in Fig. 1, and includes a control unit 11, a storage unit 12, a CPU unit 13, and communication ports (Rx / Tx ports). Control unit 11 is, for example, an FPGA, and is the main body of operation of node 10. CPU unit 13 includes a CPU and peripheral circuits (the functions of CPU unit 13 may be included in control unit 11). Node 10 includes both the functions of a receiving node and the functions of a transmitting node.

[0050] The control unit 11 is connected to the CPU unit 13. The storage unit 12 includes memories 12a and 12b, with the control unit 11 connected to the memory 12a and the CPU unit 13 connected to the memory 12b. The control unit 11 includes a congestion monitor unit 11a, a receiving side control unit 11b, a control packet termination unit 11c, a transmitting side control unit 11d, a timer unit 11e, an arithmetic circuit 11f, a control packet generation unit 11g, and a MUX unit 11h.

[0051] The detailed operations of the timer unit 11e, the transmission control unit 11d, and the reception control unit 11b will be described later. Also, various setting values ​​communicated between the arithmetic circuit 11f and the CPU unit 13 will be described later.

[0052] The congestion monitoring unit 11a monitors the congestion state of the Tx buffer in the switch SW by monitoring the reception frequency of received packets (it has an internal timer for congestion monitoring). The control packet termination unit 11c receives a control packet of a transmission stop / cancel request and performs termination processing.

[0053] The arithmetic circuit 11f performs arithmetic processing related to stopping packet transmission, decreasing the packet transmission rate, generating packets according to priority, etc. The control packet generating unit 11g generates a control packet for a transmission stop request and a control packet for a transmission stop release request. The MUX unit 11h multiplexes the control packet and the arithmetic data.

[0054] <Timer section operation> The timer unit 11e has a transmission stop timer for each link destination (node ​​that exchanges data with each other). When a control packet of a transmission stop request is received, the timer is set to the following value according to the setting.

[0055] -Timer value recorded in the control packet requesting to stop transmission -Timer value for each link destination set in advance by the CPU part 13 It should be noted that which value is used is determined by the setting item from the CPU section 13, or if the timer value in the control packet is 0, the timer value previously set by the CPU section 13 is used.

[0056] Furthermore, the timer counts down sequentially, stops when it reaches 0, and notifies the transmission side control unit 11d of the expiration of the timer. If a new control packet requesting to stop transmission is received while the timer is counting down, the timer value is reset (timer value is extended) and the timer continues counting down.

[0057] <Operation of the transmission side control unit> The transmission side control unit 11d receives information such as the source and packet type, priority, timer value, transmission rate value, etc. of the received control packet from the control packet termination unit 11c. Also, depending on the received packet type, it gives instructions to start, stop, and extend (timer value update) to the timer unit 11e.

[0058] Furthermore, the transmission side control unit 11d manages the transmission control status for each link destination according to the type of the received control packet as follows. In the packet stop (rate reduction) state, the transmission stop is released when a control packet requesting release of the transmission stop is received or when the timer expires. Also, since the packet stop can be considered as one state of rate reduction, it is treated as the same status.

[0059] When the packet transmission stoppage is released, the packet transmission stoppage (rate reduction) state is entered upon receiving a control packet requesting the stoppage of transmission. On the other hand, when the control status becomes packet stop, the transmission side control unit 11d instructs the arithmetic circuit 11f to stop packets to the link destination (reducing the rate). If a priority has been specified, it is also notified.

[0060] When the control status becomes packet stop release, the arithmetic circuit 11f is instructed to resume packet transmission to the link destination (rate recovery). Then, when a timer expiration notification is received from the timer unit 11e, the arithmetic circuit 11f is instructed to resume packet transmission to the link destination (rate recovery).

[0061] <Operation of the receiving control unit> The reception side control unit 11b receives the detection information of the congestion state for each link destination from the congestion monitoring unit 11a, and manages the reception control status for each link destination as follows.

[0062] In the packet stop (rate reduction) state, if the congestion warning signs are detected to be resolved, the state will change to packet stop release. Also, since packet stop can be seen as one state of rate reduction, they are treated as the same status. In the packet stop release state, if the congestion warning signs are detected, the state will change to packet stop (rate reduction).

[0063] On the other hand, when the control status becomes packet stop, the receiving side control unit 11b instructs the control packet generating unit 11g to generate a control packet of a transmission stop request to the link destination.Furthermore, when the control status becomes packet stop release, the receiving side control unit 11b instructs the control packet generating unit 11g to generate a control packet of a transmission stop release request to the link destination.

[0064] <Examples of setting values> 9 and 10 are diagrams showing specific examples of setting values. Tables T1 and T2 show setting items and setting value examples. The contents of each setting item in table T1 will be explained below.

[0065] The setting value for the link destination MAC (Media Access Control) address of item a1 is 48 bytes. This is the MAC address of the node that sends packets to the local node, and has a setting value of, for example, 32 nodes according to the size of the network.

[0066] For the priority of the control packet of the transmission stop request in item a2, the setting value is from 0 to 16. The priority to be included in the control packet of the transmission stop request is set for each link destination MAC address setting.

[0067] Regarding the timer value of the control packet of the transmission stop request in item a3, the setting value is from 0 to 255. The timer value to be included in the control packet of the transmission stop request is set for each link destination MAC address setting.

[0068] The setting value for the transmission rate reduction information of the control packet of the transmission stop request in item a4 is from 0 to 10. The transmission rate reduction information to be included in the control packet of the transmission stop request is set for each link destination MAC address setting. For example, the rate is reduced to the setting value x 10%.

[0069] The setting value for the priority (overall) when receiving a control packet of a transmission stop request in item a5 is 0 to 16. A default priority is set. For example, if the priority setting of the received control packet of a transmission stop request is 0, the priority of the packet to be stopped is determined according to this setting value.

[0070] The setting value for item a6, priority (by link destination) when a control packet of a transmission stop request is received, is from 0 to 16. A default priority is set for each link destination MAC address setting. For example, if the priority setting of the received control packet of a transmission stop request is 0, the priority of the packet to be stopped is determined according to this setting (there can be one priority setting overall, or priority settings can be set by link destination).

[0071] Next, the contents of each setting item in table T2 will be described below. The data valid area of ​​item b1 is divided into items b1-1 and b1-2. In item b1-1, the monitoring period (when a congestion premonition state is detected) is 1 μs, the congestion premonition state detection threshold is 10,000 Bytes, and the number of protection stages (when a congestion premonition state is detected) is 3 times. Therefore, in the example of item b1-1, if there is a data valid area of ​​10,000 Bytes or more in 1 μs three consecutive times, it is determined that there is a congestion premonition.

[0072] In item b1-2, the monitoring period (when the congestion pre-sign state is resolved) is 1 μs, the congestion pre-sign state resolution threshold is 5000 Bytes, and the number of protection stages (when the congestion pre-sign state is resolved) is 5. Therefore, in the example of item b1-2, if there is a state in which there is less than 5000 Bytes of valid data area in 1 μs five times in a row, it is determined that the congestion pre-sign state has been resolved.

[0073] The packet interval of item b2 is divided into items b2-1 and b2-2. In item b2-1, the monitoring period (when a congestion premonition state is detected) is 1 μs, and the congestion premonition state detection threshold is 5 bytes. Therefore, in the example of item b2-1, if a packet interval of 5 bytes or less continues for 1 μs or more, it is determined that there is a congestion premonition.

[0074] In item b2-2, the monitoring period (when the congestion pre-sign state is resolved) is 3 μs, and the congestion pre-sign state resolution threshold is 13 Bytes. Therefore, in the example of item b2-2, if a packet interval of 13 Bytes or more continues for 3 μs or more, it is determined that the congestion pre-sign state has been resolved.

[0075] The delimiter of item b3 is divided into items b3-1 and b3-2. In item b3-1, the monitoring period (when a congestion premonition state is detected) is 1 μs, and the congestion premonition state detection threshold is 4 octets. Therefore, in the example of item b3-1, if a preamble of 4 octets or less continues for 1 μs or more, it is determined that there is a congestion premonition.

[0076] In item b3-2, the monitoring period (when the congestion pre-sign state is resolved) is 2 μs, and the congestion pre-sign state resolution threshold is 8 octets. Therefore, in the example of item b3-2, if a preamble of 8 octets or less continues for 2 μs or more, it is determined that the congestion pre-sign state has been resolved.

[0077] <Hardware> 11 is a diagram showing an example of a hardware configuration of a node. The node 10 is entirely controlled by a processor (computer) 100. The processor 100 realizes the functions of a control unit 11.

[0078] The processor 100 is connected to a memory 101 , an input / output interface 102 , and a network interface 104 via a bus 103 . The processor 100 may be a multiprocessor. The processor 100 may be, for example, a CPU, an FPGA, a Micro Processing Unit (MPU), a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), or a Programmable Logic Device (PLD). The processor 100 may also be a combination of two or more elements of a CPU, an FPGA, an MPU, a DSP, an ASIC, or a PLD.

[0079] The memory 101 realizes the function of the storage unit 12, and is used as a main storage device of the node 10. The memory 101 temporarily stores at least a part of an OS (Operating System) program and application programs to be executed by the processor 100. The memory 101 also stores various data required for processing by the processor 100.

[0080] The memory 101 is also used as an auxiliary storage device of the node 10, and stores the OS program, application programs, and various data. The memory 101 may include, as an auxiliary storage device, a semiconductor storage device such as a flash memory or an SSD (Solid State Drive), or a magnetic recording medium such as an HDD (Hard Disk Drive).

[0081] Peripheral devices connected to the bus 103 include an input / output interface 102 and a network interface 104. The input / output interface 102 can be connected to an information input device such as a keyboard or a mouse, and transmits signals sent from the information input device to the processor 100.

[0082] Furthermore, the input / output interface 102 also functions as a communication interface for connecting peripheral devices. For example, the input / output interface 102 can connect an optical drive device that uses laser light or the like to read data recorded on an optical disc. Optical discs include Blu-ray Disc (registered trademark), CD-ROM (Compact Disc Read Only Memory), CD-R (Recordable) / RW (Rewritable), etc.

[0083] Furthermore, the input / output interface 102 can connect to a memory device or a memory reader / writer. The memory device is a recording medium equipped with a function for communicating with the input / output interface 102. The memory reader / writer is a device for writing data to a memory card or reading data from a memory card. The memory card is a card-type recording medium.

[0084] The network interface 104 is connected to a network and performs network interface control. For example, a NIC (Network Interface Card), a wireless LAN (Local Area Network) card, etc. can be used as the network interface 104. Data received by the network interface 104 is output to the memory 101 and the processor 100.

[0085] The above hardware configuration can realize the processing functions of the node 10. For example, the node 10 can perform the processing of the present invention by causing the processors 100 to execute predetermined programs.

[0086] The node 10 realizes the processing functions of the present invention by, for example, executing a program recorded on a computer-readable recording medium. The program describing the processing contents to be executed by the node 10 can be recorded on various recording media.

[0087] For example, a program to be executed by the node 10 may be stored in an auxiliary storage device. The processor 100 loads at least a part of the program in the auxiliary storage device into the main storage device and executes the program.

[0088] The program may also be recorded on a portable recording medium such as an optical disk, a memory device, or a memory card. The program stored on the portable recording medium is executable after being installed in an auxiliary storage device under the control of the processor 100. The processor 100 may also directly read out and execute the program from the portable recording medium.

[0089] <Control packet format> 12 is a diagram showing an example of a control packet format. A control packet Pc for a transmission stop request / transmission stop release request includes the following fields: a preamble, a start frame delimiter (SFD), a destination address (DA), a source address (SA), an Ether Type, a data section, and an Ether frame check sequence (FCS).

[0090] The preamble is 7 bytes, the SFD is 1 byte, the DA is 6 bytes, the SA is 6 bytes, the Ether Type is 2 bytes, the data section is 46 bytes, and the Ether FCS is 4 bytes. Note that non-reserved values ​​(for example, 0xFF10 to 0xFFFE) are defined for the Ether Type.

[0091] In addition, the data section includes, from the beginning, the following fields: stop / cancel instruction, priority, timer value, Don't Care, and transmission rate value (transmission rate reduction information), and the remaining fields are padded (all "0").

[0092] The stop / cancel command is 4 bits, with 0x0 to stop transmission and 0xF to cancel transmission stop. The priority is 4 bits, with a value between 0x0 and 0xF specified as the priority of the transmission stop target. The timer value is 8 bits, with a value between 0x00 and 0xFF specified as the transmission stop time.

[0093] Don't Care is 4 bits. The transmission rate value is 4 bits, for example, 0x0 stops transmission, 0x1 sets the transmission rate to 1 / 16, 0x2 sets the transmission rate to 2 / 16, 0x3 sets the transmission rate to 3 / 16, ..., and 0xF sets the transmission rate to 15 / 16.

[0094] <Stopping transmission due to a control packet (without priority) requesting stop transmission> FIG. 13 is a diagram showing an example of a transmission stop request control packet with no priority.

[0095] [Step S31] Node #00 detects a sign of congestion in the Tx buffer bf1 in switch SW#0. [Step S32] When node #00 detects a sign of congestion in switch SW#0, it outputs a control packet requesting that transmission be stopped. The destination of the control packet is the node that is sending packets to the receiving node. In this example, the nodes sending packets to node #00 are nodes #01 and #03, so the control packet is sent to nodes #01 and #03.

[0096] Furthermore, whether the node transmitting a packet to node #00 is node #01 or #03 is determined by node #00 based on the source address included in the received packet or a preset source address.

[0097] [Step S33] Node #01 receives a control packet requesting to stop transmission. [Step S34] Node #01 completely stops sending packets addressed only to node #00.

[0098] [Step S35] Node# 03 receives a control packet requesting to stop transmission. [Step S36] Node #02 completely stops sending packets addressed to node #00 only.

[0099] <Stopping transmission due to a control packet (with priority) requesting stop transmission> FIG. 14 is a diagram showing an example of transmission suspension with priority in a transmission suspension request control packet.

[0100] [Step S41] Node #00 detects a sign of congestion in Tx buffer bf1 in switch SW#0. [Step S42] Upon detecting a sign of congestion in the switch SW#0, node #00 outputs a control packet requesting that transmission be stopped to nodes #01 and #03.

[0101] [Step S43] Node #01 receives a control packet requesting to stop transmission. [Step S44] Node #01 performs priority determination. [Step S45] Based on the priority determination, node #01 transmits high-priority packets to node #00 and stops transmitting low-priority packets.

[0102] [Step S46] Node #03 receives a control packet requesting to stop transmission. [Step S47] Node #03 performs priority determination. [Step S48] Based on the priority determination, node #03 transmits high-priority packets to node #00 and stops transmitting low-priority packets.

[0103] Here, in the case of transmission stop control in the case where there is a priority, the following controls (1a) to (3a) can be performed in nodes #01 and #03. (1a) When nodes #01 and #03 receive a control packet requesting to stop transmission, they transmit high-priority packets and stop transmitting low-priority packets in accordance with the priorities preset in each node.

[0104] (2a) When nodes #01 and #03 receive a control packet requesting stop of transmission, they transmit high-priority packets and stop transmitting low-priority packets in accordance with the priority set in the control packet.

[0105] (3a) When nodes #01 and #03 receive a control packet requesting to stop transmission, they stop transmitting packets according to the priority order preset for each node. <Examples of priority>.

[0106] 12, 4 bits (16 levels) can be set as the priority. The priority is set by an application in the control unit 11 (the arithmetic circuit 11f in hardware).

[0107] The control unit 11 sets the highest priority to communication that requires data to continue to flow with little delay even if the rate drops, and sets the lowest priority to communication that can be stopped for a certain period of time. Furthermore, when the control unit 11 receives a control packet of a transmission stop request at the Rx port, it stops the transmission of packets with a lower (smaller) priority than that included in the control packet. Furthermore, when the priority of the received control packet of the transmission stop request is 0, the control unit 11 stops the transmission of packets with a lower (smaller) priority than a preset priority.

[0108] The priority setting may use one priority overall, or may have a setting value for each link destination. It is also possible to control operation with four levels of priority by using the top two bits of the priority as selection information for which setting value to use. For example, 00 follows the overall priority setting, 01 follows the priority of each node, 10 follows the priority included in the packet, and 11 does not follow the priority and stops everything.

[0109] <Reduction in transmission rate due to control packets requesting stop transmission> FIG. 15 is a diagram showing an example of a decrease in the transmission rate due to a control packet of a transmission stop request. [Step S51] Node #00 detects a sign of congestion in Tx buffer bf1 in switch SW#0.

[0110] [Step S52] Upon detecting a sign of congestion in the switch SW#0, node #00 outputs a control packet requesting that transmission be halted to nodes #01 and #03. [Step S53] Node #01 receives a control packet requesting to stop transmission.

[0111] [Step S54] Having received the control packet transmitted from node #00, node #01 reduces the transmission rate only for packets addressed to node #00. [Step S55] Node #03 receives a control packet requesting to stop transmission.

[0112] [Step S56] Having received the control packet sent from node #00, node #03 reduces the transmission rate only for packets addressed to node #00. In this way, nodes #01 and #03 that receive a control packet requesting to stop transmission do not stop outputting packets, but instead reduce the packet transmission rate according to the settings in order to protect communications that require continuous data flow with minimal delay.

[0113] Here, when lowering the packet transmission rate, the following controls (1b) to (3b) can be performed in nodes #01 and #03. (1b) Nodes #01 and #03 determine the degree of reduction in the packet transmission rate by using the transmission rate reduction information set in the control packet.

[0114] (2b) Nodes #01 and #03 determine the transmission rate using a function f(n, r) of the numerical value n, which is the transmission rate reduction information set in the control packet, and the transmission rate r before the reduction.

[0115] (3b) Nodes #01 and #03 use the integer value n, which is the transmission rate reduction information set in the control packet, to reduce the transmission rate to half the original transmission rate. n to reduce it. <Examples of transmission rate reduction information> In the example of the control packet format shown in Fig. 12, the transmission rate can be set to 4 bits. When the control unit 11 receives a control packet of a transmission stop request at the Rx port, it reduces the generation rate of the transmission packets according to the transmission rate value (transmission rate reduction information) included in the control packet.

[0116] In this case, if the transmission rate value is n, the rate will be reduced to n / 16. For example, 0000 means complete stop, 0001 means 1 / 16 rate, 0010 means 2 / 16 rate, ..., 1111 means 15 / 16 rate.

[0117] When the control unit 11 receives a new control packet requesting to stop transmission while the transmission rate is being reduced, the control unit 11 reduces the generation rate of transmission packets in accordance with the new transmission rate value contained in the control packet.

[0118] In this case, the control unit 11 lowers the transmission rate using a function f(n,r), where n is the transmission rate value included in the new transmission stop request control packet, and r is the transmission rate before receiving it. For example, if f(n,r)=n+r-8, the previous transmission rate was 1111 (=15 / 16), and the received transmission rate value was 0111, then the new transmission rate will be 1110 (=14 / 16).

[0119] Alternatively, the control unit 11 may set the transmission rate value included in the new transmission stop request control packet to n and the transmission rate before receiving the control packet to r, and may then set the transmission rate to r / 2. n For example, if the previous transmission rate was 50% and the received transmission rate value was 0010 (=2), the new transmission rate will be 12.5% ​​(=50% x 1 / 4).

[0120] Incidentally, the control packet of the transmission stop request as described above is processed as a normal Ethernet packet when viewed from the opposing Ethernet switch, and the switch relaying the packet handles it as a normal inter-node communication packet.

[0121] The control packet for the transmission stop request may also have a timer value indicating the transmission stop period. By having a timer value, it is possible to implement fine-grained flow control, such as individually controlling the transmission stop period for each transmission source. Furthermore, even if the control packet for the transmission stop release request does not reach the transmission node due to an error or the like, it becomes possible to resume packet output from the transmission node.

[0122] Although the packet output control by receiving a control packet of a transmission stop request has been explained using Figures 13 to 15, the operation when a control packet of a transmission stop request is received is limited to packets addressed to the node that transmitted the control packet of a transmission stop request. Also, the operation when a control packet of a transmission stop request is received may be a combination of the above-mentioned multiple methods according to the quality required for communication between nodes.

[0123] <Resetting a transmission pause using a control packet requesting a transmission pause> FIG. 16 is a diagram showing an example of a transmission pause release by a control packet of a transmission pause release request. [Step S61] Node #00 detects whether the congestion warning sign of Tx buffer bf1 in switch SW#0 has been resolved.

[0124] [Step S62] When node #00 detects that the congestion warning signs of switch SW#0 have been resolved, it outputs a control packet requesting that transmission pause be resumed. The destination of this control packet is the node that is transmitting packets to the receiving node; in this example, the control packet is sent to nodes #01 and #03.

[0125] The control packet of the transmission stop request is sent only from the node that transmitted the control packet of the transmission stop request. The destination of the control packet of the transmission stop request is the same as that of the control packet of the transmission stop request.

[0126] [Step S63] Node #01 receives a control packet requesting to resume transmission suspension. [Step S64] If node #01 has stopped transmitting packets addressed to node #00, it resumes the stop of transmitting packets addressed to node #00. Or, if it has reduced the transmission rate of packets addressed to node #00, it restores the transmission rate of packets addressed to node #00.

[0127] [Step S65] Node #03 receives the control packet requesting to resume transmission suspension. [Step S66] If node #03 has stopped transmitting packets addressed to node #00, it resumes the stop of transmitting packets addressed to node #00. Or, if it has reduced the transmission rate of packets addressed to node #00, it restores the transmission rate of packets addressed to node #00.

[0128] In this way, nodes #01 and #03 that receive the control packet requesting resumption of transmission stop resume packet transmission if packet output had been stopped, and return the packet transmission rate to the rate before the reduction if packet output had been at a low rate.

[0129] Here, when the suspension of packet transmission is resumed, the following controls such as (1c) and (2c) can be performed in nodes #01 and #03. (1c) Even if nodes #01 and #03 that have stopped packet output do not receive a control packet requesting resumption of transmission pause, if a transmission pause period is specified in the control packet requesting transmission pause, the nodes #01 and #03 will resume packet transmission after the specified pause period has elapsed.

[0130] (2c) Even if nodes #01 and #03 that have reduced their packet transmission rates do not receive a control packet requesting resumption of a transmission pause, if a transmission pause period is specified in the control packet requesting a transmission pause, the nodes #01 and #03 will return their packet transmission rates to the rate before the reduction when the specified pause period has elapsed.

[0131] In addition, the control packet of the transmission stop release request is processed as a normal Ethernet packet when viewed from the opposite Ethernet switch, and the switch relaying the packet treats it as a normal inter-node communication packet.

[0132] <Detection of pre-congestion conditions> 17 is a diagram showing an example of detecting a congestion precursor state. Assume that packets (packet streams) p1 and p2 are input to switch SW#0 and buffered in Tx buffer bf1, and the buffered packet (packet stream) p3 is transmitted to node #00 via communication line L1.

[0133] In this case, the congestion warning state of the Tx buffer bf1 in the switch SW#0 is judged by monitoring the rate of the received packets on the node #00 side. In the example of Fig. 17, when the sum of the data amount of the packet p1 and the data amount of the packet p2 exceeds the communication bandwidth of the communication line L1, the Tx buffer bf1 is recognized as being in the data accumulation direction.

[0134] In this case, it is expected that the packet interval (IFG: interframe gap) of packets transmitted to node #00 will be 12 bytes or less in succession. Therefore, if the IFG remains equal to or smaller than 12 bytes for a certain period of time, node #00 determines that the Tx buffer bf1 in switch SW#0 is in a pre-existing congestion state.

[0135] Alternatively, if the rate of the valid data portion excluding the IFG / preamble is equal to or higher than the threshold, node #00 determines that the Tx buffer bf1 in switch SW#0 is in a congestion warning state.

[0136] As a method for determining whether a congestion is imminent, including other determinations, the following controls (1d) to (3d) can be performed. (1d) When the amount of data in the valid area of ​​a received packet (for example, the part excluding the IFG / preamble in Ethernet) exceeds a threshold for a certain period of time, node #00 determines that data is being received at full rate and that packets are continuing to accumulate in Tx buffer bf1 in switch SW#0, that is, that Tx buffer bf1 is in a state of impending congestion.

[0137] (2d) Node #00 monitors the packet intervals of received packets, and if the packet intervals remain below a certain threshold (e.g., 12 bytes) for a certain period of time, it determines that packets are continuing to accumulate in Tx buffer bf1 in switch SW#0, i.e., that Tx buffer bf1 is in a state of impending congestion.

[0138] (3d) Node #00 monitors the length of the delimiter code (preamble, postamble, etc.) of the received packet, and determines if the length is below a certain threshold (e.g., 6 bytes) for a certain period of time (e.g., 1 μs ) continues, it is determined that packet accumulation in the Tx buffer bf1 in the switch SW#0 continues, that is, that the Tx buffer bf1 is in a pre-congestion state.

[0139] Hysteresis may be applied to the monitoring time and packet rate, which are the conditions for detecting a congestion sign state. By applying hysteresis, it is possible to suppress fluttering in the detection of a congestion sign state and to achieve stable flow control.

[0140] In addition, since it is desirable to detect signs of congestion in the Tx buffer in the switch SW as early and accurately as possible in accordance with the characteristics of the opposing switch and the application being used, multiple controls (1d) to (3d) described above may be combined.

[0141] When a sign of congestion is detected by the above-mentioned determination method, a control packet requesting to stop transmission is sent to the node that sent the packet. <Detection of resolution of pre-congestion conditions> 18 is a diagram showing an example of detection of resolution of a congestion precursor state. Assume that packets (packet streams) p1 and p2 are input to switch SW#0 and buffered in Tx buffer bf1, and the buffered packet (packet stream) p3 is transmitted to node #00 via communication line L1.

[0142] In this case, the congestion warning state of the Tx buffer bf1 in the switch SW#0 is resolved by monitoring the rate of the received packets on the node #00 side. In the example of Fig. 18, if the sum of the data amount of the packet p1 and the data amount of the packet p2 falls below the communication bandwidth of the communication line L1, the Tx buffer bf1 is recognized as being in the data empty direction. In this case, there are many cases where the packet interval of the packets sent to the node #00 exceeds 12 bytes.

[0143] Therefore, if the time during which the IFG is longer than 12 bytes continues for a certain period of time or longer, node #00 determines that the Tx buffer bf1 in switch SW#0 has recovered from the congestion warning state.

[0144] Alternatively, when the rate of the valid data portion excluding the IFG / preamble falls below the threshold, the node #00 determines that the Tx buffer bf1 in the switch SW#0 has recovered from the congestion warning state.

[0145] As a method for determining whether a congestion precursor state has been resolved, the following controls (1e) to (3e) can be performed, including other determinations. (1e) If the amount of data in the valid area of ​​a received packet falls below a threshold for a certain period of time, node #00 determines that data is not being received at full rate and that there are no packets stored in the Tx buffer in switch SW (Empty), i.e., the Tx buffer is not congested.

[0146] (2e) Node #00 monitors the packet interval of the received data, and if the interval exceeds a certain threshold (for example, 12 bytes) for a certain period of time (for example, 1 μs ) continues, it is determined that there are no packets stored in the Tx buffer in the switch SW (Empty), that is, the Tx buffer is not congested.

[0147] (3e) Node #00 monitors the length of the delimiter code (preamble, postamble, etc.) of the received data, and if the length exceeds a certain threshold (for example, 6 bytes) for a certain period of time, it determines that there are no packets stored in the Tx buffer in the switch (Empty), i.e., the Tx buffer is not congested.

[0148] Hysteresis may be applied to the monitoring time and packet rate, which are the conditions for detecting whether a congestion premonition state has been resolved. By applying hysteresis, it is possible to suppress fluttering in detecting whether a congestion premonition state has been resolved, thereby enabling stable flow control.

[0149] In addition, since it is desirable to detect the elimination of a pre-congestion state as early and accurately as possible in accordance with the characteristics of the opposing switch and the application being used, the method of determining whether a pre-congestion state has been resolved may be a combination of multiple controls described above in (1e) to (3e).

[0150] When the above-mentioned determination method detects that the congestion prediction state has been resolved, a control packet requesting recovery from a transmission pause is sent to the node that sent the packet. <Flowchart> FIG. 19 is a flowchart showing an example of the operation of the receiving node.

[0151] [Step S71] The Tx buffer in switch SW is in a state where congestion (or a sign of congestion) has been resolved. [Step S72] The control unit 11 in the receiving node monitors the rate of received packets.

[0152] [Step S73] The control unit 11 compares the reception rate with the detection threshold. If the detection threshold exceeds the reception rate (if reception rate<detection threshold), the process returns to step S72. If the reception rate is equal to or greater than the detection threshold (if reception rate≧detection threshold), the process proceeds to step S74.

[0153] [Step S74] The control unit 11 in the receiving node outputs a control packet requesting to stop transmission. [Step S75] The Tx buffer in switch SW is in a pre-congestion state.

[0154] [Step S76] The control unit 11 in the receiving node monitors the rate of received packets. [Step S77] The control unit 11 in the receiving node compares the reception rate with the release threshold. If the reception rate is equal to or greater than the release threshold (reception rate ≧ release threshold), the process returns to step S76. If the release threshold exceeds the reception rate (reception rate < release threshold), the process proceeds to step S78.

[0155] [Step S78] The control unit 11 in the receiving node outputs a control packet requesting to resume transmission suspension, and then the process returns to the state of step S71. Fig. 20 is a flowchart showing an example of the operation of a transmitting node. Note that the flow shown in Fig. 20 is an example in which the transmitting node stops packet transmission when it receives a control packet of a transmission stop request.

[0156] [Step S81] The control unit 11 in the transmitting node judges whether or not a control packet for a request to stop transmission has been received at the Rx port. If a control packet for a request to stop transmission has been received, the process proceeds to step S82. If not, the process proceeds to step S83.

[0157] [Step S82] The control unit 11 in the sending node stops packet transmission to the receiving node that is the source of the control packet requesting stop transmission. Then, the process returns to step S81. [Step S83] The control unit 11 in the transmitting node judges whether or not a control packet of a transmission stop request has been received at the Rx port. If a control packet of a transmission stop request has been received, the process proceeds to step S84. If not, the process repeats step S83.

[0158] [Step S84] The control unit 11 in the sending node cancels the suspension of packet transmission to the receiving node that is the source of the control packet of the request to cancel the transmission suspension, and then the process returns to step S81.

[0159] As described above, according to the present invention, in an HPC network using switches, the receiving node detects the congestion of the Tx buffer in the switch SW and performs congestion control without using pause packets when data congestion occurs. This makes it possible to avoid congestion while preventing packet transmission from being stopped at all nodes.

[0160] Furthermore, the present invention has the following advantages (1) to (8). (1) Since it will no longer be necessary to uniformly stop packets during data congestion, it is expected that transmission efficiency will improve.

[0161] (2) Since packets are not stopped uniformly but are controlled for each inter-node connection flow, the effect becomes greater as the number of connected nodes increases. (3) When constructing a large-scale network that connects many nodes with a multidimensional torus network virtually using Ethernet switches, it is necessary to cascade the Ethernet switches in multiple stages. In such a case, the present invention does not generate pause packets, so it is possible to suppress the compression of the transmission band caused by pause packets, and a significant improvement in transmission efficiency is expected.

[0162] (4) Since the monitoring process is distributed to the receiving side of the node, the target flow can be controlled in detail. (5) By having the receiving node that receives the packets identify the sending node that is causing the congestion, it becomes possible to fully utilize the bandwidth of the receiving node without placing restrictions on the bandwidth occupied by each sending node.

[0163] (6) By selectively specifying, for each node, the stopping of packet transmissions from a transmitting node that is causing congestion, stopping processing taking priority into consideration, or reducing the transmission rate, fine control can be performed according to the needs of the communication service, which is expected to improve the transmission rate.

[0164] (7) Since flow control can be performed directly from the receiving node, control response is improved and degradation of transmission efficiency can be suppressed. (8) The above effects can be achieved using relatively inexpensive commercially available Ethernet switches.

[0165] The communication device 1 and node 10 of the present invention described above can be realized by a computer. In this case, a program is provided that describes the processing contents of the functions that the communication device 1 and node 10 should have. By executing the program on a computer, the above processing functions are realized on the computer.

[0166] The program describing the processing contents can be recorded on a computer-readable recording medium. Examples of computer-readable recording media include magnetic storage units, optical disks, magneto-optical recording media, and semiconductor memories. Examples of magnetic storage units include hard disk drives (HDDs), flexible disks (FDs), and magnetic tapes. Examples of optical disks include CD-ROM / RWs. Examples of magneto-optical recording media include MOs (Magneto Optical disks).

[0167] When distributing a program, for example, a portable recording medium such as a CD-ROM on which the program is recorded is sold. Also, the program can be stored in the memory of a server computer and transferred from the server computer to other computers via a network.

[0168] A computer that executes a program stores, for example, a program recorded on a portable recording medium or a program transferred from a server computer in its own storage unit. The computer then reads the program from its own storage unit and executes processing according to the program. Note that the computer can also read the program directly from a portable recording medium and execute processing according to the program.

[0169] The computer can also execute processing according to the programs received each time the programs are transferred from a server computer connected via a network. At least a part of the above processing functions can also be realized by electronic circuits such as FPGA, DSP, ASIC, PLD, etc.

[0170] Although the embodiments have been described above, the configurations of the parts shown in the embodiments can be replaced with other parts having similar functions. Any other components or steps may be added. Furthermore, any two or more configurations (features) of the above-mentioned embodiments may be combined.

[0171] The present invention can be implemented even on networks other than Ethernet as long as the communication is capable of identifying the source device of the packet (communication in which the source address can be determined) and satisfies the requirements of the present invention.

[0172] Specifically, it can be widely applied to networks such as ATM (Asynchronous Transfer Mode) networks, digital access (DA-L2), frame relay, ARCNET (Attached Resource Computer Network), OSPF (Open Shortest Path First), etc. Furthermore, it can also be applied to embedded systems, such as embedded Ethernet. [Explanation of symbols]

[0173] 1, 1-1, 1-2 Communication equipment 1a Control section p0 communication port sw1 switch bf0 buffer

Claims

1. a communication port for receiving a packet transmitted from the switch; a control unit that monitors a reception frequency of the packets received at the communication port, detects whether there is a sign of congestion in a buffer in the switch based on the reception frequency, and when it detects that there is a sign of congestion in the buffer and before the buffer becomes congested, sends a request to stop transmission of the packets to a source device of the packets; A communication device having the above configuration.

2. 2. The communication device according to claim 1, wherein the control unit monitors the state in which the reception interval of the packets falls below a predetermined value as the reception frequency, and detects that there are signs of congestion in the buffer if the state in which the reception interval of the packets falls below the predetermined value continues for a predetermined period of time.

3. 2. The communication device according to claim 1, wherein the control unit monitors a reception rate of a valid data portion of the packet as the reception frequency, and detects a sign of congestion in the buffer when the reception rate is equal to or greater than a threshold.

4. 2. The communication device according to claim 1, wherein, when the control unit detects a sign of congestion in the buffer, the control unit sends the transmission stop request to the source device to stop transmission of the packets from the source device.

5. The communication device described in claim 1, wherein when the control unit detects signs of congestion in the buffer, it sends the transmission stop request with a priority attached to it to the source device, and based on the priority, outputs high priority packets to the source device and stops transmitting low priority packets.

6. 2. The communication device according to claim 1, wherein when the control unit detects signs of congestion in the buffer, it sends the transmission stop request to the source device and reduces the transmission rate of the packets from the source device.

7. The communication device described in claim 1, wherein when the control unit detects that signs of congestion in the buffer within the switch have been resolved based on the reception frequency, it sends a request to the source device of the packet to resume transmission stop of the packet, thereby restoring the packet transmission state to the state before the transmission stop request.

8. The communication device according to claim 7, wherein the control unit monitors the state in which the reception interval of the packets exceeds a predetermined value as the reception frequency, and detects that the signs of congestion in the buffer have been resolved when the state in which the reception interval of the packets exceeds the predetermined value continues for a predetermined period of time.

9. 8. The communication device according to claim 7, wherein the control unit monitors a reception rate of the valid data portion of the packet as the reception frequency, and detects that the sign of congestion in the buffer has been resolved when the reception rate falls below a threshold.

10. 2. The communication device according to claim 1, wherein the control unit sends the transmission stop request including a timer value that sets a transmission stop time, causes the source device of the packet to stop transmitting the packet during the transmission stop time, and resumes transmitting the packet after the transmission stop time has elapsed.

11. The communication device according to claim 1 , wherein the control unit monitors a length of the delimiter code of the packet, and detects that there is a sign of congestion when the length remains equal to or smaller than a threshold for a certain period of time.

12. The computer monitoring a frequency of reception of packets received at a communication port that receives packets transmitted from the switch; Detecting whether there is a sign of congestion of a buffer in the switch based on the reception frequency; when detecting a sign of congestion of the buffer and before the buffer becomes congested, sending a request to stop transmission of the packet to a source device of the packet; Communication methods.

Citation Information

Patent Citations

  • Packet exchange

    JP1994177913A

  • Congestion prevention method and packet communication system

    JP1995303117A

  • Congestion control system for ip packet switch and its method

    JP2001217867A

  • Packet transfer device

    JP2004159203A

  • Network congestion control system and method thereof

    JP2007174152A