Re: VPP on FreeBSD Stable 14.3

From: Tom Jones <thj_at_freebsd.org>
Date: Thu, 02 Oct 2025 13:15:47 UTC

On Thu, Oct 2, 2025, at 13:43, Tom Smyth wrote:
> Hi folks,
>
> I cant use the Bhyve Hypervisor just yet   but I would like to use
> Freebsd as a VPP Guest on Proxmox,
>
> I think perhaps the the missing /etc/vpp/startup.conf with sensible
> defaults for small vms might help, Ill do some testing and see how I
> geton,
>
>
> the concern I would have is that a new user of FreeBSD with VPP I can
> say the install process is more simple which is nice, but the
> consumption of all resources of the vm  might need to be curtailed
>
> so allow vpp to run on (Number of Cores -1) so there is resources
> available for normal FreeBSD stuff,
>

Sitting in a tight loop is the default behaviour of vpp (so is using a single core). You can override this with a startup.conf file like:

unix { 
        interactive
        cli-listen /run/vpp/cli1.sock
        gid $(id -g)
        poll-sleep-usec 100 
        # exec /home/tj/code/vpp/vpp-github/startup.vpp
}

cpu {
        main-core 0
        corelist-workers 1-7
}

Documentation on the dials to turn for vpp is a bit lacking.

Tom