Skip to content

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

Add a warning when installing the PDS/BMQ kernel

Vasiliy Stelmachenokea5ea888589b
diff --git a/linux-bore/PKGBUILD b/linux-bore/PKGBUILD
index 47ae37e6..d10de1bd 100644
--- a/linux-bore/PKGBUILD
+++ b/linux-bore/PKGBUILD
@@ -247,7 +247,8 @@ case "$_cpusched" in
cachyos) # CachyOS Scheduler (EEVDF)
source+=("${_patchsource}/sched/0001-EEVDF.patch");;
pds|bmq) # BMQ/PDS scheduler
- source+=("${_patchsource}/sched/0001-prjc-cachy.patch");;
+ source+=("${_patchsource}/sched/0001-prjc-cachy.patch"
+ linux-cachyos-pds.install);;
tt) ## TT Scheduler
source+=("${_patchsource}/sched/0001-tt-cachy.patch");;
bore) ## BORE Scheduler with latency_nice
diff --git a/linux-bore/linux-cachyos-pds.install b/linux-bore/linux-cachyos-pds.install
new file mode 100644
index 00000000..60f16d21
--- /dev/null
+++ b/linux-bore/linux-cachyos-pds.install
@@ -0,0 +1,16 @@
+post_install() {
+ cat << EOF
+You install the linux-cachyos kernel variant with the PDS/BMQ scheduler.
+Please note that this scheduler can cause various performance and stability
+issues (especially on AMD Ryzen CPUs) and we don't provide official
+support for fixing them. If you encounter any problems while using the kernel,
+please make sure that that it is not a PDS-specific problem before reporting it
+to us, otherwise inform the PDS developers:
+
+https://gitlab.com/alfredchen/linux-prjc/-/issues
+EOF
+}
+
+post_upgrade() {
+ post_install
+}
diff --git a/linux-cachyos-bmq/PKGBUILD b/linux-cachyos-bmq/PKGBUILD
index 284b199a..f7bfa276 100644
--- a/linux-cachyos-bmq/PKGBUILD
+++ b/linux-cachyos-bmq/PKGBUILD
@@ -247,7 +247,8 @@ case "$_cpusched" in
cachyos) # CachyOS Scheduler (EEVDF)
source+=("${_patchsource}/sched/0001-EEVDF.patch");;
pds|bmq) # BMQ/PDS scheduler
- source+=("${_patchsource}/sched/0001-prjc-cachy.patch");;
+ source+=("${_patchsource}/sched/0001-prjc-cachy.patch"
+ linux-cachyos-pds.install);;
tt) ## TT Scheduler
source+=("${_patchsource}/sched/0001-tt-cachy.patch");;
bore) ## BORE Scheduler with latency_nice
@@ -850,4 +851,5 @@ sha256sums=('0d236784e60b87c7953535aeb148dd9e773b26495dfa9c6d69615f54fe00dd47'
'816508270cc1062a9089548a7320922c028431450db4231fc5786d81beedd9ed'
'41c34759ed248175e905c57a25e2b0ed09b11d054fe1a8783d37459f34984106'
'cef5b2e45c376a0d7a78ba48f9c3c86b883cb50226faf9313958f4c30ef5604b'
- 'a63dc07897a7dc014baba167b31961fe67b1a110389eb1dae85b522da9f3fe2e')
+ 'a63dc07897a7dc014baba167b31961fe67b1a110389eb1dae85b522da9f3fe2e'
+ 'bcadd601d1ab95edb87dc9dc5667480dd0ad51052024be0bce4e877ad3ba094b')
diff --git a/linux-cachyos-bmq/linux-cachyos-pds.install b/linux-cachyos-bmq/linux-cachyos-pds.install
new file mode 100644
index 00000000..60f16d21
--- /dev/null
+++ b/linux-cachyos-bmq/linux-cachyos-pds.install
@@ -0,0 +1,16 @@
+post_install() {
+ cat << EOF
+You install the linux-cachyos kernel variant with the PDS/BMQ scheduler.
+Please note that this scheduler can cause various performance and stability
+issues (especially on AMD Ryzen CPUs) and we don't provide official
+support for fixing them. If you encounter any problems while using the kernel,
+please make sure that that it is not a PDS-specific problem before reporting it
+to us, otherwise inform the PDS developers:
+
+https://gitlab.com/alfredchen/linux-prjc/-/issues
+EOF
+}
+
+post_upgrade() {
+ post_install
+}
diff --git a/linux-cachyos-bore/PKGBUILD b/linux-cachyos-bore/PKGBUILD
index 6c8faccd..fc52ed5a 100644
--- a/linux-cachyos-bore/PKGBUILD
+++ b/linux-cachyos-bore/PKGBUILD
@@ -247,7 +247,8 @@ case "$_cpusched" in
cachyos) # CachyOS Scheduler (EEVDF)
source+=("${_patchsource}/sched/0001-EEVDF.patch");;
pds|bmq) # BMQ/PDS scheduler
- source+=("${_patchsource}/sched/0001-prjc-cachy.patch");;
+ source+=("${_patchsource}/sched/0001-prjc-cachy.patch"
+ linux-cachyos-pds.install);;
tt) ## TT Scheduler
source+=("${_patchsource}/sched/0001-tt-cachy.patch");;
bore) ## BORE Scheduler with latency_nice
diff --git a/linux-cachyos-bore/linux-cachyos-pds.install b/linux-cachyos-bore/linux-cachyos-pds.install
new file mode 100644
index 00000000..60f16d21
--- /dev/null
+++ b/linux-cachyos-bore/linux-cachyos-pds.install
@@ -0,0 +1,16 @@
+post_install() {
+ cat << EOF
+You install the linux-cachyos kernel variant with the PDS/BMQ scheduler.
+Please note that this scheduler can cause various performance and stability
+issues (especially on AMD Ryzen CPUs) and we don't provide official
+support for fixing them. If you encounter any problems while using the kernel,
+please make sure that that it is not a PDS-specific problem before reporting it
+to us, otherwise inform the PDS developers:
+
+https://gitlab.com/alfredchen/linux-prjc/-/issues
+EOF
+}
+
+post_upgrade() {
+ post_install
+}
diff --git a/linux-cachyos-cfs/PKGBUILD b/linux-cachyos-cfs/PKGBUILD
index 83041460..d41ae079 100644
--- a/linux-cachyos-cfs/PKGBUILD
+++ b/linux-cachyos-cfs/PKGBUILD
@@ -247,7 +247,8 @@ case "$_cpusched" in
cachyos) # CachyOS Scheduler (EEVDF)
source+=("${_patchsource}/sched/0001-EEVDF.patch");;
pds|bmq) # BMQ/PDS scheduler
- source+=("${_patchsource}/sched/0001-prjc-cachy.patch");;
+ source+=("${_patchsource}/sched/0001-prjc-cachy.patch"
+ linux-cachyos-pds.install);;
tt) ## TT Scheduler
source+=("${_patchsource}/sched/0001-tt-cachy.patch");;
bore) ## BORE Scheduler with latency_nice
diff --git a/linux-cachyos-cfs/linux-cachyos-pds.install b/linux-cachyos-cfs/linux-cachyos-pds.install
new file mode 100644
index 00000000..60f16d21
--- /dev/null
+++ b/linux-cachyos-cfs/linux-cachyos-pds.install
@@ -0,0 +1,16 @@
+post_install() {
+ cat << EOF
+You install the linux-cachyos kernel variant with the PDS/BMQ scheduler.
+Please note that this scheduler can cause various performance and stability
+issues (especially on AMD Ryzen CPUs) and we don't provide official
+support for fixing them. If you encounter any problems while using the kernel,
+please make sure that that it is not a PDS-specific problem before reporting it
+to us, otherwise inform the PDS developers:
+
+https://gitlab.com/alfredchen/linux-prjc/-/issues
+EOF
+}
+
+post_upgrade() {
+ post_install
+}
diff --git a/linux-cachyos-hardened/PKGBUILD b/linux-cachyos-hardened/PKGBUILD
index 9a6a5464..ebf1c845 100644
--- a/linux-cachyos-hardened/PKGBUILD
+++ b/linux-cachyos-hardened/PKGBUILD
@@ -242,7 +242,8 @@ fi
case "$_cpusched" in
pds|bmq) # BMQ/PDS scheduler
- source+=("${_patchsource}/sched/0001-prjc-cachy.patch");;
+ source+=("${_patchsource}/sched/0001-prjc-cachy.patch"
+ linux-cachyos-pds.install);;
tt) ## TT Scheduler
source+=("${_patchsource}/sched/0001-tt-cachy.patch");;
bore) ## BORE Scheduler with latency_nice
diff --git a/linux-cachyos-hardened/linux-cachyos-pds.install b/linux-cachyos-hardened/linux-cachyos-pds.install
new file mode 100644
index 00000000..60f16d21
--- /dev/null
+++ b/linux-cachyos-hardened/linux-cachyos-pds.install
@@ -0,0 +1,16 @@
+post_install() {
+ cat << EOF
+You install the linux-cachyos kernel variant with the PDS/BMQ scheduler.
+Please note that this scheduler can cause various performance and stability
+issues (especially on AMD Ryzen CPUs) and we don't provide official
+support for fixing them. If you encounter any problems while using the kernel,
+please make sure that that it is not a PDS-specific problem before reporting it
+to us, otherwise inform the PDS developers:
+
+https://gitlab.com/alfredchen/linux-prjc/-/issues
+EOF
+}
+
+post_upgrade() {
+ post_install
+}
diff --git a/linux-cachyos-lts/PKGBUILD b/linux-cachyos-lts/PKGBUILD
index c10c8f77..0bb687d8 100644
--- a/linux-cachyos-lts/PKGBUILD
+++ b/linux-cachyos-lts/PKGBUILD
@@ -246,7 +246,8 @@ fi
case "$_cpusched" in
pds|bmq) # BMQ/PDS scheduler
- source+=("${_patchsource}/sched/0001-prjc-cachy.patch");;
+ source+=("${_patchsource}/sched/0001-prjc-cachy.patch"
+ linux-cachyos-pds.install);;
tt) ## TT Scheduler
source+=("${_patchsource}/sched/0001-tt-cachy.patch");;
bore) ## BORE Scheduler with latency_nice
diff --git a/linux-cachyos-lts/linux-cachyos-pds.install b/linux-cachyos-lts/linux-cachyos-pds.install
new file mode 100644
index 00000000..60f16d21
--- /dev/null
+++ b/linux-cachyos-lts/linux-cachyos-pds.install
@@ -0,0 +1,16 @@
+post_install() {
+ cat << EOF
+You install the linux-cachyos kernel variant with the PDS/BMQ scheduler.
+Please note that this scheduler can cause various performance and stability
+issues (especially on AMD Ryzen CPUs) and we don't provide official
+support for fixing them. If you encounter any problems while using the kernel,
+please make sure that that it is not a PDS-specific problem before reporting it
+to us, otherwise inform the PDS developers:
+
+https://gitlab.com/alfredchen/linux-prjc/-/issues
+EOF
+}
+
+post_upgrade() {
+ post_install
+}
diff --git a/linux-cachyos-pds/PKGBUILD b/linux-cachyos-pds/PKGBUILD
index 5f703dbd..cd6ac2d5 100644
--- a/linux-cachyos-pds/PKGBUILD
+++ b/linux-cachyos-pds/PKGBUILD
@@ -247,7 +247,8 @@ case "$_cpusched" in
cachyos) # CachyOS Scheduler (EEVDF)
source+=("${_patchsource}/sched/0001-EEVDF.patch");;
pds|bmq) # BMQ/PDS scheduler
- source+=("${_patchsource}/sched/0001-prjc-cachy.patch");;
+ source+=("${_patchsource}/sched/0001-prjc-cachy.patch"
+ linux-cachyos-pds.install);;
tt) ## TT Scheduler
source+=("${_patchsource}/sched/0001-tt-cachy.patch");;
bore) ## BORE Scheduler with latency_nice
@@ -850,4 +851,5 @@ sha256sums=('0d236784e60b87c7953535aeb148dd9e773b26495dfa9c6d69615f54fe00dd47'
'816508270cc1062a9089548a7320922c028431450db4231fc5786d81beedd9ed'
'41c34759ed248175e905c57a25e2b0ed09b11d054fe1a8783d37459f34984106'
'cef5b2e45c376a0d7a78ba48f9c3c86b883cb50226faf9313958f4c30ef5604b'
- 'a63dc07897a7dc014baba167b31961fe67b1a110389eb1dae85b522da9f3fe2e')
+ 'a63dc07897a7dc014baba167b31961fe67b1a110389eb1dae85b522da9f3fe2e'
+ 'bcadd601d1ab95edb87dc9dc5667480dd0ad51052024be0bce4e877ad3ba094b')
diff --git a/linux-cachyos-pds/linux-cachyos-pds.install b/linux-cachyos-pds/linux-cachyos-pds.install
new file mode 100644
index 00000000..60f16d21
--- /dev/null
+++ b/linux-cachyos-pds/linux-cachyos-pds.install
@@ -0,0 +1,16 @@
+post_install() {
+ cat << EOF
+You install the linux-cachyos kernel variant with the PDS/BMQ scheduler.
+Please note that this scheduler can cause various performance and stability
+issues (especially on AMD Ryzen CPUs) and we don't provide official
+support for fixing them. If you encounter any problems while using the kernel,
+please make sure that that it is not a PDS-specific problem before reporting it
+to us, otherwise inform the PDS developers:
+
+https://gitlab.com/alfredchen/linux-prjc/-/issues
+EOF
+}
+
+post_upgrade() {
+ post_install
+}
diff --git a/linux-cachyos-rc/PKGBUILD b/linux-cachyos-rc/PKGBUILD
index 8338d338..15e15127 100644
--- a/linux-cachyos-rc/PKGBUILD
+++ b/linux-cachyos-rc/PKGBUILD
@@ -245,7 +245,8 @@ case "$_cpusched" in
cachyos) # CachyOS Scheduler (EEVDF)
source+=("${_patchsource}/sched/0001-EEVDF.patch");;
pds|bmq) # BMQ/PDS scheduler
- source+=("${_patchsource}/sched/0001-prjc-cachy.patch");;
+ source+=("${_patchsource}/sched/0001-prjc-cachy.patch"
+ linux-cachyos-pds.install);;
tt) ## TT Scheduler
source+=("${_patchsource}/sched/0001-tt-cachy.patch");;
bore) ## BORE Scheduler with latency_nice
diff --git a/linux-cachyos-rc/linux-cachyos-pds.install b/linux-cachyos-rc/linux-cachyos-pds.install
new file mode 100644
index 00000000..60f16d21
--- /dev/null
+++ b/linux-cachyos-rc/linux-cachyos-pds.install
@@ -0,0 +1,16 @@
+post_install() {
+ cat << EOF
+You install the linux-cachyos kernel variant with the PDS/BMQ scheduler.
+Please note that this scheduler can cause various performance and stability
+issues (especially on AMD Ryzen CPUs) and we don't provide official
+support for fixing them. If you encounter any problems while using the kernel,
+please make sure that that it is not a PDS-specific problem before reporting it
+to us, otherwise inform the PDS developers:
+
+https://gitlab.com/alfredchen/linux-prjc/-/issues
+EOF
+}
+
+post_upgrade() {
+ post_install
+}
diff --git a/linux-cachyos-server/PKGBUILD b/linux-cachyos-server/PKGBUILD
index b2dd8adf..2a3672a5 100644
--- a/linux-cachyos-server/PKGBUILD
+++ b/linux-cachyos-server/PKGBUILD
@@ -247,7 +247,8 @@ case "$_cpusched" in
cachyos) # CachyOS Scheduler (EEVDF)
source+=("${_patchsource}/sched/0001-EEVDF.patch");;
pds|bmq) # BMQ/PDS scheduler
- source+=("${_patchsource}/sched/0001-prjc-cachy.patch");;
+ source+=("${_patchsource}/sched/0001-prjc-cachy.patch"
+ linux-cachyos-pds.install);;
tt) ## TT Scheduler
source+=("${_patchsource}/sched/0001-tt-cachy.patch");;
bore) ## BORE Scheduler with latency_nice
diff --git a/linux-cachyos-server/linux-cachyos-pds.install b/linux-cachyos-server/linux-cachyos-pds.install
new file mode 100644
index 00000000..60f16d21
--- /dev/null
+++ b/linux-cachyos-server/linux-cachyos-pds.install
@@ -0,0 +1,16 @@
+post_install() {
+ cat << EOF
+You install the linux-cachyos kernel variant with the PDS/BMQ scheduler.
+Please note that this scheduler can cause various performance and stability
+issues (especially on AMD Ryzen CPUs) and we don't provide official
+support for fixing them. If you encounter any problems while using the kernel,
+please make sure that that it is not a PDS-specific problem before reporting it
+to us, otherwise inform the PDS developers:
+
+https://gitlab.com/alfredchen/linux-prjc/-/issues
+EOF
+}
+
+post_upgrade() {
+ post_install
+}
diff --git a/linux-cachyos-tt/PKGBUILD b/linux-cachyos-tt/PKGBUILD
index 0fcfae27..c5f8d08f 100644
--- a/linux-cachyos-tt/PKGBUILD
+++ b/linux-cachyos-tt/PKGBUILD
@@ -247,7 +247,8 @@ case "$_cpusched" in
cachyos) # CachyOS Scheduler (EEVDF)
source+=("${_patchsource}/sched/0001-EEVDF.patch");;
pds|bmq) # BMQ/PDS scheduler
- source+=("${_patchsource}/sched/0001-prjc-cachy.patch");;
+ source+=("${_patchsource}/sched/0001-prjc-cachy.patch"
+ linux-cachyos-pds.install);;
tt) ## TT Scheduler
source+=("${_patchsource}/sched/0001-tt-cachy.patch");;
bore) ## BORE Scheduler with latency_nice
diff --git a/linux-cachyos-tt/linux-cachyos-pds.install b/linux-cachyos-tt/linux-cachyos-pds.install
new file mode 100644
index 00000000..60f16d21
--- /dev/null
+++ b/linux-cachyos-tt/linux-cachyos-pds.install
@@ -0,0 +1,16 @@
+post_install() {
+ cat << EOF
+You install the linux-cachyos kernel variant with the PDS/BMQ scheduler.
+Please note that this scheduler can cause various performance and stability
+issues (especially on AMD Ryzen CPUs) and we don't provide official
+support for fixing them. If you encounter any problems while using the kernel,
+please make sure that that it is not a PDS-specific problem before reporting it
+to us, otherwise inform the PDS developers:
+
+https://gitlab.com/alfredchen/linux-prjc/-/issues
+EOF
+}
+
+post_upgrade() {
+ post_install
+}
diff --git a/linux-cachyos/PKGBUILD b/linux-cachyos/PKGBUILD
index e10e6989..6f5d2fd0 100644
--- a/linux-cachyos/PKGBUILD
+++ b/linux-cachyos/PKGBUILD
@@ -247,7 +247,8 @@ case "$_cpusched" in
cachyos) # CachyOS Scheduler (EEVDF)
source+=("${_patchsource}/sched/0001-EEVDF.patch");;
pds|bmq) # BMQ/PDS scheduler
- source+=("${_patchsource}/sched/0001-prjc-cachy.patch");;
+ source+=("${_patchsource}/sched/0001-prjc-cachy.patch"
+ linux-cachyos-pds.install);;
tt) ## TT Scheduler
source+=("${_patchsource}/sched/0001-tt-cachy.patch");;
bore) ## BORE Scheduler with latency_nice
diff --git a/linux-cachyos/linux-cachyos-pds.install b/linux-cachyos/linux-cachyos-pds.install
new file mode 100644
index 00000000..60f16d21
--- /dev/null
+++ b/linux-cachyos/linux-cachyos-pds.install
@@ -0,0 +1,16 @@
+post_install() {
+ cat << EOF
+You install the linux-cachyos kernel variant with the PDS/BMQ scheduler.
+Please note that this scheduler can cause various performance and stability
+issues (especially on AMD Ryzen CPUs) and we don't provide official
+support for fixing them. If you encounter any problems while using the kernel,
+please make sure that that it is not a PDS-specific problem before reporting it
+to us, otherwise inform the PDS developers:
+
+https://gitlab.com/alfredchen/linux-prjc/-/issues
+EOF
+}
+
+post_upgrade() {
+ post_install
+}
diff --git a/linux-tt/PKGBUILD b/linux-tt/PKGBUILD
index f93a6bd5..6cd850ae 100644
--- a/linux-tt/PKGBUILD
+++ b/linux-tt/PKGBUILD
@@ -247,7 +247,8 @@ case "$_cpusched" in
cachyos) # CachyOS Scheduler (EEVDF)
source+=("${_patchsource}/sched/0001-EEVDF.patch");;
pds|bmq) # BMQ/PDS scheduler
- source+=("${_patchsource}/sched/0001-prjc-cachy.patch");;
+ source+=("${_patchsource}/sched/0001-prjc-cachy.patch"
+ linux-cachyos-pds.install);;
tt) ## TT Scheduler
source+=("${_patchsource}/sched/0001-tt-cachy.patch");;
bore) ## BORE Scheduler with latency_nice
diff --git a/linux-tt/linux-cachyos-pds.install b/linux-tt/linux-cachyos-pds.install
new file mode 100644
index 00000000..60f16d21
--- /dev/null
+++ b/linux-tt/linux-cachyos-pds.install
@@ -0,0 +1,16 @@
+post_install() {
+ cat << EOF
+You install the linux-cachyos kernel variant with the PDS/BMQ scheduler.
+Please note that this scheduler can cause various performance and stability
+issues (especially on AMD Ryzen CPUs) and we don't provide official
+support for fixing them. If you encounter any problems while using the kernel,
+please make sure that that it is not a PDS-specific problem before reporting it
+to us, otherwise inform the PDS developers:
+
+https://gitlab.com/alfredchen/linux-prjc/-/issues
+EOF
+}
+
+post_upgrade() {
+ post_install
+}