Archlinux Kernel based on different schedulers and some other performance improvements.
Shell archlinuxbaby-schedcachycachy-schedulercachyoscacule-schedkernellinux-kernelperformanceperformance-tuning
Drop zstd compression flag
Piotr Gorski7a626f320c3d
diff --git a/linux-bore/PKGBUILD b/linux-bore/PKGBUILDindex a3e0d493..a271fb98 100644--- a/linux-bore/PKGBUILD+++ b/linux-bore/PKGBUILD@@ -135,14 +135,6 @@ _use_auto_optimization=${_use_auto_optimization-y}# disable debug to lower the size of the kernel_disable_debug=${_disable_debug-}-### 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."@@ -572,17 +564,6 @@ prepare() {-d LRNG_RUNTIME_FORCE_SEEDING_DISABLEfi- ### 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-bmq/PKGBUILD b/linux-cachyos-bmq/PKGBUILDindex c48df754..07c4f290 100644--- a/linux-cachyos-bmq/PKGBUILD+++ b/linux-cachyos-bmq/PKGBUILD@@ -135,14 +135,6 @@ _use_auto_optimization=${_use_auto_optimization-y}# disable debug to lower the size of the kernel_disable_debug=${_disable_debug-}-### 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."@@ -572,17 +564,6 @@ prepare() {-d LRNG_RUNTIME_FORCE_SEEDING_DISABLEfi- ### 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-bore/PKGBUILD b/linux-cachyos-bore/PKGBUILDindex 1fd5f66f..56ba6da3 100644--- a/linux-cachyos-bore/PKGBUILD+++ b/linux-cachyos-bore/PKGBUILD@@ -135,14 +135,6 @@ _use_auto_optimization=${_use_auto_optimization-y}# disable debug to lower the size of the kernel_disable_debug=${_disable_debug-}-### 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."@@ -572,17 +564,6 @@ prepare() {-d LRNG_RUNTIME_FORCE_SEEDING_DISABLEfi- ### 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-cfs/PKGBUILD b/linux-cachyos-cfs/PKGBUILDindex c5318767..e19797c8 100644--- a/linux-cachyos-cfs/PKGBUILD+++ b/linux-cachyos-cfs/PKGBUILD@@ -135,14 +135,6 @@ _use_auto_optimization=${_use_auto_optimization-y}# disable debug to lower the size of the kernel_disable_debug=${_disable_debug-}-### 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."@@ -572,17 +564,6 @@ prepare() {-d LRNG_RUNTIME_FORCE_SEEDING_DISABLEfi- ### 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-eevdf/PKGBUILD b/linux-cachyos-eevdf/PKGBUILDindex 800fc1bc..104f2595 100644--- a/linux-cachyos-eevdf/PKGBUILD+++ b/linux-cachyos-eevdf/PKGBUILD@@ -135,14 +135,6 @@ _use_auto_optimization=${_use_auto_optimization-y}# disable debug to lower the size of the kernel_disable_debug=${_disable_debug-}-### 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."@@ -572,17 +564,6 @@ prepare() {-d LRNG_RUNTIME_FORCE_SEEDING_DISABLEfi- ### 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-pds/PKGBUILD b/linux-cachyos-pds/PKGBUILDindex 231d06af..e6a048e1 100644--- a/linux-cachyos-pds/PKGBUILD+++ b/linux-cachyos-pds/PKGBUILD@@ -135,14 +135,6 @@ _use_auto_optimization=${_use_auto_optimization-y}# disable debug to lower the size of the kernel_disable_debug=${_disable_debug-}-### 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."@@ -572,17 +564,6 @@ prepare() {-d LRNG_RUNTIME_FORCE_SEEDING_DISABLEfi- ### 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-rc/PKGBUILD b/linux-cachyos-rc/PKGBUILDindex 627b90ae..febc50bd 100644--- a/linux-cachyos-rc/PKGBUILD+++ b/linux-cachyos-rc/PKGBUILD@@ -135,14 +135,6 @@ _use_auto_optimization=${_use_auto_optimization-y}# disable debug to lower the size of the kernel_disable_debug=${_disable_debug-}-### 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."@@ -572,17 +564,6 @@ prepare() {-d LRNG_RUNTIME_FORCE_SEEDING_DISABLEfi- ### 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-server/PKGBUILD b/linux-cachyos-server/PKGBUILDindex 7ed59895..b2e5bbfd 100644--- a/linux-cachyos-server/PKGBUILD+++ b/linux-cachyos-server/PKGBUILD@@ -135,14 +135,6 @@ _use_auto_optimization=${_use_auto_optimization-y}# disable debug to lower the size of the kernel_disable_debug=${_disable_debug-}-### 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."@@ -572,17 +564,6 @@ prepare() {-d LRNG_RUNTIME_FORCE_SEEDING_DISABLEfi- ### 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-tt/PKGBUILD b/linux-cachyos-tt/PKGBUILDindex 4f397ea8..05b8c6f3 100644--- a/linux-cachyos-tt/PKGBUILD+++ b/linux-cachyos-tt/PKGBUILD@@ -135,14 +135,6 @@ _use_auto_optimization=${_use_auto_optimization-y}# disable debug to lower the size of the kernel_disable_debug=${_disable_debug-}-### 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."@@ -572,17 +564,6 @@ prepare() {-d LRNG_RUNTIME_FORCE_SEEDING_DISABLEfi- ### 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/PKGBUILD b/linux-cachyos/PKGBUILDindex 36219af6..a1bb8079 100644--- a/linux-cachyos/PKGBUILD+++ b/linux-cachyos/PKGBUILD@@ -135,14 +135,6 @@ _use_auto_optimization=${_use_auto_optimization-y}# disable debug to lower the size of the kernel_disable_debug=${_disable_debug-}-### 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."@@ -572,17 +564,6 @@ prepare() {-d LRNG_RUNTIME_FORCE_SEEDING_DISABLEfi- ### 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-tt/PKGBUILD b/linux-tt/PKGBUILDindex b6a136df..26ddbc7e 100644--- a/linux-tt/PKGBUILD+++ b/linux-tt/PKGBUILD@@ -135,14 +135,6 @@ _use_auto_optimization=${_use_auto_optimization-y}# disable debug to lower the size of the kernel_disable_debug=${_disable_debug-}-### 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."@@ -572,17 +564,6 @@ prepare() {-d LRNG_RUNTIME_FORCE_SEEDING_DISABLEfi- ### 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 \