欢迎光临
我们一直在努力

dpdk如何编译安装

小编给大家分享一下dpdk如何编译安装,希望大家阅读完这篇文章之后都有所收获,下面让我们一起去探讨吧!

ls x86_64-native-linuxapp-gcc/kmod

python tools/dpdk_bind.py –bind=igb_uio 0000:00:1f.6

export RTE_SDK=/dev/shm/dpdk

mkdir /mnt/huge

mount -t hugetlbfs nodev /mnt/huge

echo 64 > /sys/devices/system/node/node0/hugepages/hugepages-2048kB/nr_hugepages

cd examples/helloworld/

./build/helloworld -c f -n 4 –socket-mem=64

EAL: Detected 8 lcore(s) EAL: No free hugepages reported in hugepages-1048576kB EAL: Probing VFIO support… hello from core 1 hello from core 2 hello from core 3 hello from core 0

# ./build/helloworld -c f -n 4 --socket-mem=64
EAL: Detected 8 lcore(s)
EAL: No free hugepages reported in hugepages-1048576kB
EAL: Probing VFIO support...
hello from core 1
hello from core 2
hello from core 3
hello from core 0

dpdk编译安装

看完了这篇文章,相信你对“dpdk如何编译安装”有了一定的了解,如果想了解更多相关知识,欢迎关注云行业资讯频道,感谢各位的阅读!

赞(0)
【声明】:本博客不参与任何交易,也非中介,仅记录个人感兴趣的主机测评结果和优惠活动,内容均不作直接、间接、法定、约定的保证。访问本博客请务必遵守有关互联网的相关法律、规定与规则。一旦您访问本博客,即表示您已经知晓并接受了此声明通告。