METHOD AND DEVICE FOR IMPROVING BANDWIDTH USE IN A COMMUNICATION NETWORK

DE602019060086T2Active Publication Date: 2024-10-09DRAJVNETS LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
DE602019060086
Authority / Receiving Office
DE · DE
Patent Type
Patents
Current Assignee / Owner
Priority Date
2018-01-28
Filing Date
2019-01-19
Publication Date
2024-10-09
Estimated Expiration
2039-01-19

AI Technical Summary

Technical Problem

Current communication network systems face bottlenecks due to high CPU resource utilization from increased network interface bandwidth and complex data plane operations, particularly in cloud data centers, where traditional NICs are limited by PCI bandwidth, and require significant host-side changes for offloading protocols.

Method used

A communication system with a smart NIC equipped with a logic/programmable processor and local memory, using a communication bus to forward only relevant data from packets for networking decisions, forming MetaPackets with descriptors like memory locations, timestamps, and statistics, and applying an aging mechanism to optimize bandwidth usage.

Benefits of technology

This approach reduces bandwidth requirements by forwarding only necessary data, enhancing system performance and allowing for efficient processing and routing without overburdening CPUs, while supporting both transparent and explicit modes of operation.

✦ Generated by Eureka AI based on patent content.
Patent Text Reader
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present disclosure relates generally to the field of communication network throughput, and in particular, to a device and a method for alleviating bottlenecks in communication networks, thereby enabling achievement of an increase in the communication systems' throughput.BACKGROUND

[0002] Every computer included in a data network, operating either as a client or as a server, requires a network interface card (hereinafter "NIC") in order to access the network. A NIC is usually a separate adapter card that is mounted onto one of the server's motherboard expansion slots. However, most newer computers have the NIC built into the motherboard, in which case a separate card is not required.

[0003] For a client computer, one may use an inexpensive built-in NIC, because a client computer is used to connect only one user to the network, contrary to the use of a NIC in a server computer which connects many network users to the server.

[0004] Smart NICs may be used in cloud data center servers to boost performance by offloading CPUs in servers by performing network datapath processing. With the recent shift in cloud data center networking driven by software-defined networking (SDN) and network functions virtualization (NFV), a new class of offload NIC is needed - namely a smart NIC.

[0005] Specifically, there are three major reasons for which a smart offload NIC, or a smart NIC, would be required: 1) The complexity of the server-based networking data plane has increased dramatically with the introduction of overlay tunneling protocols such as VXLAN, and virtual switching with complex actions. 2) Increasing network interface bandwidths means that performing these functions in software creates an untenable load on the CPU resources, leaving little or no CPU left over to run applications. 3) A key requirement of SDN is that the networking data plane must remain fungible, so fixed-function offload technologies cannot be applied.

[0006] Data networking involves both hardware and software. On the software side, networking protocols are often designed for current (or near-term) hardware capabilities. Protocols often become widely adapted while at the same time networking hardware improves. Processors become more efficient while communication mediums gain reliability and increased capacity. However, over time, networking protocols may become less suitable for the hardware that is being developed.

[0007] Moreover, some capabilities of networking hardware have not been fully appreciated and realized. Smart NICs, for example FPGA (Field Programmable Gate Array) NICs, have become more common. These newer interfaces, like traditional NICs, provide physical and media connectivity. They also include additional processing capability, sometimes in the form of reconfigurable circuitry (e.g., FPGAs). These processing-augmented NICs may allow features of some protocols to be offloaded from the host's CPU (Central Processing Unit) to the NIC. Some smart NICs may even allow an entire transport protocol to be fully offloaded from a host's CPU to the smart NIC. However, this approach often requires significant host-side changes. For example, host-side software might need to be re-written in order to enable communicating directly with its NIC via a custom application programming interface (API) rather than via a standard transport protocol.

[0008] US 20160381189 describes a smart NIC with features that enable the smart NIC to operate as an in-line NIC between a host's NIC and a network. The smart NIC provides pass-through transmission of network flows for the host so that packets sent to and from the host would pass through the smart NIC. As a pass-through point, the smart NIC is able to accelerate performance of the pass-through network flows by analyzing packets, inserting packets, dropping packets, inserting or recognizing congestion information, and the like.

[0009] However, the main bottleneck in network applications is generally the I / O bandwidth. In a case wherein NICs are installed in servers, it is the PCI (Peripheral Component Interconnect) bandwidth that limits the maximal throughput of the system. A conventional PCI is a local computer bus used for connecting hardware devices in a computer. PCI is part of the PCI Local Bus standard. The PCI bus supports the functions found on a processor bus but in a standardized format that is independent of any particular processor's native bus.

