Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Apr 2022 22:25:28 +0000
From:      bugzilla-noreply@freebsd.org
To:        net@FreeBSD.org
Subject:   [Bug 251052] [sctp] Throughput becomes extremely low under load
Message-ID:  <bug-251052-7501-fRCVnvA1WK@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-251052-7501@https.bugs.freebsd.org/bugzilla/>
References:  <bug-251052-7501@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D251052

--- Comment #9 from Bryan Drewery <bdrewery@FreeBSD.org> ---
(In reply to Michael Tuexen from comment #7)

iperf3 only does this. num_ostreams is only used here so I don't think it d=
oes
anything else beyond this.

if (test->settings->num_ostreams > 0) {
    struct sctp_initmsg initmsg;

    memset(&initmsg, 0, sizeof(struct sctp_initmsg));
    initmsg.sinit_num_ostreams =3D test->settings->num_ostreams;

    if (setsockopt(s, IPPROTO_SCTP, SCTP_INITMSG, &initmsg, sizeof(struct
sctp_initmsg)) < 0) {
            saved_errno =3D errno;
            close(s);
            freeaddrinfo(server_res);
            errno =3D saved_errno;
            i_errno =3D IESETSCTPNSTREAM;
            return -1;
    }
}

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-251052-7501-fRCVnvA1WK>