[Bug 295043] pf: per-packet microuptime() calls from 0493260115db cause major throughput regression with expensive timecounters

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 11 Jun 2026 20:29:15 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=295043

--- Comment #2 from commit-hook@FreeBSD.org ---
A commit in branch stable/15 references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=a9ebef44a473b1262abad53a22855317c9406948

commit a9ebef44a473b1262abad53a22855317c9406948
Author:     Kristof Provost <kp@FreeBSD.org>
AuthorDate: 2026-05-21 11:31:11 +0000
Commit:     Kristof Provost <kp@FreeBSD.org>
CommitDate: 2026-06-11 20:21:57 +0000

    pf: switch to getmicro(up)time()

    It is reported that micro(up)time() performs poorly in certain
    virtualisation scenarios. Absolute accuracy isn't required here, so
    switch to the slightly less accurate (as per the man page) get-variants.

    PR:             295043
    MFC after:      3 weeks
    Sponsored by:   Rubicon Communications, LLC ("Netgate")

    (cherry picked from commit e4130ac13d2fe9c17b8f8e86d39a7b5223fe7b79)

 sys/net/pfvar.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

-- 
You are receiving this mail because:
You are the assignee for the bug.