From nobody Thu Aug 22 02:50:56 2024 X-Original-To: usb@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 4Wq74N2rbhz5TPHZ for ; Thu, 22 Aug 2024 02:51:00 +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 4Wq74M6s3jz4cmR for ; Thu, 22 Aug 2024 02:50:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1724295060; a=rsa-sha256; cv=none; b=gumlHsAsDcUCS/wdZn8TIFk7t4/+hb/x26jf6taXTcH9Ec/gFOg/K0MdcOwIkEr3ai0mik 5vNCl7E8Xhk5NdDwVw0XH0OfPRE8Fdl51IzWujuM28eO8eZFK7jUlVrxtnJlgIChE16MVD R76AXj+vy4VJ4iNLC/fBhUS1atpyqFcINMSIiUD8Gd4VYaHFOSBt1iTx/pzpOwntpImKbq zTXtqBXriA3CaQ1iwav/ueCc7W9va8SjRDDgC3BvqJejNarAF2YiIg/8TYfipXM2WxUNDt rKs+JHvPy279paCNgjJ0hTBbVxOCWk9RCSkHjAfDsnhZxIRpRC4k7MF5DgtK5Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1724295060; 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=GWBcNNy45u7s82NvunIIRrhFTpBJ7uyPFTZFDGYPCFg=; b=iUcHV69HSiFquZmcizYLY95CLU80Zewk83axIaDZdGa2Vu6WWeLFe/Kg5ky/0XOw8YHmxG eyAeK3t7DU2zJJauIgsimKVsbTOgH2rJDFFi/bBdXmAaDUtqp+y2D/1dWOmMj/I7wWxZI3 TP7ITFcdICoZUls8MFVYv0girJ7a0HrWz+dm7hpo06fApaYbq2G7qiOJvHD3xkXsb/bauu RMSQVDbrGgPFWe9b0vvaYi1sKAn2x/4RLehBVYXw9j2VKe1gP/u2Z/MxkKUNamEcWpikTK kSEfNFImbBh2A2G2gjzg9x7LFJnDQG6UcrW1ayhcpghe2Oalxk/8C9hcMdSVPg== 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 4Wq74M68vSz19JH for ; Thu, 22 Aug 2024 02:50:59 +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 47M2oxkX011190 for ; Thu, 22 Aug 2024 02:50:59 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 47M2ox0V011189 for usb@FreeBSD.org; Thu, 22 Aug 2024 02:50:59 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: usb@FreeBSD.org Subject: [Bug 225179] axge(4): Driver performance issues Date: Thu, 22 Aug 2024 02:50:56 +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: CURRENT X-Bugzilla-Keywords: needs-qa, performance X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: zlei@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: usb@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? maintainer-feedback? mfc-stable13? mfc-stable12? 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: FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-usb List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-usb@freebsd.org Sender: owner-freebsd-usb@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225179 Zhenlei Huang changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |zlei@FreeBSD.org --- Comment #6 from Zhenlei Huang --- (In reply to Olivier Cochard from comment #5) > Reproduced on FreeBSD 15.0-CURRENT #45 main-n271697-9ff2ebd92891-dirty. > > With a cross-over cable, iperf3 in TCP mode wasn=E2=80=99t able to reach = 400mb/s (due to > very busy drivers not able to process all input ACK from the server). For gigabits the packets per second should be about 80000 with MTU size 150= 0. 80000 pps is not large for a modern machine. > switch to UDP mode, the client was able to reach 900mb/s, but the server = reported > only half of it (50% loss). It seems there's something wrong with the tx path of axge(4). May you please also have a test with the reverse flow ( iperf -R ), aka server send data to the client ?=20 > Then tested the magic command "mediaopt flow": > > root@mobile:~ # ifconfig -v ue0 | grep media > media: Ethernet autoselect (1000baseT ) > root@mobile:~ # ifconfig ue0 mediaopt flow > root@mobile:~ # ifconfig -v ue0 | grep media=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 > media: Ethernet autoselect (1000baseT =20 > duplex,flowcontrol,master,rxpause,txpause>) > > And no more performance problem (all driver functions diseapear from a fl= amegraph), > it reach 909 Mbits/sec in client TCP mode. That is interesting. What about the reverse flow ? I'm also interested with= the flamegraph ( without flow control enabled ). May you please share it ? --=20 You are receiving this mail because: You are the assignee for the bug.=