From nobody Wed Aug 21 17:42:00 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 4Wptv028yjz5VF0F for ; Wed, 21 Aug 2024 17:42:04 +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 4Wptv017Ydz4kcK for ; Wed, 21 Aug 2024 17:42:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1724262124; a=rsa-sha256; cv=none; b=pjyzOS2UNC4N2fySsJcUF7CzZwKHuHVV5iD4Yu+kEn7Ad2gzoYW5TaK6/ejIPFIMg9l0mh 9+F8JBVMc5f2OWJsFjNQNnO4TEOvdGq3zEi6Wb3l7v5bIMpu7b3iwXkeDwmZH5js22fblY d0wKqMy8KkwERJuT7kB4wGWE1HMNmxnarACNJ0cgeUZ/qFLqvLsDFeoJq9B2AXKVX4ZKIb fV8+oN57B/GYirn4i2FVS/Jy0Rnb3MJUNzjyj1xHRI6m3adYKHg4gMyw5cs6OYxRo4YJdE HHdWaDyOFnk4t1j/aCst9/o9yly0p8abSsEH6GB5kKWuDxDIK3yTRelrXaNFbw== 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=1724262124; 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=y5Rw+O6QcHtmZkuVoIKVqcz0ekx1WMNdT6u6ejvcYPM=; b=t9qvVBdJS9D3uwZRiNFOm4VmG+b9g4UTM9Lk4nVMw7n/UyZhB7c5NqliE/4iUvUhhJHL6l r0xtNjL5tJhCn249vURzsKnzZ3JNA0B4gQfNH3nYNyc81rSdtnHzamnI99OgTs5x9k6dGo 4iHjVPsi8JfX0zXQ/YjyccmfWjGuBvlbc4RvoA0eD3lPZunnoPm5oMzpcYaiOplEMtVXFa AGoi5vkfOVb8+Z2171G/qu8yPexCfIvjl2wLci52GptkSYyygcc4n+XsNCcaq7MhZeSx2X YdDLvLKW09VhoQRFqKa2jFIzl0Jo3vOu6PkCgxFgx1AKtHtrBvq3br6W6lbJDg== 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 4Wptv00bXrzth7 for ; Wed, 21 Aug 2024 17:42:04 +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 47LHg442032003 for ; Wed, 21 Aug 2024 17:42:04 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 47LHg4Vi032002 for usb@FreeBSD.org; Wed, 21 Aug 2024 17:42:04 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: Wed, 21 Aug 2024 17:42:00 +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: olivier@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 version 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 Olivier Cochard changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |olivier@freebsd.org Version|12.2-RELEASE |CURRENT --- Comment #5 from Olivier Cochard --- 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 40= 0mb/s (due to very busy drivers not able to process all input ACK from the server). switch to UDP mode, the client was able to reach 900mb/s, but the server reported only half of it (50% loss). 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 media: Ethernet autoselect (1000baseT ) And no more performance problem (all driver functions diseapear from a flamegraph), it reach 909 Mbits/sec in client TCP mode. --=20 You are receiving this mail because: You are the assignee for the bug.=