1) I'm trying to get VPP up and running in a Ubuntu KVM VM in an
OpenStack environment. However I have trouble even starting it. I've
installed the packages from binary (latest master) but the service fails
to start.


ok ... after you installed the packages, you might need a reboot. VPP installs /etc/sysctl.d/80-vpp.conf to automagically reserve huge pages at startup. But this is only activated at boot.


*"Main heap allocation failure!"* is printed in
/var/log/upstart/vpp.log so I was thinking it might have something do to
with the HugePages settings, but lowering the amount of requested pages
in the config does not help. Also it works without issues in VirtualBox
which had even fewer pages.

From memory you have to make sure to put the heapsize parameter in the right place, I found appending to the end the safest.

echo -e "heapsize 64M" | sudo tee -a /etc/vpp/startup.conf


Is there something specific that must be done to get VPP running in a
KVM VM?


I use libvirt as a vagrant provider all the time, so no ... it should be fine.

Ray K
_______________________________________________
vpp-dev mailing list
[email protected]
https://lists.fd.io/mailman/listinfo/vpp-dev

Reply via email to