[Bug 295043] pf: per-packet microuptime() calls from 0493260115db cause major throughput regression with expensive timecounters
[email protected] Thu, 21 May 2026 21:20:10 +0000
| Newsgroups | gmane.os.freebsd.devel.pf4freebsd |
|---|---|
| Message-ID | <[email protected]/bugzilla/> |
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D295043 --- Comment #1 from [email protected] --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3De4130ac13d2fe9c17b8f8e86d39a7b522= 3fe7b79 commit e4130ac13d2fe9c17b8f8e86d39a7b5223fe7b79 Author: Kristof Provost <[email protected]> AuthorDate: 2026-05-21 11:31:11 +0000 Commit: Kristof Provost <[email protected]> CommitDate: 2026-05-21 21:19:50 +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") sys/net/pfvar.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --=20 You are receiving this mail because: You are the assignee for the bug.=