通信人家园

 找回密码
 注册

只需一步,快速开始

短信验证,便捷登录

搜索

军衔等级:

  新兵

注册:2008-1-3
跳转到指定楼层
1# 大 中 小
发表于 2015-3-9 10:35:46 |只看该作者 |倒序浏览


2、intel DPDK软件包安装
2.1、系统要求
一般不需要设置BIOS,但如果需要使用HPET timer和power management功能,则需要BIOS设置。
备注:HPET——high preciosion event timer,高精度时钟
2.2、DPDK编译
需要的编译工具:
• 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.0(uname -r)
Glibc>=2.7(ldd--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.

举报本楼

您需要登录后才可以回帖 登录 | 注册 |

版规|手机版|C114 ( 沪ICP备12002291号-1 )|联系我们 |网站地图  

GMT+8, 2026-10-29 06:06 , Processed in 0.113710 second(s), 15 queries , Gzip On.

Copyright © 1999-2025 C114 All Rights Reserved

Discuz Licensed

回顶部