Skip to content

dperf 啟動失敗 #435

Closed Answered by tryagain2023
tryagain2023 asked this question in Q&A
Mar 28, 2024 · 6 comments · 24 replies
Discussion options

You must be logged in to vote

您好,
.我將系統升級到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…

Replies: 6 comments 24 replies

Comment options

You must be logged in to vote
2 replies
@tryagain2023
Comment options

@pengjianzhang
Comment options

Comment options

You must be logged in to vote
1 reply
@tryagain2023
Comment options

Comment options

@tryagain2023
Comment options

@pengjianzhang
Comment options

@pengjianzhang
Comment options

@tryagain2023
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
16 replies
@tryagain2023
Comment options

@pengjianzhang
Comment options

@tryagain2023
Comment options

@tryagain2023
Comment options

@pengjianzhang
Comment options

Comment options

You must be logged in to vote
1 reply
@tryagain2023
Comment options

Answer selected by pengjianzhang
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants