https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236962

Konstantin Belousov <k...@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |k...@freebsd.org

--- Comment #6 from Konstantin Belousov <k...@freebsd.org> ---
Some time ago I started using
https://www.gigabyte.com/Motherboard/GA-J3455N-D3H-rev-10#ov
for my home server.  In-tree driver stops operating with dreaded 'device
timeout', and the official realtek driver caused some weird hangs of the
whole machine.

I was not able to figure out what is missing in the in-tree driver.  But
for the realtek code, the cause appeared quite silly.  Since chips are
able to do jumbo, but not scatter-gather, they allocated 9K clusters
for rx fill always, even if interface was configured for standard 1500
MTU.  At some time (2-3 weeks for my workload) memory becomes fragmented
enough that driver cannot refill rx, and due to the interface mutex, this
cascaded to everything that touched network.

I added a knob to disable jumbo and re-imported several revisions of the
vendor driver there:
https://github.com/kostikbel/rere

After that I am quite happy running stable/11 for a year without an issue.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-net@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

Reply via email to