Archlinux Kernel based on different schedulers and some other performance improvements.
Shell archlinuxbaby-schedcachycachy-schedulercachyoscacule-schedkernellinux-kernelperformanceperformance-tuning
Return the source parameter lru_config
Vasiliy Stelmachenokc8aed674e06c
diff --git a/linux-bore/PKGBUILD b/linux-bore/PKGBUILDindex 78fb9186..7bde2a29 100644--- a/linux-bore/PKGBUILD+++ b/linux-bore/PKGBUILD@@ -86,8 +86,12 @@ _mq_deadline_disable=${_mq_deadline_disable-y}### Disable Kyber I/O scheduler_kyber_disable=${_kyber_disable-y}-### Enable stats for multigenerational LRU-_lru_stats=${_lru_stats-}+### Enable multigenerational LRU+# ATTENTION - one of three predefined values should be selected!+# 'standard' - enable multigenerational LRU+# 'stats' - enable multigenerational LRU with stats+# 'none' - disable multigenerational LRU+_lru_config=${_lru_config-standard}### Enable per-VMA locking# ATTENTION - one of three predefined values should be selected!@@ -458,9 +462,16 @@ prepare() {fi### Select LRU config- [ -n "$_lru_stats" ] && scripts/config -e LRU_GEN -e LRU_GEN_ENABLED -e LRU_GEN_STATS+ [ -z "$_lru_config" ] && _die "The value is empty. Choose the correct one again."++ case "$_lru_config" in+ standard) scripts/config -e LRU_GEN -e LRU_GEN_ENABLED -d LRU_GEN_STATS;;+ stats) scripts/config -e LRU_GEN -e LRU_GEN_ENABLED -e LRU_GEN_STATS;;+ none) scripts/config -d LRU_GEN;;+ *) _die "The value '$_lru_config' is invalid. Choose the correct one again.";;+ esac- echo "Enable statistics for MGLRU..."+ echo "Selecting '$_lru_config' LRU_GEN config..."### Select VMA config[ -z "$_vma_config" ] && _die "The value is empty. Choose the correct one again."diff --git a/linux-cachyos-bmq/PKGBUILD b/linux-cachyos-bmq/PKGBUILDindex 2d9dbb01..94331683 100644--- a/linux-cachyos-bmq/PKGBUILD+++ b/linux-cachyos-bmq/PKGBUILD@@ -86,8 +86,12 @@ _mq_deadline_disable=${_mq_deadline_disable-y}### Disable Kyber I/O scheduler_kyber_disable=${_kyber_disable-y}-### Enable stats for multigenerational LRU-_lru_stats=${_lru_stats-}+### Enable multigenerational LRU+# ATTENTION - one of three predefined values should be selected!+# 'standard' - enable multigenerational LRU+# 'stats' - enable multigenerational LRU with stats+# 'none' - disable multigenerational LRU+_lru_config=${_lru_config-standard}### Enable per-VMA locking# ATTENTION - one of three predefined values should be selected!@@ -458,9 +462,16 @@ prepare() {fi### Select LRU config- [ -n "$_lru_stats" ] && scripts/config -e LRU_GEN -e LRU_GEN_ENABLED -e LRU_GEN_STATS+ [ -z "$_lru_config" ] && _die "The value is empty. Choose the correct one again."++ case "$_lru_config" in+ standard) scripts/config -e LRU_GEN -e LRU_GEN_ENABLED -d LRU_GEN_STATS;;+ stats) scripts/config -e LRU_GEN -e LRU_GEN_ENABLED -e LRU_GEN_STATS;;+ none) scripts/config -d LRU_GEN;;+ *) _die "The value '$_lru_config' is invalid. Choose the correct one again.";;+ esac- echo "Enable statistics for MGLRU..."+ echo "Selecting '$_lru_config' LRU_GEN config..."### Select VMA config[ -z "$_vma_config" ] && _die "The value is empty. Choose the correct one again."diff --git a/linux-cachyos-bore/PKGBUILD b/linux-cachyos-bore/PKGBUILDindex a8aafc1c..a3a00aad 100644--- a/linux-cachyos-bore/PKGBUILD+++ b/linux-cachyos-bore/PKGBUILD@@ -86,8 +86,12 @@ _mq_deadline_disable=${_mq_deadline_disable-y}### Disable Kyber I/O scheduler_kyber_disable=${_kyber_disable-y}-### Enable stats for multigenerational LRU-_lru_stats=${_lru_stats-}+### Enable multigenerational LRU+# ATTENTION - one of three predefined values should be selected!+# 'standard' - enable multigenerational LRU+# 'stats' - enable multigenerational LRU with stats+# 'none' - disable multigenerational LRU+_lru_config=${_lru_config-standard}### Enable per-VMA locking# ATTENTION - one of three predefined values should be selected!@@ -458,9 +462,16 @@ prepare() {fi### Select LRU config- [ -n "$_lru_stats" ] && scripts/config -e LRU_GEN -e LRU_GEN_ENABLED -e LRU_GEN_STATS+ [ -z "$_lru_config" ] && _die "The value is empty. Choose the correct one again."++ case "$_lru_config" in+ standard) scripts/config -e LRU_GEN -e LRU_GEN_ENABLED -d LRU_GEN_STATS;;+ stats) scripts/config -e LRU_GEN -e LRU_GEN_ENABLED -e LRU_GEN_STATS;;+ none) scripts/config -d LRU_GEN;;+ *) _die "The value '$_lru_config' is invalid. Choose the correct one again.";;+ esac- echo "Enable statistics for MGLRU..."+ echo "Selecting '$_lru_config' LRU_GEN config..."### Select VMA config[ -z "$_vma_config" ] && _die "The value is empty. Choose the correct one again."diff --git a/linux-cachyos-cfs/PKGBUILD b/linux-cachyos-cfs/PKGBUILDindex b54e7cf3..34fe40da 100644--- a/linux-cachyos-cfs/PKGBUILD+++ b/linux-cachyos-cfs/PKGBUILD@@ -86,8 +86,12 @@ _mq_deadline_disable=${_mq_deadline_disable-y}### Disable Kyber I/O scheduler_kyber_disable=${_kyber_disable-y}-### Enable stats for multigenerational LRU-_lru_stats=${_lru_stats-}+### Enable multigenerational LRU+# ATTENTION - one of three predefined values should be selected!+# 'standard' - enable multigenerational LRU+# 'stats' - enable multigenerational LRU with stats+# 'none' - disable multigenerational LRU+_lru_config=${_lru_config-standard}### Enable per-VMA locking# ATTENTION - one of three predefined values should be selected!@@ -458,9 +462,16 @@ prepare() {fi### Select LRU config- [ -n "$_lru_stats" ] && scripts/config -e LRU_GEN -e LRU_GEN_ENABLED -e LRU_GEN_STATS+ [ -z "$_lru_config" ] && _die "The value is empty. Choose the correct one again."++ case "$_lru_config" in+ standard) scripts/config -e LRU_GEN -e LRU_GEN_ENABLED -d LRU_GEN_STATS;;+ stats) scripts/config -e LRU_GEN -e LRU_GEN_ENABLED -e LRU_GEN_STATS;;+ none) scripts/config -d LRU_GEN;;+ *) _die "The value '$_lru_config' is invalid. Choose the correct one again.";;+ esac- echo "Enable statistics for MGLRU..."+ echo "Selecting '$_lru_config' LRU_GEN config..."### Select VMA config[ -z "$_vma_config" ] && _die "The value is empty. Choose the correct one again."diff --git a/linux-cachyos-hardened/PKGBUILD b/linux-cachyos-hardened/PKGBUILDindex 8cba2e65..f592d751 100644--- a/linux-cachyos-hardened/PKGBUILD+++ b/linux-cachyos-hardened/PKGBUILD@@ -85,8 +85,12 @@ _mq_deadline_disable=${_mq_deadline_disable-y}### Disable Kyber I/O scheduler_kyber_disable=${_kyber_disable-y}-### Enable stats for multigenerational LRU-_lru_stats=${_lru_stats-}+### Enable multigenerational LRU+# ATTENTION - one of three predefined values should be selected!+# 'standard' - enable multigenerational LRU+# 'stats' - enable multigenerational LRU with stats+# 'none' - disable multigenerational LRU+_lru_config=${_lru_config-standard}### Enable per-VMA locking# ATTENTION - one of three predefined values should be selected!@@ -469,9 +473,16 @@ prepare() {fi### Select LRU config- [ -n "$_lru_stats" ] && scripts/config -e LRU_GEN -e LRU_GEN_ENABLED -e LRU_GEN_STATS+ [ -z "$_lru_config" ] && _die "The value is empty. Choose the correct one again."++ case "$_lru_config" in+ standard) scripts/config -e LRU_GEN -e LRU_GEN_ENABLED -d LRU_GEN_STATS;;+ stats) scripts/config -e LRU_GEN -e LRU_GEN_ENABLED -e LRU_GEN_STATS;;+ none) scripts/config -d LRU_GEN;;+ *) _die "The value '$_lru_config' is invalid. Choose the correct one again.";;+ esac- echo "Enable statistics for MGLRU..."+ echo "Selecting '$_lru_config' LRU_GEN config..."### Select VMA config[ -z "$_vma_config" ] && _die "The value is empty. Choose the correct one again."diff --git a/linux-cachyos-lts/PKGBUILD b/linux-cachyos-lts/PKGBUILDindex 12575ec7..20d078b8 100644--- a/linux-cachyos-lts/PKGBUILD+++ b/linux-cachyos-lts/PKGBUILD@@ -85,8 +85,12 @@ _mq_deadline_disable=${_mq_deadline_disable-y}### Disable Kyber I/O scheduler_kyber_disable=${_kyber_disable-y}-### Enable stats for multigenerational LRU-_lru_stats=${_lru_stats-}+### Enable multigenerational LRU+# ATTENTION - one of three predefined values should be selected!+# 'standard' - enable multigenerational LRU+# 'stats' - enable multigenerational LRU with stats+# 'none' - disable multigenerational LRU+_lru_config=${_lru_config-standard}### Enable per-VMA locking# ATTENTION - one of three predefined values should be selected!@@ -473,9 +477,16 @@ prepare() {fi### Select LRU config- [ -n "$_lru_stats" ] && scripts/config -e LRU_GEN -e LRU_GEN_ENABLED -e LRU_GEN_STATS+ [ -z "$_lru_config" ] && _die "The value is empty. Choose the correct one again."++ case "$_lru_config" in+ standard) scripts/config -e LRU_GEN -e LRU_GEN_ENABLED -d LRU_GEN_STATS;;+ stats) scripts/config -e LRU_GEN -e LRU_GEN_ENABLED -e LRU_GEN_STATS;;+ none) scripts/config -d LRU_GEN;;+ *) _die "The value '$_lru_config' is invalid. Choose the correct one again.";;+ esac- echo "Enable statistics for MGLRU..."+ echo "Selecting '$_lru_config' LRU_GEN config..."### Select VMA config[ -z "$_vma_config" ] && _die "The value is empty. Choose the correct one again."diff --git a/linux-cachyos-pds/PKGBUILD b/linux-cachyos-pds/PKGBUILDindex 7d1fac37..c2e4d74e 100644--- a/linux-cachyos-pds/PKGBUILD+++ b/linux-cachyos-pds/PKGBUILD@@ -86,8 +86,12 @@ _mq_deadline_disable=${_mq_deadline_disable-y}### Disable Kyber I/O scheduler_kyber_disable=${_kyber_disable-y}-### Enable stats for multigenerational LRU-_lru_stats=${_lru_stats-}+### Enable multigenerational LRU+# ATTENTION - one of three predefined values should be selected!+# 'standard' - enable multigenerational LRU+# 'stats' - enable multigenerational LRU with stats+# 'none' - disable multigenerational LRU+_lru_config=${_lru_config-standard}### Enable per-VMA locking# ATTENTION - one of three predefined values should be selected!@@ -458,9 +462,16 @@ prepare() {fi### Select LRU config- [ -n "$_lru_stats" ] && scripts/config -e LRU_GEN -e LRU_GEN_ENABLED -e LRU_GEN_STATS+ [ -z "$_lru_config" ] && _die "The value is empty. Choose the correct one again."++ case "$_lru_config" in+ standard) scripts/config -e LRU_GEN -e LRU_GEN_ENABLED -d LRU_GEN_STATS;;+ stats) scripts/config -e LRU_GEN -e LRU_GEN_ENABLED -e LRU_GEN_STATS;;+ none) scripts/config -d LRU_GEN;;+ *) _die "The value '$_lru_config' is invalid. Choose the correct one again.";;+ esac- echo "Enable statistics for MGLRU..."+ echo "Selecting '$_lru_config' LRU_GEN config..."### Select VMA config[ -z "$_vma_config" ] && _die "The value is empty. Choose the correct one again."diff --git a/linux-cachyos-rc/PKGBUILD b/linux-cachyos-rc/PKGBUILDindex a4bb76d7..3a4dae47 100644--- a/linux-cachyos-rc/PKGBUILD+++ b/linux-cachyos-rc/PKGBUILD@@ -86,8 +86,12 @@ _mq_deadline_disable=${_mq_deadline_disable-y}### Disable Kyber I/O scheduler_kyber_disable=${_kyber_disable-y}-### Enable stats for multigenerational LRU-_lru_stats=${_lru_stats-}+### Enable multigenerational LRU+# ATTENTION - one of three predefined values should be selected!+# 'standard' - enable multigenerational LRU+# 'stats' - enable multigenerational LRU with stats+# 'none' - disable multigenerational LRU+_lru_config=${_lru_config-standard}### Enable per-VMA locking# ATTENTION - one of three predefined values should be selected!@@ -461,9 +465,16 @@ prepare() {fi### Select LRU config- [ -n "$_lru_stats" ] && scripts/config -e LRU_GEN -e LRU_GEN_ENABLED -e LRU_GEN_STATS+ [ -z "$_lru_config" ] && _die "The value is empty. Choose the correct one again."++ case "$_lru_config" in+ standard) scripts/config -e LRU_GEN -e LRU_GEN_ENABLED -d LRU_GEN_STATS;;+ stats) scripts/config -e LRU_GEN -e LRU_GEN_ENABLED -e LRU_GEN_STATS;;+ none) scripts/config -d LRU_GEN;;+ *) _die "The value '$_lru_config' is invalid. Choose the correct one again.";;+ esac- echo "Enable statistics for MGLRU..."+ echo "Selecting '$_lru_config' LRU_GEN config..."### Select VMA config[ -z "$_vma_config" ] && _die "The value is empty. Choose the correct one again."diff --git a/linux-cachyos-server/PKGBUILD b/linux-cachyos-server/PKGBUILDindex e1dcbc4a..dd0a4812 100644--- a/linux-cachyos-server/PKGBUILD+++ b/linux-cachyos-server/PKGBUILD@@ -86,8 +86,12 @@ _mq_deadline_disable=${_mq_deadline_disable-}### Disable Kyber I/O scheduler_kyber_disable=${_kyber_disable-y}-### Enable stats for multigenerational LRU-_lru_stats=${_lru_stats-}+### Enable multigenerational LRU+# ATTENTION - one of three predefined values should be selected!+# 'standard' - enable multigenerational LRU+# 'stats' - enable multigenerational LRU with stats+# 'none' - disable multigenerational LRU+_lru_config=${_lru_config-standard}### Enable per-VMA locking# ATTENTION - one of three predefined values should be selected!@@ -458,9 +462,16 @@ prepare() {fi### Select LRU config- [ -n "$_lru_stats" ] && scripts/config -e LRU_GEN -e LRU_GEN_ENABLED -e LRU_GEN_STATS+ [ -z "$_lru_config" ] && _die "The value is empty. Choose the correct one again."++ case "$_lru_config" in+ standard) scripts/config -e LRU_GEN -e LRU_GEN_ENABLED -d LRU_GEN_STATS;;+ stats) scripts/config -e LRU_GEN -e LRU_GEN_ENABLED -e LRU_GEN_STATS;;+ none) scripts/config -d LRU_GEN;;+ *) _die "The value '$_lru_config' is invalid. Choose the correct one again.";;+ esac- echo "Enable statistics for MGLRU..."+ echo "Selecting '$_lru_config' LRU_GEN config..."### Select VMA config[ -z "$_vma_config" ] && _die "The value is empty. Choose the correct one again."diff --git a/linux-cachyos-tt/PKGBUILD b/linux-cachyos-tt/PKGBUILDindex 34be6d82..8c2c8c7c 100644--- a/linux-cachyos-tt/PKGBUILD+++ b/linux-cachyos-tt/PKGBUILD@@ -86,8 +86,12 @@ _mq_deadline_disable=${_mq_deadline_disable-y}### Disable Kyber I/O scheduler_kyber_disable=${_kyber_disable-y}-### Enable stats for multigenerational LRU-_lru_stats=${_lru_stats-}+### Enable multigenerational LRU+# ATTENTION - one of three predefined values should be selected!+# 'standard' - enable multigenerational LRU+# 'stats' - enable multigenerational LRU with stats+# 'none' - disable multigenerational LRU+_lru_config=${_lru_config-standard}### Enable per-VMA locking# ATTENTION - one of three predefined values should be selected!@@ -458,9 +462,16 @@ prepare() {fi### Select LRU config- [ -n "$_lru_stats" ] && scripts/config -e LRU_GEN -e LRU_GEN_ENABLED -e LRU_GEN_STATS+ [ -z "$_lru_config" ] && _die "The value is empty. Choose the correct one again."++ case "$_lru_config" in+ standard) scripts/config -e LRU_GEN -e LRU_GEN_ENABLED -d LRU_GEN_STATS;;+ stats) scripts/config -e LRU_GEN -e LRU_GEN_ENABLED -e LRU_GEN_STATS;;+ none) scripts/config -d LRU_GEN;;+ *) _die "The value '$_lru_config' is invalid. Choose the correct one again.";;+ esac- echo "Enable statistics for MGLRU..."+ echo "Selecting '$_lru_config' LRU_GEN config..."### Select VMA config[ -z "$_vma_config" ] && _die "The value is empty. Choose the correct one again."diff --git a/linux-cachyos/PKGBUILD b/linux-cachyos/PKGBUILDindex 67166e14..0a719ba3 100644--- a/linux-cachyos/PKGBUILD+++ b/linux-cachyos/PKGBUILD@@ -86,8 +86,12 @@ _mq_deadline_disable=${_mq_deadline_disable-y}### Disable Kyber I/O scheduler_kyber_disable=${_kyber_disable-y}-### Enable stats for multigenerational LRU-_lru_stats=${_lru_stats-}+### Enable multigenerational LRU+# ATTENTION - one of three predefined values should be selected!+# 'standard' - enable multigenerational LRU+# 'stats' - enable multigenerational LRU with stats+# 'none' - disable multigenerational LRU+_lru_config=${_lru_config-standard}### Enable per-VMA locking# ATTENTION - one of three predefined values should be selected!@@ -458,9 +462,16 @@ prepare() {fi### Select LRU config- [ -n "$_lru_stats" ] && scripts/config -e LRU_GEN -e LRU_GEN_ENABLED -e LRU_GEN_STATS+ [ -z "$_lru_config" ] && _die "The value is empty. Choose the correct one again."++ case "$_lru_config" in+ standard) scripts/config -e LRU_GEN -e LRU_GEN_ENABLED -d LRU_GEN_STATS;;+ stats) scripts/config -e LRU_GEN -e LRU_GEN_ENABLED -e LRU_GEN_STATS;;+ none) scripts/config -d LRU_GEN;;+ *) _die "The value '$_lru_config' is invalid. Choose the correct one again.";;+ esac- echo "Enable statistics for MGLRU..."+ echo "Selecting '$_lru_config' LRU_GEN config..."### Select VMA config[ -z "$_vma_config" ] && _die "The value is empty. Choose the correct one again."diff --git a/linux-tt/PKGBUILD b/linux-tt/PKGBUILDindex ca0fd3e0..dd900dad 100644--- a/linux-tt/PKGBUILD+++ b/linux-tt/PKGBUILD@@ -86,8 +86,12 @@ _mq_deadline_disable=${_mq_deadline_disable-y}### Disable Kyber I/O scheduler_kyber_disable=${_kyber_disable-y}-### Enable stats for multigenerational LRU-_lru_stats=${_lru_stats-}+### Enable multigenerational LRU+# ATTENTION - one of three predefined values should be selected!+# 'standard' - enable multigenerational LRU+# 'stats' - enable multigenerational LRU with stats+# 'none' - disable multigenerational LRU+_lru_config=${_lru_config-standard}### Enable per-VMA locking# ATTENTION - one of three predefined values should be selected!@@ -458,9 +462,16 @@ prepare() {fi### Select LRU config- [ -n "$_lru_stats" ] && scripts/config -e LRU_GEN -e LRU_GEN_ENABLED -e LRU_GEN_STATS+ [ -z "$_lru_config" ] && _die "The value is empty. Choose the correct one again."++ case "$_lru_config" in+ standard) scripts/config -e LRU_GEN -e LRU_GEN_ENABLED -d LRU_GEN_STATS;;+ stats) scripts/config -e LRU_GEN -e LRU_GEN_ENABLED -e LRU_GEN_STATS;;+ none) scripts/config -d LRU_GEN;;+ *) _die "The value '$_lru_config' is invalid. Choose the correct one again.";;+ esac- echo "Enable statistics for MGLRU..."+ echo "Selecting '$_lru_config' LRU_GEN config..."### Select VMA config[ -z "$_vma_config" ] && _die "The value is empty. Choose the correct one again."