[0010] The present disclosure seeks to solve the drawbacks described above. US 2017 / 250953 A1 relates to detecting and mitigating network intrusions. Local inspection of packets may be performed by reconfigurable / reprogrammable "smart" network interfaces (NICs) at each of the hosts. Local inspection involves identifying potentially suspect packet features based on statistical prevalence of recurring commonalities among the packets; pre-defined threat patterns are not required. For network-wide coherence, each host / NIC uses the same packet-identifying and occurrence-measuring algorithms. An overlay or control server collects and combines the local occurrence-measures to derive the network-wide occurrence-measures. The network-wide occurrences can be used to automatically detect and mitigate completely new types of attack packets. US 2015 / 381494 A1 discloses a method for offloading packet encapsulation for an overlay network. The method, at a virtualization software of a host, sends a mapping table of the overlay network to a physical network interface controller (NIC) associated with the host. The mapping table maps the identification of each of a set of virtual machine (VM) of a tenant on the host to an identification of a tunnel on the overlay network. The method, at the virtualization software, receives a packet from a VM of the tenant. The method sends the packet to the physical NIC. The method, at the physical NIC, encapsulates the packet for transmission over the overlay network by using the mapping table. The method also tags the packet by the virtualization software as a packet that requires encapsulation for transmission in the overlay network prior to sending the packet to the physical NIC. EP 2 574 000 A2 relates to a data processing system comprising a host computing device supporting an operating system and a network protocol stack, the network protocol stack being operable to support one or more transport streams by performing transport stream protocol processing of data packets received over the streams. A network interface device is arranged to couple the host computing device to a network and operable to receive data packets over a transport stream supported by the network protocol stack, and a message engine configured to perform upper layer protocol processing. The network interface device is configured to, on receiving a data packet over one of a predetermined set of transport streams, pass the payload data of the data packet to the message engine and the message engine is configured to, in response to receiving the payload data, identify and process any upper layer messages in the payload data in accordance with the upper layer protocol. EP 2 337 305 A2 discloses a header processing engine for a network interface device having a buffer for holding one or more data packets each having one or more headers. The header processing engine comprises a command memory, a header recognizer configured to parse the headers of a data packet stored at the buffer so as to identify the type and position of each header in the data packet, a constructor unit having read access to the headers of the data packet, and a processor including an execution pipeline. The header recognizer is further configured to, for each header: (a) select in dependence on the type of the header one or more commands stored at the command memory, and (b) form one or more messages for the constructor unit identifying the selected commands and the position of the header in the data packet, the commands selected for the headers of the data packet being collectively such as to, if executed by the constructor unit, cause the constructor unit to generate a data structure which is such as to be operable to cause the processor to effect processing of the headers of the data packet without accessing the data packet at the buffer, and the constructor unit being configured to receive the messages and execute the commands identified therein.SUMMARY

[0011] The disclosure may be summarized by referring to the appended claims. In particular, the invention is defined only in the appended independent claims. Embodiments or examples mentioned in the following description that do not necessarily fall under the scope of the appended claims are to be construed as comparative examples useful for understanding the present invention.

[0012] It is an object of the present disclosure to provide a system and a method for improving performance of data processing.

[0013] It is an object of the present disclosure to provide a system and a method for forwarding only a portion of the data comprised in data packets received, thereby enabling saving of bandwidth, and consequently improving the system performance.

[0014] Other objects of the present disclosure will become apparent from the following description.

[0015] According to a first embodiment of the present disclosure, there is provided a communication system comprising at least one smart network interface card ("NIC") provided with a logic / programmable processor and a local memory, and a computing element, wherein a communication bus is used to connect the smart NIC and the computing element in order to enable forwarding of data there-between, wherein the system is characterized in that the smart NIC is configured to receive data packets, to extract data therefrom and to forward to the computing element along the communication bus less than all data comprised in the received data packets, and wherein the data being forwarded preferably comprises data required for making networking decisions (e.g. forwarding, routing) that relate to a respective data packet.

[0016] The received data packets are stored at the local memory of the smart NIC.

[0017] The extracted data is retrieved from data packet headers and / or from specific pre-defined locations of the data packet payloads.

[0018] The data being forwarded to the computing element in dedicated descriptors which form together a MetaPacket.

[0019] The dedicated descriptors comprise one or more members of the group that consists of: (1) memory location indications of where the packets are stored, (2) timestamps, (3) statistics, and (4) packets' validity flags.

