dpvs | high performance Layer-4 load balancer | TCP library
kandi X-RAY | dpvs Summary
kandi X-RAY | dpvs Summary
DPVS is a high performance Layer-4 load balancer based on DPDK. It's derived from Linux Virtual Server LVS and its modification alibaba/LVS. Notes: The name DPVS comes from "DPDK-LVS".
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of dpvs
dpvs Key Features
dpvs Examples and Code Snippets
Community Discussions
Trending Discussions on dpvs
QUESTION
DPVS recommends making use of dpdk-stable-18.11.2 for build with Makefile. But the current DPDK LTS version 18.11.11 supports meson-ninja build system along with Makefile system.
I've been experimenting with the code to port to a more recent DPDK version
that only supports meson-ninja instead of the deprecated Makefile system. My issue DPVS link issue is that I am unable to resolve the dependency issues when linking against the DPDK that is built using the meson-ninja. The same works without issues when I try to link against the DPDK 18.11 built using Makefiles. I am running a guest OS with NIC Virtio/E1000 using KVM-QEMU. Guest OS is Ubuntu 18.04 LTS (x64).
DPDK libraries are linked by DPVS project by dpdk.mk, and current linking options are:
...ANSWER
Answered 2021-Jan-25 at 17:06The issue you are facing is to due improper use of library linking. The easiest solution is to
- Download DPDK 18.11.11 LTS that supports meson.
- Build dpdk libraries and install to the desired path.
- modify dpvs
src/dpdk.mk
to check for libdpdk via pkg-conf - modify
src/makefile
to accommodate the changes for DPDK libraries
An explanation for the steps are briefly mentioned in section 3.24 Buidlign application with installed DPDK
[EDIT-1] note: Since there are no updates on the changes done to Makefile from @Anshul, I have created a push request to support the same.
diff for src/Makefile
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install dpvs
An alternative to the uio_pci_generic is igb_uio, which is moved to a separated repository dpdk-kmods.
A kernel module parameter carrier is added to rte_kni.ko since DPDK v18.11, and the default value for it is "off". We need to load rte_kni.ko with the extra parameter carrier=on to make KNI devices work properly.
It's simple, just set PKG_CONFIG_PATH and build it. Notes: Build dependencies may be needed, such as pkg-config(version 0.29.2+),automake, libnl3, libnl-genl-3.0, openssl, popt and numactl. You can install the missing dependencies by using the package manager of the system, e.g., yum install popt-devel (CentOS). Early pkg-config versions (v0.29.2 before) may cause dpvs build failure. If so, please upgrade this tool. Output files are installed to dpvs/bin.
Build dependencies may be needed, such as pkg-config(version 0.29.2+),automake, libnl3, libnl-genl-3.0, openssl, popt and numactl. You can install the missing dependencies by using the package manager of the system, e.g., yum install popt-devel (CentOS).
Early pkg-config versions (v0.29.2 before) may cause dpvs build failure. If so, please upgrade this tool.
dpvs is the main program.
dpip is the tool to set IP address, route, vlan, neigh, etc.
ipvsadm and keepalived come from LVS, both are modified.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page