baidu / dperf

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

[Bug]running the default test report address conflict error #467

Closed pascal-lc closed 3 months ago

pascal-lc commented 4 months ago

Describe the bug dperf build was finishied without error. I run the default test report conflict then exit.

# root user
./build/dperf -c test/http/server-cps.conf
Error: client and server address conflict

server-cps.conf

mode        server
cpu         0
duration    10m
port        0000:1b:00.0    6.6.241.27   6.6.241.1
client      6.6.241.1       254
client      6.6.242.1       254
server      6.6.241.27      1
listen      80              1

client-cps.conf

cat test/http/client-cps.conf 
mode        client
cpu         0
duration    60s
cps         10k
port        0000:1b:00.0    6.6.241.27   6.6.241.1
client      6.6.241.100     2
server      6.6.241.11      1
listen      80              1

enviroment

./build/dperf -v
1.7.0
RTE_SDK=dpdk-stable-19.11
RTE_TARGET=arm64-armv8a-linuxapp-gcc
lspci -s 01:00.0 -k
01:00.0 Ethernet controller: Intel Corporation 82599ES 10-Gigabit SFI/SFP+ Network Connection (rev 01)
    Subsystem: Intel Corporation Ethernet Server Adapter X520-1
    Kernel driver in use: igb_uio
    Kernel modules: ixgbe
cat /proc/meminfo | grep -i hugepage
AnonHugePages:         0 kB
ShmemHugePages:        0 kB
HugePages_Total:       4
HugePages_Free:        4
HugePages_Rsvd:        0
HugePages_Surp:        0
Hugepagesize:     524288 kB
cat /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages
1024
cat /sys/kernel/mm/hugepages/hugepages-524288kB/nr_hugepages
4

Operation System

pengjianzhang commented 4 months ago
client      6.6.241.1       254
server      6.6.241.27      1

The server IP(241.27) is in the client IP range(241.1-241.254). There is a bug. Thanks.

pengjianzhang commented 3 months ago

fixed