Archlinux Kernel based on different schedulers and some other performance improvements.
Shell archlinuxbaby-schedcachycachy-schedulercachyoscacule-schedkernellinux-kernelperformanceperformance-tuning
6.6: Adjust kernels to new scheduler
Piotr Gorski06be29e28063
diff --git a/linux-bore/.SRCINFO b/linux-bore/.SRCINFOindex 6c18f34d..585f49b6 100644--- a/linux-bore/.SRCINFO+++ b/linux-bore/.SRCINFO@@ -1,5 +1,5 @@# Generated by makepkg 6.0.2-# Wed Nov 1 10:46:40 UTC 2023+# Wed Nov 1 16:53:22 UTC 2023pkgbase = linux-borepkgdesc = Linux BORE scheduler Kernel by CachyOS with other patches and improvementspkgver = 6.6.0diff --git a/linux-bore/PKGBUILD b/linux-bore/PKGBUILDindex 5cd3892b..adf63cb8 100644--- a/linux-bore/PKGBUILD+++ b/linux-bore/PKGBUILD@@ -19,6 +19,7 @@ _cachy_config=${_cachy_config-y}# 'cachyos' - select 'EEVDF-BORE Variant Scheduler'# 'eevdf' - select 'EEVDF Scheduler'# 'rt' - select EEVDF, but includes a series of realtime patches+# 'bore-rt' - select Burst-Oriented Response Enhancer, but includes a series of realtime patches# 'sched-ext' - select 'sched-ext' Scheduler, based on EEVDF_cpusched=${_cpusched-bore}@@ -234,6 +235,10 @@ case "$_cpusched" inrt) ## EEVDF with RT patchessource+=("${_patchsource}/misc/0001-rt.patch"linux-cachyos-rt.install);;+ bore-rt) ## EEVDF with RT patches+ source+=("${_patchsource}/misc/0001-rt.patch"+ "${_patchsource}/sched/0001-bore-cachy-rt.patch"+ linux-cachyos-rt.install);;hardened) ## Hardened Patches with BORE Schedulersource+=("${_patchsource}/sched/0001-bore-cachy.patch""${_patchsource}/misc/0001-hardened.patch");;@@ -319,6 +324,7 @@ prepare() {bore|hardened|cachyos) 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 -e PREEMPT_AUTO -d PREEMPT_DYNAMIC -e HAVE_PREEMPT_AUTO -d PREEMPT_BUILD;;+ bore-rt) scripts/config -e SCHED_BORE -e PREEMPT_COUNT -e PREEMPTION -d PREEMPT_VOLUNTARY -d PREEMPT -d PREEMPT_NONE -e PREEMPT_RT -e PREEMPT_AUTO -d PREEMPT_DYNAMIC -e HAVE_PREEMPT_AUTO -d PREEMPT_BUILD;;sched-ext) scripts/config -e SCHED_BORE -e SCHED_CLASS_EXT;;*) _die "The value $_cpusched is invalid. Choose the correct one again.";;esac@@ -409,7 +415,7 @@ prepare() {### Select preempt type# We should not set up the PREEMPT for RT kernels- if [ "$_cpusched" != "rt" ]; then+ if [[ "$_cpusched" != "rt" || "$_cpusched" != "bore-rt" ]]; then[ -z "$_preempt" ] && _die "The value is empty. Choose the correct one again."case "$_preempt" in@@ -672,7 +678,7 @@ build() {make ${BUILD_FLAGS[*]} ${MODULE_FLAGS[*]} -j$(nproc) modulesfi- if [[ "$_cpusched" != "rt" && -n "$_build_zfs" ]]; then+ if [[ "$_cpusched" != "rt" || "$_cpusched" != "bore-rt" ]] && [ -n "$_build_zfs" ]; thencd ${srcdir}/"zfs"local CONFIGURE_FLAGS=()diff --git a/linux-cachyos-bore/.SRCINFO b/linux-cachyos-bore/.SRCINFOindex d0ec6508..4188f773 100644--- a/linux-cachyos-bore/.SRCINFO+++ b/linux-cachyos-bore/.SRCINFO@@ -1,5 +1,5 @@# Generated by makepkg 6.0.2-# Wed Nov 1 10:47:07 UTC 2023+# Wed Nov 1 16:53:49 UTC 2023pkgbase = linux-cachyos-borepkgdesc = Linux BORE scheduler Kernel by CachyOS with other patches and improvementspkgver = 6.6.0diff --git a/linux-cachyos-bore/PKGBUILD b/linux-cachyos-bore/PKGBUILDindex 1842e414..f75c6a8b 100644--- a/linux-cachyos-bore/PKGBUILD+++ b/linux-cachyos-bore/PKGBUILD@@ -19,6 +19,7 @@ _cachy_config=${_cachy_config-y}# 'cachyos' - select 'EEVDF-BORE Variant Scheduler'# 'eevdf' - select 'EEVDF Scheduler'# 'rt' - select EEVDF, but includes a series of realtime patches+# 'bore-rt' - select Burst-Oriented Response Enhancer, but includes a series of realtime patches# 'sched-ext' - select 'sched-ext' Scheduler, based on EEVDF_cpusched=${_cpusched-bore}@@ -234,6 +235,10 @@ case "$_cpusched" inrt) ## EEVDF with RT patchessource+=("${_patchsource}/misc/0001-rt.patch"linux-cachyos-rt.install);;+ bore-rt) ## EEVDF with RT patches+ source+=("${_patchsource}/misc/0001-rt.patch"+ "${_patchsource}/sched/0001-bore-cachy-rt.patch"+ linux-cachyos-rt.install);;hardened) ## Hardened Patches with BORE Schedulersource+=("${_patchsource}/sched/0001-bore-cachy.patch""${_patchsource}/misc/0001-hardened.patch");;@@ -319,6 +324,7 @@ prepare() {bore|hardened|cachyos) 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 -e PREEMPT_AUTO -d PREEMPT_DYNAMIC -e HAVE_PREEMPT_AUTO -d PREEMPT_BUILD;;+ bore-rt) scripts/config -e SCHED_BORE -e PREEMPT_COUNT -e PREEMPTION -d PREEMPT_VOLUNTARY -d PREEMPT -d PREEMPT_NONE -e PREEMPT_RT -e PREEMPT_AUTO -d PREEMPT_DYNAMIC -e HAVE_PREEMPT_AUTO -d PREEMPT_BUILD;;sched-ext) scripts/config -e SCHED_BORE -e SCHED_CLASS_EXT;;*) _die "The value $_cpusched is invalid. Choose the correct one again.";;esac@@ -409,7 +415,7 @@ prepare() {### Select preempt type# We should not set up the PREEMPT for RT kernels- if [ "$_cpusched" != "rt" ]; then+ if [[ "$_cpusched" != "rt" || "$_cpusched" != "bore-rt" ]]; then[ -z "$_preempt" ] && _die "The value is empty. Choose the correct one again."case "$_preempt" in@@ -672,7 +678,7 @@ build() {make ${BUILD_FLAGS[*]} ${MODULE_FLAGS[*]} -j$(nproc) modulesfi- if [[ "$_cpusched" != "rt" && -n "$_build_zfs" ]]; then+ if [[ "$_cpusched" != "rt" || "$_cpusched" != "bore-rt" ]] && [ -n "$_build_zfs" ]; thencd ${srcdir}/"zfs"local CONFIGURE_FLAGS=()diff --git a/linux-cachyos-eevdf/.SRCINFO b/linux-cachyos-eevdf/.SRCINFOindex 53ada24e..42186508 100644--- a/linux-cachyos-eevdf/.SRCINFO+++ b/linux-cachyos-eevdf/.SRCINFO@@ -1,5 +1,5 @@# Generated by makepkg 6.0.2-# Wed Nov 1 10:47:20 UTC 2023+# Wed Nov 1 16:54:47 UTC 2023pkgbase = linux-cachyos-eevdfpkgdesc = Linux EEVDF scheduler Kernel by CachyOS with other patches and improvementspkgver = 6.6.0diff --git a/linux-cachyos-eevdf/PKGBUILD b/linux-cachyos-eevdf/PKGBUILDindex f4995de3..ce97f292 100644--- a/linux-cachyos-eevdf/PKGBUILD+++ b/linux-cachyos-eevdf/PKGBUILD@@ -19,6 +19,7 @@ _cachy_config=${_cachy_config-y}# 'cachyos' - select 'EEVDF-BORE Variant Scheduler'# 'eevdf' - select 'EEVDF Scheduler'# 'rt' - select EEVDF, but includes a series of realtime patches+# 'bore-rt' - select Burst-Oriented Response Enhancer, but includes a series of realtime patches# 'sched-ext' - select 'sched-ext' Scheduler, based on EEVDF_cpusched=${_cpusched-eevdf}@@ -234,6 +235,10 @@ case "$_cpusched" inrt) ## EEVDF with RT patchessource+=("${_patchsource}/misc/0001-rt.patch"linux-cachyos-rt.install);;+ bore-rt) ## EEVDF with RT patches+ source+=("${_patchsource}/misc/0001-rt.patch"+ "${_patchsource}/sched/0001-bore-cachy-rt.patch"+ linux-cachyos-rt.install);;hardened) ## Hardened Patches with BORE Schedulersource+=("${_patchsource}/sched/0001-bore-cachy.patch""${_patchsource}/misc/0001-hardened.patch");;@@ -319,6 +324,7 @@ prepare() {bore|hardened|cachyos) 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 -e PREEMPT_AUTO -d PREEMPT_DYNAMIC -e HAVE_PREEMPT_AUTO -d PREEMPT_BUILD;;+ bore-rt) scripts/config -e SCHED_BORE -e PREEMPT_COUNT -e PREEMPTION -d PREEMPT_VOLUNTARY -d PREEMPT -d PREEMPT_NONE -e PREEMPT_RT -e PREEMPT_AUTO -d PREEMPT_DYNAMIC -e HAVE_PREEMPT_AUTO -d PREEMPT_BUILD;;sched-ext) scripts/config -e SCHED_BORE -e SCHED_CLASS_EXT;;*) _die "The value $_cpusched is invalid. Choose the correct one again.";;esac@@ -409,7 +415,7 @@ prepare() {### Select preempt type# We should not set up the PREEMPT for RT kernels- if [ "$_cpusched" != "rt" ]; then+ if [[ "$_cpusched" != "rt" || "$_cpusched" != "bore-rt" ]]; then[ -z "$_preempt" ] && _die "The value is empty. Choose the correct one again."case "$_preempt" in@@ -672,7 +678,7 @@ build() {make ${BUILD_FLAGS[*]} ${MODULE_FLAGS[*]} -j$(nproc) modulesfi- if [[ "$_cpusched" != "rt" && -n "$_build_zfs" ]]; then+ if [[ "$_cpusched" != "rt" || "$_cpusched" != "bore-rt" ]] && [ -n "$_build_zfs" ]; thencd ${srcdir}/"zfs"local CONFIGURE_FLAGS=()diff --git a/linux-cachyos-rc/.SRCINFO b/linux-cachyos-rc/.SRCINFOindex 43d0fb26..7213e113 100644--- a/linux-cachyos-rc/.SRCINFO+++ b/linux-cachyos-rc/.SRCINFO@@ -1,5 +1,5 @@# Generated by makepkg 6.0.2-# Wed Nov 1 10:48:28 UTC 2023+# Wed Nov 1 16:54:35 UTC 2023pkgbase = linux-cachyos-rcpkgdesc = Linux EEVDF-BORE scheduler Kernel by CachyOS and with some other patches and other improvementspkgver = 6.6.rc7diff --git a/linux-cachyos-rc/PKGBUILD b/linux-cachyos-rc/PKGBUILDindex 99b912da..28b49280 100644--- a/linux-cachyos-rc/PKGBUILD+++ b/linux-cachyos-rc/PKGBUILD@@ -19,6 +19,7 @@ _cachy_config=${_cachy_config-y}# 'cachyos' - select 'EEVDF-BORE Variant Scheduler'# 'eevdf' - select 'EEVDF Scheduler'# 'rt' - select EEVDF, but includes a series of realtime patches+# 'bore-rt' - select Burst-Oriented Response Enhancer, but includes a series of realtime patches# 'sched-ext' - select 'sched-ext' Scheduler, based on EEVDF_cpusched=${_cpusched-cachyos}@@ -233,6 +234,10 @@ case "$_cpusched" inrt) ## EEVDF with RT patchessource+=("${_patchsource}/misc/0001-rt.patch"linux-cachyos-rt.install);;+ bore-rt) ## EEVDF with RT patches+ source+=("${_patchsource}/misc/0001-rt.patch"+ "${_patchsource}/sched/0001-bore-cachy-rt.patch"+ linux-cachyos-rt.install);;hardened) ## Hardened Patches with BORE Schedulersource+=("${_patchsource}/sched/0001-bore-cachy.patch""${_patchsource}/misc/0001-hardened.patch");;@@ -318,6 +323,7 @@ prepare() {bore|hardened|cachyos) 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 -e PREEMPT_AUTO -d PREEMPT_DYNAMIC -e HAVE_PREEMPT_AUTO -d PREEMPT_BUILD;;+ bore-rt) scripts/config -e SCHED_BORE -e PREEMPT_COUNT -e PREEMPTION -d PREEMPT_VOLUNTARY -d PREEMPT -d PREEMPT_NONE -e PREEMPT_RT -e PREEMPT_AUTO -d PREEMPT_DYNAMIC -e HAVE_PREEMPT_AUTO -d PREEMPT_BUILD;;sched-ext) scripts/config -e SCHED_BORE -e SCHED_CLASS_EXT;;*) _die "The value $_cpusched is invalid. Choose the correct one again.";;esac@@ -408,7 +414,7 @@ prepare() {### Select preempt type# We should not set up the PREEMPT for RT kernels- if [ "$_cpusched" != "rt" ]; then+ if [[ "$_cpusched" != "rt" || "$_cpusched" != "bore-rt" ]]; then[ -z "$_preempt" ] && _die "The value is empty. Choose the correct one again."case "$_preempt" in@@ -671,7 +677,7 @@ build() {make ${BUILD_FLAGS[*]} ${MODULE_FLAGS[*]} -j$(nproc) modulesfi- if [[ "$_cpusched" != "rt" && -n "$_build_zfs" ]]; then+ if [[ "$_cpusched" != "rt" || "$_cpusched" != "bore-rt" ]] && [ -n "$_build_zfs" ]; thencd ${srcdir}/"zfs"local CONFIGURE_FLAGS=()diff --git a/linux-cachyos-rt/.SRCINFO b/linux-cachyos-rt/.SRCINFOindex 69f6beb7..3d94a0d5 100644--- a/linux-cachyos-rt/.SRCINFO+++ b/linux-cachyos-rt/.SRCINFO@@ -1,5 +1,5 @@# Generated by makepkg 6.0.2-# Wed Nov 1 10:47:33 UTC 2023+# Wed Nov 1 16:55:01 UTC 2023pkgbase = linux-cachyos-rtpkgdesc = Linux kernel with RT patches by CachyOS with other patches and improvementspkgver = 6.6.0diff --git a/linux-cachyos-rt/PKGBUILD b/linux-cachyos-rt/PKGBUILDindex 170f6d71..e967077e 100644--- a/linux-cachyos-rt/PKGBUILD+++ b/linux-cachyos-rt/PKGBUILD@@ -19,6 +19,7 @@ _cachy_config=${_cachy_config-y}# 'cachyos' - select 'EEVDF-BORE Variant Scheduler'# 'eevdf' - select 'EEVDF Scheduler'# 'rt' - select EEVDF, but includes a series of realtime patches+# 'bore-rt' - select Burst-Oriented Response Enhancer, but includes a series of realtime patches# 'sched-ext' - select 'sched-ext' Scheduler, based on EEVDF_cpusched=${_cpusched-rt}@@ -234,6 +235,10 @@ case "$_cpusched" inrt) ## EEVDF with RT patchessource+=("${_patchsource}/misc/0001-rt.patch"linux-cachyos-rt.install);;+ bore-rt) ## EEVDF with RT patches+ source+=("${_patchsource}/misc/0001-rt.patch"+ "${_patchsource}/sched/0001-bore-cachy-rt.patch"+ linux-cachyos-rt.install);;hardened) ## Hardened Patches with BORE Schedulersource+=("${_patchsource}/sched/0001-bore-cachy.patch""${_patchsource}/misc/0001-hardened.patch");;@@ -319,6 +324,7 @@ prepare() {bore|hardened|cachyos) 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 -e PREEMPT_AUTO -d PREEMPT_DYNAMIC -e HAVE_PREEMPT_AUTO -d PREEMPT_BUILD;;+ bore-rt) scripts/config -e SCHED_BORE -e PREEMPT_COUNT -e PREEMPTION -d PREEMPT_VOLUNTARY -d PREEMPT -d PREEMPT_NONE -e PREEMPT_RT -e PREEMPT_AUTO -d PREEMPT_DYNAMIC -e HAVE_PREEMPT_AUTO -d PREEMPT_BUILD;;sched-ext) scripts/config -e SCHED_BORE -e SCHED_CLASS_EXT;;*) _die "The value $_cpusched is invalid. Choose the correct one again.";;esac@@ -409,7 +415,7 @@ prepare() {### Select preempt type# We should not set up the PREEMPT for RT kernels- if [ "$_cpusched" != "rt" ]; then+ if [[ "$_cpusched" != "rt" || "$_cpusched" != "bore-rt" ]]; then[ -z "$_preempt" ] && _die "The value is empty. Choose the correct one again."case "$_preempt" in@@ -672,7 +678,7 @@ build() {make ${BUILD_FLAGS[*]} ${MODULE_FLAGS[*]} -j$(nproc) modulesfi- if [[ "$_cpusched" != "rt" && -n "$_build_zfs" ]]; then+ if [[ "$_cpusched" != "rt" || "$_cpusched" != "bore-rt" ]] && [ -n "$_build_zfs" ]; thencd ${srcdir}/"zfs"local CONFIGURE_FLAGS=()diff --git a/linux-cachyos/.SRCINFO b/linux-cachyos/.SRCINFOindex 45450622..df76ac91 100644--- a/linux-cachyos/.SRCINFO+++ b/linux-cachyos/.SRCINFO@@ -1,5 +1,5 @@# Generated by makepkg 6.0.2-# Wed Nov 1 10:46:54 UTC 2023+# Wed Nov 1 16:53:35 UTC 2023pkgbase = linux-cachyospkgdesc = Linux EEVDF-BORE scheduler Kernel by CachyOS with other patches and improvementspkgver = 6.6.0diff --git a/linux-cachyos/PKGBUILD b/linux-cachyos/PKGBUILDindex 0f48d4c9..aea5dafa 100644--- a/linux-cachyos/PKGBUILD+++ b/linux-cachyos/PKGBUILD@@ -19,6 +19,7 @@ _cachy_config=${_cachy_config-y}# 'cachyos' - select 'EEVDF-BORE Variant Scheduler'# 'eevdf' - select 'EEVDF Scheduler'# 'rt' - select EEVDF, but includes a series of realtime patches+# 'bore-rt' - select Burst-Oriented Response Enhancer, but includes a series of realtime patches# 'sched-ext' - select 'sched-ext' Scheduler, based on EEVDF_cpusched=${_cpusched-cachyos}@@ -234,6 +235,10 @@ case "$_cpusched" inrt) ## EEVDF with RT patchessource+=("${_patchsource}/misc/0001-rt.patch"linux-cachyos-rt.install);;+ bore-rt) ## EEVDF with RT patches+ source+=("${_patchsource}/misc/0001-rt.patch"+ "${_patchsource}/sched/0001-bore-cachy-rt.patch"+ linux-cachyos-rt.install);;hardened) ## Hardened Patches with BORE Schedulersource+=("${_patchsource}/sched/0001-bore-cachy.patch""${_patchsource}/misc/0001-hardened.patch");;@@ -319,6 +324,7 @@ prepare() {bore|hardened|cachyos) 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 -e PREEMPT_AUTO -d PREEMPT_DYNAMIC -e HAVE_PREEMPT_AUTO -d PREEMPT_BUILD;;+ bore-rt) scripts/config -e SCHED_BORE -e PREEMPT_COUNT -e PREEMPTION -d PREEMPT_VOLUNTARY -d PREEMPT -d PREEMPT_NONE -e PREEMPT_RT -e PREEMPT_AUTO -d PREEMPT_DYNAMIC -e HAVE_PREEMPT_AUTO -d PREEMPT_BUILD;;sched-ext) scripts/config -e SCHED_BORE -e SCHED_CLASS_EXT;;*) _die "The value $_cpusched is invalid. Choose the correct one again.";;esac@@ -409,7 +415,7 @@ prepare() {### Select preempt type# We should not set up the PREEMPT for RT kernels- if [ "$_cpusched" != "rt" ]; then+ if [[ "$_cpusched" != "rt" || "$_cpusched" != "bore-rt" ]]; then[ -z "$_preempt" ] && _die "The value is empty. Choose the correct one again."case "$_preempt" in@@ -672,7 +678,7 @@ build() {make ${BUILD_FLAGS[*]} ${MODULE_FLAGS[*]} -j$(nproc) modulesfi- if [[ "$_cpusched" != "rt" && -n "$_build_zfs" ]]; then+ if [[ "$_cpusched" != "rt" || "$_cpusched" != "bore-rt" ]] && [ -n "$_build_zfs" ]; thencd ${srcdir}/"zfs"local CONFIGURE_FLAGS=()