From nobody Tue Oct 15 06:59:24 2024 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 4XSQ251lKxz5YSFj for ; Tue, 15 Oct 2024 06:59:25 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XSQ250jlQz3xhy for ; Tue, 15 Oct 2024 06:59:25 +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=1728975565; 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=FESL0PBTY1S1Ld3OWfs8uG1vZ5v8YfqpMUQS64xdaKE=; b=UOavRdTZlFVpPJavyBNipX3KemAnJ9WNy7Z46o1xd8R+TvADimWMKE+uFVBrxr+jJ0j1+x 2zrPR2h7JZXhDLk0cjEtoasx823f52eo7yuIboZOLBeMVC+bljs2MMDyH00tojtq1LMNsG GrtJ6Oo241Pgy0wN11u/vfinUiI4olRBbDUq58kxfeCrZ6Upy1ZMq4V+TfKnemIpTnysLl /lXJDpBhhpNuQiij3a/2ybPcy6NFyWL76q6Wn3syRVLNsHuYx4Z8CA6JCN+MArdetRh90s QmVTHwc2JxNMwr3lCB2JZz9VLtphp3Za2kVMsd/1hREVtVXJI0Q4ymqw9EUjNQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1728975565; a=rsa-sha256; cv=none; b=IP5Mjt9+RUaPdsM0jvIb9NPJL7Sc+4yTQigz67e2UgIQjTgAkrq1e/xUWRKJhOPyBP1F1R g/Y6+k6fOug+uCYKaDtHWCIxyl6+wPMEFnrIlSHswL7nC4MsozosVKnnXYJaRHlekMobZ+ 98d66V8hmb7f5rtC0maPTQ+dOwkZmPICz5O1W2C8DAQaVil9UJlsjxVvzoPc3mHSezoqGx 0exgyCrbD2AuvTaaq+K8fCGVsvSCCMWpcn6Lk65xhiI+dFNZ5nxOBjkHO9e3uzcGkq1jUY pK9RThpaxJcqtE9rfOL+Y3NljkMFP3aGDZs9i4cEe3M42qXseS+2QbTYg45HAg== 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 4XSQ250L2Qz19xP for ; Tue, 15 Oct 2024 06:59:25 +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 49F6xOOK018658 for ; Tue, 15 Oct 2024 06:59:24 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 49F6xODo018657 for net@FreeBSD.org; Tue, 15 Oct 2024 06:59:24 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 282095] enic breaks when changing MTU on interfaces with fib other than 0 Date: Tue, 15 Oct 2024 06:59:24 +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: 14.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: zlei@FreeBSD.org X-Bugzilla-Status: New 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D282095 Zhenlei Huang changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |zlei@FreeBSD.org --- Comment #1 from Zhenlei Huang --- I have a two ports Chelsio T520-CR card. With the default MTU 1500, either = TCP or UDP mode iperf3 can easily reach ~9.6Gbps. For UDP the loss rate is also negligible. I think only ~3.7Gb/s for a 10G nic with default MTU 1500 is not reasonable. Well the enic(4) driver was introduced on Feb 6 2023. That is quite new. I moved cxl1 to a separated vnet while doing the benchmark. For multiple fi= bs setup, the result is similar. ``` # jail -ic vnet persist 1 # ifconfig cxl1 vnet 1 # jexec 1 ifconfig cxl1 inet 192.168.99.1/31 # jexec 1 iperf3 -sD # ifconfig cxl0 inet 192.168.99.0/31 # iperf3 -ub0 -c 192.168.99.1 Connecting to host 192.168.99.1, port 5201 [ 5] local 192.168.99.0 port 19631 connected to 192.168.99.1 port 5201 [ ID] Interval Transfer Bitrate Total Datagrams [ 5] 0.00-1.00 sec 1.11 GBytes 9.56 Gbits/sec 819173=20=20 [ 5] 1.00-2.00 sec 1.11 GBytes 9.57 Gbits/sec 819938=20=20 [ 5] 2.00-3.00 sec 1.11 GBytes 9.57 Gbits/sec 819165=20=20 [ 5] 3.00-4.00 sec 1.11 GBytes 9.57 Gbits/sec 819298=20=20 [ 5] 4.00-5.00 sec 1.11 GBytes 9.57 Gbits/sec 819118=20=20 [ 5] 5.00-6.00 sec 1.11 GBytes 9.57 Gbits/sec 818958=20=20 [ 5] 6.00-7.00 sec 1.11 GBytes 9.56 Gbits/sec 818553=20=20 [ 5] 7.00-8.00 sec 1.11 GBytes 9.57 Gbits/sec 819750=20=20 [ 5] 8.00-9.00 sec 1.11 GBytes 9.56 Gbits/sec 818532=20=20 [ 5] 9.00-10.00 sec 1.11 GBytes 9.58 Gbits/sec 819819=20=20 - - - - - - - - - - - - - - - - - - - - - - - - - [ ID] Interval Transfer Bitrate Jitter Lost/Total Datagrams [ 5] 0.00-10.00 sec 11.1 GBytes 9.57 Gbits/sec 0.000 ms 0/8192304 (= 0%)=20 sender [ 5] 0.00-10.00 sec 11.1 GBytes 9.56 Gbits/sec 0.000 ms 743/8189808 (0.0091%) receiver ``` --=20 You are receiving this mail because: You are the assignee for the bug.=