Archlinux Kernel based on different schedulers and some other performance improvements.
Shell archlinuxbaby-schedcachycachy-schedulercachyoscacule-schedkernellinux-kernelperformanceperformance-tuning
Drop zstd compression flag
Piotr Gorski41fcac8cd9ff
diff --git a/linux-cachyos-hardened/PKGBUILD b/linux-cachyos-hardened/PKGBUILDindex ed581e0b..54a13e1d 100644--- a/linux-cachyos-hardened/PKGBUILD+++ b/linux-cachyos-hardened/PKGBUILD@@ -137,14 +137,6 @@ _disable_debug=${_disable_debug-}## Enable zram/zswap ZSTD compression_zstd_compression=${_zstd_compression-}-### 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=${_zstd_level_value-normal}-# Clang LTO mode, only available with the "llvm" compiler - options are "none", "full" or "thin".# ATTENTION - one of three predefined values should be selected!# "full: uses 1 thread for Linking, slow and uses more memory, theoretically with the highest performance gains."@@ -626,17 +618,6 @@ prepare() {--set-str ZSWAP_COMPRESSOR_DEFAULT zstdfi- ### Selecting the ZSTD modules and kernel compression level- [ -z "$_zstd_level_value" ] && _die "The value is empty. Choose the correct one again."-- case "$_zstd_level_value" in- ultra) scripts/config --set-val MODULE_COMPRESS_ZSTD_LEVEL 19 -e MODULE_COMPRESS_ZSTD_ULTRA --set-val MODULE_COMPRESS_ZSTD_LEVEL_ULTRA 22 --set-val ZSTD_COMPRESSION_LEVEL 22;;- normal) scripts/config --set-val MODULE_COMPRESS_ZSTD_LEVEL 9 -d MODULE_COMPRESS_ZSTD_ULTRA --set-val ZSTD_COMPRESSION_LEVEL 19;;- *) _die "The value '$_zstd_level_value' is invalid. Choose the correct one again.";;- esac-- echo "Selecting '$_zstd_level_value' ZSTD modules and kernel compression level..."-### Disable DEBUGif [ -n "$_disable_debug" ]; thenscripts/config -d DEBUG_INFO \diff --git a/linux-cachyos-lts/PKGBUILD b/linux-cachyos-lts/PKGBUILDindex 4009ca5e..9c92fb2e 100644--- a/linux-cachyos-lts/PKGBUILD+++ b/linux-cachyos-lts/PKGBUILD@@ -137,14 +137,6 @@ _disable_debug=${_disable_debug-}## Enable zram/zswap ZSTD compression_zstd_compression=${_zstd_compression-}-### 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=${_zstd_level_value-normal}-# Clang LTO mode, only available with the "llvm" compiler - options are "none", "full" or "thin".# ATTENTION - one of three predefined values should be selected!# "full: uses 1 thread for Linking, slow and uses more memory, theoretically with the highest performance gains."@@ -630,17 +622,6 @@ prepare() {--set-str ZSWAP_COMPRESSOR_DEFAULT zstdfi- ### Selecting the ZSTD modules and kernel compression level- [ -z "$_zstd_level_value" ] && _die "The value is empty. Choose the correct one again."-- case "$_zstd_level_value" in- ultra) scripts/config --set-val MODULE_COMPRESS_ZSTD_LEVEL 19 -e MODULE_COMPRESS_ZSTD_ULTRA --set-val MODULE_COMPRESS_ZSTD_LEVEL_ULTRA 22 --set-val ZSTD_COMPRESSION_LEVEL 22;;- normal) scripts/config --set-val MODULE_COMPRESS_ZSTD_LEVEL 9 -d MODULE_COMPRESS_ZSTD_ULTRA --set-val ZSTD_COMPRESSION_LEVEL 19;;- *) _die "The value '$_zstd_level_value' is invalid. Choose the correct one again.";;- esac-- echo "Selecting '$_zstd_level_value' ZSTD modules and kernel compression level..."-### Disable DEBUGif [ -n "$_disable_debug" ]; thenscripts/config -d DEBUG_INFO \