From nobody Wed Jul 12 05:15:18 2023 X-Original-To: bugs@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 4R15Xl33r0z4n1rP for ; Wed, 12 Jul 2023 05:15:19 +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 4R15Xk5twdz3kvJ for ; Wed, 12 Jul 2023 05:15:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1689138918; 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; bh=gu2H3NmRcvaR1ktoLmsBM+sD9bqAtdX13OFK1jBB4KU=; b=lo74cNEk+X4S4C8/r+AsCGXDowKpCiaXW3a4efyL84AiElwaXhRxNAs1NguGmvlofVrYQU EmYAyMzYJSx4MGH5kn0j485BVQFn0sQDqjHlMm9ytIx2QCkk8zNTZMAwYHtREVRMUGQP2V CF2z2+o8CNrWkAftE1eYTYUCwJhoxX3lncoCyKEo0rWSKeui5XFclQgxgOGcoMUvRoPbMi VjcVud3wkcsMEe3Q7ulO2yP6FLF466R7MYkHZ/cL7f4QXTYgiB6sa28sicxiAAr6QiNfL3 85s+cc9YHT7bnvfoI85tnInwtAISsVF5WALeIjY4JFLOjF9iTL1tIpdf8ChE6A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1689138918; a=rsa-sha256; cv=none; b=slawl8ECxAJFgJ1GRB/j7jQ3N0igkMJg6f2uMZdPTtOY8gh94+ZqYqXRvs7HioPp6McXXt sKOSUIda0UyxgWRWCIRkt4ct/NU/LNGOHO58ZFtkzTfZD/enBZcg9tEvbFdJu3pulMtx4o JULKnENTI8IYs24r+4lF/qagDi4UgvahyccRQxSOrZjl4ZcuOHUHYbiataeTETIu8jEEDe XINUroH4WFmhUwIeX2p5wXOVyHqZqEYt2AFz6Px7o0WYCREzyFjWfUcpgz9ZCwE1GtF6YY ka4nLxpTZozm+wVIx/xhsylf5VHEIp42ZBWbcdmEVZpzHHAt8/sXQL4Za4RdJg== 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 4R15Xk4zpYzwnQ for ; Wed, 12 Jul 2023 05:15:18 +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 36C5FIKf087562 for ; Wed, 12 Jul 2023 05:15:18 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 36C5FIJq087561 for bugs@FreeBSD.org; Wed, 12 Jul 2023 05:15:18 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: bugs@FreeBSD.org Subject: [Bug 272461] Very low throughput mellanox arm64 Azure Date: Wed, 12 Jul 2023 05:15:18 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: schakrabarti@microsoft.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: 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: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D272461 Bug ID: 272461 Summary: Very low throughput mellanox arm64 Azure Product: Base System Version: CURRENT Hardware: arm64 OS: Any Status: New Severity: Affects Many People Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: schakrabarti@microsoft.com In Azure ARM64 with Mellanox T27800 Family ConnectX-5 Virtual Function, we = are seeing very low throughput of 2.4Gbps instead of available 24Gbps in iperf3 testing. We are using 14.0-CURRENT FreeBSD 14.0-CURRENT. [root@lisa--447-e0-n1 /home/lisatest]# iperf3 -Vsd iperf 3.13 FreeBSD lisa--447-e0-n1 14.0-CURRENT FreeBSD 14.0-CURRENT #26 main-n263986-4631191c8a5f-dirty: Thu Jul 6 15:55:36 UTC 2023=20=20=20=20 root@fbsd13-nvme-test:/data/ws/obj/data/ws/main/arm64.aarch64/sys/GENERIC a= rm64 ----------------------------------------------------------- Server listening on 5201 (test #1) ----------------------------------------------------------- get_parameters: { "tcp": true, "omit": 0, "time": 10, "num": 0, "blockcount": 0, "parallel": 1, "len": 131072, "pacing_timer": 1000, "client_version": "3.13" } SNDBUF is 32768, expecting 0 RCVBUF is 65536, expecting 0 Time: Wed, 12 Jul 2023 05:12:02 UTC Accepted connection from 10.0.0.4, port 30147 Cookie: sufbhz7veq7mc2zfkhgfqb3brk7qtekmh35z TCP MSS: 0 (default) Congestion algorithm is cubic [ 5] local 10.0.0.5 port 5201 connected to 10.0.0.4 port 30668 Starting Test: protocol: TCP, 1 streams, 131072 byte blocks, omitting 0 seconds, 10 second test, tos 0 tcpi_snd_cwnd 13980 tcpi_snd_mss 1410 tcpi_rtt 10000 interval_len 1.000051 bytes_transferred 440081080 interval forces keep [ ID] Interval Transfer Bitrate [ 5] 0.00-1.00 sec 420 MBytes 3.52 Gbits/sec tcpi_snd_cwnd 13980 tcpi_snd_mss 1410 tcpi_rtt 10000 interval_len 0.999994 bytes_transferred 428949692 interval forces keep [ 5] 1.00-2.00 sec 409 MBytes 3.43 Gbits/sec tcpi_snd_cwnd 13980 tcpi_snd_mss 1410 tcpi_rtt 10000 interval_len 1.000187 bytes_transferred 315787268 interval forces keep [ 5] 2.00-3.00 sec 301 MBytes 2.53 Gbits/sec tcpi_snd_cwnd 13980 tcpi_snd_mss 1410 tcpi_rtt 10000 interval_len 1.000033 bytes_transferred 313509888 interval forces keep [ 5] 3.00-4.00 sec 299 MBytes 2.51 Gbits/sec tcpi_snd_cwnd 13980 tcpi_snd_mss 1410 tcpi_rtt 10000 interval_len 0.999786 bytes_transferred 312184546 interval forces keep [ 5] 4.00-5.00 sec 298 MBytes 2.50 Gbits/sec tcpi_snd_cwnd 13980 tcpi_snd_mss 1410 tcpi_rtt 10000 interval_len 1.000079 bytes_transferred 307495692 interval forces keep [ 5] 5.00-6.00 sec 293 MBytes 2.46 Gbits/sec tcpi_snd_cwnd 13980 tcpi_snd_mss 1410 tcpi_rtt 10000 interval_len 1.000039 bytes_transferred 307502682 interval forces keep [ 5] 6.00-7.00 sec 293 MBytes 2.46 Gbits/sec tcpi_snd_cwnd 13980 tcpi_snd_mss 1410 tcpi_rtt 10000 interval_len 0.999980 bytes_transferred 309119866 interval forces keep [ 5] 7.00-8.00 sec 295 MBytes 2.47 Gbits/sec tcpi_snd_cwnd 13980 tcpi_snd_mss 1410 tcpi_rtt 10000 interval_len 0.999948 bytes_transferred 305474486 interval forces keep [ 5] 8.00-9.00 sec 291 MBytes 2.44 Gbits/sec tcpi_snd_cwnd 13980 tcpi_snd_mss 1410 tcpi_rtt 10000 interval_len 1.000009 bytes_transferred 305829276 interval forces keep [ 5] 9.00-10.00 sec 292 MBytes 2.45 Gbits/sec tcpi_snd_cwnd 13980 tcpi_snd_mss 1410 tcpi_rtt 10000 interval_len 0.000524 bytes_transferred 0 ignoring short interval with no data - - - - - - - - - - - - - - - - - - - - - - - - - Test Complete. Summary Results: [ ID] Interval Transfer Bitrate [ 5] (sender statistics not available) [ 5] 0.00-10.00 sec 3.12 GBytes 2.68 Gbits/sec recei= ver rcv_tcp_congestion cubic get_results { "cpu_util_total": 71.699362492382051, "cpu_util_user": 0.1566976289611289, "cpu_util_system": 71.589782122913959, "sender_has_retransmits": 1, "congestion_used": "newreno", "streams": [{ "id": 1, "bytes": 3347795132, "retransmits": 109, "jitter": 0, "errors": 0, "packets": 0, "start_time": 0, "end_time": 10.000558 }] } send_results { "cpu_util_total": 35.778942258224347, "cpu_util_user": 0.15585994703341635, "cpu_util_system": 35.731875294043533, "sender_has_retransmits": 18446744073709551615, "congestion_used": "cubic", "streams": [{ "id": 1, "bytes": 3345934476, "retransmits": 18446744073709551615, "jitter": 0, "errors": 0, "packets": 0, "start_time": 0, "end_time": 10.00063 }] } iperf 3.13 Also client side is showing retransmit and then speed drops: # iperf3 -c 10.0.0.5 Connecting to host 10.0.0.5, port 5201 [ 5] local 10.0.0.4 port 30668 connected to 10.0.0.5 port 5201 [ ID] Interval Transfer Bitrate Retr Cwnd [ 5] 0.00-1.00 sec 421 MBytes 3.52 Gbits/sec 0 1.61 MBytes [ 5] 1.00-2.00 sec 410 MBytes 3.44 Gbits/sec 107 579 KBytes [ 5] 2.00-3.00 sec 302 MBytes 2.53 Gbits/sec 0 879 KBytes [ 5] 3.00-4.00 sec 299 MBytes 2.51 Gbits/sec 0 886 KBytes [ 5] 4.00-5.00 sec 297 MBytes 2.50 Gbits/sec 0 910 KBytes [ 5] 5.00-6.00 sec 293 MBytes 2.46 Gbits/sec 0 961 KBytes [ 5] 6.00-7.00 sec 293 MBytes 2.46 Gbits/sec 0 982 KBytes [ 5] 7.00-8.00 sec 295 MBytes 2.47 Gbits/sec 2 884 KBytes [ 5] 8.00-9.00 sec 291 MBytes 2.45 Gbits/sec 0 929 KBytes [ 5] 9.00-10.00 sec 292 MBytes 2.45 Gbits/sec 0 973 KBytes - - - - - - - - - - - - - - - - - - - - - - - - - [ ID] Interval Transfer Bitrate Retr [ 5] 0.00-10.00 sec 3.12 GBytes 2.68 Gbits/sec 109 sender [ 5] 0.00-10.00 sec 3.12 GBytes 2.68 Gbits/sec recei= ver ifconfig output: root@schakrabarti-freebsd:/datadrive/sandbox_21_06/src/sys # ifconfig -a lo0: flags=3D8049 metric 0 mtu 16384 options=3D680003 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1 inet 127.0.0.1 netmask 0xff000000 groups: lo nd6 options=3D21 hn0: flags=3D8843 metric 0 mtu 1500 options=3D8051b ether 60:45:bd:d4:97:44 inet 172.30.0.4 netmask 0xffffff00 broadcast 172.30.0.255 media: Ethernet 50GBase-KR4 status: active nd6 options=3D29 mce0: flags=3D8a43 metric = 0 mtu 1500 =20=20=20=20=20=20=20 options=3D8805bb ether 60:45:bd:d4:97:44 media: Ethernet 50GBase-KR4 status: active nd6 options=3D29 Please help me to solve this issue as it will block FreeBSD on Azure ARM64. --=20 You are receiving this mail because: You are the assignee for the bug.=