[0020] According to an embodiment, the processor of the smart NIC is further configured to identify among the data packets received, one or more data packets which their entire content is required (e.g. packets which should be forwarded in their entirety to the software application CPU for carrying out control and / or management tasks), and to forward the identified data packets towards the computing element in their entirety.

[0021] In accordance with another embodiment, the processor of the smart NIC is further configured to apply an aging mechanism to packets that are stored at the local memory (e.g. by using the timestamp defined with respect to the descriptors referred to hereinabove).

[0022] By still another embodiment, upon processing a MetaPacket by the software application residing at the computing element, the processed MetaPacket is forwarded along a reverse path of the communication bus, and used by the smart NIC processor to extract the corresponding data packet from the local memory and to process it according to the descriptors comprised in the processed MetaPacket (e.g. by using the address stored within the MetaPacket while taking into account other fields of that packet).

[0023] According to yet another embodiment, upon determining in accordance with updated information contained in the MetaPacket that the data packet should be forwarded from the smart NIC through an egress port which is different from the ingress port via which that data packet was received, forwarding the data packet to a driver, which in turn will forward the packet to its appropriate egress port.

[0024] In accordance with another embodiment, the communication system provided further comprising a driver configured to support two modes of operation, a transparent mode and an explicit mode.

[0025] When operating in the transparent mode, the driver is configured to reconstruct MetaPackets into virtual packets by using the metadata, while leaving the remaining of the packet nullified, and when operating in the explicit mode, the driver is configured to forward MetaPackets to a smart NIC aware application, which in turn is configured to operate on MetaPackets received from the driver.

[0026] According to another aspect of the disclosure not falling under the scope of the claims, there is provided a method for use in a communication system that comprises at least one smart network interface card ("NIC") provided with a logic / programmable processor and a local memory, and a computing element, and wherein a communication bus is used to connect the smart NIC and the computing element to enable forwarding of data there-between. The method comprises the steps of: (i) extracting metadata from a packet that arrives to the smart NIC and placing the extracted metadata into a descriptors MetaPacket structure; (ii) forwarding the descriptors MetaPacket structure to a software application CPU; (iii) processing the descriptors MetaPacket structure by the software application CPU and returning the processed descriptors MetaPacket structure to the smart NIC; (iv) Retrieving a respective data packet that had been stored from the local memory; (v) Re-writing a header of the data packet according to updated metadata; and (vi) Forwarding the data packet via an egress port.

[0027] By still another embodiment of this aspect of the disclosure, the descriptors MetaPacket structure comprises at least one of: data packet's header (e.g. ETH, IP, UDP, TCP, etc.) to enable routing the packet, and an address within the local memory of the stored data packet to enable extracting the data packet later on from the local memory.BRIEF DESCRIPTION OF THE DRAWINGS

[0028] The accompanying drawings, which are incorporated herein and constitute a part of this specification, illustrate several embodiments of the disclosure and, together with the description, serve to explain the principles of the embodiments disclosed herein. FIG. 1 demonstrates a block diagram of a system construed in accordance with an embodiment of the present invention; FIG. 2 illustrates a zoom-in view of part of the system demonstrated in FIG. 1; and FIG. 3 demonstrates an example of a method for carrying out an embodiment of the present invention. DESCRIPTION OF EXEMPLARY EMBODIMENTS

[0029] Some of the specific details and values in the following detailed description refer to certain examples of the disclosure. However, this description is provided only by way of example. The scope of the invention is defined by the appended claims.

[0030] FIG. 1 demonstrates a block diagram of a system (100) construed in accordance with an embodiment of the present invention. System 100 comprises a plurality of smart NICs (110), each preferably being a NIC provided with a logic / programmable processor and a local memory, computing elements (e.g. computing nodes) 120, and one or more buses 130 connecting there-between, such as the communication buses PCIE, OpenCAPI and the like.

[0031] FIG. 2 illustrates a zoom-in view of part of the system 100 demonstrated in FIG. 1, presenting a smart NIC 210, a computing element 220 and a bus 230 connecting between these two elements. In this example, a PCI 235 (Peripheral Component Interconnect) is used at each end of the communication bus. PCI is part of the PCI Local Bus standard. The PCI bus supports the functions found on a processor bus but in a standardized format that is independent of any particular processor's native bus.

[0032] Smart NIC 210 as depicted in the example illustrated in FIG. 2, comprises 2 X 100 Gb ports (240), configured as ingress / egress ports for receiving and forwarding communication packets, a processor 250 and optionally, a local memory 260.

