From nobody Sun Aug 2 04:27:36 2026 X-Original-To: dev-commits-src-branches@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4hCRc903V7z6n6Hn for ; Sun, 02 Aug 2026 04:27:37 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "YR1" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4hCRc85ZpYz4FLM for ; Sun, 02 Aug 2026 04:27:36 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1785644856; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=I/kgN+aQ13UKkGEiss8KBo0YMU6sIa4MbI8Rc2nbym4=; b=FoLr+hnm+2+/E6qB13i7AcO0mcVR1xyv6ILBdzcT/HiA6htEvvXm5K8B9wr8bigfUrM/jD tGWjIxZtS8fIHTWzb74lCiFKacmrGp6lAMVNMUiaGuAdmKgJBgO47WeusOXHT+SZey1bge UZJIdaGDSbHFCE3yxFagt2W39OiD187lIW2+mIQfPL5ccxYiAVHbNZjnEvateXaCFp4oPC brIXk/o6v2h4f73pGsxyaIu1KIuAMSngFnpuCI3jshYbEk+mMqzO2XGMCH8TWszxEk27a6 0DU4C147xy1RLQNEOWn69rPW2a6yAkMYcMfxlpf28GcOCR4iyvFehy51UOswzA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1785644856; a=rsa-sha256; cv=none; b=GZgotMj9B8/RCCZcxCR3/+4HKCvJVuN7KOzuLAe/vYXX8VDBGDVumNQgb0nAOht3JCkXRF ndsCjkDphjmEjr76kWaWeJEQPSYHgu6LCTne+TPGf7aUjdyhUTf3TzFCK4vaJ0BFoee/vG wuQ3MmQ9ik2ZD+xUZ5ab1V3kdl8dDqKcgFw3vK0Sz06I9iCsny7ke9g3+qqx/D0sqXklyQ lqHromvXvQviFb5CWASWijtEVuu1wYm3ZKAsxdlhtwdA0YniiN8qqCmTlEppzNcsZ+h1l1 0nzRWQkI3Iwa1l8KcgNGjboM/AVDtSDKqbk1C5l7ADnGxMXysxeXH3e7H/E01g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1785644856; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=I/kgN+aQ13UKkGEiss8KBo0YMU6sIa4MbI8Rc2nbym4=; b=xtbzkyoyORRKwurbHD58QwJqX7y52kp6X3+mH/R7VXc3ZrKZzmmg+V7VlcmkQXVQbe0Jm4 H095rH+MlYy/cHO3cLDAd0y6JVqVckY3w5YcpxphNiqQl1qA+EzWAuvYGfZnhj7zlYBKrF 5z3eLK1qdGU+3A4gOSeHFxDQL3eDeGB95YFsAady2L2KHR5GXLTQ0AM5GPjpuvD/yLz0Ti o7kvQ1qXtyQE+C0Qfsi0Ud7pUGV9J/GYLKTXrZrXFzKAEFu40BOH1gFMhfkcQGm4Jru5eU K90JeDjbDWzi6pm+45gCj180jg+pBUG5FJpGjfmjflIYuRUlTuIbJ9BwqKE6jg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4hCRc84KwWz1DWm for ; Sun, 02 Aug 2026 04:27:36 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 3c220 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Sun, 02 Aug 2026 04:27:36 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Kevin Bowling Subject: git: 3edb66a3d6aa - stable/14 - em(4): document adaptive interrupt moderation List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-branches@freebsd.org Sender: owner-dev-commits-src-branches@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kbowling X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: 3edb66a3d6aa5e2c9c58a5f8f972a1a68ea644a3 Auto-Submitted: auto-generated Date: Sun, 02 Aug 2026 04:27:36 +0000 Message-Id: <6a6ec738.3c220.cca44cc@gitrepo.freebsd.org> The branch stable/14 has been updated by kbowling: URL: https://cgit.FreeBSD.org/src/commit/?id=3edb66a3d6aa5e2c9c58a5f8f972a1a68ea644a3 commit 3edb66a3d6aa5e2c9c58a5f8f972a1a68ea644a3 Author: Kevin Bowling AuthorDate: 2026-07-25 22:09:48 +0000 Commit: Kevin Bowling CommitDate: 2026-08-02 04:26:11 +0000 em(4): document adaptive interrupt moderation Describe the disabled, adaptive, and low-latency settings and their interrupt-rate tradeoffs. (cherry picked from commit b6b379b94781da5d4328f6f57273fbe7bd9dc687) --- share/man/man4/em.4 | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/share/man/man4/em.4 b/share/man/man4/em.4 index 0e9c08560545..4835d41320b2 100644 --- a/share/man/man4/em.4 +++ b/share/man/man4/em.4 @@ -272,6 +272,20 @@ interrupt is generated. .It Va hw.em.max_interrupt_rate Maximum interrupts per second. The default value is 8000. +This is the rate used when adaptive interrupt moderation is disabled, and +the fallback when it has no usable measurement. +.It Va hw.em.enable_aim +Adaptive interrupt moderation. +The interrupt rate is derived from the average size of the packets seen +since the previous interrupt, so that bulk traffic is coalesced while small +packet traffic keeps its latency. +A value of 0 disables it and pins the rate to +.Va hw.em.max_interrupt_rate , +1 selects the normal range, and 2 selects the low-latency range. +The default value is 1. +Setting 2 raises the interrupt rate substantially on small packet workloads +and is rarely a win; prefer the default unless latency has been measured to +matter more than the additional interrupt load. .It Va hw.em.rx_process_limit Maximum number of received packets to process at a time, -1 means unlimited. The default value is 100.