From nobody Sun Feb 11 14:47:29 2024 X-Original-To: bugs@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 4TXr6B4Mm6z59rXw for ; Sun, 11 Feb 2024 14:47:30 +0000 (UTC) (envelope-from bugzilla-noreply@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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TXr6B2C9wz4X6S for ; Sun, 11 Feb 2024 14:47:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1707662850; a=rsa-sha256; cv=none; b=F86H+gfgzv0JmHEmhICQIPaIYoXGU/imu2cjNOln43iGHONJxXWqHy8ZZwSCmWxPanDxpP QArf2aAkoTEJX2s3znM0UD/r0hkFcqJO0LgRcYyFYZEWklA1nW5jlHAwSOFsE0ZN6W5sC3 NrwgV6czhw4OkN6usuBVgx0Wxm4/PCQIrCJVraVAchsUPsgu6sYug/pIHD08jeRqEGbROu 07TgEo6lInlHO5GcR9ogZ4iLxrzQME7Py8o8lwTqqTfjUfMJojZZvyA1KzEaEaJ0fQlVw7 aPSFxlXLq55UJXnrk/euXioxtDgj4x9rdIn2l//hKp4QojB0rjeSHWfzOrniFw== 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=1707662850; 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: in-reply-to:in-reply-to:references:references; bh=1sXzPe71vRdZAn4iCMWsHSgxCfQv4QU2gbkVph80mzo=; b=kv416EtEyLhLV7wSF0IglfgJUCcr+FZROfKTPxe1Wg8yHPM7XuX0FJvlKjEiqSh9idmwuZ sNVUHTNrwWpD12atrGl+O2GyUJBvjDTPRluyhEjSv8pLGxL9D6lzDyTm+PSEXMfmkrF3+S AlGpbETc6oeiGyehwdgLq8JKuBb+8lF+6uF41B1sHdEU6lYVqkZkNiSzGdur8l78If48Ut NEX51xNfRGmGOoAoLfYhWTNRlBsNApLmea+MWrayo3QP4JDcm05PsMXTeMp3oYwHe0vgaE 08hn/UDWroh+HDtYJfSr+PK+zY2pe3ghAAX4vxjaXz3GIGEKPf4qvSzBtCsobg== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4TXr6B1BCWz13fV for ; Sun, 11 Feb 2024 14:47:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 41BElUWv021749 for ; Sun, 11 Feb 2024 14:47:30 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 41BElUGJ021744 for bugs@FreeBSD.org; Sun, 11 Feb 2024 14:47:30 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 276967] sysctl dev.hwpstate_intel periodically slow Date: Sun, 11 Feb 2024 14:47:29 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.2-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: markj@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D276967 Mark Johnston changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |markj@FreeBSD.org Status|New |Open --- Comment #1 from Mark Johnston --- The sysctl handler uses sched_bind() to pin itself to a CPU. This is fragi= le and can take "forever" if a higher-priority thread is monopolizing the CPU.= =20 Assuming this is the problem here, we should modify the handler to use an I= PI instead. When the problem occurs, is there high CPU usage? Output from "procstat -k= ka" during a hang would be useful. --=20 You are receiving this mail because: You are the assignee for the bug.=