Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Feb 2024 14:47:29 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 276967] sysctl dev.hwpstate_intel periodically slow
Message-ID:  <bug-276967-227-KAqgfW7fVe@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-276967-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-276967-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

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.

help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-276967-227-KAqgfW7fVe>