From 5e7f298a8f8fc5da5774cc2db36b69ddf53d40ee Mon Sep 17 00:00:00 2001 From: Oscar Wallberg Date: Fri, 7 Mar 2025 05:38:08 +0100 Subject: [PATCH] fix(linux): update config --- .config/frogminer/linux-tkg.cfg | 42 ++++++++++++++++++++------------- 1 file changed, 25 insertions(+), 17 deletions(-) diff --git a/.config/frogminer/linux-tkg.cfg b/.config/frogminer/linux-tkg.cfg index 96f861a..595c8e2 100644 --- a/.config/frogminer/linux-tkg.cfg +++ b/.config/frogminer/linux-tkg.cfg @@ -9,7 +9,7 @@ _distro="Arch" # you can also set a specific kernel version, e.g. "6.0-rc4" or "5.10.51", # -> note however that a "z" too small on a "x.y.z" version may make patches fail # as they got adapted for newer "z" values. -_version="6.12" +_version="6.13" #### MISC OPTIONS #### @@ -51,15 +51,19 @@ _force_all_threads="true" # Set to true to prevent ccache from being used and set CONFIG_GCC_PLUGINS=y (which needs to be disabled for ccache to work properly) _noccache="false" -# [Experimental] Build only a subset of the default kernel modules list to speedup compile time and lower needed space to build kernel -# Notes: -# - If the kernel fails to boot with this option active, disable it and rebuild -# - This option cannot be used with _modprobeddb="true" +# Build only a subset of the default kernel modules list to speedup compile time and lower needed space to build kernel +# Important: - The kernel may fail to boot or behave weirdly with this option active. If it is the case, disable it and rebuild +# - If it is the case and know which modules were missing, please open a bug report so we can add them to the "diet" db +# Notes: +# - This option cannot be used with _modprobeddb="true" _kernel_on_diet="false" -# Set to true to use modprobed db to clean config from unneeded modules. Speeds up compilation considerably. Requires root - https://wiki.archlinux.org/index.php/Modprobed-db +# Set to true to use modprobed db to clean config from unneeded modules. Speeds up compilation considerably. +# Requires root - https://wiki.archlinux.org/index.php/Modprobed-db # Using this option can trigger user prompts if the config doesn't go smoothly. -# !!!! Make sure to have a well populated db !!!! +# Notes: +# - Make sure to have a well populated db +# - Otherwise use the '_kernel_on_diet' option instead _modprobeddb="false" # modprobed-db database file location @@ -104,6 +108,7 @@ _STRIP="true" # CPU scheduler - Options are "pds", "bmq", "cacule", "tt", "bore", "bore-eevdf", "echo", "cfs" (linux 6.5-) or "eevdf" (kernel's default, 6.6+) # "upds" (TkG's Undead PDS) and "muqss" are also available on legacy kernel revisions +# If unsure, select "eevdf" (default) _cpusched="bore" # Compiler to use - Options are "gcc" or "llvm". @@ -146,13 +151,15 @@ _preempt_rt_force="" # 2: Set rq skip task. _sched_yield_type="" -# Round Robin interval is the longest duration two tasks with the same nice level will be delayed for. When CPU time is requested by a task, it receives a time slice equal -# to the rr_interval in addition to a virtual deadline. When using yield_type 2, a low value can help offset the disadvantages of rescheduling a process that has yielded. +# [MuQSS, PrjC, PDS, BMQ only, for kernel <= 6.6] +# Round Robin interval is the longest duration two tasks with the same nice level will be delayed for. +# When CPU time is requested by a task, it receives a time slice equal to the rr_interval in addition to a virtual deadline. +# When using yield_type 2, a low value can help offset the disadvantages of rescheduling a process that has yielded. # MuQSS default: 6ms" # PDS default: 4ms" # BMQ default: 2ms" # Set to "1" for 2ms, "2" for 4ms, "3" for 6ms, "4" for 8ms, or "default" to keep the chosen scheduler defaults. -_rr_interval="" +_rr_interval="default" # Set to "true" to disable FUNCTION_TRACER/GRAPH_TRACER, lowering overhead but limiting debugging and analyzing of kernel functions - Kernel default is "false" _ftracedisable="false" @@ -184,10 +191,6 @@ _bcachefs="false" # ! Can't be used on multiple kernels installed side-by-side, which will require https://aur.archlinux.org/packages/ntsync-dkms instead of this option ! _ntsync="false" -# Set to "true" to enable Binder modules to use Waydroid Android containers -# !!! Not available on Project C schedulers (PDS & BMQ) due to disabled PSI on those !!! -_waydroid="false" - # Various patches and tweaks from Zen/Liquorix, Xanmod and the community - Default is "true" _glitched_base="true" @@ -199,8 +202,13 @@ _zenify="true" _compileroptlevel="1" # CPU compiler optimizations - Defaults to prompt at kernel config if left empty -# AMD CPUs : "k8" "k8sse3" "k10" "barcelona" "bobcat" "jaguar" "bulldozer" "piledriver" "steamroller" "excavator" "zen" "zen2" "zen3" "zen4" "zen5" (zen3 opt support depends on GCC11) (zen4 opt support depends on GCC13) (zen5 opt support depends on GCC14 or CLANG 19.1) -# Intel CPUs : "mpsc"(P4 & older Netburst based Xeon) "atom" "core2" "nehalem" "westmere" "silvermont" "sandybridge" "ivybridge" "haswell" "broadwell" "skylake" "skylakex" "cannonlake" "icelake" "goldmont" "goldmontplus" "cascadelake" "cooperlake" "tigerlake" "sapphirerapids" "rocketlake" "alderlake" "raptorlake" "meteorlake" (raptorlake and meteorlake opt support require GCC13) +# AMD CPUs +# "k8" "k8sse3" "k10" "barcelona" "bobcat" "jaguar" "bulldozer" "piledriver" "steamroller" "excavator" +# "zen" "zen2" "zen3" (>=GCC-11) "zen4" (GCC-13+) "zen5" (GCC-14+ or CLANG-19.1+) +# Intel CPUs : +# "mpsc"(P4 & older Netburst based Xeon) "atom" "core2" "nehalem" "westmere" "silvermont" "sandybridge" "ivybridge" "haswell" +# "broadwell" "skylake" "skylakex" "cannonlake" "icelake"/"icelake_client" (same) "icelake_server" (kernel >= 6.1 only) "goldmont" "goldmontplus" "cascadelake" "cooperlake" +# "tigerlake" "sapphirerapids" "rocketlake" "alderlake" "raptorlake" (GCC13+) "meteorlake" (GCC13+) # Other options : # - "native_amd" (use compiler autodetection - Selecting your arch manually in the list above is recommended instead of this option) # - "native_intel" (use compiler autodetection - Selecting your arch manually in the list above is recommended instead of this option) @@ -236,7 +244,7 @@ _tt_high_hz="false" # MuQSS and PDS only - SMT (Hyperthreading) aware nice priority and policy support (SMT_NICE) - Kernel default is "true" - You can disable this on non-SMT/HT CPUs for lower overhead _smt_nice="" -# EEVDF only (6.8+) - Add support for Sched-ext https://github.com/sched-ext/scx +# EEVDF only (only for 6.8 - 6.11, upstreamed in >= 6.12 and always enabled) - Add support for Sched-ext https://github.com/sched-ext/scx # Arch users can find scx schedulers on the AUR (https://aur.archlinux.org/packages/scx-scheds & https://aur.archlinux.org/packages/scx-scheds-git. For -git scx schedulers the latest rc kernel is reccomended) thanks to @sirlucjan (for persistence, set scheduler in "/etc/default/scx" and enable the `scx` service). _eevdf_sched_ext_support="true"