From nobody Sun Aug 2 04:23:01 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 4hCRVt30bzz6n5hl for ; Sun, 02 Aug 2026 04:23:02 +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 4hCRVt15Zjz49CF for ; Sun, 02 Aug 2026 04:23:02 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1785644582; 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=iGUCC6C5T+LyBZGWGiKQz7KHlsKd1/zWYAgv2zWzsEk=; b=KtioeS+jT0TGWeqaRWsGNGTujbLfip5uK5QpZscLBL78IleTtm3D8HN0lv2oQAgiwxdtN3 bbJDJG5X+jezuDCT9v6D+1wXx5PJh/lmZ5xDWhN+opAEILLg6d/GiXYRzEpoL6ILGb9JB+ PToqViuEnyQM3qmTRtbOBEZtp+p8dLL2C9b4JQP1dfWTN0l9j+lAuGDjitg6tazsW5gESc XphJamTQUVm1eOzJedgkKBpdVweQp7+SmyXDUGDx1pUmBgnIobT+T+U1jdmVsekx+F8zFC tk3usMyAV253IRChaTH3isvQ5l6r2a6nED2M0S1bSQOa7k7ihuWSiEE89ps3qg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1785644582; a=rsa-sha256; cv=none; b=UbdF0ejp+k7pEw4iN1TmsgeRIaPui4omTOrPwzi9EoEu+yE3LRalq7qXdJLx3St8PwJQyY BFQ18KSVmvqWMSGjm1U2821Y0BUnsn5Aryb6huoPPCtacMKx1gGm4bZj/Clv3fNlSP1L0D cxDc5ddtWd/r9RXZI5Y6YJnsRovGlYRacMs7mXIGrraRplSQdB7xrqjdsK7W9rqZSkHRJ7 PYVdsB+yGA/O6SRv8ATL1h0ZH84gDImOVjpFGIukS1tWRNWrkc/IRZjQip2787M3LWgFtm YUkE9xpWuzZt81J1Wqq33pIF6OrGYYkTDJ6YwIU+cNL1OCdHA/Ij/cHPhAMNvw== 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=1785644582; 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=iGUCC6C5T+LyBZGWGiKQz7KHlsKd1/zWYAgv2zWzsEk=; b=cOrvaunDy8yUaCCscw2BLDGp+51SD48VmJLj6oEF9cUewNX8tKUH5AOJenQ2HkeH2u0C4D lC8mco+t+0QhJmDdbV7Do6wrZ+gz7lfSw28ZLLzZ2EX2T4Yo7WiLbbIsvyvd6FESw9sUk4 Mpw74BQwb2NLUmURrrWaK0KbJcmS4hUmPA5Vg5Em0+x2HYnS9Kt4cInW2KU87uRnc8sdSH McQwxGC8Ssd/SOQYj0mSgn4iKks/7aprD4cwLl3deqSnn9GsyKL1EiI6z7wg3c/0BMwPNB 6/aETcNmKEQ0GqxiQ0GRscnRzXvYwLyuyondbBkgtdc1yEwZpvxD8rsKVuBTOQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4hCRVs6v6Rz1DWd for ; Sun, 02 Aug 2026 04:23:01 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 3c214 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Sun, 02 Aug 2026 04:23:01 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Kevin Bowling Subject: git: 871efe1300e3 - stable/15 - 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/15 X-Git-Reftype: branch X-Git-Commit: 871efe1300e3db4c6f49d751d37108592cec869b Auto-Submitted: auto-generated Date: Sun, 02 Aug 2026 04:23:01 +0000 Message-Id: <6a6ec625.3c214.5b17f39b@gitrepo.freebsd.org> The branch stable/15 has been updated by kbowling: URL: https://cgit.FreeBSD.org/src/commit/?id=871efe1300e3db4c6f49d751d37108592cec869b commit 871efe1300e3db4c6f49d751d37108592cec869b Author: Kevin Bowling AuthorDate: 2026-07-25 22:09:48 +0000 Commit: Kevin Bowling CommitDate: 2026-08-02 04:21:05 +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.