iperf3 with SCTP on CentOS 8.1.1911

Issues related to configuring your network
Post Reply
bbahes
Posts: 2
Joined: 2020/02/06 13:42:08

iperf3 with SCTP on CentOS 8.1.1911

Post by bbahes » 2020/02/06 14:07:11

Hello to everyone in community!

I want to test SCTP protocol with iperf3 between two CentOS 8.1.1911 virtual machines.
However, when I try command

Code: Select all

iperf3 -c 172.16.1.40 --sctp
I get this message:

Code: Select all

iperf3: unrecognized option '--sctp'
.

Thanks!

User avatar
TrevorH
Site Admin
Posts: 33218
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: iperf3 with SCTP on CentOS 8.1.1911

Post by TrevorH » 2020/02/06 14:24:39

The man page makes lots of mention of SCTP but does not appear to contain any switch to make it be used. Running iperf3 --help similarly also makes no mention of SCTP in it anywhere. Google finds hits that say to use --sctp but that's not valid. I also found mention of using -z but that isn't valid either. I also saw mention of it needing a kernel module called lksctp but that doesn't appear to be in the el8 kernel so either it's changed name or it isn't there.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

bbahes
Posts: 2
Joined: 2020/02/06 13:42:08

Re: iperf3 with SCTP on CentOS 8.1.1911

Post by bbahes » 2020/02/06 14:33:14

TrevorH wrote:
2020/02/06 14:24:39
The man page makes lots of mention of SCTP but does not appear to contain any switch to make it be used. Running iperf3 --help similarly also makes no mention of SCTP in it anywhere. Google finds hits that say to use --sctp but that's not valid. I also found mention of using -z but that isn't valid either. I also saw mention of it needing a kernel module called lksctp but that doesn't appear to be in the el8 kernel so either it's changed name or it isn't there.
When I try iperf3 --version I get:

Code: Select all

iperf 3.7+ (cJSON 1.5.2)
Linux centos 4.18.0-147.3.1.el8_1.x86_64 #1 SMP Fri Jan 3 23:55:26 UTC 2020 x86_64
Optional features available: CPU affinity setting, IPv6 flow label, TCP congestion algorithm setting, sendfile / zerocopy, socket pacing
Running same on Ubuntu 18.04 I get:

Code: Select all

iperf 3.7 (cJSON 1.5.2)
Linux ubuntu 4.15.0-74-generic #84-Ubuntu SMP Thu Dec 19 08:06:28 UTC 2019 x86_64
Optional features available: CPU affinity setting, IPv6 flow label, SCTP, TCP congestion algorithm setting, sendfile / zerocopy, socket pacing, authentication
Also, running these:

Code: Select all

checksctp
SCTP supported

Code: Select all

lsmod | grep sctp
sctp                  397312  2
libcrc32c              16384  2 xfs,sctp

User avatar
TrevorH
Site Admin
Posts: 33218
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: iperf3 with SCTP on CentOS 8.1.1911

Post by TrevorH » 2020/02/06 14:37:02

I don't have a copy of RHEL 8 avaIlable (my Developer Subscription free copy is used up on an RHEL 7 test VM) but it might be interesting to know if the same thing occurs on a RHEL 8 system too or if this is a CentOS bug.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply