From nobody Sun Aug 21 02:03:24 2022 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 4M9JgK0hDpz4Zt0T for ; Sun, 21 Aug 2022 02:03:25 +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 4M9JgJ4cl3z3KQx for ; Sun, 21 Aug 2022 02:03:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 4M9JgJ3gfYztDg for ; Sun, 21 Aug 2022 02:03:24 +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 27L23ONZ016035 for ; Sun, 21 Aug 2022 02:03:24 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 27L23OnY016034 for bugs@FreeBSD.org; Sun, 21 Aug 2022 02:03:24 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 265965] Intel SpeedShift (hwpstate_intel) seems to affect system stability Date: Sun, 21 Aug 2022 02:03:24 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: henry.hu.sh@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1661047404; 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; bh=a+ktriBIHOJjokKCISo/VXJMyA0wrW5AEbAjH4X+QAY=; b=Zk0456yqfBFqXa0hZUzyFuW4veANsLtKNvGZmbxE9U0U+nvLe2+Rpg6npxh8VVMg+mXO08 1+UfzkIWMcm5qaNS3AzPNpkGzjWbhn9l8+mp74DEFminp3pgFzowRVwGo5OpyyKLF1LXJy bA+KQkM2Z0DcyStLh7PKfDxR5DOKBxUHs/qNkLuhFp7bTttjdzlT0NBtNTkxQj7p1+DdjU XCtzcZlU9oNmMZfM7VtrpUinvunmXFP1kkbRYE5DLPKEn8uAvQ77Qbv4fgDu833YmEBGqa fYee6PfTkvDXN9iMo8qu5gZdrzF232uOz2j6UBO7smfq5n3zSEfCvfVyC56nvw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1661047404; a=rsa-sha256; cv=none; b=otuWxMhDc2cVzl9g+P6MAsXeIN7kGNthje+quO/ZdaDgti040hAEkifMFwvbIQvxekf0Qu 32QnYP393O5TxN2pcTzFmXztGY0CiJ178PHIt/m3PkYoOceEGj+dxwM8W0es5gP6Zqrxjb P76Gy29b1xMgBPntYYaNS60AuOCYKDqXtVHbBt4SH5Q1N0O6z5XmuTVjVrwHI78VEW92PN 2BFO7Gfl0cCk72wlJwLiPbs+r/pjitcPuVh3hmrBHlsmfK4Zur41OtKj6CQafb/TSluih5 6Y9NwI1gbkLXEnlYueQs0tTgzrR5x1bKozXqe1PQOe0geG3OUaleJLw4txp2xQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265965 Bug ID: 265965 Summary: Intel SpeedShift (hwpstate_intel) seems to affect system stability Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: henry.hu.sh@gmail.com Recently I've upgraded my system with a Intel 12th gen i5 12600K CPU (with a Z690 motherboard and DDR5 memories). After that, when I build world with -j= 16, it often fails with all kinds of clang crashes. The crashes happen in random places. Some examples: * https://pastebin.com/sPi9EJ7Q * https://pastebin.com/KtBQPzd7 The stack traces do not make much sense, other than it seems to often relat= ed to jemalloc. I happen to notice that the CPU frequencies shown in `sysctl dev.cpu` do not make sense. The cpufreq seems to be using the hwpstate_intel driver. I kind= of remember that this was an old driver, and the SpeedStep (est) driver is bet= ter, so I disabled it in driver hints. Now: * The frequencies make sense: dev.cpu.0.freq_levels: 3701/125000 3700/125000 3500/114836 3300/106234 3100/96794 2900/88829 2700/80049 2500/72716 2200/61= 704 2000/55088 1800/47739 1600/41680 1400/34950 1200/29439 1000/24183 800/18310 * I no longer get crashes! I can build world with -j16 with no issue. Thus, I think that the hwpstate_intel driver should possibly be disabled for the newer Intel CPUs (and I think it's recommended to be disabled anyway?). --=20 You are receiving this mail because: You are the assignee for the bug.=