[Bug 256375] iflib/if_em: unplugging network cable causes huge KTorrent slowdown

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 17 Jun 2021 01:02:07 +0000
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256375

--- Comment #14 from Kevin Bowling <kbowling_at_freebsd.org> ---
(In reply to Alexey Dokuchaev from comment #11)
I think it is probably ok to remove the 'iflib_admin_intr_deferred' line in
'em_if_media_status' but by your numbers it doesn't seem to be causal.

There are some tricky/unpleasant things about this hardware, if you go dig down
in the e1000 API there is a significant loop with a significant delay in
e1000_phy_has_link_generic.  It may make sense to do some memoization on low
quality hw like this, and be more careful about enqueuing the admin task if
it's already queued.

-- 
You are receiving this mail because:
You are the assignee for the bug.
Received on Thu Jun 17 2021 - 01:02:07 UTC

Original text of this message