Skip to content

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

linux-cachyos-echo: Use 625 Hz as default

Peter Jung11cab87fe4cf
diff --git a/linux-cachyos-echo/PKGBUILD b/linux-cachyos-echo/PKGBUILD
index 1a440c57..52ff0044 100644
--- a/linux-cachyos-echo/PKGBUILD
+++ b/linux-cachyos-echo/PKGBUILD
@@ -72,8 +72,8 @@ _per_gov=${_per_gov-}
### Enable TCP_CONG_BBR3
_tcp_bbr3=${_tcp_bbr3-y}
-### Running with a 1000HZ, 750Hz, 600 Hz, 500Hz, 300Hz, 250Hz and 100Hz tick rate
-_HZ_ticks=${_HZ_ticks-1000}
+### Running with a 1000HZ, 750Hz, 625Hz, 600 Hz, 500Hz, 300Hz, 250Hz and 100Hz tick rate
+_HZ_ticks=${_HZ_ticks-625}
## Choose between perodic, idle or full
### Full tickless can give higher performances in various cases but, depending on hardware, lower consistency.
@@ -322,7 +322,7 @@ prepare() {
[ -z $_HZ_ticks ] && _die "The value is empty. Choose the correct one again."
case "$_HZ_ticks" in
- 100|250|500|600|750|1000)
+ 100|250|500|600|625|750|1000)
scripts/config -d HZ_300 -e "HZ_${_HZ_ticks}" --set-val HZ "${_HZ_ticks}";;
300)
scripts/config -e HZ_300 --set-val HZ 300;;
diff --git a/linux-cachyos-echo/linux-cachyos-rt.install b/linux-cachyos-echo/linux-cachyos-rt.install
new file mode 100644
index 00000000..5bf59d9c
--- /dev/null
+++ b/linux-cachyos-echo/linux-cachyos-rt.install
@@ -0,0 +1,12 @@
+post_install() {
+ cat << EOF
+You install the linux-cachyos kernel variant with RT patches.
+
+Please make sure that you don't use the ZFS filesystem, as this kernel is not
+compatible with it due to licensing issues.
+EOF
+}
+
+post_upgrade() {
+ post_install
+}