[0033] When a data packet arrives at one of the ports 240, it is forwarded to processor 250, which is the smart NIC processing unit, for its processing. During this processing step the packet is stripped off from data which is not required for making networking decisions related to that packet. Most of the data that is relevant for taking packet forwarding / processing related decisions reside within the packet header, or at specific place(s) of the packet payload, in most cases there would be no need to transfer the entire packet from the smart NIC to the decision-making processor. Consequently, a substantial part of the bandwidth that would have been required had the entire packet been transferred, would now be saved. This in turn contributes significantly to the improvement of the overall system performance.

[0034] The original arriving packet is stored at local memory 260, whereas the data relevant for taking the forwarding / processing related decisions that has been stripped off from the arriving data, is forwarded towards computing element 220 along bus 230. This relevant data is forwarded in a dedicated descriptor that is referred to as MetaPacket.

[0035] As explained hereinabove, the MetaPacket includes all required descriptors to enable smart NIC 210 to process the packet at a later stage, and to do so at a fast manner, after the computing element 220 has completed the operations associated with that packet. These descriptors include one or more of the following: (1) the memory location of where the packet was stored, (2) timestamps, (3) statistics, (4) packet validity flags, and the like.

[0036] Thus, since only relevant data of each packet is forwarded over the two-way bus 230 (the packet descriptors), this greatly reduces the amount of data transferred to and from an application, which can either be a smart NIC aware application (280) or a non-smart NIC aware application (290), and in general makes the transfer performance to be dependent only on the data packets' arrival rate rather than to be dependent on both, the data packets' arrival rate as well as their size distribution.

[0037] In cases where the entire packet content is required (e.g. packets which should be forwarded to the processor for carrying out control and / or management tasks) a whitelist mechanism may preferably be implemented so that data packets that are whitelisted, shall be forwarded in their entirety (in their original format), and will be referred to later on as "whitelist packets". The term "whitelist" as used herein is used to denote a list or a register of entities that provide a particular privilege, service, mobility, access or recognition. Entities on this list will be accepted, approved and / or recognized.

[0038] By yet another embodiment, the processor of the smart NIC is further configured to apply to the data packets stored at the local memory, an aging mechanism (using the timestamp defined with respect to the descriptors referred to hereinabove), which will be cleared from the local memory upon their timeout, if no explicit request has been made to clear the packets from the local memory (e.g. to send the packets, reset the aging mechanism, or to explicitly delete the packets from the memory) before their respective timeout.

[0039] When a processed MetaPacket that has been forwarded along the reverse path of the two-way bus, reaches the smart NIC processor, a corresponding data packet may then be extracted from the local memory and processed according to the descriptors comprised in the MetaPacket (e.g. by using the address stored within the MetaPacket while taking into account other fields of that packet).

[0040] The extracted corresponding data packet may then be modified and processed in accordance with the updated information contained in the MetaPacket (e.g. the egress port through which is should be forwarded, whether the data packet should be discarded, etc.). In cases where the egress port is other than the smart NIC ingress port, the packet will be transferred to driver 270 which will then forward the data packet to its appropriate egress port.

[0041] FIG. 3 demonstrates an example of a method for carrying out an embodiment of the present invention. The method exemplified comprises the following steps.

[0042] Extracting metadata from a data packet that arrives at the smart NIC processor and placing the extracted metadata into a descriptors MetaPacket structure (step 300). The data that is placed into the MetaPacket structure, may include for example the following: headers (ETH, IP, UDP, TCP, etc.) to enable routing the packet; packet memory address location to enable extracting the packet later on from the local memory.

[0043] On the other hand, whitelisted data packets are forwarded to a CPU and are not stored at the local memory, while other data packets are stored at the local memory. The MetaPacket as explained above is constructed from a respective packet's data and the corresponding memory address which is added in order to enable retrieval of the packet from the memory later on. After constructing the MetaPacket, it is forwarded to an application CPU (280, Fig.2), so that MetaPacket / VirtualPacket is processed by the respective application and relevant metadata is edited / added (step 310). The respective MetaPacket / VirtualPacket is then returned to the smart NIC (step 320).

[0044] A packet that should be forwarded to an egress port is processed by the smart NIC processor (step 330) by: a. Extracting the data packet from the local memory by using the respective stored address (step 340); b. Re-writing the data packer's header according to updated metadata (step 350); and c. Forwarding the data packet away via an appropriate interface (step 360). If the packet should be forwarded via a different NIC, it is first forwarded to driver 270, and the latter is used to forward it to a relevant NIC.

