Archlinux Kernel based on different schedulers and some other performance improvements.
Shell archlinuxbaby-schedcachycachy-schedulercachyoscacule-schedkernellinux-kernelperformanceperformance-tuning
Add zstd compression level flag
Piotr Gorskid7c42bca8356
diff --git a/linux-bore/.SRCINFO b/linux-bore/.SRCINFOindex 8568746a..f596153e 100644--- a/linux-bore/.SRCINFO+++ b/linux-bore/.SRCINFO@@ -1,5 +1,5 @@# Generated by makepkg 6.0.1-# Tue Aug 9 20:21:24 UTC 2022+# Wed Aug 10 10:17:30 UTC 2022pkgbase = linux-borepkgdesc = Linux BORE scheduler Kernel by CachyOS with other patches and improvementspkgver = 5.19.0@@ -26,8 +26,8 @@ pkgbase = linux-boresource = https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.19.tar.xzsource = configsource = auto-cpu-optimization.sh- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.19/all/0001-cachyos-base-all.patch- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.19/sched/0001-bore.patch+ source = https://raw.githubusercontent.com/cachyos/kernel-patches/master/5.19/all/0001-cachyos-base-all.patch+ source = https://raw.githubusercontent.com/cachyos/kernel-patches/master/5.19/sched/0001-bore.patchsha256sums = ff240c579b9ee1affc318917de07394fc1c3bb49dac25ec1287370c2e15005a8sha256sums = 4df524b3253ed3b197c6db24771525902fd8978d2eeabcb2a3a4305c4afc7327sha256sums = ce8bf7807b45a27eed05a5e1de5a0bf6293a3bbc2085bacae70cd1368f368d1fdiff --git a/linux-bore/PKGBUILD b/linux-bore/PKGBUILDindex 32b74e12..c87cba00 100644--- a/linux-bore/PKGBUILD+++ b/linux-bore/PKGBUILD@@ -100,6 +100,14 @@ _disable_debug=y## Enable zram/zswap ZSTD compression_zstd_compression=y+### Selecting the ZSTD kernel and modules compression level+# ATTENTION - one of two predefined values should be selected!+# 'ultra' - highest compression ratio+# 'normal' - standard compression ratio+# WARNING: the ultra settings can sometimes+# be counterproductive in both size and speed.+_zstd_level_value='normal'+# Clang LTO mode, only available with the "llvm" compiler - options are "no", "full" or "thin".# "full: uses 1 thread for Linking, slow and uses more memory, theoretically with the highest performance gains."# "thin: uses multiple threads, faster and uses less memory, may have a lower runtime performance than Full."@@ -594,12 +602,26 @@ prepare() {--disable LRNG_SELFTEST_PANICfi- ### Enable ZSTD swap/zram compression- if [ -n "$_zstd_swap_compression" ]; then- echo "Enabling zram ZSTD compression..."- scripts/config --disable CONFIG_ZSWAP_DEFAULT_ON \- --enable ZRAM_ENTROPY \- --set-val ZRAM_ENTROPY_THRESHOLD 100000+ ### Selecting the ZSTD modules and kernel compression level+ if [ "$_zstd_level_value" = "ultra" ]; then+ echo "Enabling highest ZSTD modules and kernel compression ratio..."+ scripts/config --set-val CONFIG_MODULE_COMPRESS_ZSTD_LEVEL 19 \+ --enable CONFIG_MODULE_COMPRESS_ZSTD_ULTRA \+ --set-val CONFIG_MODULE_COMPRESS_ZSTD_LEVEL_ULTRA 22 \+ --set-val CONFIG_ZSTD_COMP_VAL 22+ elif [ "$_zstd_level_value" = "normal" ]; then+ echo "Enabling standard ZSTD modules and kernel compression ratio..."+ scripts/config --set-val CONFIG_MODULE_COMPRESS_ZSTD_LEVEL 9 \+ --disable CONFIG_MODULE_COMPRESS_ZSTD_ULTRA \+ --set-val CONFIG_ZSTD_COMP_VAL 19+ else+ if [ -n "$_zstd_level_value" ]; then+ error "The value $_zstd_level_value is invalid. Choose the correct one again."+ else+ error "The value is empty. Choose the correct one again."+ fi+ error "Selecting the ZSTD modules and kernel compression level failed!"+ exitfi### Disable DEBUGdiff --git a/linux-cachyos-bmq/.SRCINFO b/linux-cachyos-bmq/.SRCINFOindex 81589b64..2335224b 100644--- a/linux-cachyos-bmq/.SRCINFO+++ b/linux-cachyos-bmq/.SRCINFO@@ -1,5 +1,5 @@# Generated by makepkg 6.0.1-# Tue Aug 9 20:22:16 UTC 2022+# Wed Aug 10 10:19:57 UTC 2022pkgbase = linux-cachyos-bmqpkgdesc = Linux BMQ scheduler Kernel by CachyOS with other patches and improvementspkgver = 5.19.0@@ -26,8 +26,8 @@ pkgbase = linux-cachyos-bmqsource = https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.19.tar.xzsource = configsource = auto-cpu-optimization.sh- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.19/all/0001-cachyos-base-all.patch- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.19/sched/0001-prjc-cachy.patch+ source = https://raw.githubusercontent.com/cachyos/kernel-patches/master/5.19/all/0001-cachyos-base-all.patch+ source = https://raw.githubusercontent.com/cachyos/kernel-patches/master/5.19/sched/0001-prjc-cachy.patchsha256sums = ff240c579b9ee1affc318917de07394fc1c3bb49dac25ec1287370c2e15005a8sha256sums = 4df524b3253ed3b197c6db24771525902fd8978d2eeabcb2a3a4305c4afc7327sha256sums = ce8bf7807b45a27eed05a5e1de5a0bf6293a3bbc2085bacae70cd1368f368d1fdiff --git a/linux-cachyos-bmq/PKGBUILD b/linux-cachyos-bmq/PKGBUILDindex 80ee1152..ee39ef86 100644--- a/linux-cachyos-bmq/PKGBUILD+++ b/linux-cachyos-bmq/PKGBUILD@@ -100,6 +100,14 @@ _disable_debug=y## Enable zram/zswap ZSTD compression_zstd_compression=y+### Selecting the ZSTD kernel and modules compression level+# ATTENTION - one of two predefined values should be selected!+# 'ultra' - highest compression ratio+# 'normal' - standard compression ratio+# WARNING: the ultra settings can sometimes+# be counterproductive in both size and speed.+_zstd_level_value='normal'+# Clang LTO mode, only available with the "llvm" compiler - options are "no", "full" or "thin".# "full: uses 1 thread for Linking, slow and uses more memory, theoretically with the highest performance gains."# "thin: uses multiple threads, faster and uses less memory, may have a lower runtime performance than Full."@@ -602,6 +610,28 @@ prepare() {--set-val ZRAM_ENTROPY_THRESHOLD 100000fi+ ### Selecting the ZSTD modules and kernel compression level+ if [ "$_zstd_level_value" = "ultra" ]; then+ echo "Enabling highest ZSTD modules and kernel compression ratio..."+ scripts/config --set-val CONFIG_MODULE_COMPRESS_ZSTD_LEVEL 19 \+ --enable CONFIG_MODULE_COMPRESS_ZSTD_ULTRA \+ --set-val CONFIG_MODULE_COMPRESS_ZSTD_LEVEL_ULTRA 22 \+ --set-val CONFIG_ZSTD_COMP_VAL 22+ elif [ "$_zstd_level_value" = "normal" ]; then+ echo "Enabling standard ZSTD modules and kernel compression ratio..."+ scripts/config --set-val CONFIG_MODULE_COMPRESS_ZSTD_LEVEL 9 \+ --disable CONFIG_MODULE_COMPRESS_ZSTD_ULTRA \+ --set-val CONFIG_ZSTD_COMP_VAL 19+ else+ if [ -n "$_zstd_level_value" ]; then+ error "The value $_zstd_level_value is invalid. Choose the correct one again."+ else+ error "The value is empty. Choose the correct one again."+ fi+ error "Selecting the ZSTD modules and kernel compression level failed!"+ exit+ fi+### Disable DEBUGif [ -n "$_disable_debug" ]; thenscripts/config --disable DEBUG_INFO \diff --git a/linux-cachyos-bore/.SRCINFO b/linux-cachyos-bore/.SRCINFOindex cf51ad5f..0c86c696 100644--- a/linux-cachyos-bore/.SRCINFO+++ b/linux-cachyos-bore/.SRCINFO@@ -1,5 +1,5 @@# Generated by makepkg 6.0.1-# Tue Aug 9 20:22:43 UTC 2022+# Wed Aug 10 10:21:22 UTC 2022pkgbase = linux-cachyos-borepkgdesc = Linux BORE scheduler Kernel by CachyOS with other patches and improvementspkgver = 5.19.0@@ -26,8 +26,8 @@ pkgbase = linux-cachyos-boresource = https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.19.tar.xzsource = configsource = auto-cpu-optimization.sh- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.19/all/0001-cachyos-base-all.patch- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.19/sched/0001-bore.patch+ source = https://raw.githubusercontent.com/cachyos/kernel-patches/master/5.19/all/0001-cachyos-base-all.patch+ source = https://raw.githubusercontent.com/cachyos/kernel-patches/master/5.19/sched/0001-bore.patchsha256sums = ff240c579b9ee1affc318917de07394fc1c3bb49dac25ec1287370c2e15005a8sha256sums = 4df524b3253ed3b197c6db24771525902fd8978d2eeabcb2a3a4305c4afc7327sha256sums = ce8bf7807b45a27eed05a5e1de5a0bf6293a3bbc2085bacae70cd1368f368d1fdiff --git a/linux-cachyos-bore/PKGBUILD b/linux-cachyos-bore/PKGBUILDindex 5fa9a8c2..e2460982 100644--- a/linux-cachyos-bore/PKGBUILD+++ b/linux-cachyos-bore/PKGBUILD@@ -100,6 +100,14 @@ _disable_debug=y## Enable zram/zswap ZSTD compression_zstd_compression=y+### Selecting the ZSTD kernel and modules compression level+# ATTENTION - one of two predefined values should be selected!+# 'ultra' - highest compression ratio+# 'normal' - standard compression ratio+# WARNING: the ultra settings can sometimes+# be counterproductive in both size and speed.+_zstd_level_value='normal'+# Clang LTO mode, only available with the "llvm" compiler - options are "no", "full" or "thin".# "full: uses 1 thread for Linking, slow and uses more memory, theoretically with the highest performance gains."# "thin: uses multiple threads, faster and uses less memory, may have a lower runtime performance than Full."@@ -602,6 +610,28 @@ prepare() {--set-val ZRAM_ENTROPY_THRESHOLD 100000fi+ ### Selecting the ZSTD modules and kernel compression level+ if [ "$_zstd_level_value" = "ultra" ]; then+ echo "Enabling highest ZSTD modules and kernel compression ratio..."+ scripts/config --set-val CONFIG_MODULE_COMPRESS_ZSTD_LEVEL 19 \+ --enable CONFIG_MODULE_COMPRESS_ZSTD_ULTRA \+ --set-val CONFIG_MODULE_COMPRESS_ZSTD_LEVEL_ULTRA 22 \+ --set-val CONFIG_ZSTD_COMP_VAL 22+ elif [ "$_zstd_level_value" = "normal" ]; then+ echo "Enabling standard ZSTD modules and kernel compression ratio..."+ scripts/config --set-val CONFIG_MODULE_COMPRESS_ZSTD_LEVEL 9 \+ --disable CONFIG_MODULE_COMPRESS_ZSTD_ULTRA \+ --set-val CONFIG_ZSTD_COMP_VAL 19+ else+ if [ -n "$_zstd_level_value" ]; then+ error "The value $_zstd_level_value is invalid. Choose the correct one again."+ else+ error "The value is empty. Choose the correct one again."+ fi+ error "Selecting the ZSTD modules and kernel compression level failed!"+ exit+ fi+### Disable DEBUGif [ -n "$_disable_debug" ]; thenscripts/config --disable DEBUG_INFO \diff --git a/linux-cachyos-cacule/.SRCINFO b/linux-cachyos-cacule/.SRCINFOindex cf1f1bee..b1dc33dc 100644--- a/linux-cachyos-cacule/.SRCINFO+++ b/linux-cachyos-cacule/.SRCINFO@@ -1,5 +1,5 @@# Generated by makepkg 6.0.1-# Tue Aug 9 20:23:15 UTC 2022+# Wed Aug 10 10:22:27 UTC 2022pkgbase = linux-cachyos-caculepkgdesc = Linux cacULE scheduler Kernel by CachyOS with other patches and improvementspkgver = 5.19.0@@ -26,8 +26,8 @@ pkgbase = linux-cachyos-caculesource = https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.19.tar.xzsource = configsource = auto-cpu-optimization.sh- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.19/all/0001-cachyos-base-all.patch- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.19/sched/0001-cacULE-cachy.patch+ source = https://raw.githubusercontent.com/cachyos/kernel-patches/master/5.19/all/0001-cachyos-base-all.patch+ source = https://raw.githubusercontent.com/cachyos/kernel-patches/master/5.19/sched/0001-cacULE-cachy.patchsha256sums = ff240c579b9ee1affc318917de07394fc1c3bb49dac25ec1287370c2e15005a8sha256sums = 4df524b3253ed3b197c6db24771525902fd8978d2eeabcb2a3a4305c4afc7327sha256sums = ce8bf7807b45a27eed05a5e1de5a0bf6293a3bbc2085bacae70cd1368f368d1fdiff --git a/linux-cachyos-cacule/PKGBUILD b/linux-cachyos-cacule/PKGBUILDindex 888379e8..c433f7a6 100644--- a/linux-cachyos-cacule/PKGBUILD+++ b/linux-cachyos-cacule/PKGBUILD@@ -100,6 +100,14 @@ _disable_debug=y## Enable zram/zswap ZSTD compression_zstd_compression=y+### Selecting the ZSTD kernel and modules compression level+# ATTENTION - one of two predefined values should be selected!+# 'ultra' - highest compression ratio+# 'normal' - standard compression ratio+# WARNING: the ultra settings can sometimes+# be counterproductive in both size and speed.+_zstd_level_value='normal'+# Clang LTO mode, only available with the "llvm" compiler - options are "no", "full" or "thin".# "full: uses 1 thread for Linking, slow and uses more memory, theoretically with the highest performance gains."# "thin: uses multiple threads, faster and uses less memory, may have a lower runtime performance than Full."@@ -602,6 +610,28 @@ prepare() {--set-val ZRAM_ENTROPY_THRESHOLD 100000fi+ ### Selecting the ZSTD modules and kernel compression level+ if [ "$_zstd_level_value" = "ultra" ]; then+ echo "Enabling highest ZSTD modules and kernel compression ratio..."+ scripts/config --set-val CONFIG_MODULE_COMPRESS_ZSTD_LEVEL 19 \+ --enable CONFIG_MODULE_COMPRESS_ZSTD_ULTRA \+ --set-val CONFIG_MODULE_COMPRESS_ZSTD_LEVEL_ULTRA 22 \+ --set-val CONFIG_ZSTD_COMP_VAL 22+ elif [ "$_zstd_level_value" = "normal" ]; then+ echo "Enabling standard ZSTD modules and kernel compression ratio..."+ scripts/config --set-val CONFIG_MODULE_COMPRESS_ZSTD_LEVEL 9 \+ --disable CONFIG_MODULE_COMPRESS_ZSTD_ULTRA \+ --set-val CONFIG_ZSTD_COMP_VAL 19+ else+ if [ -n "$_zstd_level_value" ]; then+ error "The value $_zstd_level_value is invalid. Choose the correct one again."+ else+ error "The value is empty. Choose the correct one again."+ fi+ error "Selecting the ZSTD modules and kernel compression level failed!"+ exit+ fi+### Disable DEBUGif [ -n "$_disable_debug" ]; thenscripts/config --disable DEBUG_INFO \diff --git a/linux-cachyos-cfs/.SRCINFO b/linux-cachyos-cfs/.SRCINFOindex d72e371b..92371167 100644--- a/linux-cachyos-cfs/.SRCINFO+++ b/linux-cachyos-cfs/.SRCINFO@@ -1,5 +1,5 @@# Generated by makepkg 6.0.1-# Tue Aug 9 20:23:46 UTC 2022+# Wed Aug 10 10:26:49 UTC 2022pkgbase = linux-cachyos-cfspkgdesc = Linux CFS scheduler Kernel by CachyOS with other patches and improvementspkgver = 5.19.0@@ -26,7 +26,7 @@ pkgbase = linux-cachyos-cfssource = https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.19.tar.xzsource = configsource = auto-cpu-optimization.sh- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.19/all/0001-cachyos-base-all.patch+ source = https://raw.githubusercontent.com/cachyos/kernel-patches/master/5.19/all/0001-cachyos-base-all.patchsha256sums = ff240c579b9ee1affc318917de07394fc1c3bb49dac25ec1287370c2e15005a8sha256sums = 4df524b3253ed3b197c6db24771525902fd8978d2eeabcb2a3a4305c4afc7327sha256sums = ce8bf7807b45a27eed05a5e1de5a0bf6293a3bbc2085bacae70cd1368f368d1fdiff --git a/linux-cachyos-cfs/PKGBUILD b/linux-cachyos-cfs/PKGBUILDindex 09825bce..e59fcf8e 100644--- a/linux-cachyos-cfs/PKGBUILD+++ b/linux-cachyos-cfs/PKGBUILD@@ -100,6 +100,14 @@ _disable_debug=y## Enable zram/zswap ZSTD compression_zstd_compression=y+### Selecting the ZSTD kernel and modules compression level+# ATTENTION - one of two predefined values should be selected!+# 'ultra' - highest compression ratio+# 'normal' - standard compression ratio+# WARNING: the ultra settings can sometimes+# be counterproductive in both size and speed.+_zstd_level_value='normal'+# Clang LTO mode, only available with the "llvm" compiler - options are "no", "full" or "thin".# "full: uses 1 thread for Linking, slow and uses more memory, theoretically with the highest performance gains."# "thin: uses multiple threads, faster and uses less memory, may have a lower runtime performance than Full."@@ -602,6 +610,28 @@ prepare() {--set-val ZRAM_ENTROPY_THRESHOLD 100000fi+ ### Selecting the ZSTD modules and kernel compression level+ if [ "$_zstd_level_value" = "ultra" ]; then+ echo "Enabling highest ZSTD modules and kernel compression ratio..."+ scripts/config --set-val CONFIG_MODULE_COMPRESS_ZSTD_LEVEL 19 \+ --enable CONFIG_MODULE_COMPRESS_ZSTD_ULTRA \+ --set-val CONFIG_MODULE_COMPRESS_ZSTD_LEVEL_ULTRA 22 \+ --set-val CONFIG_ZSTD_COMP_VAL 22+ elif [ "$_zstd_level_value" = "normal" ]; then+ echo "Enabling standard ZSTD modules and kernel compression ratio..."+ scripts/config --set-val CONFIG_MODULE_COMPRESS_ZSTD_LEVEL 9 \+ --disable CONFIG_MODULE_COMPRESS_ZSTD_ULTRA \+ --set-val CONFIG_ZSTD_COMP_VAL 19+ else+ if [ -n "$_zstd_level_value" ]; then+ error "The value $_zstd_level_value is invalid. Choose the correct one again."+ else+ error "The value is empty. Choose the correct one again."+ fi+ error "Selecting the ZSTD modules and kernel compression level failed!"+ exit+ fi+### Disable DEBUGif [ -n "$_disable_debug" ]; thenscripts/config --disable DEBUG_INFO \diff --git a/linux-cachyos-hardened/.SRCINFO b/linux-cachyos-hardened/.SRCINFOindex 3d9a4296..ce5ebea7 100644--- a/linux-cachyos-hardened/.SRCINFO+++ b/linux-cachyos-hardened/.SRCINFO@@ -1,5 +1,5 @@# Generated by makepkg 6.0.1-# Tue Aug 9 20:24:15 UTC 2022+# Wed Aug 10 10:28:06 UTC 2022pkgbase = linux-cachyos-hardenedpkgdesc = Linux BORE scheduler Kernel by CachyOS with other patches and improvementspkgver = 5.19.0@@ -26,9 +26,9 @@ pkgbase = linux-cachyos-hardenedsource = https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.19.tar.xzsource = configsource = auto-cpu-optimization.sh- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.19/all/0001-cachyos-base-all.patch- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.19/sched/0001-bore.patch- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.19/misc/0001-hardened.patch+ source = https://raw.githubusercontent.com/cachyos/kernel-patches/master/5.19/all/0001-cachyos-base-all.patch+ source = https://raw.githubusercontent.com/cachyos/kernel-patches/master/5.19/sched/0001-bore.patch+ source = https://raw.githubusercontent.com/cachyos/kernel-patches/master/5.19/misc/0001-hardened.patchsha256sums = ff240c579b9ee1affc318917de07394fc1c3bb49dac25ec1287370c2e15005a8sha256sums = b75e5c656f6e3909e3607a8427f9d68494063f6ffa802489bc31120639b19653sha256sums = ce8bf7807b45a27eed05a5e1de5a0bf6293a3bbc2085bacae70cd1368f368d1fdiff --git a/linux-cachyos-hardened/PKGBUILD b/linux-cachyos-hardened/PKGBUILDindex 4c8786a6..a468e782 100644--- a/linux-cachyos-hardened/PKGBUILD+++ b/linux-cachyos-hardened/PKGBUILD@@ -100,6 +100,14 @@ _disable_debug=y## Enable zram/zswap ZSTD compression_zstd_compression=y+### Selecting the ZSTD kernel and modules compression level+# ATTENTION - one of two predefined values should be selected!+# 'ultra' - highest compression ratio+# 'normal' - standard compression ratio+# WARNING: the ultra settings can sometimes+# be counterproductive in both size and speed.+_zstd_level_value='normal'+# Clang LTO mode, only available with the "llvm" compiler - options are "no", "full" or "thin".# "full: uses 1 thread for Linking, slow and uses more memory, theoretically with the highest performance gains."# "thin: uses multiple threads, faster and uses less memory, may have a lower runtime performance than Full."@@ -602,6 +610,28 @@ prepare() {--set-val ZRAM_ENTROPY_THRESHOLD 100000fi+ ### Selecting the ZSTD modules and kernel compression level+ if [ "$_zstd_level_value" = "ultra" ]; then+ echo "Enabling highest ZSTD modules and kernel compression ratio..."+ scripts/config --set-val CONFIG_MODULE_COMPRESS_ZSTD_LEVEL 19 \+ --enable CONFIG_MODULE_COMPRESS_ZSTD_ULTRA \+ --set-val CONFIG_MODULE_COMPRESS_ZSTD_LEVEL_ULTRA 22 \+ --set-val CONFIG_ZSTD_COMP_VAL 22+ elif [ "$_zstd_level_value" = "normal" ]; then+ echo "Enabling standard ZSTD modules and kernel compression ratio..."+ scripts/config --set-val CONFIG_MODULE_COMPRESS_ZSTD_LEVEL 9 \+ --disable CONFIG_MODULE_COMPRESS_ZSTD_ULTRA \+ --set-val CONFIG_ZSTD_COMP_VAL 19+ else+ if [ -n "$_zstd_level_value" ]; then+ error "The value $_zstd_level_value is invalid. Choose the correct one again."+ else+ error "The value is empty. Choose the correct one again."+ fi+ error "Selecting the ZSTD modules and kernel compression level failed!"+ exit+ fi+### Disable DEBUGif [ -n "$_disable_debug" ]; thenscripts/config --disable DEBUG_INFO \diff --git a/linux-cachyos-pds/.SRCINFO b/linux-cachyos-pds/.SRCINFOindex 2f7814b8..02f2c82c 100644--- a/linux-cachyos-pds/.SRCINFO+++ b/linux-cachyos-pds/.SRCINFO@@ -1,5 +1,5 @@# Generated by makepkg 6.0.1-# Tue Aug 9 20:24:58 UTC 2022+# Wed Aug 10 10:29:14 UTC 2022pkgbase = linux-cachyos-pdspkgdesc = Linux BORE scheduler Kernel by CachyOS with other patches and improvementspkgver = 5.19.0@@ -26,8 +26,8 @@ pkgbase = linux-cachyos-pdssource = https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.19.tar.xzsource = configsource = auto-cpu-optimization.sh- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.19/all/0001-cachyos-base-all.patch- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.19/sched/0001-prjc-cachy.patch+ source = https://raw.githubusercontent.com/cachyos/kernel-patches/master/5.19/all/0001-cachyos-base-all.patch+ source = https://raw.githubusercontent.com/cachyos/kernel-patches/master/5.19/sched/0001-prjc-cachy.patchsha256sums = ff240c579b9ee1affc318917de07394fc1c3bb49dac25ec1287370c2e15005a8sha256sums = 4df524b3253ed3b197c6db24771525902fd8978d2eeabcb2a3a4305c4afc7327sha256sums = ce8bf7807b45a27eed05a5e1de5a0bf6293a3bbc2085bacae70cd1368f368d1fdiff --git a/linux-cachyos-pds/PKGBUILD b/linux-cachyos-pds/PKGBUILDindex 739bb388..811dcb3f 100644--- a/linux-cachyos-pds/PKGBUILD+++ b/linux-cachyos-pds/PKGBUILD@@ -100,6 +100,14 @@ _disable_debug=y## Enable zram/zswap ZSTD compression_zstd_compression=y+### Selecting the ZSTD kernel and modules compression level+# ATTENTION - one of two predefined values should be selected!+# 'ultra' - highest compression ratio+# 'normal' - standard compression ratio+# WARNING: the ultra settings can sometimes+# be counterproductive in both size and speed.+_zstd_level_value='normal'+# Clang LTO mode, only available with the "llvm" compiler - options are "no", "full" or "thin".# "full: uses 1 thread for Linking, slow and uses more memory, theoretically with the highest performance gains."# "thin: uses multiple threads, faster and uses less memory, may have a lower runtime performance than Full."@@ -602,6 +610,28 @@ prepare() {--set-val ZRAM_ENTROPY_THRESHOLD 100000fi+ ### Selecting the ZSTD modules and kernel compression level+ if [ "$_zstd_level_value" = "ultra" ]; then+ echo "Enabling highest ZSTD modules and kernel compression ratio..."+ scripts/config --set-val CONFIG_MODULE_COMPRESS_ZSTD_LEVEL 19 \+ --enable CONFIG_MODULE_COMPRESS_ZSTD_ULTRA \+ --set-val CONFIG_MODULE_COMPRESS_ZSTD_LEVEL_ULTRA 22 \+ --set-val CONFIG_ZSTD_COMP_VAL 22+ elif [ "$_zstd_level_value" = "normal" ]; then+ echo "Enabling standard ZSTD modules and kernel compression ratio..."+ scripts/config --set-val CONFIG_MODULE_COMPRESS_ZSTD_LEVEL 9 \+ --disable CONFIG_MODULE_COMPRESS_ZSTD_ULTRA \+ --set-val CONFIG_ZSTD_COMP_VAL 19+ else+ if [ -n "$_zstd_level_value" ]; then+ error "The value $_zstd_level_value is invalid. Choose the correct one again."+ else+ error "The value is empty. Choose the correct one again."+ fi+ error "Selecting the ZSTD modules and kernel compression level failed!"+ exit+ fi+### Disable DEBUGif [ -n "$_disable_debug" ]; thenscripts/config --disable DEBUG_INFO \diff --git a/linux-cachyos-tt/.SRCINFO b/linux-cachyos-tt/.SRCINFOindex ac21c4e6..310d4237 100644--- a/linux-cachyos-tt/.SRCINFO+++ b/linux-cachyos-tt/.SRCINFO@@ -1,5 +1,5 @@# Generated by makepkg 6.0.1-# Tue Aug 9 20:25:29 UTC 2022+# Wed Aug 10 10:30:12 UTC 2022pkgbase = linux-cachyos-ttpkgdesc = Linux TT scheduler Kernel by CachyOS with other patches and improvementspkgver = 5.19.0@@ -26,8 +26,8 @@ pkgbase = linux-cachyos-ttsource = https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.19.tar.xzsource = configsource = auto-cpu-optimization.sh- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.19/all/0001-cachyos-base-all.patch- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.19/sched/0001-tt-cachy.patch+ source = https://raw.githubusercontent.com/cachyos/kernel-patches/master/5.19/all/0001-cachyos-base-all.patch+ source = https://raw.githubusercontent.com/cachyos/kernel-patches/master/5.19/sched/0001-tt-cachy.patchsha256sums = ff240c579b9ee1affc318917de07394fc1c3bb49dac25ec1287370c2e15005a8sha256sums = 4df524b3253ed3b197c6db24771525902fd8978d2eeabcb2a3a4305c4afc7327sha256sums = ce8bf7807b45a27eed05a5e1de5a0bf6293a3bbc2085bacae70cd1368f368d1fdiff --git a/linux-cachyos-tt/PKGBUILD b/linux-cachyos-tt/PKGBUILDindex 05c45e83..7cfcd071 100644--- a/linux-cachyos-tt/PKGBUILD+++ b/linux-cachyos-tt/PKGBUILD@@ -100,6 +100,14 @@ _disable_debug=y## Enable zram/zswap ZSTD compression_zstd_compression=y+### Selecting the ZSTD kernel and modules compression level+# ATTENTION - one of two predefined values should be selected!+# 'ultra' - highest compression ratio+# 'normal' - standard compression ratio+# WARNING: the ultra settings can sometimes+# be counterproductive in both size and speed.+_zstd_level_value='normal'+# Clang LTO mode, only available with the "llvm" compiler - options are "no", "full" or "thin".# "full: uses 1 thread for Linking, slow and uses more memory, theoretically with the highest performance gains."# "thin: uses multiple threads, faster and uses less memory, may have a lower runtime performance than Full."@@ -602,6 +610,28 @@ prepare() {--set-val ZRAM_ENTROPY_THRESHOLD 100000fi+ ### Selecting the ZSTD modules and kernel compression level+ if [ "$_zstd_level_value" = "ultra" ]; then+ echo "Enabling highest ZSTD modules and kernel compression ratio..."+ scripts/config --set-val CONFIG_MODULE_COMPRESS_ZSTD_LEVEL 19 \+ --enable CONFIG_MODULE_COMPRESS_ZSTD_ULTRA \+ --set-val CONFIG_MODULE_COMPRESS_ZSTD_LEVEL_ULTRA 22 \+ --set-val CONFIG_ZSTD_COMP_VAL 22+ elif [ "$_zstd_level_value" = "normal" ]; then+ echo "Enabling standard ZSTD modules and kernel compression ratio..."+ scripts/config --set-val CONFIG_MODULE_COMPRESS_ZSTD_LEVEL 9 \+ --disable CONFIG_MODULE_COMPRESS_ZSTD_ULTRA \+ --set-val CONFIG_ZSTD_COMP_VAL 19+ else+ if [ -n "$_zstd_level_value" ]; then+ error "The value $_zstd_level_value is invalid. Choose the correct one again."+ else+ error "The value is empty. Choose the correct one again."+ fi+ error "Selecting the ZSTD modules and kernel compression level failed!"+ exit+ fi+### Disable DEBUGif [ -n "$_disable_debug" ]; thenscripts/config --disable DEBUG_INFO \diff --git a/linux-cachyos/.SRCINFO b/linux-cachyos/.SRCINFOindex 5bffc288..99f18f35 100644--- a/linux-cachyos/.SRCINFO+++ b/linux-cachyos/.SRCINFO@@ -1,5 +1,5 @@# Generated by makepkg 6.0.1-# Tue Aug 9 20:21:48 UTC 2022+# Wed Aug 10 10:18:26 UTC 2022pkgbase = linux-cachyospkgdesc = Linux BORE scheduler Kernel by CachyOS with other patches and improvementspkgver = 5.19.0@@ -26,8 +26,8 @@ pkgbase = linux-cachyossource = https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.19.tar.xzsource = configsource = auto-cpu-optimization.sh- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.19/all/0001-cachyos-base-all.patch- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.19/sched/0001-bore.patch+ source = https://raw.githubusercontent.com/cachyos/kernel-patches/master/5.19/all/0001-cachyos-base-all.patch+ source = https://raw.githubusercontent.com/cachyos/kernel-patches/master/5.19/sched/0001-bore.patchsha256sums = ff240c579b9ee1affc318917de07394fc1c3bb49dac25ec1287370c2e15005a8sha256sums = 4df524b3253ed3b197c6db24771525902fd8978d2eeabcb2a3a4305c4afc7327sha256sums = ce8bf7807b45a27eed05a5e1de5a0bf6293a3bbc2085bacae70cd1368f368d1fdiff --git a/linux-cachyos/PKGBUILD b/linux-cachyos/PKGBUILDindex ee33afe3..c2639a9c 100644--- a/linux-cachyos/PKGBUILD+++ b/linux-cachyos/PKGBUILD@@ -100,6 +100,14 @@ _disable_debug=y## Enable zram/zswap ZSTD compression_zstd_compression=y+### Selecting the ZSTD kernel and modules compression level+# ATTENTION - one of two predefined values should be selected!+# 'ultra' - highest compression ratio+# 'normal' - standard compression ratio+# WARNING: the ultra settings can sometimes+# be counterproductive in both size and speed.+_zstd_level_value='normal'+# Clang LTO mode, only available with the "llvm" compiler - options are "no", "full" or "thin".# "full: uses 1 thread for Linking, slow and uses more memory, theoretically with the highest performance gains."# "thin: uses multiple threads, faster and uses less memory, may have a lower runtime performance than Full."@@ -594,12 +602,26 @@ prepare() {--disable LRNG_SELFTEST_PANICfi- ### Enable ZSTD swap/zram compression- if [ -n "$_zstd_swap_compression" ]; then- echo "Enabling zram ZSTD compression..."- scripts/config --disable CONFIG_ZSWAP_DEFAULT_ON \- --enable ZRAM_ENTROPY \- --set-val ZRAM_ENTROPY_THRESHOLD 100000+ ### Selecting the ZSTD modules and kernel compression level+ if [ "$_zstd_level_value" = "ultra" ]; then+ echo "Enabling highest ZSTD modules and kernel compression ratio..."+ scripts/config --set-val CONFIG_MODULE_COMPRESS_ZSTD_LEVEL 19 \+ --enable CONFIG_MODULE_COMPRESS_ZSTD_ULTRA \+ --set-val CONFIG_MODULE_COMPRESS_ZSTD_LEVEL_ULTRA 22 \+ --set-val CONFIG_ZSTD_COMP_VAL 22+ elif [ "$_zstd_level_value" = "normal" ]; then+ echo "Enabling standard ZSTD modules and kernel compression ratio..."+ scripts/config --set-val CONFIG_MODULE_COMPRESS_ZSTD_LEVEL 9 \+ --disable CONFIG_MODULE_COMPRESS_ZSTD_ULTRA \+ --set-val CONFIG_ZSTD_COMP_VAL 19+ else+ if [ -n "$_zstd_level_value" ]; then+ error "The value $_zstd_level_value is invalid. Choose the correct one again."+ else+ error "The value is empty. Choose the correct one again."+ fi+ error "Selecting the ZSTD modules and kernel compression level failed!"+ exitfi### Disable DEBUGdiff --git a/linux-cacule-rdb/.SRCINFO b/linux-cacule-rdb/.SRCINFOindex 70be882a..293fab4d 100644--- a/linux-cacule-rdb/.SRCINFO+++ b/linux-cacule-rdb/.SRCINFO@@ -1,5 +1,5 @@# Generated by makepkg 6.0.1-# Tue Aug 9 20:26:26 UTC 2022+# Wed Aug 10 10:32:33 UTC 2022pkgbase = linux-cacule-rdbpkgdesc = Linux cacULE-RDB scheduler Kernel by CachyOS with other patches and improvementspkgver = 5.19.0@@ -26,8 +26,8 @@ pkgbase = linux-cacule-rdbsource = https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.19.tar.xzsource = configsource = auto-cpu-optimization.sh- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.19/all/0001-cachyos-base-all.patch- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.19/sched/0001-cacULE-cachy.patch+ source = https://raw.githubusercontent.com/cachyos/kernel-patches/master/5.19/all/0001-cachyos-base-all.patch+ source = https://raw.githubusercontent.com/cachyos/kernel-patches/master/5.19/sched/0001-cacULE-cachy.patchsha256sums = ff240c579b9ee1affc318917de07394fc1c3bb49dac25ec1287370c2e15005a8sha256sums = 4df524b3253ed3b197c6db24771525902fd8978d2eeabcb2a3a4305c4afc7327sha256sums = ce8bf7807b45a27eed05a5e1de5a0bf6293a3bbc2085bacae70cd1368f368d1fdiff --git a/linux-cacule-rdb/PKGBUILD b/linux-cacule-rdb/PKGBUILDindex 3d288cd9..812a8df0 100644--- a/linux-cacule-rdb/PKGBUILD+++ b/linux-cacule-rdb/PKGBUILD@@ -100,6 +100,14 @@ _disable_debug=y## Enable zram/zswap ZSTD compression_zstd_compression=y+### Selecting the ZSTD kernel and modules compression level+# ATTENTION - one of two predefined values should be selected!+# 'ultra' - highest compression ratio+# 'normal' - standard compression ratio+# WARNING: the ultra settings can sometimes+# be counterproductive in both size and speed.+_zstd_level_value='normal'+# Clang LTO mode, only available with the "llvm" compiler - options are "no", "full" or "thin".# "full: uses 1 thread for Linking, slow and uses more memory, theoretically with the highest performance gains."# "thin: uses multiple threads, faster and uses less memory, may have a lower runtime performance than Full."@@ -602,6 +610,28 @@ prepare() {--set-val ZRAM_ENTROPY_THRESHOLD 100000fi+ ### Selecting the ZSTD modules and kernel compression level+ if [ "$_zstd_level_value" = "ultra" ]; then+ echo "Enabling highest ZSTD modules and kernel compression ratio..."+ scripts/config --set-val CONFIG_MODULE_COMPRESS_ZSTD_LEVEL 19 \+ --enable CONFIG_MODULE_COMPRESS_ZSTD_ULTRA \+ --set-val CONFIG_MODULE_COMPRESS_ZSTD_LEVEL_ULTRA 22 \+ --set-val CONFIG_ZSTD_COMP_VAL 22+ elif [ "$_zstd_level_value" = "normal" ]; then+ echo "Enabling standard ZSTD modules and kernel compression ratio..."+ scripts/config --set-val CONFIG_MODULE_COMPRESS_ZSTD_LEVEL 9 \+ --disable CONFIG_MODULE_COMPRESS_ZSTD_ULTRA \+ --set-val CONFIG_ZSTD_COMP_VAL 19+ else+ if [ -n "$_zstd_level_value" ]; then+ error "The value $_zstd_level_value is invalid. Choose the correct one again."+ else+ error "The value is empty. Choose the correct one again."+ fi+ error "Selecting the ZSTD modules and kernel compression level failed!"+ exit+ fi+### Disable DEBUGif [ -n "$_disable_debug" ]; thenscripts/config --disable DEBUG_INFO \diff --git a/linux-cacule/.SRCINFO b/linux-cacule/.SRCINFOindex 0db0b0a8..6e0817b1 100644--- a/linux-cacule/.SRCINFO+++ b/linux-cacule/.SRCINFO@@ -1,5 +1,5 @@# Generated by makepkg 6.0.1-# Tue Aug 9 20:25:58 UTC 2022+# Wed Aug 10 10:31:28 UTC 2022pkgbase = linux-caculepkgdesc = Linux BORE scheduler Kernel by CachyOS with other patches and improvementspkgver = 5.19.0@@ -26,8 +26,8 @@ pkgbase = linux-caculesource = https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.19.tar.xzsource = configsource = auto-cpu-optimization.sh- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.19/all/0001-cachyos-base-all.patch- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.19/sched/0001-cacULE-cachy.patch+ source = https://raw.githubusercontent.com/cachyos/kernel-patches/master/5.19/all/0001-cachyos-base-all.patch+ source = https://raw.githubusercontent.com/cachyos/kernel-patches/master/5.19/sched/0001-cacULE-cachy.patchsha256sums = ff240c579b9ee1affc318917de07394fc1c3bb49dac25ec1287370c2e15005a8sha256sums = 4df524b3253ed3b197c6db24771525902fd8978d2eeabcb2a3a4305c4afc7327sha256sums = ce8bf7807b45a27eed05a5e1de5a0bf6293a3bbc2085bacae70cd1368f368d1fdiff --git a/linux-cacule/PKGBUILD b/linux-cacule/PKGBUILDindex 215726f6..dc4b15ca 100644--- a/linux-cacule/PKGBUILD+++ b/linux-cacule/PKGBUILD@@ -100,6 +100,14 @@ _disable_debug=y## Enable zram/zswap ZSTD compression_zstd_compression=y+### Selecting the ZSTD kernel and modules compression level+# ATTENTION - one of two predefined values should be selected!+# 'ultra' - highest compression ratio+# 'normal' - standard compression ratio+# WARNING: the ultra settings can sometimes+# be counterproductive in both size and speed.+_zstd_level_value='normal'+# Clang LTO mode, only available with the "llvm" compiler - options are "no", "full" or "thin".# "full: uses 1 thread for Linking, slow and uses more memory, theoretically with the highest performance gains."# "thin: uses multiple threads, faster and uses less memory, may have a lower runtime performance than Full."@@ -602,6 +610,28 @@ prepare() {--set-val ZRAM_ENTROPY_THRESHOLD 100000fi+ ### Selecting the ZSTD modules and kernel compression level+ if [ "$_zstd_level_value" = "ultra" ]; then+ echo "Enabling highest ZSTD modules and kernel compression ratio..."+ scripts/config --set-val CONFIG_MODULE_COMPRESS_ZSTD_LEVEL 19 \+ --enable CONFIG_MODULE_COMPRESS_ZSTD_ULTRA \+ --set-val CONFIG_MODULE_COMPRESS_ZSTD_LEVEL_ULTRA 22 \+ --set-val CONFIG_ZSTD_COMP_VAL 22+ elif [ "$_zstd_level_value" = "normal" ]; then+ echo "Enabling standard ZSTD modules and kernel compression ratio..."+ scripts/config --set-val CONFIG_MODULE_COMPRESS_ZSTD_LEVEL 9 \+ --disable CONFIG_MODULE_COMPRESS_ZSTD_ULTRA \+ --set-val CONFIG_ZSTD_COMP_VAL 19+ else+ if [ -n "$_zstd_level_value" ]; then+ error "The value $_zstd_level_value is invalid. Choose the correct one again."+ else+ error "The value is empty. Choose the correct one again."+ fi+ error "Selecting the ZSTD modules and kernel compression level failed!"+ exit+ fi+### Disable DEBUGif [ -n "$_disable_debug" ]; thenscripts/config --disable DEBUG_INFO \diff --git a/linux-tt/.SRCINFO b/linux-tt/.SRCINFOindex 40e4df73..5e8ddc5d 100644--- a/linux-tt/.SRCINFO+++ b/linux-tt/.SRCINFO@@ -1,5 +1,5 @@# Generated by makepkg 6.0.1-# Tue Aug 9 20:26:52 UTC 2022+# Wed Aug 10 10:33:31 UTC 2022pkgbase = linux-ttpkgdesc = Linux TT scheduler Kernel by CachyOS with other patches and improvementspkgver = 5.19.0@@ -26,8 +26,8 @@ pkgbase = linux-ttsource = https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.19.tar.xzsource = configsource = auto-cpu-optimization.sh- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.19/all/0001-cachyos-base-all.patch- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.19/sched/0001-tt-cachy.patch+ source = https://raw.githubusercontent.com/cachyos/kernel-patches/master/5.19/all/0001-cachyos-base-all.patch+ source = https://raw.githubusercontent.com/cachyos/kernel-patches/master/5.19/sched/0001-tt-cachy.patchsha256sums = ff240c579b9ee1affc318917de07394fc1c3bb49dac25ec1287370c2e15005a8sha256sums = 4df524b3253ed3b197c6db24771525902fd8978d2eeabcb2a3a4305c4afc7327sha256sums = ce8bf7807b45a27eed05a5e1de5a0bf6293a3bbc2085bacae70cd1368f368d1fdiff --git a/linux-tt/PKGBUILD b/linux-tt/PKGBUILDindex 5c39653e..331852eb 100644--- a/linux-tt/PKGBUILD+++ b/linux-tt/PKGBUILD@@ -100,6 +100,14 @@ _disable_debug=y## Enable zram/zswap ZSTD compression_zstd_compression=y+### Selecting the ZSTD kernel and modules compression level+# ATTENTION - one of two predefined values should be selected!+# 'ultra' - highest compression ratio+# 'normal' - standard compression ratio+# WARNING: the ultra settings can sometimes+# be counterproductive in both size and speed.+_zstd_level_value='normal'+# Clang LTO mode, only available with the "llvm" compiler - options are "no", "full" or "thin".# "full: uses 1 thread for Linking, slow and uses more memory, theoretically with the highest performance gains."# "thin: uses multiple threads, faster and uses less memory, may have a lower runtime performance than Full."@@ -602,6 +610,28 @@ prepare() {--set-val ZRAM_ENTROPY_THRESHOLD 100000fi+ ### Selecting the ZSTD modules and kernel compression level+ if [ "$_zstd_level_value" = "ultra" ]; then+ echo "Enabling highest ZSTD modules and kernel compression ratio..."+ scripts/config --set-val CONFIG_MODULE_COMPRESS_ZSTD_LEVEL 19 \+ --enable CONFIG_MODULE_COMPRESS_ZSTD_ULTRA \+ --set-val CONFIG_MODULE_COMPRESS_ZSTD_LEVEL_ULTRA 22 \+ --set-val CONFIG_ZSTD_COMP_VAL 22+ elif [ "$_zstd_level_value" = "normal" ]; then+ echo "Enabling standard ZSTD modules and kernel compression ratio..."+ scripts/config --set-val CONFIG_MODULE_COMPRESS_ZSTD_LEVEL 9 \+ --disable CONFIG_MODULE_COMPRESS_ZSTD_ULTRA \+ --set-val CONFIG_ZSTD_COMP_VAL 19+ else+ if [ -n "$_zstd_level_value" ]; then+ error "The value $_zstd_level_value is invalid. Choose the correct one again."+ else+ error "The value is empty. Choose the correct one again."+ fi+ error "Selecting the ZSTD modules and kernel compression level failed!"+ exit+ fi+### Disable DEBUGif [ -n "$_disable_debug" ]; thenscripts/config --disable DEBUG_INFO \