hottub.patents
US 12,293,231 B2#3554525 Most CitedActiveUnited States (USPTO)Utility

Packet processing load balancer

0Forward Citations (#3554525 Global)
0.0/yrCitation Velocity (#3554525 Global)
0.00Citation PageRank (#3554525 Global)
6Prior Art Cited
8Structured Claims
0Drawings / Sheets

Abstract

Examples described herein include a device interface; a first set of one or more processing units; and a second set of one or more processing units. In some examples, the first set of one or more processing units are to perform heavy flow detection for packets of a flow and the second set of one or more processing units are to perform processing of packets of a heavy flow. In some examples, the first set of one or more processing units and second set of one or more processing units are different. In some examples, the first set of one or more processing units is to allocate pointers to packets associated with the heavy flow to a first set of one or more queues of a load balancer and the load balancer is to allocate the packets associated with the heavy flow to one or more processing units of the second set of one or more processing units based, at least in part on a packet receive rate of the packets associated with the heavy flow.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 6 · Forward citations: 0.

Claims (8)

  1. Claim 1Independent Claim

    A method comprising: processing packets of a heavy flow by: performing heavy flow detection in a network interface device and a first set of one or more processing units, wherein a flow comprises a heavy flow based on a receive rate of packets of the flow over a period of time at the network interface device and a first level, wherein the performing heavy flow detection comprises determining a byte count of the packets of the flow at the network interface device and performing binary tree traversal using the first set of one or more processing units and wherein at least one processing unit of the first set of one or more processing units manages a hash-table backed binary tree for the flow and performing the processing of the packets of the heavy flow by a second set of one or more processing units, wherein the first set of one or more processing units and the second set of one or more processing units are different.

  2. Claim 2Depends on #1

    The method of claim 1, comprising: allocating pointers to packets associated with the heavy flow to a first set of one or more queues of a load balancer and the load balancer allocating the packets associated with the heavy flow to one or more processing units of the second set of one or more processing units based, at least in part on a packet receive rate of the packets associated with the heavy flow.

  3. Claim 3Depends on #2

    The method of claim 2, comprising at least one processing unit of the first set of one or more processing units: providing pointers to packets of a non-heavy flow to a second set of one or more queues of the load balancer, wherein a second flow comprises a non-heavy flow based on a receive rate of packets of the second flow over a period of time and a second level and the load balancer allocating pointers to packets of the non-heavy flow to a third set of one or more processing units, wherein the third set of one or more processing units is different than the second set of one or more processing units.

  4. Claim 4Depends on #2

    The method of claim 2, wherein the load balancer comprises a dynamic load balancer.

  5. Claim 5Depends on #1

    The method of claim 1, wherein the performing heavy flow detection comprises performing a Nitrosketch scheme using the network interface device and the first set of one or more processing units.

  6. Claim 6Depends on #1

    The method of claim 1, wherein the packets are distributed among the first set of one or more processing units using receive side scaling (RSS).

  7. Claim 7Depends on #1

    The method of claim 1, comprising: the second set of one or more processing units providing pointers to processed packets to a load balancer and the load balancer performing re-ordering the processed packets and making the processed packets available for access by a third set of one or more processing units.

  8. Claim 8Independent Claim

    An apparatus comprising: a device interface; a first set of one or more processing units; and a second set of one or more processing units, wherein: the first set of one or more processing units are to perform heavy flow detection for packets of a flow and the second set of one or more processing units are to perform processing of packets of a heavy flow, wherein: the first set of one or more processing units and the second set of one or more processing units are different, the flow comprises the heavy flow based on a receive rate of the packets of the flow over a period of time and a first level, the perform heavy flow detection comprises determine a byte count of the packets of the flow at a network interface device and perform binary tree traversal using the first set of one or more processing units, and at least one processing unit of the first set of one or more processing units is to manage a hash-table backed binary tree for the flow to perform the heavy flow detection.

Technical Overview & Description

PRIORITY This application claims the benefit of priority to Patent Cooperation Treaty (PCT) Application No. PCT/CN2021/110831 filed Aug. 5, 2021. The entire content of that application is incorporated by reference. BACKGROUND In a network interface device, Transmission Control Protocol (TCP) packets are received for many different connections. TCP connections can include TCP packets provided in a TCP session between two devices where multiple TCP packets are transmitted with the same IP addresses (e.g., destination and source) and ports (e.g., destination and source). Some TCP connections are long lived and generate a copious amounts of traffic. Some TCP connections are short lived and generate sparse amounts of traffic. If a single central processor unit (CPU) is allocated to process traffic, the single CPU can quickly become overburdened when faced with large amounts of traffic, leading to an increase in time to complete processing a packet. To alleviate this, network interface devices attempt to spread the processing of network traffic to multiple CPUs. There are known techniques for balancing packet processing of traffic across a multiple cores. A known technique for distributing network traffic to different CPU cores is to use Receive Side Scaling (RSS). RSS provides a manner of distributing flows among a set of cores. RSS distributes network traffic to cores in a statistical way by use of a hashing calculation across multiple connections and by use of an indirection table. The number of hash buckets can correspond to a number of cores and corresponding queues in use. The hash-based distribution works well for many traffic flows. However, in some cases, if the set of flows has some long lived high traffic flows, the core selected to process the flow can become overloaded, which can increase latency of packet processing. A known technique uses a proxy or distributor core to distribute networking flows to multiple cores. Using a core as proxy to distribute flows

Cited By — Indexed Forward Citations (0 of 0 total)

No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.

References Cited — Backward Prior Art (6)

PatentTitleYearCitations

Non-Patent Literature (10)

  • Vakili et al.,
  • “
  • Hierarchical Heavy Hitter Detection Under Unknown Models
  • ”
  • , Apr. 2018, IEEE, pp. 6917-6921. (Year: 2018).
  • Huang, Muhuan, et al.,
  • “
  • A Scalable, High-Performance Customized Priority Queue
  • ”
  • , Hewlett Packard Labs, Sep. 3, 2014, 4 pages.