Skip to Content.
Sympa Menu

rare-users - Re: [RARE-users] [freertr] Test performance between nodes with iperf3

Subject: RARE user and assistance email list

List archive

Re: [RARE-users] [freertr] Test performance between nodes with iperf3


Chronological Thread 
  • From: "mc36" <>
  • To: ,
  • Subject: Re: [RARE-users] [freertr] Test performance between nodes with iperf3
  • Date: Wed, 11 Jan 2023 18:15:38 +0100
  • List-id: <freertr.groups.io>
  • Mailing-list: list ; contact

hi,
so when you do this, then you test the tcp stack of freerouter,
and without fancy new techniques like window scaling and selective ack,
this 10mbps is what it can do...
to test just the dataplane, you need to do provide some routing between
your freerouters... the easiest is gre and let's say rip on top of that...
then you can have a topology where you have your two routers doing the
encapsulation and decapsulation, and two additional nodes that do the
measurement... i would not suggest to run iperf and the dataplane on
the same vm because to do so, you have to do user-kernel-user switching
to have the packets from the veth interfaces in linux, which is somewhat
a big overhead compared to where you only do packet processing in between
dpdk enabled vnics, which all happen in user space...
so long story short, the optimal topology is the following:
iperf3vm---------freertr1-------freertr2------iperf3vm
br,
cs



On 1/11/23 17:07, Edgard wrote:
Hi all!

I have a question about how to allow access to the iperf3 service using UDP
in a CPE with RARE/freeRtr.

I used the ssh2host forwarder as an example, to release access to iperf3.

server forwarder iperf32host
port 5201
target vrf inet
target address 10.255.255.1
target port 5201
vrf inet
exit

And it works with TCP.

iperf3 -c 192.168.15.4
Connecting to host 192.168.15.4, port 5201
[ 5] local 192.168.15.7 port 56962 connected to 192.168.15.4 port 5201
[ ID] Interval Transfer Bitrate Retr Cwnd
[ 5] 0.00-1.00 sec 1.16 MBytes 9.71 Mbits/sec 0 51.0 KBytes
[ 5] 1.00-2.00 sec 1008 KBytes 8.26 Mbits/sec 0 51.0 KBytes
[ 5] 2.00-3.00 sec 672 KBytes 5.50 Mbits/sec 0 51.0 KBytes
[ 5] 3.00-4.00 sec 912 KBytes 7.47 Mbits/sec 0 51.0 KBytes
[ 5] 4.00-5.00 sec 912 KBytes 7.47 Mbits/sec 0 51.0 KBytes
[ 5] 5.00-6.00 sec 720 KBytes 5.90 Mbits/sec 0 51.0 KBytes
[ 5] 6.00-7.00 sec 792 KBytes 6.49 Mbits/sec 0 51.0 KBytes
[ 5] 7.00-8.00 sec 960 KBytes 7.86 Mbits/sec 0 51.0 KBytes
[ 5] 8.00-9.00 sec 696 KBytes 5.70 Mbits/sec 0 51.0 KBytes
[ 5] 9.00-10.00 sec 912 KBytes 7.47 Mbits/sec 0 51.0 KBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID ] Interval Transfer Bitrate Retr
[ 5] 0.00-10.00 sec 8.56 MBytes 7.18 Mbits/sec 0 sender
[ 5] 0.00-10.00 sec 8.37 MBytes 7.02 Mbits/sec receiver

But not with UDP.

iperf3 -c 192.168.15.4 -u
Connecting to host 192.168.15.4, port 5201
iperf3: error - unable to read from stream socket: Connection refused

The main objective is to test the performance between the nodes of a
topology. Maybe there's a better way to do it, but that's the way I found it.



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#959): https://groups.io/g/freertr/message/959
Mute This Topic: https://groups.io/mt/96202734/6413194
Group Owner:
Unsubscribe: https://groups.io/g/freertr/unsub []
-=-=-=-=-=-=-=-=-=-=-=-





Archive powered by MHonArc 2.6.19.

Top of Page