From nobody Thu Apr 18 17:26:02 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 4VL4SC5pX9z5HFH2 for ; Thu, 18 Apr 2024 17:26:03 +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 4VL4SC4KF0z53Wx for ; Thu, 18 Apr 2024 17:26:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1713461163; a=rsa-sha256; cv=none; b=aCtKUwiNg8RfY57QggGwpRM6fbiijZXt8VOFhGENds+6V1wWBHj7Mm/KTeo4cwuTMWinuE b2BMPTncmPHsmHzwnO8phFdKSOwY20n6ZBd3QPGkw76nDNcjuFv0YsOQyenagDiSU/2OJ4 3QhBEMqwwS8JjWAG9orkdB9S6E3qIN5zY5D0lIKnXpLVjR1gOB7n31I/px2+3RYS19kIiQ qOX4Vh8jbz/9nOjXN47PJ8gw89DoHjq3zGjRIhqfN7Mm2xaLOOq16PoGMyRHH/WSEwzjC1 LP37VTKiV+2kUSCv6M2HhR6u8zyHhxi7Z6eTAf4Fj+XSkJlP05bHCirjjD/xpA== 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=1713461163; 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=Crp+rgIjcXeEIfqV5vSxszNhrG0BPwwFuoSYHj7JeA0=; b=Aff/6INjLSr+LkA+Bss+0rvkZvIL0dB6NpT0+PRGITg2fvUoi+2NeUfRMi/38nSBp2WdE+ +trQMQZ0NNg30p0ZGCOd0oYIu8BrZ7CpgPyHlUlxccF7l860WCxm03ZJBTdps8eFE6y7M2 Cp3mxdIWu89lXcFdjCEM/tksXxM11RhP6sUPwnI+xgsasxhsBQ4BAflrGksYt0GlYvuFyx 68a+bN24YoqS/TMniMZju1H4wU88wjQVbWI1OlYxOWDPVx6/0Qt58IH2tubYkAdVAsXFlo +ZVRqP4q3zOE6f8jUgfnzNWPjPUj+BuJiN3LVT3uxbYSGL1jx1gFl2E8zakFNQ== 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 4VL4SC3pTpzJgb for ; Thu, 18 Apr 2024 17:26:03 +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 43IHQ3TM016353 for ; Thu, 18 Apr 2024 17:26:03 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 43IHQ3mF016351 for bugs@FreeBSD.org; Thu, 18 Apr 2024 17:26:03 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: Thu, 18 Apr 2024 17:26:02 +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: performance X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: thomas@gibfest.dk X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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 --- Comment #2 from Thomas Steen Rasmussen / Tykling --- ok so today it started acting up again: ------------------ [tykling@nuc1 ~]$ time sysctl dev.hwpstate_intel dev.hwpstate_intel.5.epp: 50 dev.hwpstate_intel.5.%parent: cpu5 dev.hwpstate_intel.5.%pnpinfo:=20 dev.hwpstate_intel.5.%location:=20 dev.hwpstate_intel.5.%driver: hwpstate_intel dev.hwpstate_intel.5.%desc: Intel Speed Shift dev.hwpstate_intel.4.epp: 50 dev.hwpstate_intel.4.%parent: cpu4 dev.hwpstate_intel.4.%pnpinfo:=20 dev.hwpstate_intel.4.%location:=20 dev.hwpstate_intel.4.%driver: hwpstate_intel dev.hwpstate_intel.4.%desc: Intel Speed Shift dev.hwpstate_intel.3.epp: 50 dev.hwpstate_intel.3.%parent: cpu3 dev.hwpstate_intel.3.%pnpinfo:=20 dev.hwpstate_intel.3.%location:=20 dev.hwpstate_intel.3.%driver: hwpstate_intel dev.hwpstate_intel.3.%desc: Intel Speed Shift dev.hwpstate_intel.2.epp: 50 dev.hwpstate_intel.2.%parent: cpu2 dev.hwpstate_intel.2.%pnpinfo:=20 dev.hwpstate_intel.2.%location:=20 dev.hwpstate_intel.2.%driver: hwpstate_intel dev.hwpstate_intel.2.%desc: Intel Speed Shift load: 14.18 cmd: sysctl 38907 [runnable] 17.57r 0.00u 0.00s 0% 1780k dev.hwpstate_intel.1.epp: 50 dev.hwpstate_intel.1.%parent: cpu1 dev.hwpstate_intel.1.%pnpinfo:=20 dev.hwpstate_intel.1.%location:=20 dev.hwpstate_intel.1.%driver: hwpstate_intel dev.hwpstate_intel.1.%desc: Intel Speed Shift dev.hwpstate_intel.0.epp: 50 dev.hwpstate_intel.0.%parent: cpu0 dev.hwpstate_intel.0.%pnpinfo:=20 dev.hwpstate_intel.0.%location:=20 dev.hwpstate_intel.0.%driver: hwpstate_intel dev.hwpstate_intel.0.%desc: Intel Speed Shift dev.hwpstate_intel.%parent:=20 real 0m56.086s user 0m0.000s sys 0m0.002s [tykling@nuc1 ~]$=20 ------------------ I ran procstat -kka while it was hanging and grepped for the pid in the out= put: ------------------ [tykling@nuc1 ~]$ sudo procstat -kka > procstat.txt [tykling@nuc1 ~]$ grep 38907 procstat.txt=20 38907 112055 sysctl - mi_switch+0xbf sched_bind+0x72 sysctl_epp_select+0xb3 sysctl_root_handler_locked+0x91 sysctl_root+0x244 userland_sysctl+0x176 sys___sysctl+0x60 amd64_syscall+0x1= 10 fast_syscall_common+0xf8=20 [tykling@nuc1 ~]$=20 ------------------ Was this what you were looking for? I have the rest of procstat.txt still b= ut I have to reboot the host now because it is affecting operation. Slowly more = and more alerts for weird network related stuff starts triggering until eventua= lly I cannot reach it anymore over the network. Thanks! --=20 You are receiving this mail because: You are the assignee for the bug.=