Archlinux Kernel based on different schedulers and some other performance improvements.
Shell archlinuxbaby-schedcachycachy-schedulercachyoscacule-schedkernellinux-kernelperformanceperformance-tuning
Reapply "6.7: Update cpu scheduler flags (#218)"
Peter Jung0bc3e2783f39
diff --git a/linux-bore/PKGBUILD b/linux-bore/PKGBUILDindex a368f99a..54fa064a 100644--- a/linux-bore/PKGBUILD+++ b/linux-bore/PKGBUILD@@ -224,9 +224,8 @@ fi## List of CachyOS schedulerscase "$_cpusched" in- cachyos) # CachyOS Scheduler (BORE + SCHED-EXT)- source+=("${_patchsource}/sched/0001-sched-ext.patch"- "${_patchsource}/sched/0001-bore-cachy.patch");;+ cachyos|sched-ext) ## SCHED-EXT+ source+=("${_patchsource}/sched/0001-sched-ext.patch");;bore) ## BORE Schedulersource+=("${_patchsource}/sched/0001-bore-cachy.patch");;rt) ## EEVDF with RT patches@@ -239,8 +238,6 @@ case "$_cpusched" inhardened) ## Hardened Patches with BORE Schedulersource+=("${_patchsource}/sched/0001-bore-cachy.patch""${_patchsource}/misc/0001-hardened.patch");;- sched-ext) ## SCHED-EXT- source+=("${_patchsource}/sched/0001-sched-ext.patch");;esac## lrng patchset@@ -299,12 +296,11 @@ prepare() {[ -z "$_cpusched" ] && _die "The value is empty. Choose the correct one again."case "$_cpusched" in- cachyos) scripts/config -e SCHED_BORE -e SCHED_CLASS_EXT;;+ cachyos|sched-ext) scripts/config -e SCHED_CLASS_EXT;;bore|hardened) scripts/config -e SCHED_BORE;;eevdf) ;;rt) scripts/config -e PREEMPT_COUNT -e PREEMPTION -d PREEMPT_VOLUNTARY -d PREEMPT -d PREEMPT_NONE -e PREEMPT_RT -d PREEMPT_DYNAMIC -d PREEMPT_BUILD;;rt-bore) scripts/config -e SCHED_BORE -e PREEMPT_COUNT -e PREEMPTION -d PREEMPT_VOLUNTARY -d PREEMPT -d PREEMPT_NONE -e PREEMPT_RT -d PREEMPT_DYNAMIC -d PREEMPT_BUILD;;- sched-ext) scripts/config -e SCHED_CLASS_EXT;;*) _die "The value $_cpusched is invalid. Choose the correct one again.";;esacdiff --git a/linux-cachyos-bore/PKGBUILD b/linux-cachyos-bore/PKGBUILDindex 2f1c414d..56e1c647 100644--- a/linux-cachyos-bore/PKGBUILD+++ b/linux-cachyos-bore/PKGBUILD@@ -224,9 +224,8 @@ fi## List of CachyOS schedulerscase "$_cpusched" in- cachyos) # CachyOS Scheduler (BORE + SCHED-EXT)- source+=("${_patchsource}/sched/0001-sched-ext.patch"- "${_patchsource}/sched/0001-bore-cachy.patch");;+ cachyos|sched-ext) ## SCHED-EXT+ source+=("${_patchsource}/sched/0001-sched-ext.patch");;bore) ## BORE Schedulersource+=("${_patchsource}/sched/0001-bore-cachy.patch");;rt) ## EEVDF with RT patches@@ -239,8 +238,6 @@ case "$_cpusched" inhardened) ## Hardened Patches with BORE Schedulersource+=("${_patchsource}/sched/0001-bore-cachy.patch""${_patchsource}/misc/0001-hardened.patch");;- sched-ext) ## SCHED-EXT- source+=("${_patchsource}/sched/0001-sched-ext.patch");;esac## lrng patchset@@ -299,12 +296,11 @@ prepare() {[ -z "$_cpusched" ] && _die "The value is empty. Choose the correct one again."case "$_cpusched" in- cachyos) scripts/config -e SCHED_BORE -e SCHED_CLASS_EXT;;+ cachyos|sched-ext) scripts/config -e SCHED_CLASS_EXT;;bore|hardened) scripts/config -e SCHED_BORE;;eevdf) ;;rt) scripts/config -e PREEMPT_COUNT -e PREEMPTION -d PREEMPT_VOLUNTARY -d PREEMPT -d PREEMPT_NONE -e PREEMPT_RT -d PREEMPT_DYNAMIC -d PREEMPT_BUILD;;rt-bore) scripts/config -e SCHED_BORE -e PREEMPT_COUNT -e PREEMPTION -d PREEMPT_VOLUNTARY -d PREEMPT -d PREEMPT_NONE -e PREEMPT_RT -d PREEMPT_DYNAMIC -d PREEMPT_BUILD;;- sched-ext) scripts/config -e SCHED_CLASS_EXT;;*) _die "The value $_cpusched is invalid. Choose the correct one again.";;esacdiff --git a/linux-cachyos-eevdf/PKGBUILD b/linux-cachyos-eevdf/PKGBUILDindex f748d434..1801502f 100644--- a/linux-cachyos-eevdf/PKGBUILD+++ b/linux-cachyos-eevdf/PKGBUILD@@ -224,9 +224,8 @@ fi## List of CachyOS schedulerscase "$_cpusched" in- cachyos) # CachyOS Scheduler (BORE + SCHED-EXT)- source+=("${_patchsource}/sched/0001-sched-ext.patch"- "${_patchsource}/sched/0001-bore-cachy.patch");;+ cachyos|sched-ext) ## SCHED-EXT+ source+=("${_patchsource}/sched/0001-sched-ext.patch");;bore) ## BORE Schedulersource+=("${_patchsource}/sched/0001-bore-cachy.patch");;rt) ## EEVDF with RT patches@@ -239,8 +238,6 @@ case "$_cpusched" inhardened) ## Hardened Patches with BORE Schedulersource+=("${_patchsource}/sched/0001-bore-cachy.patch""${_patchsource}/misc/0001-hardened.patch");;- sched-ext) ## SCHED-EXT- source+=("${_patchsource}/sched/0001-sched-ext.patch");;esac## lrng patchset@@ -299,12 +296,11 @@ prepare() {[ -z "$_cpusched" ] && _die "The value is empty. Choose the correct one again."case "$_cpusched" in- cachyos) scripts/config -e SCHED_BORE -e SCHED_CLASS_EXT;;+ cachyos|sched-ext) scripts/config -e SCHED_CLASS_EXT;;bore|hardened) scripts/config -e SCHED_BORE;;eevdf) ;;rt) scripts/config -e PREEMPT_COUNT -e PREEMPTION -d PREEMPT_VOLUNTARY -d PREEMPT -d PREEMPT_NONE -e PREEMPT_RT -d PREEMPT_DYNAMIC -d PREEMPT_BUILD;;rt-bore) scripts/config -e SCHED_BORE -e PREEMPT_COUNT -e PREEMPTION -d PREEMPT_VOLUNTARY -d PREEMPT -d PREEMPT_NONE -e PREEMPT_RT -d PREEMPT_DYNAMIC -d PREEMPT_BUILD;;- sched-ext) scripts/config -e SCHED_CLASS_EXT;;*) _die "The value $_cpusched is invalid. Choose the correct one again.";;esacdiff --git a/linux-cachyos-rt-bore/PKGBUILD b/linux-cachyos-rt-bore/PKGBUILDindex 87b3b7b0..c6703245 100644--- a/linux-cachyos-rt-bore/PKGBUILD+++ b/linux-cachyos-rt-bore/PKGBUILD@@ -224,9 +224,8 @@ fi## List of CachyOS schedulerscase "$_cpusched" in- cachyos) # CachyOS Scheduler (BORE + SCHED-EXT)- source+=("${_patchsource}/sched/0001-sched-ext.patch"- "${_patchsource}/sched/0001-bore-cachy.patch");;+ cachyos|sched-ext) ## SCHED-EXT+ source+=("${_patchsource}/sched/0001-sched-ext.patch");;bore) ## BORE Schedulersource+=("${_patchsource}/sched/0001-bore-cachy.patch");;rt) ## EEVDF with RT patches@@ -239,8 +238,6 @@ case "$_cpusched" inhardened) ## Hardened Patches with BORE Schedulersource+=("${_patchsource}/sched/0001-bore-cachy.patch""${_patchsource}/misc/0001-hardened.patch");;- sched-ext) ## SCHED-EXT- source+=("${_patchsource}/sched/0001-sched-ext.patch");;esac## lrng patchset@@ -299,12 +296,11 @@ prepare() {[ -z "$_cpusched" ] && _die "The value is empty. Choose the correct one again."case "$_cpusched" in- cachyos) scripts/config -e SCHED_BORE -e SCHED_CLASS_EXT;;+ cachyos|sched-ext) scripts/config -e SCHED_CLASS_EXT;;bore|hardened) scripts/config -e SCHED_BORE;;eevdf) ;;rt) scripts/config -e PREEMPT_COUNT -e PREEMPTION -d PREEMPT_VOLUNTARY -d PREEMPT -d PREEMPT_NONE -e PREEMPT_RT -d PREEMPT_DYNAMIC -d PREEMPT_BUILD;;rt-bore) scripts/config -e SCHED_BORE -e PREEMPT_COUNT -e PREEMPTION -d PREEMPT_VOLUNTARY -d PREEMPT -d PREEMPT_NONE -e PREEMPT_RT -d PREEMPT_DYNAMIC -d PREEMPT_BUILD;;- sched-ext) scripts/config -e SCHED_CLASS_EXT;;*) _die "The value $_cpusched is invalid. Choose the correct one again.";;esacdiff --git a/linux-cachyos-rt/PKGBUILD b/linux-cachyos-rt/PKGBUILDindex d78f6e62..b205756b 100644--- a/linux-cachyos-rt/PKGBUILD+++ b/linux-cachyos-rt/PKGBUILD@@ -224,9 +224,8 @@ fi## List of CachyOS schedulerscase "$_cpusched" in- cachyos) # CachyOS Scheduler (BORE + SCHED-EXT)- source+=("${_patchsource}/sched/0001-sched-ext.patch"- "${_patchsource}/sched/0001-bore-cachy.patch");;+ cachyos|sched-ext) ## SCHED-EXT+ source+=("${_patchsource}/sched/0001-sched-ext.patch");;bore) ## BORE Schedulersource+=("${_patchsource}/sched/0001-bore-cachy.patch");;rt) ## EEVDF with RT patches@@ -239,8 +238,6 @@ case "$_cpusched" inhardened) ## Hardened Patches with BORE Schedulersource+=("${_patchsource}/sched/0001-bore-cachy.patch""${_patchsource}/misc/0001-hardened.patch");;- sched-ext) ## SCHED-EXT- source+=("${_patchsource}/sched/0001-sched-ext.patch");;esac## lrng patchset@@ -299,12 +296,11 @@ prepare() {[ -z "$_cpusched" ] && _die "The value is empty. Choose the correct one again."case "$_cpusched" in- cachyos) scripts/config -e SCHED_BORE -e SCHED_CLASS_EXT;;+ cachyos|sched-ext) scripts/config -e SCHED_CLASS_EXT;;bore|hardened) scripts/config -e SCHED_BORE;;eevdf) ;;rt) scripts/config -e PREEMPT_COUNT -e PREEMPTION -d PREEMPT_VOLUNTARY -d PREEMPT -d PREEMPT_NONE -e PREEMPT_RT -d PREEMPT_DYNAMIC -d PREEMPT_BUILD;;rt-bore) scripts/config -e SCHED_BORE -e PREEMPT_COUNT -e PREEMPTION -d PREEMPT_VOLUNTARY -d PREEMPT -d PREEMPT_NONE -e PREEMPT_RT -d PREEMPT_DYNAMIC -d PREEMPT_BUILD;;- sched-ext) scripts/config -e SCHED_CLASS_EXT;;*) _die "The value $_cpusched is invalid. Choose the correct one again.";;esacdiff --git a/linux-cachyos-sched-ext/PKGBUILD b/linux-cachyos-sched-ext/PKGBUILDindex bd289404..1dbfc306 100644--- a/linux-cachyos-sched-ext/PKGBUILD+++ b/linux-cachyos-sched-ext/PKGBUILD@@ -224,9 +224,8 @@ fi## List of CachyOS schedulerscase "$_cpusched" in- cachyos) # CachyOS Scheduler (BORE + SCHED-EXT)- source+=("${_patchsource}/sched/0001-sched-ext.patch"- "${_patchsource}/sched/0001-bore-cachy.patch");;+ cachyos|sched-ext) ## SCHED-EXT+ source+=("${_patchsource}/sched/0001-sched-ext.patch");;bore) ## BORE Schedulersource+=("${_patchsource}/sched/0001-bore-cachy.patch");;rt) ## EEVDF with RT patches@@ -239,8 +238,6 @@ case "$_cpusched" inhardened) ## Hardened Patches with BORE Schedulersource+=("${_patchsource}/sched/0001-bore-cachy.patch""${_patchsource}/misc/0001-hardened.patch");;- sched-ext) ## SCHED-EXT- source+=("${_patchsource}/sched/0001-sched-ext.patch");;esac## lrng patchset@@ -299,12 +296,11 @@ prepare() {[ -z "$_cpusched" ] && _die "The value is empty. Choose the correct one again."case "$_cpusched" in- cachyos) scripts/config -e SCHED_BORE -e SCHED_CLASS_EXT;;+ cachyos|sched-ext) scripts/config -e SCHED_CLASS_EXT;;bore|hardened) scripts/config -e SCHED_BORE;;eevdf) ;;rt) scripts/config -e PREEMPT_COUNT -e PREEMPTION -d PREEMPT_VOLUNTARY -d PREEMPT -d PREEMPT_NONE -e PREEMPT_RT -d PREEMPT_DYNAMIC -d PREEMPT_BUILD;;rt-bore) scripts/config -e SCHED_BORE -e PREEMPT_COUNT -e PREEMPTION -d PREEMPT_VOLUNTARY -d PREEMPT -d PREEMPT_NONE -e PREEMPT_RT -d PREEMPT_DYNAMIC -d PREEMPT_BUILD;;- sched-ext) scripts/config -e SCHED_CLASS_EXT;;*) _die "The value $_cpusched is invalid. Choose the correct one again.";;esacdiff --git a/linux-cachyos-server/PKGBUILD b/linux-cachyos-server/PKGBUILDindex 893deb6f..93f914b4 100644--- a/linux-cachyos-server/PKGBUILD+++ b/linux-cachyos-server/PKGBUILD@@ -224,9 +224,8 @@ fi## List of CachyOS schedulerscase "$_cpusched" in- cachyos) # CachyOS Scheduler (BORE + SCHED-EXT)- source+=("${_patchsource}/sched/0001-sched-ext.patch"- "${_patchsource}/sched/0001-bore-cachy.patch");;+ cachyos|sched-ext) ## SCHED-EXT+ source+=("${_patchsource}/sched/0001-sched-ext.patch");;bore) ## BORE Schedulersource+=("${_patchsource}/sched/0001-bore-cachy.patch");;rt) ## EEVDF with RT patches@@ -239,8 +238,6 @@ case "$_cpusched" inhardened) ## Hardened Patches with BORE Schedulersource+=("${_patchsource}/sched/0001-bore-cachy.patch""${_patchsource}/misc/0001-hardened.patch");;- sched-ext) ## SCHED-EXT- source+=("${_patchsource}/sched/0001-sched-ext.patch");;esac## lrng patchset@@ -299,12 +296,11 @@ prepare() {[ -z "$_cpusched" ] && _die "The value is empty. Choose the correct one again."case "$_cpusched" in- cachyos) scripts/config -e SCHED_BORE -e SCHED_CLASS_EXT;;+ cachyos|sched-ext) scripts/config -e SCHED_CLASS_EXT;;bore|hardened) scripts/config -e SCHED_BORE;;eevdf) ;;rt) scripts/config -e PREEMPT_COUNT -e PREEMPTION -d PREEMPT_VOLUNTARY -d PREEMPT -d PREEMPT_NONE -e PREEMPT_RT -d PREEMPT_DYNAMIC -d PREEMPT_BUILD;;rt-bore) scripts/config -e SCHED_BORE -e PREEMPT_COUNT -e PREEMPTION -d PREEMPT_VOLUNTARY -d PREEMPT -d PREEMPT_NONE -e PREEMPT_RT -d PREEMPT_DYNAMIC -d PREEMPT_BUILD;;- sched-ext) scripts/config -e SCHED_CLASS_EXT;;*) _die "The value $_cpusched is invalid. Choose the correct one again.";;esacdiff --git a/linux-cachyos/PKGBUILD b/linux-cachyos/PKGBUILDindex 40870ec5..2bcf6ebe 100644--- a/linux-cachyos/PKGBUILD+++ b/linux-cachyos/PKGBUILD@@ -224,9 +224,8 @@ fi## List of CachyOS schedulerscase "$_cpusched" in- cachyos) # CachyOS Scheduler (BORE + SCHED-EXT)- source+=("${_patchsource}/sched/0001-sched-ext.patch"- "${_patchsource}/sched/0001-bore-cachy.patch");;+ cachyos|sched-ext) ## SCHED-EXT+ source+=("${_patchsource}/sched/0001-sched-ext.patch");;bore) ## BORE Schedulersource+=("${_patchsource}/sched/0001-bore-cachy.patch");;rt) ## EEVDF with RT patches@@ -239,8 +238,6 @@ case "$_cpusched" inhardened) ## Hardened Patches with BORE Schedulersource+=("${_patchsource}/sched/0001-bore-cachy.patch""${_patchsource}/misc/0001-hardened.patch");;- sched-ext) ## SCHED-EXT- source+=("${_patchsource}/sched/0001-sched-ext.patch");;esac## lrng patchset@@ -299,12 +296,11 @@ prepare() {[ -z "$_cpusched" ] && _die "The value is empty. Choose the correct one again."case "$_cpusched" in- cachyos) scripts/config -e SCHED_BORE -e SCHED_CLASS_EXT;;+ cachyos|sched-ext) scripts/config -e SCHED_CLASS_EXT;;bore|hardened) scripts/config -e SCHED_BORE;;eevdf) ;;rt) scripts/config -e PREEMPT_COUNT -e PREEMPTION -d PREEMPT_VOLUNTARY -d PREEMPT -d PREEMPT_NONE -e PREEMPT_RT -d PREEMPT_DYNAMIC -d PREEMPT_BUILD;;rt-bore) scripts/config -e SCHED_BORE -e PREEMPT_COUNT -e PREEMPTION -d PREEMPT_VOLUNTARY -d PREEMPT -d PREEMPT_NONE -e PREEMPT_RT -d PREEMPT_DYNAMIC -d PREEMPT_BUILD;;- sched-ext) scripts/config -e SCHED_CLASS_EXT;;*) _die "The value $_cpusched is invalid. Choose the correct one again.";;esac