Skip to content

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

linux-cachyos-server: default THP to madvise (#1064)

Peter Jung25e7915b522f
diff --git a/linux-cachyos-server/PKGBUILD b/linux-cachyos-server/PKGBUILD
index eed6d566..b41a9d83 100644
--- a/linux-cachyos-server/PKGBUILD
+++ b/linux-cachyos-server/PKGBUILD
@@ -79,7 +79,7 @@
# 'madvise' - madvise, prevent applications from allocating more memory resources than necessary
# More infos here:
# https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/performance_tuning_guide/sect-red_hat_enterprise_linux-performance_tuning_guide-configuring_transparent_huge_pages
-: "${_hugepage:=always}"
+: "${_hugepage:=madvise}"
# CPU compiler optimizations - Defaults to native if left empty
# - "native" (use compiler autodetection)