From nobody Fri Apr 22 22:10:47 2022 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 6EF84198A828 for ; Fri, 22 Apr 2022 22:10:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KlTBJ1s9jz4cMn for ; Fri, 22 Apr 2022 22:10:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 208492571A for ; Fri, 22 Apr 2022 22:10:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 23MMAmuV056201 for ; Fri, 22 Apr 2022 22:10:48 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 23MMAmuG056200 for net@FreeBSD.org; Fri, 22 Apr 2022 22:10:48 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 251052] [sctp] Throughput becomes extremely low under load Date: Fri, 22 Apr 2022 22:10:47 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.4-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: bc979@lafn.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650665448; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=j4OW5K6x/eJYa40wwdi8VcrO/TS3ZEXe9Y8/NGJAu8g=; b=KM1eFAjAb3/wtKPaUmdsY8Iyx+qQAPO7VN4nVglUKLAnH+ZNopWuuECJw18Ei/AFeCwlHX hpUELbjO6tSbA9ukXvuZwT09FboiH/DguyFCDGB4coLOLA60YG06im6jMw3oJSiYOaDkkS WzlA0LUriECKtpCHSAsnqLZTsPY3w9JMLix4nNTce6ECUplpV3sfku0gFgFPUk4ngwExld pmdl46BE7m4nLxZbMgDfxSXybQWrihrqNinR+nH11eQHmMjpLjMe8Oy2Ty7G79vRYrscEV EBZqHS0HHzld9LegGsv97GZOZqeqGAfS70LdWJ8aV1r4X3cC+7lxuyDBPReRUw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1650665448; a=rsa-sha256; cv=none; b=HM4BJlkbN7y7ehxEz2mOTV1HX988a4d2wnEsjidKspzai1VGQP6pe+cQZTjhh/3jthuHA7 gKrcrpNj6pN7M2l10m8vOhh12yN0mbhECare969oEDS6OQNyRvWnmhGrdDUuCuHkls2SIH +cUDbh1Bz/jglPE2o416ZSsQGizrc9RakmYQm+aYetAIwLiareZjOVW6aYsrBGEakDAovr KXt4l5PpHc77cur+p86P4QtOMXumX/bAi8kjIW1iQi6CEOMECtahV+SiQKyDAc4zbdaljp fJgj4DXK749Hx4SW2dD8y5geHfvJaZe7W7/dAUIlBa/tJzfY2HypZIZwPOtn2w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D251052 bc979@lafn.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bc979@lafn.org --- Comment #6 from bc979@lafn.org --- I believe the iperf3 test case is incorrect. I don't fine --nstreams documented. However, it does do something and it appears that it sends very little data the first second and then none after that. The output indicates that it is only using 1 stream. The proper argument for multiple streams is -P. Hear are the results using -P 1 when sending on a 100MB LAN between 2 13.1-RC3 systems: test# iperf3 -c master --sctp -P 1 Connecting to host master, port 5201 [ 5] local 10.0.1.235 port 52689 connected to 10.0.1.250 port 5201 [ ID] Interval Transfer Bitrate [ 5] 0.00-1.00 sec 13.0 MBytes 109 Mbits/sec=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20 [ 5] 1.00-2.00 sec 11.2 MBytes 94.4 Mbits/sec=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20 [ 5] 2.00-3.00 sec 11.2 MBytes 93.9 Mbits/sec=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20 [ 5] 3.00-4.00 sec 11.2 MBytes 94.4 Mbits/sec=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20 [ 5] 4.00-5.00 sec 11.2 MBytes 94.4 Mbits/sec=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20 [ 5] 5.00-6.00 sec 11.2 MBytes 94.4 Mbits/sec=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20 [ 5] 6.00-7.00 sec 11.2 MBytes 94.4 Mbits/sec=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20 [ 5] 7.00-8.00 sec 11.2 MBytes 93.8 Mbits/sec=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20 [ 5] 8.00-9.00 sec 11.2 MBytes 94.4 Mbits/sec=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20 [ 5] 9.00-10.00 sec 11.2 MBytes 93.8 Mbits/sec=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20 - - - - - - - - - - - - - - - - - - - - - - - - - [ ID] Interval Transfer Bitrate [ 5] 0.00-10.00 sec 114 MBytes 95.7 Mbits/sec sender [ 5] 0.00-10.02 sec 112 MBytes 94.2 Mbits/sec recei= ver The results are as expected (Well a bit better than I expected actually). = Now changing to -P 2 I get: test# iperf3 -c master --sctp -P 2 Connecting to host master, port 5201 [ 5] local 10.0.1.235 port 60452 connected to 10.0.1.250 port 5201 [ 7] local 10.0.1.235 port 40730 connected to 10.0.1.250 port 5201 [ ID] Interval Transfer Bitrate [ 5] 0.00-1.00 sec 9.12 MBytes 76.5 Mbits/sec=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20 [ 7] 0.00-1.00 sec 5.56 MBytes 46.7 Mbits/sec=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20 [SUM] 0.00-1.00 sec 14.7 MBytes 123 Mbits/sec=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20 - - - - - - - - - - - - - - - - - - - - - - - - - [ 5] 1.00-2.00 sec 7.50 MBytes 62.9 Mbits/sec=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20 [ 7] 1.00-2.00 sec 3.75 MBytes 31.5 Mbits/sec=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20 [SUM] 1.00-2.00 sec 11.2 MBytes 94.4 Mbits/sec=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20 - - - - - - - - - - - - - - - - - - - - - - - - - [ 5] 2.00-3.00 sec 5.69 MBytes 47.7 Mbits/sec=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20 [ 7] 2.00-3.00 sec 5.56 MBytes 46.7 Mbits/sec=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20 [SUM] 2.00-3.00 sec 11.2 MBytes 94.4 Mbits/sec=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20 - - - - - - - - - - - - - - - - - - - - - - - - - [ 5] 3.00-4.00 sec 3.81 MBytes 32.0 Mbits/sec=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20 [ 7] 3.00-4.00 sec 7.44 MBytes 62.4 Mbits/sec=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20 [SUM] 3.00-4.00 sec 11.2 MBytes 94.4 Mbits/sec=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20 - - - - - - - - - - - - - - - - - - - - - - - - - [ 5] 4.00-5.00 sec 7.62 MBytes 64.0 Mbits/sec=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20 [ 7] 4.00-5.00 sec 3.62 MBytes 30.4 Mbits/sec=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20 [SUM] 4.00-5.00 sec 11.2 MBytes 94.4 Mbits/sec=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20 - - - - - - - - - - - - - - - - - - - - - - - - - [ 5] 5.00-6.00 sec 4.12 MBytes 34.6 Mbits/sec=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20 [ 7] 5.00-6.00 sec 7.12 MBytes 59.8 Mbits/sec=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20 [SUM] 5.00-6.00 sec 11.2 MBytes 94.4 Mbits/sec=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20 - - - - - - - - - - - - - - - - - - - - - - - - - [ 5] 6.00-7.00 sec 3.69 MBytes 30.9 Mbits/sec=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20 [ 7] 6.00-7.00 sec 7.56 MBytes 63.4 Mbits/sec=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20 [SUM] 6.00-7.00 sec 11.2 MBytes 94.4 Mbits/sec=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20 - - - - - - - - - - - - - - - - - - - - - - - - - [ 5] 7.00-8.00 sec 2.69 MBytes 22.5 Mbits/sec=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20 [ 7] 7.00-8.00 sec 8.50 MBytes 71.3 Mbits/sec=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20 [SUM] 7.00-8.00 sec 11.2 MBytes 93.8 Mbits/sec=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20 - - - - - - - - - - - - - - - - - - - - - - - - - [ 5] 8.00-9.00 sec 192 KBytes 1.57 Mbits/sec=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20 [ 7] 8.00-9.00 sec 11.1 MBytes 92.8 Mbits/sec=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20 [SUM] 8.00-9.00 sec 11.2 MBytes 94.4 Mbits/sec=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20 - - - - - - - - - - - - - - - - - - - - - - - - - [ 5] 9.00-10.00 sec 0.00 Bytes 0.00 bits/sec=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20 [ 7] 9.00-10.00 sec 11.2 MBytes 94.4 Mbits/sec=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20 [SUM] 9.00-10.00 sec 11.2 MBytes 94.4 Mbits/sec=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20 - - - - - - - - - - - - - - - - - - - - - - - - - [ ID] Interval Transfer Bitrate [ 5] 0.00-10.00 sec 44.4 MBytes 37.3 Mbits/sec sender [ 5] 0.00-10.06 sec 42.7 MBytes 35.6 Mbits/sec recei= ver [ 7] 0.00-10.00 sec 71.4 MBytes 59.9 Mbits/sec sender [ 7] 0.00-10.06 sec 70.3 MBytes 58.7 Mbits/sec recei= ver [SUM] 0.00-10.00 sec 116 MBytes 97.2 Mbits/sec sender [SUM] 0.00-10.06 sec 113 MBytes 94.3 Mbits/sec recei= ver It specifically indicates that there are two streams in use. The sums seem= to be the same as for 1 stream. However, the data transferred each second is quite uneven. I don't know if that is a feature or bug. I suspect it is j= ust the way the buffering worked. --=20 You are receiving this mail because: You are the assignee for the bug.=