通信人家园

标题: intel DPDK的安装过程简述:  [查看完整版帖子] [打印本页]

时间:  2015-3-9 10:35
作者: zveno     标题: intel DPDK的安装过程简述:



2intel DPDK软件包安装
2.1、系统要求
一般不需要设置BIOS,但如果需要使用HPET timerpower management功能,则需要BIOS设置。
备注:HPET——high preciosion event timer,高精度时钟
2.2DPDK编译
需要的编译工具:
GNU make
coreutils: cmp, sed, grep, arch
gcc: versions 4.5.x or later is recommended. On some distributions,some specific
compiler flags and linker flags are enabledby default and affect performance (-
fstack-protector, for example). Pleaserefer to the documentation of your
distribution and to gcc -dumpspecs.
libc headers (glibc-devel.i686 / libc6-dev-i386; glibc-devel.x86_64
for 64-bit compilation)
Linux kernel headers or sources required to build kernel modules.(kerneldevel.
x86_64)
Additional packages required for 32-bit compilation on 64-bitsystems are:
glibc.i686, libgcc.i686, libstdc++.i686 andglibc-devel.i686
Python, version 2.6 or 2.7, to use various helper scripts includedin the Intel®
DPDK package
可选的工具:
Intel® C++ Compiler (icc). For installation, additional librariesmay be required.
See the icc Installation Guide found in theDocumentation directory under the
compiler installation. This release hasbeen tested using version 12.1.
libpcap headers and libraries (libpcap-devel) to compile and usethe libpcap-based
poll-mode driver. This driver is disabledby default and can be enabled by setting
CONFIG_RTE_LIBRTE_PMD_PCAP=y in the buildtime config file.
Linux kernel ersion>=2.6.33,本次试验安装是在ubuntu12.04TLS版本上的,kernelversion=3.13.0uname -r
Glibc>=2.7ldd--version),本次试验使用的是2.19
Kernel配置:在linux内核编译参数中,以下的参数需要配置,正常情况下大部分的发行版本以支持这些参数。
UIO support,
HUGETLBFS
PROC_PAGE_MONITOR support.
HPET and HPET_MMAP configuration options should also be enabled ifHPET
supportis required.





通信人家园 (https://www.txrjy.com/) Powered by C114