For AI agents: this documentation is indexed for you in llms.txt, and all of it in /llms.txt. Every page is also available as markdown: append .md to its address.

You are reading Fast Path Provider 2.11, an older release. The newest release is 3.2. Go to 3.2

Configuration

After deploying Fast Path Provider (FPP), you can further configure the resource usage.

Memory configuration

It is advised to have the following resources allocated for VPPSwitch pods for the most common cases:

yaml

The FPP 1.0 version is recommended to have the following settings:

yaml

CPU pinning

By default, FPP relies on Kubernetes CPU ManagerOpens in a new tab running in the static mode. In this mode, FPP Manager pods use Guaranteed QoS where requests are the same as the limits. As a result, the cpuset cgroup configuration is used to assign cores to the VPP process through startup.conf. You can check the cores assigned to the VPP processes in VPP switch pods using the following command:

bash

The output shows which CPU cores are pinned for the VPP process:

text

The output shows that the VPP main thread is pinned to core 27 (main-core 27). If not set, the first available core is used. The line corelist-workers 28,29,30,31 means VPP automatically assigns those CPU cores to worker threads.

Max CPU cores

Another approach to VPP CPU allocation is to use vpp.maxCPUCores without the isolcpus kernel parameter. In this case, as in a regular FPP deployment, the Guaranteed QoS class is used for FPP pods so that Kubernetes CPU Manager provides it with a dedicated cpuset. In this case, the FPP pod needs to be assigned more CPU than used for VPP itself, for example, 14:

yaml

In this case, the FPP pod has 7 physical cores assigned, but only 5 of them will be used for VPP.

bash

See the output example:

text

This output lists the CPU cores assigned to the FPP pod by the Kubernetes CPU Manager. In this case, cores 1–7 and 49–55 are allocated to the pod. From these, 5 cores will be used by VPP, as set by vpp.maxCPUCores: "5".

Resulting startup.conf:

sh

Cores 6 and 7 will be used by the Linux scheduler to run other processes than VPP, most importantly, kernel threads that are created to serve TAP interfaces (vhost-<PID>).