> For the complete documentation index, see [llms.txt](https://docs.cennso.com/cennso/netcap/latest/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/cennso/netcap/latest/technical-reference/performance.md).

# Performance

This document presents the performance evaluation of NetCap under a controlled test environment. It includes details about the hardware setup, resource allocation, and test methodology, followed by benchmark results that highlight how traffic capture streams impact packet processing throughput.

## Test environment configuration

The System Under Test (SUT) container contains three sequential instances of CGW (FPP instance mode). The capture streams are attached to the left interface of CGW-central.

![CGW2 capture benchmark scheme](https://docs.cennso.com/api/assets/cennso/netcap/latest/assets/cgw2-netcap-benchmark.svg)

Hardware configuration:

* CPU: 1x Intel Xeon Gold 6314U Processor 32-Core @ 2.30GHz
* RAM: 512GB RAM
* Net: 4x E810-C 25Gbps

FPP switch resources:

* CPU: 18
* Memory: 4Gi
* Hugepages-2Mi: 9Gi

CGW instances resources:

* CPU: 6
* Memory: 16Gi
* Hugepages-2Mi: 1Gi

Test parameters:

* Benchmark: Throughput Binary Search
* Sessions: 256000
* Acceptable loss: 0.3%
* Traffic profile: PPS, packets from 20 to 24 bytes

## Results

It is not recommended to use more than 4 streams simultaneously:

| Number of streams | Upload, pps | Download, pps | Total, pps | Total Drop Rate | Performance loss from baseline |
|---|---|---|---|---|---|
| No streams | 2.94 Mpps | 2.95 Mpps | 5.89 Mpps | 0.28% | - |
| Interface stream without filter | 2.93 Mpps | 2.92 Mpps | 5.85 Mpps | 0.30% | -0.67% |
| 1 | 2.85 Mpps | 2.85 Mpps | 5.70 Mpps | 0.10% | -3.22% |
| 2 | 2.80 Mpps | 2.80 Mpps | 5.60 Mpps | 0.14% | -4.92% |
| 3 | 2.89 Mpps | 2.89 Mpps | 5.77 Mpps | 0.42% | -2.03% |
| 4 | 2.89 Mpps | 2.89 Mpps | 5.79 Mpps | 0.27% | -1.69% |
| 5 | 2.47 Mpps | 2.47 Mpps | 4.94 Mpps | 0.18% | -16.12% |
| 6 | 1.82 Mpps | 1.82 Mpps | 3.64 Mpps | 0.16% | -38.20% |
| 7 | 1.56 Mpps | 1.56 Mpps | 3.12 Mpps | 0.07% | -47.02% |
| 8 | 1.31 Mpps | 1.31 Mpps | 2.61 Mpps | 0.09% | -55.68% |
| 12 | 522.03 Kpps | 520.60 Kpps | 1.04 Mpps | 0.37% | -82.34% |
| 16 | 337.75 Kpps | 337.46 Kpps | 675.21 Kpps | 0.03% | -88.53% |
| 20 | 229.70 Kpps | 230.53 Kpps | 460.23 Kpps | 0.18% | -92.19% |
| 24 | 106.21 Kpps | 106.29 Kpps | 212.50 Kpps | 0.02% | -96.40% |
| 32 | 43.71 Kpps | 43.59 Kpps | 87.31 Kpps | 0.00% | -98.52% |
