Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Aug 2024 17:42:00 +0000
From:      bugzilla-noreply@freebsd.org
To:        usb@FreeBSD.org
Subject:   [Bug 225179] axge(4): Driver performance issues
Message-ID:  <bug-225179-19105-zcV4TYb4NW@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-225179-19105@https.bugs.freebsd.org/bugzilla/>
References:  <bug-225179-19105@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225179

Olivier Cochard <olivier@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |olivier@freebsd.org
            Version|12.2-RELEASE                |CURRENT

--- Comment #5 from Olivier Cochard <olivier@freebsd.org> ---
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 <full-duplex>)
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 <flowcontrol> (1000baseT
<full-duplex,flowcontrol,master,rxpause,txpause>)

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.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-225179-19105-zcV4TYb4NW>