> For the complete documentation index, see [llms.txt](https://docs.cennso.com/components/fpp/3.2/llms.txt) (all documentation: [llms.txt](https://docs.cennso.com/llms.txt)). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cennso.com/components/fpp/3.2/benchmarking.md).

# Performance

This page lists measured forwarding rates of Fast Path Provider (FPP). FPP runs Vector Packet Processing (VPP) on each node, and VPP forwards the Data Plane traffic.

The following setup is the recommended way to run FPP and the Connectivity Gateway (CGW). This page calls it the baseline:

- The uplink uses single root I/O virtualization (SR-IOV) with the Data Plane Development Kit (DPDK).
- The bond mode is `ActiveBackup`.
- Each VPP thread has its own physical core. This page calls this setup dedicated cores.

The page shows how the baseline rate grows with more VPP worker threads. It measures two paths: the SR-IOV uplink between two nodes, and memif (in-memory interface) inside one node. The page then shows two changes to the baseline:

- VPP threads on hyper-threading siblings, the two logical CPUs of one physical core
- AF_XDP, the Linux express data path socket, in place of SR-IOV

The figures come from two test runs:

| Item | FPP 3.1.0 test run | FPP 3.0.3 test run |
|---|---|---|
| Date | 2026-09-15 and 2026-09-16 | 2026-02-25 |
| What they measure | SR-IOV DPDK uplink with `ActiveBackup`, memif, hyper-threading siblings | SR-IOV DPDK with a static bond compared to AF_XDP with a Link Aggregation Control Protocol (LACP) bond |
| Nodes | Intel Xeon E5-2683 v3 | Supermicro SYS-2029TP-HC1R, Intel Xeon Silver 4216 |
| Details | [FPP 3.1.0 test nodes](#fpp-310-test-nodes) | [FPP 3.0.3 test nodes](#fpp-303-test-nodes) |

Use the FPP 3.1.0 test run as the reference. The FPP 3.0.3 test run was earlier, on other nodes and with another bond mode. Compare the FPP 3.0.3 figures only with other FPP 3.0.3 figures.

The figures apply to the hardware and traffic in [Test environment](#test-environment). Use them to compare setups. Measure on your own hardware before you plan capacity.

## Key results

The following list sums up the results:

- On the SR-IOV uplink with dedicated cores, two worker threads forward 9.20 million packets per second (Mpps) per node. With four and eight workers, the rate stays at 13.70 Mpps per node.
- On memif with dedicated cores, VPP forwards 12.05 Mpps with two workers, at least 23.93 Mpps with four, and at least 27.95 Mpps with eight.
- On hyper-threading siblings, each thread forwards less, but each physical core forwards more. With two workers, a sibling thread forwards 54% to 67% of the rate of a dedicated-core thread. See [Hyper-threading siblings](#hyper-threading-siblings).
- In the FPP 3.0.3 test run, SR-IOV DPDK forwarded 10.98 Mpps of small packets. AF_XDP on macvlan-xdp forwarded 1.07 Mpps, about ten times less. See [SR-IOV compared to AF_XDP](#sr-iov-compared-to-af_xdp).
- Use kernel 6.x or later for macvlan-xdp, as [AF_XDP requirements](https://docs.cennso.com/components/fpp/3.2/requirements.md#af_xdp-requirements) states. On interfaces shared with Kubernetes, AF_XDP forwarded 0.30 Mpps of small packets on kernel 5.15 with FPP 3.0.2. On kernel 6.8.0 with FPP 3.0.3, it forwarded 1.72 Mpps.
- Some figures stop at a limit before VPP runs out of threads. See [What the figures depend on](#what-the-figures-depend-on).

## Thread allocation

Two settings set the number of VPP threads: **spec.resources.cpu** and **spec.vpp.allowHtSiblings**. VPP runs one main thread and the worker threads. The FPP 3.1.0 test run uses two, four, and eight worker threads, on dedicated cores and on siblings. [Configure resource usage](https://docs.cennso.com/components/fpp/3.2/deployment-guides/resource-configuration.md#hyper-threading-siblings) lists the CPU that each setup takes.

The test run measures two paths:

- On the uplink path, traffic generators on two nodes send traffic to each other. Every packet crosses the SR-IOV uplink once, and VPP on each node forwards it once.
- On the memif path, all traffic stays on one node and passes through four CGW instances in turn. VPP forwards each packet five times, and no packet reaches the uplink.

The FPP 3.1.0 tables count every packet that VPP forwards. On the memif path, each packet counts five times.

## SR-IOV DPDK uplink

The following table lists the rate that VPP on each node forwarded across the uplink. The test used small packets and dedicated cores. The physical cores include the main thread:

| Worker threads | Physical cores | Forwarding rate | Per physical core |
|---|---|---|---|
| 2 | 3 | 9.20 Mpps | 3.07 Mpps |
| 4 | 5 | 13.70 Mpps | 2.74 Mpps |
| 8 | 9 | 13.70 Mpps | 1.52 Mpps |

With four and eight workers, the rate stays at 13.70 Mpps. The threads can forward more than these two rows show. See [What the figures depend on](#what-the-figures-depend-on).

With the Internet mix (IMIX) profile, four workers forward 5.51 Mpps in total, or 14.85 Gb/s of payload. At this rate, the IMIX packets fill the 10 Gb/s link in each direction.

![Forwarding rate on the SR-IOV DPDK uplink](https://docs.cennso.com/api/assets/components/fpp/3.2/assets/fpp-uplink-scaling.svg)

## memif path

The following table lists the rate that VPP forwarded on the memif path, with dedicated cores:

| Worker threads | Physical cores | Forwarding rate | Per physical core |
|---|---|---|---|
| 2 | 3 | 12.05 Mpps | 4.02 Mpps |
| 4 | 5 | 23.93 Mpps | 4.79 Mpps |
| 8 | 9 | 27.95 Mpps | 3.11 Mpps |

With four and eight workers, the generators and the queue layout set the limit. The real rate can be higher. See [What the figures depend on](#what-the-figures-depend-on).

![Forwarding rate on the memif path](https://docs.cennso.com/api/assets/components/fpp/3.2/assets/fpp-memif-scaling.svg)

## Hyper-threading siblings

A physical core has two logical CPUs, called hyper-threading siblings. When **spec.vpp.allowHtSiblings** is `true`, each VPP thread takes one sibling instead of a whole physical core. The following table compares dedicated cores with siblings on the uplink:

| Worker threads | Dedicated cores | Siblings | Sibling share of dedicated rate | Dedicated per physical core | Siblings per physical core |
|---|---|---|---|---|---|
| 2 | 9.20 Mpps | 4.94 Mpps | 54% | 3.07 Mpps | 3.29 Mpps |
| 4 | 13.70 Mpps | 9.92 Mpps | 72% | 2.74 Mpps | 3.97 Mpps |
| 8 | 13.70 Mpps | 13.59 Mpps | 99% | 1.52 Mpps | 3.02 Mpps |

With four and eight workers, the dedicated-core rate stays at 13.70 Mpps, so the sibling share looks higher than it is. With the IMIX profile and four workers, both setups reach 5.51 Mpps, which fills the 10 Gb/s link.

The following table compares dedicated cores with siblings on memif:

| Worker threads | Dedicated cores | Siblings | Sibling share of dedicated rate | Dedicated per physical core | Siblings per physical core |
|---|---|---|---|---|---|
| 2 | 12.05 Mpps | 8.02 Mpps | 67% | 4.02 Mpps | 5.34 Mpps |
| 4 | 23.93 Mpps | 17.04 Mpps | 71% | 4.79 Mpps | 6.82 Mpps |
| 8 | 27.95 Mpps | 22.77 Mpps | 81% | 3.11 Mpps | 5.06 Mpps |

The following chart shows both setups on both paths:

![Forwarding rate against worker threads](https://docs.cennso.com/api/assets/components/fpp/3.2/assets/fpp-thread-scaling.svg)

Only the two-worker rows reach no limit. In these rows, a sibling thread forwards 67% of the rate of a dedicated-core thread on memif. On the uplink, it forwards 54%.

Per physical core, siblings forward more on both paths. With two workers, siblings forward 1.33 times the rate per core of dedicated cores on memif, and 1.07 times on the uplink. With four workers, the figures are 1.42 on memif and 1.45 on the uplink. The uplink figure is too high, because the dedicated-core row stays at 13.70 Mpps. The memif figure can be too high or too low, because the test setup limits both four-worker rows.

![Forwarding rate per physical core](https://docs.cennso.com/api/assets/components/fpp/3.2/assets/fpp-rate-per-core.svg)

With eight workers, siblings also reach the uplink limit: 13.59 Mpps compared to 13.70 Mpps on dedicated cores. They use half the physical cores, 4.5 compared to 9.

If a fixed number of threads must reach a target rate, use dedicated cores.

> [!IMPORTANT]
> The schema marks **spec.vpp.allowHtSiblings** for testing purposes only. Set it to `true` only in test environments.

## SR-IOV compared to AF_XDP

This comparison comes from the FPP 3.0.3 test run. It ran on other nodes with one fixed CPU setup. The SR-IOV DPDK deployment used a static bond with `XOR` hashing, which spreads traffic over two 10 Gb/s interfaces. Its large-packet figures are higher than one `ActiveBackup` link can carry. See [Bonding parameters](https://docs.cennso.com/components/fpp/3.2/crs.md#bonding-parameters).

### Configuration

Both deployments use the same VPP configuration:

```yaml
buffersPerNuma: 256000
useHugepages: true
heapSize: "3G"
resources:
  cpu: "10"
  memory: "2Gi"
  hugepages-2Mi: "5Gi"
```

The SR-IOV deployment sets the following values for each virtual function (VF):

```yaml
numRxQueues: 4
numTxQueues: 4
numRxDesc: 4096
numTxDesc: 4096
```

The SR-IOV deployment sets the VPP bond mode to `XOR`, which is a static bond.

The AF_XDP deployment does not bond the uplinks in VPP. It uses one Linux host interface, and that interface can be a bond.

### SR-IOV DPDK with a static bond

The following table lists the results for the SR-IOV DPDK deployment with a static `XOR` bond over the dedicated interfaces `wan0` and `wan1`:

| Profile | Offered rate | Receive rate | Packet loss | Bandwidth |
|---|---|---|---|---|
| Small packets | 10.99 Mpps | 10.98 Mpps | 0.00% | 1.93 Gb/s |
| IMIX | 5.52 Mpps | 5.52 Mpps | 0.10% | 14.87 Gb/s |
| Large packets | 1.67 Mpps | 1.67 Mpps | 0.00% | 18.37 Gb/s |

With large packets, the deployment reaches 92% of the 20 Gb/s bond capacity with no loss.

### AF_XDP with macvlan-xdp

The following table lists the results for the AF_XDP deployment with macvlan-xdp over a dedicated LACP bond of `wan0` and `wan1`:

| Profile | Offered rate | Receive rate | Packet loss | Bandwidth |
|---|---|---|---|---|
| Small packets | 1.08 Mpps | 1.07 Mpps | 0.17% | 0.19 Gb/s |
| IMIX | 1.00 Mpps | 1.00 Mpps | 0.15% | 2.69 Gb/s |
| Large packets | 0.91 Mpps | 0.91 Mpps | 0.26% | 9.99 Gb/s |

### Comparison

The following table compares the two deployments:

| Criteria | SR-IOV DPDK, static bond | macvlan-xdp, LACP bond |
|---|---|---|
| Maximum packet rate | 10.98 Mpps | 1.07 Mpps |
| Maximum throughput | 18.37 Gb/s | 9.99 Gb/s |
| Host interface failover | Handled | Handled |
| Requires SR-IOV VFs | Yes | No |
| Requires dedicated interfaces | Yes, for the full rate | No |
| Minimum kernel | Any | 6.x or later, see [AF_XDP requirements](https://docs.cennso.com/components/fpp/3.2/requirements.md#af_xdp-requirements) |

## What the figures depend on

Three limits stop some FPP 3.1.0 figures before VPP runs out of threads. The following table lists them:

| Limit | Affected figures | Effect |
|---|---|---|
| Uplink rate stays at about 6.85 Mpps per direction per node | Uplink, four and eight workers on dedicated cores, and eight workers on siblings | At this rate, the `Tx packet drops (dpdk tx failure)` counter of the uplink interface grew on both nodes. Packets missed on receive stayed below 0.01%. The number of VF queues equals the number of workers, and eight workers with eight queues reach the same rate. |
| No receive-side scaling on memif | memif, four and eight workers | Each stream stays on the queue of the thread that sends it. Three generator streams per direction do not spread evenly over the VPP worker threads or over the four memif queues of each CGW. The busiest queue sets the limit. |
| 10 Gb/s link speed | Uplink, four workers with the IMIX profile | Both setups reach 5.51 Mpps, which fills the 10 Gb/s link in each direction with IMIX packets. The 14.85 Gb/s figure counts payload bytes only. |

## Method

Each figure comes from one throughput search. The search raises the offered rate until packet loss goes above the loss budget. It then narrows the range between the last rate that passed and the first rate that failed. It stops when the step is smaller than the convergence value, which is a share of the start rate. Each figure is a single measurement.

The following table lists the parameters:

| Parameter | FPP 3.1.0, uplink | FPP 3.1.0, memif | FPP 3.0.3 |
|---|---|---|---|
| Start rate | 200 thousand packets per second (kpps) | 100 kpps | not recorded |
| Convergence | 0.25 of the start rate | 0.1 of the start rate | not recorded |
| Hold time per step | 1 minute | 1 minute | 1 minute |
| Packet loss budget | 0.3% or less | 0.3% or less | 0.3% or less |
| Concurrent sessions | 256,000 | 256,000 | 256,000 |
| Session setup rate | 5,120 per second | 5,120 per second | 5,120 per second |
| Flows per session | 1 | 1 | not recorded |

The test runs use the following traffic profiles:

- Small packets: payloads of 20 to 24 bytes.
- IMIX: a mix of 40-, 576-, and 1,374-byte packets.
- Large packets: near the maximum transmission unit (MTU), about 1,372 bytes. Only the FPP 3.0.3 test run uses this profile.

The Gb/s figures count payload bytes only, without packet headers and Ethernet framing.

## Test environment

The two test runs used different nodes. The following sections describe them.

### FPP 3.1.0 test nodes

The FPP 3.1.0 test run uses two nodes for the uplink path and one node for the memif path. The following table lists their specification:

| Component | Specification |
|---|---|
| CPU | Intel Xeon E5-2683 v3 @ 2.00 GHz, 2 sockets, 14 cores per socket, 56 logical CPUs |
| Memory | 256 GB, 48 GiB HugePages (2Mi) |
| Network interface card (NIC) | Intel X710 for 10GbE SFP+, SR-IOV VFs bound to `vfio-pci` |
| Uplink | One 10 Gb/s link per node, VPP bond in `ActiveBackup` |
| FPP | 3.1.0 |
| Kubernetes | v1.34.4+k0s |
| OS | Ubuntu 22.04.5, kernel 6.8.0-138-generic |
| Load generator | Cennso Test Tools (CTT) 1.16.0-rc.2 |

The following diagram shows the uplink path. The generator on each node sends and receives traffic at the same time. It connects to VPP on the same node over memif. The two VPP instances send the traffic to each other across the SR-IOV uplink:

```likec4 viewId=uplink
// Test environment for the FPP thread scaling benchmark.
// Rendered on the Performance page under Observability.

specification {
  // Cennso brand colors
  color cnc-blue #1E75BC
  color ctt-orange #FF5D18

  // Cluster: visual grouping for components that share a deployment context
  element cluster {
    style {
      color cnc-blue
      multiple true
    }
  }

  // CNC component (Cennso Network Core)
  element cnc-component {
    style {
      color cnc-blue
      size md
      textSize lg
      iconSize lg
    }
  }

  // CTT component (Cennso Test Tools)
  element ctt-component {
    style {
      color ctt-orange
      size md
      textSize lg
      iconSize lg
    }
  }

  tag protocol
  tag transport

  relationship directLink {
    head odiamond
  }
  // Traffic in both directions at once
  relationship duplex {
    head normal
    tail normal
  }
}

model {

  // ────────────────────────────────────────────────────────────
  // UPLINK PATH
  // Two nodes. Every packet crosses the SR-IOV uplink once.
  // ────────────────────────────────────────────────────────────
  nodeA = cluster 'Node A' {
    description 'Data Plane host with the switch under test and the left generator'

    core = ctt-component 'CTT Core' {
      description 'Sets up 256,000 sessions at 5,120 per second and provisions the generators'
    }

    gen = ctt-component 'CTT Generator, left' {
      description 'One generator with eight memif queues'
    }

    fpp = cnc-component 'FPP' {
      description 'Data Plane switch under test. Owns an SR-IOV VF of the uplink'
      icon https://www.cennso.com/assets/diagrams/icons/fpp.svg
    }
  }

  nodeB = cluster 'Node B' {
    description 'Data Plane host with the switch under test and the right generator'

    fpp = cnc-component 'FPP' {
      description 'Data Plane switch under test. Owns an SR-IOV VF of the uplink'
      icon https://www.cennso.com/assets/diagrams/icons/fpp.svg
    }

    gen = ctt-component 'CTT Generator, right' {
      description 'One generator with eight memif queues'
    }
  }

  nodeA.core -> nodeA.gen 'Provisions' #protocol
  nodeA.core -> nodeB.gen 'Provisions' #protocol
  nodeA.gen -[duplex]-> nodeA.fpp 'Sends and receives on memif' #transport
  nodeA.fpp -[duplex]-> nodeB.fpp 'Forwards on the SR-IOV uplink, 10 Gb/s' #transport
  nodeB.fpp -[duplex]-> nodeB.gen 'Sends and receives on memif' #transport

  // ────────────────────────────────────────────────────────────
  // MEMIF PATH
  // One node. The switch forwards each packet five times.
  // ────────────────────────────────────────────────────────────
  snake = cluster 'Node A' {
    description 'Data Plane host that keeps all traffic local. No packet reaches the uplink'

    core = ctt-component 'CTT Core' {
      description 'Sets up 256,000 sessions at 5,120 per second and provisions the generators'
    }

    genLeft = ctt-component 'CTT Generators, left' {
      description 'Three generators with one memif queue each'
    }

    fpp = cnc-component 'FPP' {
      description 'Data Plane switch under test. Connects every hop of the chain'
      icon https://www.cennso.com/assets/diagrams/icons/fpp.svg
    }

    cgw1 = cnc-component 'CGW 1' {
      description 'First Connectivity Gateway of the chain, four memif queues per network'
      icon https://www.cennso.com/assets/diagrams/icons/cgw.svg
    }

    cgw2 = cnc-component 'CGW 2' {
      description 'Second Connectivity Gateway of the chain'
      icon https://www.cennso.com/assets/diagrams/icons/cgw.svg
    }

    cgw3 = cnc-component 'CGW 3' {
      description 'Third Connectivity Gateway of the chain'
      icon https://www.cennso.com/assets/diagrams/icons/cgw.svg
    }

    cgw4 = cnc-component 'CGW 4' {
      description 'Last Connectivity Gateway of the chain, four memif queues per network'
      icon https://www.cennso.com/assets/diagrams/icons/cgw.svg
    }

    genRight = ctt-component 'CTT Generators, right' {
      description 'Three generators with one memif queue each'
    }
  }

  snake.core -> snake.genLeft 'Provisions' #protocol
  snake.core -> snake.genRight 'Provisions' #protocol
  snake.genLeft -[directLink]-> snake.fpp 'Offers load on memif' #transport
  snake.fpp -[directLink]-> snake.cgw1 'memif' #transport
  snake.cgw1 -[directLink]-> snake.fpp 'memif' #transport
  snake.fpp -[directLink]-> snake.cgw2 'memif' #transport
  snake.cgw2 -[directLink]-> snake.fpp 'memif' #transport
  snake.fpp -[directLink]-> snake.cgw3 'memif' #transport
  snake.cgw3 -[directLink]-> snake.fpp 'memif' #transport
  snake.fpp -[directLink]-> snake.cgw4 'memif' #transport
  snake.cgw4 -[directLink]-> snake.fpp 'memif' #transport
  snake.fpp -[directLink]-> snake.genRight 'memif' #transport
}

views {
  view uplink {
    title 'Uplink path'
    include nodeA, nodeA.*, nodeB, nodeB.*
    exclude nodeA.core
    autoLayout LeftRight
  }

  // Upload direction. Download takes the same chain in reverse.
  // Backward steps (<-) keep the generators left of FPP and the CGWs right of it.
  dynamic view memif {
    title 'memif path'
    snake.genLeft -> snake.fpp 'Upload enters the switch'
    snake.fpp -> snake.cgw1 'Pass 1'
    snake.fpp <- snake.cgw1 'Back to the switch'
    snake.fpp -> snake.cgw2 'Pass 2'
    snake.fpp <- snake.cgw2 'Back to the switch'
    snake.fpp -> snake.cgw3 'Pass 3'
    snake.fpp <- snake.cgw3 'Back to the switch'
    snake.fpp -> snake.cgw4 'Pass 4'
    snake.fpp <- snake.cgw4 'Back to the switch'
    snake.genRight <- snake.fpp 'Pass 5'
    autoLayout LeftRight
  }
}
```

The following diagram shows the memif path. Three generators on each side send traffic to VPP. VPP passes every packet through the four CGW instances in turn and then to the generators on the other side. The numbers show the order of the steps for upload traffic. Download traffic goes through the chain in the reverse order:

```likec4 viewId=memif
// Test environment for the FPP thread scaling benchmark.
// Rendered on the Performance page under Observability.

specification {
  // Cennso brand colors
  color cnc-blue #1E75BC
  color ctt-orange #FF5D18

  // Cluster: visual grouping for components that share a deployment context
  element cluster {
    style {
      color cnc-blue
      multiple true
    }
  }

  // CNC component (Cennso Network Core)
  element cnc-component {
    style {
      color cnc-blue
      size md
      textSize lg
      iconSize lg
    }
  }

  // CTT component (Cennso Test Tools)
  element ctt-component {
    style {
      color ctt-orange
      size md
      textSize lg
      iconSize lg
    }
  }

  tag protocol
  tag transport

  relationship directLink {
    head odiamond
  }
  // Traffic in both directions at once
  relationship duplex {
    head normal
    tail normal
  }
}

model {

  // ────────────────────────────────────────────────────────────
  // UPLINK PATH
  // Two nodes. Every packet crosses the SR-IOV uplink once.
  // ────────────────────────────────────────────────────────────
  nodeA = cluster 'Node A' {
    description 'Data Plane host with the switch under test and the left generator'

    core = ctt-component 'CTT Core' {
      description 'Sets up 256,000 sessions at 5,120 per second and provisions the generators'
    }

    gen = ctt-component 'CTT Generator, left' {
      description 'One generator with eight memif queues'
    }

    fpp = cnc-component 'FPP' {
      description 'Data Plane switch under test. Owns an SR-IOV VF of the uplink'
      icon https://www.cennso.com/assets/diagrams/icons/fpp.svg
    }
  }

  nodeB = cluster 'Node B' {
    description 'Data Plane host with the switch under test and the right generator'

    fpp = cnc-component 'FPP' {
      description 'Data Plane switch under test. Owns an SR-IOV VF of the uplink'
      icon https://www.cennso.com/assets/diagrams/icons/fpp.svg
    }

    gen = ctt-component 'CTT Generator, right' {
      description 'One generator with eight memif queues'
    }
  }

  nodeA.core -> nodeA.gen 'Provisions' #protocol
  nodeA.core -> nodeB.gen 'Provisions' #protocol
  nodeA.gen -[duplex]-> nodeA.fpp 'Sends and receives on memif' #transport
  nodeA.fpp -[duplex]-> nodeB.fpp 'Forwards on the SR-IOV uplink, 10 Gb/s' #transport
  nodeB.fpp -[duplex]-> nodeB.gen 'Sends and receives on memif' #transport

  // ────────────────────────────────────────────────────────────
  // MEMIF PATH
  // One node. The switch forwards each packet five times.
  // ────────────────────────────────────────────────────────────
  snake = cluster 'Node A' {
    description 'Data Plane host that keeps all traffic local. No packet reaches the uplink'

    core = ctt-component 'CTT Core' {
      description 'Sets up 256,000 sessions at 5,120 per second and provisions the generators'
    }

    genLeft = ctt-component 'CTT Generators, left' {
      description 'Three generators with one memif queue each'
    }

    fpp = cnc-component 'FPP' {
      description 'Data Plane switch under test. Connects every hop of the chain'
      icon https://www.cennso.com/assets/diagrams/icons/fpp.svg
    }

    cgw1 = cnc-component 'CGW 1' {
      description 'First Connectivity Gateway of the chain, four memif queues per network'
      icon https://www.cennso.com/assets/diagrams/icons/cgw.svg
    }

    cgw2 = cnc-component 'CGW 2' {
      description 'Second Connectivity Gateway of the chain'
      icon https://www.cennso.com/assets/diagrams/icons/cgw.svg
    }

    cgw3 = cnc-component 'CGW 3' {
      description 'Third Connectivity Gateway of the chain'
      icon https://www.cennso.com/assets/diagrams/icons/cgw.svg
    }

    cgw4 = cnc-component 'CGW 4' {
      description 'Last Connectivity Gateway of the chain, four memif queues per network'
      icon https://www.cennso.com/assets/diagrams/icons/cgw.svg
    }

    genRight = ctt-component 'CTT Generators, right' {
      description 'Three generators with one memif queue each'
    }
  }

  snake.core -> snake.genLeft 'Provisions' #protocol
  snake.core -> snake.genRight 'Provisions' #protocol
  snake.genLeft -[directLink]-> snake.fpp 'Offers load on memif' #transport
  snake.fpp -[directLink]-> snake.cgw1 'memif' #transport
  snake.cgw1 -[directLink]-> snake.fpp 'memif' #transport
  snake.fpp -[directLink]-> snake.cgw2 'memif' #transport
  snake.cgw2 -[directLink]-> snake.fpp 'memif' #transport
  snake.fpp -[directLink]-> snake.cgw3 'memif' #transport
  snake.cgw3 -[directLink]-> snake.fpp 'memif' #transport
  snake.fpp -[directLink]-> snake.cgw4 'memif' #transport
  snake.cgw4 -[directLink]-> snake.fpp 'memif' #transport
  snake.fpp -[directLink]-> snake.genRight 'memif' #transport
}

views {
  view uplink {
    title 'Uplink path'
    include nodeA, nodeA.*, nodeB, nodeB.*
    exclude nodeA.core
    autoLayout LeftRight
  }

  // Upload direction. Download takes the same chain in reverse.
  // Backward steps (<-) keep the generators left of FPP and the CGWs right of it.
  dynamic view memif {
    title 'memif path'
    snake.genLeft -> snake.fpp 'Upload enters the switch'
    snake.fpp -> snake.cgw1 'Pass 1'
    snake.fpp <- snake.cgw1 'Back to the switch'
    snake.fpp -> snake.cgw2 'Pass 2'
    snake.fpp <- snake.cgw2 'Back to the switch'
    snake.fpp -> snake.cgw3 'Pass 3'
    snake.fpp <- snake.cgw3 'Back to the switch'
    snake.fpp -> snake.cgw4 'Pass 4'
    snake.fpp <- snake.cgw4 'Back to the switch'
    snake.genRight <- snake.fpp 'Pass 5'
    autoLayout LeftRight
  }
}
```

### FPP 3.0.3 test nodes

The FPP 3.0.3 test run uses the following hardware and software:

| Component | Specification |
|---|---|
| Server | Supermicro SYS-2029TP-HC1R |
| CPU | Intel Xeon Silver 4216 @ 2.10 GHz, 32 cores, 2 Non-Uniform Memory Access (NUMA) nodes |
| Memory | 128 GB, 40 GiB HugePages (2Mi) |
| NIC | Intel X710 10GbE SFP+, 4 ports per node |
| FPP | 3.0.3 (image 3.0.4-rc.1) |
| FPP Operator | 3.0.3 |
| Kubernetes | v1.33.4+k0s |
| OS | Ubuntu 22.04, kernel 6.8.0-10x-generic |

The following diagram shows the SR-IOV deployment:

![SR-IOV deployment](https://docs.cennso.com/api/assets/components/fpp/3.2/assets/fpp-uplink-benchmark-dpdk.svg)

The following diagram shows the AF_XDP deployment:

![AF_XDP deployment](https://docs.cennso.com/api/assets/components/fpp/3.2/assets/fpp-uplink-benchmark-af-xdp.svg)

Each node uses two bonded interfaces, one for cluster networking and one for the FPP Data Plane:

| Bond | Members | Role | Notes |
|---|---|---|---|
| bond0 | lan0 + lan1 | Kubernetes management | Shared with cluster networking, about 4 Gb/s effective |
| bond1 | wan0 + wan1 | FPP Data Plane | Dedicated, no Kubernetes traffic |

The network requires LACP bonds, so both bonds are 802.3ad LACP bonds on the host. LACP does not run on VFs. VPP with DPDK takes VFs from the bond members and runs a static `XOR` bond that matches the host LACP bond.
