baidu / dperf

dperf is a 100Gbps network load tester.
https://dperf.org
Apache License 2.0
4.62k stars 471 forks source link

请问服务配置文件无法启动解决办法 #451

Closed njfds closed 1 month ago

njfds commented 1 month ago

server无法启动,大页都开启(512M大页开了128个),也绑定到了dpdk。请教专家是否知道解决的办法呢 image

dpdk-devbind.py --bind=vfio-pci 0000:7d:00.0 dpdk-devbind.py --bind=vfio-pci 0000:bd:00.0 Notice: 0000:7d:00.0 already bound to driver vfio-pci, skipping Notice: 0000:bd:00.0 already bound to driver vfio-pci, skipping [root@localhost dperf-main]# ./build/dperf -c server-nat.conf EAL: Requested device 0000:bd:00.0 cannot be used EAL: Bus (pci) probe failed. not enough ports available: avail 0 require 1 port init fail dpdk init fail [root@localhost dperf-main]# cat server-nat.conf mode server cpu 96-111 socket_mem 0,0,0,10240 duration 1d

payload_size 1

protocol http

port pci addr gateway(target ip) target-mac

port 0000:bd:00.0 2.2.2.2 1.1.1.1 8c:2a:8e:ff:62:90

port 0000:81:00.0 2.2.2.2 10.0.0.1 8c:2a:8e:55:73:ff

client 1.1.1.1 1 server 2.2.2.2 16 listen 80 1