Skip to content

Archlinux Kernel based on different schedulers and some other performance improvements.

Drop zstd zram/zswap compression flag

Piotr Gorski083ad409b800
diff --git a/linux-cachyos-hardened/PKGBUILD b/linux-cachyos-hardened/PKGBUILD
index 54a13e1d..4cbd6c08 100644
--- a/linux-cachyos-hardened/PKGBUILD
+++ b/linux-cachyos-hardened/PKGBUILD
@@ -134,9 +134,6 @@ _use_auto_optimization=${_use_auto_optimization-y}
# disable debug to lower the size of the kernel
_disable_debug=${_disable_debug-}
-## Enable zram/zswap ZSTD compression
-_zstd_compression=${_zstd_compression-}
-
# 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."
@@ -607,17 +604,6 @@ prepare() {
-d LRNG_RUNTIME_FORCE_SEEDING_DISABLE
fi
- ### Enable zram/zswap ZSTD compression
- if [ -n "$_zstd_compression" ]; then
- echo "Enabling zram/swap ZSTD compression..."
- scripts/config -d ZRAM_DEF_COMP_LZORLE \
- -e ZRAM_DEF_COMP_ZSTD \
- --set-str ZRAM_DEF_COMP zstd \
- -d ZSWAP_COMPRESSOR_DEFAULT_LZ4 \
- -e ZSWAP_COMPRESSOR_DEFAULT_ZSTD \
- --set-str ZSWAP_COMPRESSOR_DEFAULT zstd
- fi
-
### Disable DEBUG
if [ -n "$_disable_debug" ]; then
scripts/config -d DEBUG_INFO \
diff --git a/linux-cachyos-lts/PKGBUILD b/linux-cachyos-lts/PKGBUILD
index 9c92fb2e..e80c12a2 100644
--- a/linux-cachyos-lts/PKGBUILD
+++ b/linux-cachyos-lts/PKGBUILD
@@ -134,9 +134,6 @@ _use_auto_optimization=${_use_auto_optimization-y}
# disable debug to lower the size of the kernel
_disable_debug=${_disable_debug-}
-## Enable zram/zswap ZSTD compression
-_zstd_compression=${_zstd_compression-}
-
# 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."
@@ -611,17 +608,6 @@ prepare() {
-d LRNG_RUNTIME_FORCE_SEEDING_DISABLE
fi
- ### Enable zram/zswap ZSTD compression
- if [ -n "$_zstd_compression" ]; then
- echo "Enabling zram/swap ZSTD compression..."
- scripts/config -d ZRAM_DEF_COMP_LZORLE \
- -e ZRAM_DEF_COMP_ZSTD \
- --set-str ZRAM_DEF_COMP zstd \
- -d ZSWAP_COMPRESSOR_DEFAULT_LZ4 \
- -e ZSWAP_COMPRESSOR_DEFAULT_ZSTD \
- --set-str ZSWAP_COMPRESSOR_DEFAULT zstd
- fi
-
### Disable DEBUG
if [ -n "$_disable_debug" ]; then
scripts/config -d DEBUG_INFO \