小编给大家分享一下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如何编译安装”有了一定的了解,如果想了解更多相关知识,欢迎关注天达云行业资讯频道,感谢各位的阅读!