dperf 啟動失敗 #435
-
您好,我想使用dperf,但是啟動失敗了,已配置了大頁,也綁定了網卡,但是還是無法啟動, //// 所用的conf檔是改自test/performance/bandwith裡的
//// 執行結果
//// 配置大頁的設定
//// 已綁定網卡
|
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 24 replies
-
是用root运行吗? |
Beta Was this translation helpful? Give feedback.
-
参考大页配置 |
Beta Was this translation helpful? Give feedback.
-
请参考 https://stackoverflow.com/questions/8213671/mmap-operation-not-permitted |
Beta Was this translation helpful? Give feedback.
-
您好,我參考dperf.org的performance testing basic,測個bandwitch看看dperf是否能運作起來, 環境: //// server端設定
//// server端過程的訊息
//// cleint端設定
//// cleint 端過程的訊息
|
Beta Was this translation helpful? Give feedback.
-
mode server mode client |
Beta Was this translation helpful? Give feedback.
-
用DPDK-23.11,intel i219是23.07才支持的 |
Beta Was this translation helpful? Give feedback.
您好,
.我將系統升級到ubuntu 23.10,也將dpdk 更新到23.11,
實驗1結果OK,但是實驗2 還是無法ping 或是arping。
.後來改用了虛擬機器,dperf cleint與server就可以互通了!除了改用虛擬網卡wmxnet3,所用的步驟方式都實體機器的一樣。
.以下分享虛擬機器上的的操作:
//// 虛擬機器設定,將e1000改成wmxnet3 , ubuntu 22.04
參考:
https://blog.csdn.net/m0_68678128/article/details/136356460
//// 配置 hugepages
#vi /etc/default/grub
GRUB_CMDLINE_LINUX="nopku transparent_hugepage=never default_hugepagesz=1G hugepagesz=1G hugepages=4 intel_iommu=on"
#update-grub
//// 以上重開機使其生效
////安裝DPDK等套件
#apt update
#apt install dpdk dpdk-dev dpdk-kmods-dkms
#apt install git net-tools
//// 編譯dperf
#git clone https://github.com/baidu/dperf
#cd dperf
#export PKG_CONFIG_PATH=/usr/lib/x86_64-linux-gnu/pkgconfig
#make
//// 綁定網卡
#ifconi…