On March 3, 2024 9:38:22 PM GMT+01:00, Pierre Peyronnel 
<[email protected]> wrote:
>Hey misc,
>
>Note : I posted on this topic in r/openbsd and before I open a bug, I
>thought I'd ask you.
>
>My OBSD router has a Realtek (onboard) and an intel (X540 pcie) network
>card, and in one particular situation I get very slow speed.
>I tested using iperf3 and also sftp put/get.
>
>Here goes:
>(1) When I transfer from/to a host/net A to the router on re0 I get
>symmetrical 1Gbps
>(2) When I transfer from/to a host/net B to the router on ix0  I also get
>symmetrical 1Gbps
>(3) When I transfer from host/net A to host/net B through the router (re0
>-> ix0) I get 1Gbps
>(4) When I transfer from host/net B to host/net A through the router (ix0
>-> re0) I get a crawling 3Mbps

try to disable LRO on ix0:
ifconfig -tcplro ix0

>To make sure, I did a fresh install from 7.4 from scratch (okay i forgot to
>syspatch it), pfctl -d, sysctl net.ip.forwarding=1 and I got the same
>result.

did you also tried the current snapshot?
we fixed some bugs in the LRO code of ix0 in the upcoming release.

>When I use another OS (tried Arch linux and OPNSense) I get full 1Gbps in
>all 4 scenarios.
>
>I'm at a loss and will appreciate any help, short of filing a bug.
>Below dmesg and pcidump.
>Thanks in advance !
>Pierre

Reply via email to