From 3e7a697db04fedaa5a7b00ce746d4e235cbf53b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9ana=20=E6=B1=9F?= Date: Thu, 30 Oct 2025 21:25:44 +0800 Subject: [PATCH] vanadium/kernel-overlay: add performance monitoring options --- nix/configurations/vanadium/kernel-overlay.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/nix/configurations/vanadium/kernel-overlay.nix b/nix/configurations/vanadium/kernel-overlay.nix index 6cb8c7e4..4243b3f6 100644 --- a/nix/configurations/vanadium/kernel-overlay.nix +++ b/nix/configurations/vanadium/kernel-overlay.nix @@ -30,10 +30,15 @@ in { SCHED_MC = yes; X86_MCE = yes; X86_MCE_AMD = yes; + X86_MCE_INTEL = no; PERF_EVENTS_INTEL_RAPL = yes; X86_AMD_PSTATE = yes; X86_POWERNOW_K8 = no; + # Processor type and features > Performance monitoring + PERF_EVENTS_AMD_POWER = yes; + PERF_EVENTS_AMD_UNCORE = yes; + # With amd_pstate=active ondemand won't be available anyway. # Without more testing, we should accept the claim that its more power efficient and stick to it CPU_FREQ = yes;