Hi Guys,

I’m trying to test VPP configuration with iperf3 and I running into the 
following issue.
•         Iperf3 client is able to make a connection with the server, but the 
client receives data for the first 0-1 second and then it does not receive any 
traffic from the server. The bitrate is zero after that.

Here’s my startup.conf and vcl.conf

STARTUP.CONF

unix {
  nodaemon
  log /var/log/vpp/vpp.log
  full-coredump
  cli-listen /run/vpp/cli.sock
  gid vpp

  ## run vpp in the interactive mode
  # interactive

  ## do not use colors in terminal output
  # nocolor

  ## do not display banner
  # nobanner
}


api-segment {
  gid vpp
}

socksvr {
  default
}

dpdk {
  uio-driver vfio-pci
  dev 0000:00:06.0 {
    name eth1
  }
}

buffers {
  buffers-per-numa 65536
  default data-size 2048
}

cpu {
  main-core 0
  workers 1
}

session {
  evt_qs_memfd_seg
}

VCL.CONF
vcl {
  rx-fifo-size 800000
  tx-fifo-size 800000
  app-scope-local
  app-scope-global
  api-socket-name /var/run/vpp/api.sock
}

Steps I followed:

•         Set IP address through vpcctl
Iperf3 server command:
•         export LD_PRELOAD=$LDP_PATH && export VCL_CONFIG=$VCL_CFG
•         iperf3 -4 -s -A 1 -V

iperf3 client command:
•         export LD_PRELOAD=$LDP_PATH && export VCL_CONFIG=$VCL_CFG
•         iperf3 -c 10.21.120.181 -u -A 1 -V -b 0

Client side output:

iperf3 -c 10.21.120.181 -A 1 -V
iperf 3.7
Linux ip-10-21-120-48 5.13.0-1019-aws #21~20.04.1-Ubuntu SMP Wed Mar 16 
11:54:08 UTC 2022 x86_64
Control connection MSS 1448
Time: Tue, 22 Mar 2022 19:38:53 GMT
Connecting to host 10.21.120.181, port 5201
      Cookie: 3crb2g5fkqv6atlhbe7z6kr4r5kcgjj2tfeb
      TCP MSS: 1448 (default)
[ 33] local 10.21.120.128 port 35336 connected to 10.21.120.181 port 5201
Starting Test: protocol: TCP, 1 streams, 131072 byte blocks, omitting 0 
seconds, 10 second test, tos 0
[ ID] Interval           Transfer     Bitrate         Retr  Cwnd
[ 33]   0.00-1.00   sec   256 KBytes  2.10 Mbits/sec    0   0.00 Bytes
[ 33]   1.00-2.01   sec  0.00 Bytes  0.00 bits/sec    0   0.00 Bytes
[ 33]   2.01-3.00   sec  0.00 Bytes  0.00 bits/sec    0   0.00 Bytes
[ 33]   3.00-4.01   sec  0.00 Bytes  0.00 bits/sec    0   0.00 Bytes
[ 33]   4.01-5.00   sec  0.00 Bytes  0.00 bits/sec    0   0.00 Bytes

Server side output:

iperf3 -4 -s -A 1 -V
iperf 3.7
Linux ip-10-21-120-83 5.13.0-1019-aws #21~20.04.1-Ubuntu SMP Wed Mar 16 
11:54:08 UTC 2022 x86_64
-----------------------------------------------------------
Server listening on 5201
-----------------------------------------------------------
Time: Tue, 22 Mar 2022 19:38:53 GMT
Accepted connection from 10.21.120.128, port 2061
      Cookie: 3crb2g5fkqv6atlhbe7z6kr4r5kcgjj2tfeb
      TCP MSS: 0 (default)
[ 34] local 10.21.120.181 port 5201 connected to 10.21.120.128 port 35336
Starting Test: protocol: TCP, 1 streams, 131072 byte blocks, omitting 0 
seconds, 10 second test, tos 0
[ ID] Interval           Transfer     Bitrate
[ 34]   0.00-1.00   sec  0.00 Bytes  0.00 bits/sec
[ 34]   1.00-2.00   sec  0.00 Bytes  0.00 bits/sec
[ 34]   2.00-3.01   sec  0.00 Bytes  0.00 bits/sec
[ 34]   3.01-4.01   sec  0.00 Bytes  0.00 bits/sec

Please let me know if I’m configuring something wrong.

Thanks

Shankar Raju


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#21096): https://lists.fd.io/g/vpp-dev/message/21096
Mute This Topic: https://lists.fd.io/mt/89961794/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to