Archlinux Kernel based on different schedulers and some other performance improvements.
Shell archlinuxbaby-schedcachycachy-schedulercachyoscacule-schedkernellinux-kernelperformanceperformance-tuning
Simplifying _cachy_config
Piotr Gorski3d6d5ff5367b
diff --git a/linux-bore/.SRCINFO b/linux-bore/.SRCINFOindex 76081d18..7dfb5d17 100644--- a/linux-bore/.SRCINFO+++ b/linux-bore/.SRCINFO@@ -1,3 +1,5 @@+# Generated by makepkg 6.0.2+# Wed Feb 1 15:18:41 UTC 2023pkgbase = linux-borepkgdesc = Linux BORE scheduler Kernel by CachyOS with other patches and improvementspkgver = 6.1.9diff --git a/linux-bore/PKGBUILD b/linux-bore/PKGBUILDindex f7b864e8..eeba0621 100644--- a/linux-bore/PKGBUILD+++ b/linux-bore/PKGBUILD@@ -4,10 +4,7 @@# Contributor: Thomas Baechler <[email protected]>### Selecting CachyOS config-# ATTENTION - one of two predefined values should be selected!-# 'yes' - enable CachyOS config-# 'no' - disable CachyOS config-_cachy_config=${_cachy_config-'yes'}+_cachy_config=${_cachy_config-y}### Selecting the CPU scheduler# ATTENTION - one of seven predefined values should be selected!@@ -328,19 +325,9 @@ prepare() {fi### Selecting CachyOS config- if [ "$_cachy_config" = "yes" ]; then+ if [ -n "$_cachy_config" ]; thenecho "Enabling CachyOS config..."scripts/config -e CACHY- elif [ "$_cachy_config" = "no" ]; then- echo "Disabling CachyOS config..."- scripts/config -d CACHY- else- if [ -n "$_cachy_config" ]; then- error "The value $_cachy_config is invalid. Choose the correct one again."- else- error "The value is empty. Choose the correct one again."- fi- _die "Selecting CachyOS config failed!"fi### Selecting the CPU schedulerdiff --git a/linux-cachyos-bmq/.SRCINFO b/linux-cachyos-bmq/.SRCINFOindex 077b7a13..dea5b8b3 100644--- a/linux-cachyos-bmq/.SRCINFO+++ b/linux-cachyos-bmq/.SRCINFO@@ -1,3 +1,5 @@+# Generated by makepkg 6.0.2+# Wed Feb 1 15:17:39 UTC 2023pkgbase = linux-cachyos-bmqpkgdesc = Linux BMQ scheduler Kernel by CachyOS with other patches and improvementspkgver = 6.1.9diff --git a/linux-cachyos-bmq/PKGBUILD b/linux-cachyos-bmq/PKGBUILDindex f0a81830..8b16161b 100644--- a/linux-cachyos-bmq/PKGBUILD+++ b/linux-cachyos-bmq/PKGBUILD@@ -4,10 +4,7 @@# Contributor: Thomas Baechler <[email protected]>### Selecting CachyOS config-# ATTENTION - one of two predefined values should be selected!-# 'yes' - enable CachyOS config-# 'no' - disable CachyOS config-_cachy_config=${_cachy_config-'yes'}+_cachy_config=${_cachy_config-y}### Selecting the CPU scheduler# ATTENTION - one of seven predefined values should be selected!@@ -328,19 +325,9 @@ prepare() {fi### Selecting CachyOS config- if [ "$_cachy_config" = "yes" ]; then+ if [ -n "$_cachy_config" ]; thenecho "Enabling CachyOS config..."scripts/config -e CACHY- elif [ "$_cachy_config" = "no" ]; then- echo "Disabling CachyOS config..."- scripts/config -d CACHY- else- if [ -n "$_cachy_config" ]; then- error "The value $_cachy_config is invalid. Choose the correct one again."- else- error "The value is empty. Choose the correct one again."- fi- _die "Selecting CachyOS config failed!"fi### Selecting the CPU schedulerdiff --git a/linux-cachyos-bore/.SRCINFO b/linux-cachyos-bore/.SRCINFOindex 3c0b1fe3..66622480 100644--- a/linux-cachyos-bore/.SRCINFO+++ b/linux-cachyos-bore/.SRCINFO@@ -1,3 +1,5 @@+# Generated by makepkg 6.0.2+# Wed Feb 1 15:19:37 UTC 2023pkgbase = linux-cachyos-borepkgdesc = Linux BORE scheduler Kernel by CachyOS with other patches and improvementspkgver = 6.1.9diff --git a/linux-cachyos-bore/PKGBUILD b/linux-cachyos-bore/PKGBUILDindex 75a0e051..32a7c0ba 100644--- a/linux-cachyos-bore/PKGBUILD+++ b/linux-cachyos-bore/PKGBUILD@@ -4,10 +4,7 @@# Contributor: Thomas Baechler <[email protected]>### Selecting CachyOS config-# ATTENTION - one of two predefined values should be selected!-# 'yes' - enable CachyOS config-# 'no' - disable CachyOS config-_cachy_config=${_cachy_config-'yes'}+_cachy_config=${_cachy_config-y}### Selecting the CPU scheduler# ATTENTION - one of seven predefined values should be selected!@@ -328,19 +325,9 @@ prepare() {fi### Selecting CachyOS config- if [ "$_cachy_config" = "yes" ]; then+ if [ -n "$_cachy_config" ]; thenecho "Enabling CachyOS config..."scripts/config -e CACHY- elif [ "$_cachy_config" = "no" ]; then- echo "Disabling CachyOS config..."- scripts/config -d CACHY- else- if [ -n "$_cachy_config" ]; then- error "The value $_cachy_config is invalid. Choose the correct one again."- else- error "The value is empty. Choose the correct one again."- fi- _die "Selecting CachyOS config failed!"fi### Selecting the CPU schedulerdiff --git a/linux-cachyos-cfs/.SRCINFO b/linux-cachyos-cfs/.SRCINFOindex e47818b7..11309ff8 100644--- a/linux-cachyos-cfs/.SRCINFO+++ b/linux-cachyos-cfs/.SRCINFO@@ -1,3 +1,5 @@+# Generated by makepkg 6.0.2+# Wed Feb 1 15:20:27 UTC 2023pkgbase = linux-cachyos-cfspkgdesc = Linux CFS scheduler Kernel by CachyOS with other patches and improvementspkgver = 6.1.9diff --git a/linux-cachyos-cfs/PKGBUILD b/linux-cachyos-cfs/PKGBUILDindex e0f31ee1..bf99b20f 100644--- a/linux-cachyos-cfs/PKGBUILD+++ b/linux-cachyos-cfs/PKGBUILD@@ -4,10 +4,7 @@# Contributor: Thomas Baechler <[email protected]>### Selecting CachyOS config-# ATTENTION - one of two predefined values should be selected!-# 'yes' - enable CachyOS config-# 'no' - disable CachyOS config-_cachy_config=${_cachy_config-'yes'}+_cachy_config=${_cachy_config-y}### Selecting the CPU scheduler# ATTENTION - one of seven predefined values should be selected!@@ -328,19 +325,9 @@ prepare() {fi### Selecting CachyOS config- if [ "$_cachy_config" = "yes" ]; then+ if [ -n "$_cachy_config" ]; thenecho "Enabling CachyOS config..."scripts/config -e CACHY- elif [ "$_cachy_config" = "no" ]; then- echo "Disabling CachyOS config..."- scripts/config -d CACHY- else- if [ -n "$_cachy_config" ]; then- error "The value $_cachy_config is invalid. Choose the correct one again."- else- error "The value is empty. Choose the correct one again."- fi- _die "Selecting CachyOS config failed!"fi### Selecting the CPU schedulerdiff --git a/linux-cachyos-hardened/.SRCINFO b/linux-cachyos-hardened/.SRCINFOindex 19caaad8..a09179bd 100644--- a/linux-cachyos-hardened/.SRCINFO+++ b/linux-cachyos-hardened/.SRCINFO@@ -1,5 +1,5 @@# Generated by makepkg 6.0.2-# Wed Feb 1 14:17:32 UTC 2023+# Wed Feb 1 15:21:20 UTC 2023pkgbase = linux-cachyos-hardenedpkgdesc = Linux hardenened BORE scheduler Kernel by CachyOS with other patches and improvementspkgver = 6.1.9diff --git a/linux-cachyos-hardened/PKGBUILD b/linux-cachyos-hardened/PKGBUILDindex d4df027b..ee8f8e01 100644--- a/linux-cachyos-hardened/PKGBUILD+++ b/linux-cachyos-hardened/PKGBUILD@@ -4,10 +4,7 @@# Contributor: Thomas Baechler <[email protected]>### Selecting CachyOS config-# ATTENTION - one of two predefined values should be selected!-# 'yes' - enable CachyOS config-# 'no' - disable CachyOS config-_cachy_config=${_cachy_config-'yes'}+_cachy_config=${_cachy_config-y}### Selecting the CPU scheduler# ATTENTION - one of seven predefined values should be selected!@@ -332,19 +329,9 @@ prepare() {fi### Selecting CachyOS config- if [ "$_cachy_config" = "yes" ]; then+ if [ -n "$_cachy_config" ]; thenecho "Enabling CachyOS config..."scripts/config -e CACHY- elif [ "$_cachy_config" = "no" ]; then- echo "Disabling CachyOS config..."- scripts/config -d CACHY- else- if [ -n "$_cachy_config" ]; then- error "The value $_cachy_config is invalid. Choose the correct one again."- else- error "The value is empty. Choose the correct one again."- fi- _die "Selecting CachyOS config failed!"fi### Selecting the CPU schedulerdiff --git a/linux-cachyos-pds/.SRCINFO b/linux-cachyos-pds/.SRCINFOindex b1e2d124..bf778261 100644--- a/linux-cachyos-pds/.SRCINFO+++ b/linux-cachyos-pds/.SRCINFO@@ -1,3 +1,5 @@+# Generated by makepkg 6.0.2+# Wed Feb 1 15:22:10 UTC 2023pkgbase = linux-cachyos-pdspkgdesc = Linux PDS scheduler Kernel by CachyOS with other patches and improvementspkgver = 6.1.9diff --git a/linux-cachyos-pds/PKGBUILD b/linux-cachyos-pds/PKGBUILDindex 82363726..489a50ea 100644--- a/linux-cachyos-pds/PKGBUILD+++ b/linux-cachyos-pds/PKGBUILD@@ -4,10 +4,7 @@# Contributor: Thomas Baechler <[email protected]>### Selecting CachyOS config-# ATTENTION - one of two predefined values should be selected!-# 'yes' - enable CachyOS config-# 'no' - disable CachyOS config-_cachy_config=${_cachy_config-'yes'}+_cachy_config=${_cachy_config-y}### Selecting the CPU scheduler# ATTENTION - one of seven predefined values should be selected!@@ -328,19 +325,9 @@ prepare() {fi### Selecting CachyOS config- if [ "$_cachy_config" = "yes" ]; then+ if [ -n "$_cachy_config" ]; thenecho "Enabling CachyOS config..."scripts/config -e CACHY- elif [ "$_cachy_config" = "no" ]; then- echo "Disabling CachyOS config..."- scripts/config -d CACHY- else- if [ -n "$_cachy_config" ]; then- error "The value $_cachy_config is invalid. Choose the correct one again."- else- error "The value is empty. Choose the correct one again."- fi- _die "Selecting CachyOS config failed!"fi### Selecting the CPU schedulerdiff --git a/linux-cachyos-rc/.SRCINFO b/linux-cachyos-rc/.SRCINFOindex e0575108..ef6ea61f 100644--- a/linux-cachyos-rc/.SRCINFO+++ b/linux-cachyos-rc/.SRCINFO@@ -1,3 +1,5 @@+# Generated by makepkg 6.0.2+# Wed Feb 1 15:23:57 UTC 2023pkgbase = linux-cachyos-rcpkgdesc = Linux BORE scheduler Kernel by CachyOS and with some other patches and other improvementspkgver = 6.2.rc6diff --git a/linux-cachyos-rc/PKGBUILD b/linux-cachyos-rc/PKGBUILDindex 7cf63181..37ea3d19 100644--- a/linux-cachyos-rc/PKGBUILD+++ b/linux-cachyos-rc/PKGBUILD@@ -4,10 +4,7 @@# Contributor: Thomas Baechler <[email protected]>### Selecting CachyOS config-# ATTENTION - one of two predefined values should be selected!-# 'yes' - enable CachyOS config-# 'no' - disable CachyOS config-_cachy_config=${_cachy_config-'yes'}+_cachy_config=${_cachy_config-y}### Selecting the CPU scheduler# ATTENTION - one of seven predefined values should be selected!@@ -328,19 +325,9 @@ prepare() {fi### Selecting CachyOS config- if [ "$_cachy_config" = "yes" ]; then+ if [ -n "$_cachy_config" ]; thenecho "Enabling CachyOS config..."scripts/config -e CACHY- elif [ "$_cachy_config" = "no" ]; then- echo "Disabling CachyOS config..."- scripts/config -d CACHY- else- if [ -n "$_cachy_config" ]; then- error "The value $_cachy_config is invalid. Choose the correct one again."- else- error "The value is empty. Choose the correct one again."- fi- _die "Selecting CachyOS config failed!"fi### Selecting the CPU schedulerdiff --git a/linux-cachyos-server/.SRCINFO b/linux-cachyos-server/.SRCINFOindex 23187223..cabad7ca 100644--- a/linux-cachyos-server/.SRCINFO+++ b/linux-cachyos-server/.SRCINFO@@ -1,3 +1,5 @@+# Generated by makepkg 6.0.2+# Wed Feb 1 15:26:38 UTC 2023pkgbase = linux-cachyos-serverpkgdesc = Linux CFS scheduler Kernel by CachyOS targeted for Serverspkgver = 6.1.9diff --git a/linux-cachyos-server/PKGBUILD b/linux-cachyos-server/PKGBUILDindex 1d0d7d77..a95bd3f7 100644--- a/linux-cachyos-server/PKGBUILD+++ b/linux-cachyos-server/PKGBUILD@@ -4,10 +4,7 @@# Contributor: Thomas Baechler <[email protected]>### Selecting CachyOS config-# ATTENTION - one of two predefined values should be selected!-# 'yes' - enable CachyOS config-# 'no' - disable CachyOS config-_cachy_config=${_cachy_config-'no'}+_cachy_config=${_cachy_config-}### Selecting the CPU scheduler# ATTENTION - one of seven predefined values should be selected!@@ -328,19 +325,9 @@ prepare() {fi### Selecting CachyOS config- if [ "$_cachy_config" = "yes" ]; then+ if [ -n "$_cachy_config" ]; thenecho "Enabling CachyOS config..."scripts/config -e CACHY- elif [ "$_cachy_config" = "no" ]; then- echo "Disabling CachyOS config..."- scripts/config -d CACHY- else- if [ -n "$_cachy_config" ]; then- error "The value $_cachy_config is invalid. Choose the correct one again."- else- error "The value is empty. Choose the correct one again."- fi- _die "Selecting CachyOS config failed!"fi### Selecting the CPU schedulerdiff --git a/linux-cachyos-tt/.SRCINFO b/linux-cachyos-tt/.SRCINFOindex c43bf067..f2c6d87b 100644--- a/linux-cachyos-tt/.SRCINFO+++ b/linux-cachyos-tt/.SRCINFO@@ -1,3 +1,5 @@+# Generated by makepkg 6.0.2+# Wed Feb 1 15:27:50 UTC 2023pkgbase = linux-cachyos-ttpkgdesc = Linux TT scheduler Kernel by CachyOS with other patches and improvementspkgver = 6.1.9diff --git a/linux-cachyos-tt/PKGBUILD b/linux-cachyos-tt/PKGBUILDindex 43f5d901..52a797ae 100644--- a/linux-cachyos-tt/PKGBUILD+++ b/linux-cachyos-tt/PKGBUILD@@ -4,10 +4,7 @@# Contributor: Thomas Baechler <[email protected]>### Selecting CachyOS config-# ATTENTION - one of two predefined values should be selected!-# 'yes' - enable CachyOS config-# 'no' - disable CachyOS config-_cachy_config=${_cachy_config-'yes'}+_cachy_config=${_cachy_config-y}### Selecting the CPU scheduler# ATTENTION - one of seven predefined values should be selected!@@ -328,19 +325,9 @@ prepare() {fi### Selecting CachyOS config- if [ "$_cachy_config" = "yes" ]; then+ if [ -n "$_cachy_config" ]; thenecho "Enabling CachyOS config..."scripts/config -e CACHY- elif [ "$_cachy_config" = "no" ]; then- echo "Disabling CachyOS config..."- scripts/config -d CACHY- else- if [ -n "$_cachy_config" ]; then- error "The value $_cachy_config is invalid. Choose the correct one again."- else- error "The value is empty. Choose the correct one again."- fi- _die "Selecting CachyOS config failed!"fi### Selecting the CPU schedulerdiff --git a/linux-cachyos/.SRCINFO b/linux-cachyos/.SRCINFOindex 45e7c7f1..b399cffe 100644--- a/linux-cachyos/.SRCINFO+++ b/linux-cachyos/.SRCINFO@@ -1,3 +1,5 @@+# Generated by makepkg 6.0.2+# Wed Feb 1 15:18:09 UTC 2023pkgbase = linux-cachyospkgdesc = Linux BORE scheduler Kernel by CachyOS with other patches and improvementspkgver = 6.1.9diff --git a/linux-cachyos/PKGBUILD b/linux-cachyos/PKGBUILDindex 9c2ed132..ae2c1cef 100644--- a/linux-cachyos/PKGBUILD+++ b/linux-cachyos/PKGBUILD@@ -4,10 +4,7 @@# Contributor: Thomas Baechler <[email protected]>### Selecting CachyOS config-# ATTENTION - one of two predefined values should be selected!-# 'yes' - enable CachyOS config-# 'no' - disable CachyOS config-_cachy_config=${_cachy_config-'yes'}+_cachy_config=${_cachy_config-y}### Selecting the CPU scheduler# ATTENTION - one of seven predefined values should be selected!@@ -328,19 +325,9 @@ prepare() {fi### Selecting CachyOS config- if [ "$_cachy_config" = "yes" ]; then+ if [ -n "$_cachy_config" ]; thenecho "Enabling CachyOS config..."scripts/config -e CACHY- elif [ "$_cachy_config" = "no" ]; then- echo "Disabling CachyOS config..."- scripts/config -d CACHY- else- if [ -n "$_cachy_config" ]; then- error "The value $_cachy_config is invalid. Choose the correct one again."- else- error "The value is empty. Choose the correct one again."- fi- _die "Selecting CachyOS config failed!"fi### Selecting the CPU schedulerdiff --git a/linux-tt/.SRCINFO b/linux-tt/.SRCINFOindex 9da1a2c7..45852766 100644--- a/linux-tt/.SRCINFO+++ b/linux-tt/.SRCINFO@@ -1,3 +1,5 @@+# Generated by makepkg 6.0.2+# Wed Feb 1 15:28:44 UTC 2023pkgbase = linux-ttpkgdesc = Linux TT scheduler Kernel by CachyOS with other patches and improvementspkgver = 6.1.9diff --git a/linux-tt/PKGBUILD b/linux-tt/PKGBUILDindex c2a6bb05..86fcb144 100644--- a/linux-tt/PKGBUILD+++ b/linux-tt/PKGBUILD@@ -4,10 +4,7 @@# Contributor: Thomas Baechler <[email protected]>### Selecting CachyOS config-# ATTENTION - one of two predefined values should be selected!-# 'yes' - enable CachyOS config-# 'no' - disable CachyOS config-_cachy_config=${_cachy_config-'yes'}+_cachy_config=${_cachy_config-y}### Selecting the CPU scheduler# ATTENTION - one of seven predefined values should be selected!@@ -328,19 +325,9 @@ prepare() {fi### Selecting CachyOS config- if [ "$_cachy_config" = "yes" ]; then+ if [ -n "$_cachy_config" ]; thenecho "Enabling CachyOS config..."scripts/config -e CACHY- elif [ "$_cachy_config" = "no" ]; then- echo "Disabling CachyOS config..."- scripts/config -d CACHY- else- if [ -n "$_cachy_config" ]; then- error "The value $_cachy_config is invalid. Choose the correct one again."- else- error "The value is empty. Choose the correct one again."- fi- _die "Selecting CachyOS config failed!"fi### Selecting the CPU scheduler