[Bug 225179] axge(4): Driver performance issues

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 21 Aug 2024 17:42:00 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225179

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’t able to reach 400mb/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                                    
        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.

-- 
You are receiving this mail because:
You are the assignee for the bug.