[0045] According to still another embodiment of the present invention the smart NIC driver is preferably configured to support two modes of operation, namely a transparent mode and an explicit mode.

[0046] When operating in the transparent mode, the smart NIC driver is configured to reconstruct MetaPackets into virtual packets by using the metadata, while leaving the remaining of the packet nullified.

[0047] In the reverse direction, the driver transforms the virtual packets into MetaPackets. Thereby, implementing the transparent mode enables non-smart NIC aware applications to run while using the smart NIC logic.

[0048] On the other hand, in the explicit mode, the smart NIC driver forwards the MetaPackets to a smart NIC aware application, which will then operate on the MetaPackets received from the driver.

[0049] According to another embodiment of the disclosure, the method described hereinabove can be used in conjunction with different bus traffic optimization strategies, such as grouping packets, in-lining, etc.

Claims

1. A communication system (100) comprising at least one smart network interface card, NIC, (210) provided with a logic / programmable processor (250) and a local memory (260), and a computing element (220), wherein a communication bus (230) is used to connect said smart NIC (210) and said computing element (220) to enable forwarding data there-between, wherein said smart NIC (210) is configured to receive a data packet, store said received data packet at the local memory (260), z extract data relevant for taking forwarding / processing related decisions, wherein the extracted data includes one or more descriptors, wherein said one or more descriptors is one or more members selected from among a group that consists of: (1) a memory location where said data packet was stored, (2) a timestamp, (3) statistics, (4) a packet validity flag, and forward the one or more descriptors to said computing element (220) along said communication bus (230), thereby forwarding less than all of said data packet to said computing element; wherein the computing element (220) is configured to process said descriptors, and to return the processed descriptors to the smart NIC (210), wherein said communication system (100) is further configured to retrieve the data packet that has been stored at the smart NIC local memory (260), to re-write the retrieved data packet's header according to the processed descriptors, and to forward the data packet via an egress port in accordance to the re-written header.

2. The system of claim 1, wherein the smart NIC processor is further configured to receive a plurality of data packets and to identify one or more data packets from among the plurality of data packets received, of which their entire content is required, and to forward said identified data packets towards the computing element in their entirety.

3. The system of claim 1, wherein the smart NIC processor is further configured to apply an aging mechanism to packets that are stored at its local memory.

4. The system of claim 1, wherein upon processing a MetaPacket by a software application residing at the computing element, the processed MetaPacket is forwarded along a reverse path of said communication bus, to be used by the smart NIC processor in extracting a corresponding data packet from the local memory and processing it according to the descriptors comprised in the processed MetaPacket.

5. The system of claim 1, wherein upon determining in accordance with the processed descriptors that the data packet should be forwarded from the smart NIC through an egress port which is other than an ingress port via which that data packet was received, forwarding the data packet to a driver which in turn forwards the data packet to an appropriate egress port.

6. The system of claim 1, further comprising a driver configured to support two modes of operation, a transparent mode and an explicit mode.

7. The system of claim 6, further comprising a driver configured to reconstruct MetaPackets by using metadata associated therewith, while leaving the remaining of the packet nullified.

8. The system of claim 6, further comprising a driver configured to forward MetaPackets to the smart NIC, which in turn is configured to operate on the MetaPackets received from the driver.

9. A method for use in a communication system that comprises at least one smart network interface card, NIC, (210) provided with a logic / programmable processor (250), a local memory (260), and a computing element (220), and wherein a communication bus (230) is used to connect said smart NIC and said computing element to enable forwarding of data there-between, said method comprises the steps of: (i) receiving at said smart NIC a data packet, storing said packet at said local memory and extracting data relevant for taking forwarding / processing related decisions from a data packet that arrives at the smart NIC, and ; (ii) forwarding to said computing element along said communication bus the extracted data including one or more descriptors, wherein said one or more descriptors is one or more members selected from among a group that consists of: (1) a memory location where said data packet was stored, (2) a timestamp, (3) statistics, (4) a packet validity flag, thereby forwarding less than all of said data packet to said computing element; (iii) processing the descriptors by the computing element and returning the processed descriptors to the smart NIC; (iv) retrieving at the smart NIC the data packet that has been stored at the smart NIC local memory; (v) re-writing the retrieved data packet's header according to the processed descriptors; and (vi) forwarding the data packet via an egress port in accordance to the re-written header.

10. The method of claim 9, wherein said one or more descriptors comprises at least one of: a data packet's header and an address within the local memory of the stored data packet.