[Bug 276967] sysctl dev.hwpstate_intel periodically slow

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 11 Feb 2024 14:47:29 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276967

Mark Johnston <markj@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |markj@FreeBSD.org
             Status|New                         |Open

--- Comment #1 from Mark Johnston <markj@FreeBSD.org> ---
The sysctl handler uses sched_bind() to pin itself to a CPU.  This is fragile
and can take "forever" if a higher-priority thread is monopolizing the CPU. 
Assuming this is the problem here, we should modify the handler to use an IPI
instead.

When the problem occurs, is there high CPU usage?  Output from "procstat -kka"
during a hang would be useful.

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