Archlinux Kernel based on different schedulers and some other performance improvements.
Shell archlinuxbaby-schedcachycachy-schedulercachyoscacule-schedkernellinux-kernelperformanceperformance-tuning
Drop PRJC
Vasiliy Stelmachenok46b1b193b76b
diff --git a/linux-bore/PKGBUILD b/linux-bore/PKGBUILDindex 171de503..6f3a0bb9 100644--- a/linux-bore/PKGBUILD+++ b/linux-bore/PKGBUILD@@ -10,9 +10,7 @@_cachy_config=${_cachy_config-y}### Selecting the CPU scheduler-# ATTENTION - one of six predefined values should be selected!-# 'bmq' - select 'BitMap Queue CPU scheduler'-# 'pds' - select 'Priority and Deadline based Skip list multiple queue CPU scheduler'+# ATTENTION - one of eight predefined values should be selected!# 'bore' - select 'Burst-Oriented Response Enhancer'# 'tt' - select 'Task Type Scheduler by Hamad Marri'# 'hardened' - select 'BORE Scheduler hardened' ## kernel with hardened config and hardening patches with the bore scheduler@@ -231,9 +229,6 @@ ficase "$_cpusched" incachyos) # CachyOS Scheduler (EEVDF + BORE)source+=("${_patchsource}/sched/0001-bore-cachy.patch");;- pds|bmq) # BMQ/PDS scheduler- source+=("${_patchsource}/sched/0001-prjc-cachy.patch"- linux-cachyos-prjc.install);;tt) ## TT Schedulersource+=("${_patchsource}/sched/0001-tt-cachy.patch");;bore) ## BORE Scheduler@@ -312,8 +307,6 @@ prepare() {[ -z "$_cpusched" ] && _die "The value is empty. Choose the correct one again."case "$_cpusched" in- pds) scripts/config -e SCHED_ALT -d SCHED_BMQ -e SCHED_PDS -e PSI_DEFAULT_DISABLED;;- bmq) scripts/config -e SCHED_ALT -e SCHED_BMQ -d SCHED_PDS -e PSI_DEFAULT_DISABLED;;tt) scripts/config -e TT_SCHED -e TT_ACCOUNTING_STATS;;bore|hardened|cachyos) scripts/config -e SCHED_BORE;;eevdf) ;;diff --git a/linux-cachyos-bore/PKGBUILD b/linux-cachyos-bore/PKGBUILDindex 484946a6..5cf200f2 100644--- a/linux-cachyos-bore/PKGBUILD+++ b/linux-cachyos-bore/PKGBUILD@@ -10,9 +10,7 @@_cachy_config=${_cachy_config-y}### Selecting the CPU scheduler-# ATTENTION - one of six predefined values should be selected!-# 'bmq' - select 'BitMap Queue CPU scheduler'-# 'pds' - select 'Priority and Deadline based Skip list multiple queue CPU scheduler'+# ATTENTION - one of eight predefined values should be selected!# 'bore' - select 'Burst-Oriented Response Enhancer'# 'tt' - select 'Task Type Scheduler by Hamad Marri'# 'hardened' - select 'BORE Scheduler hardened' ## kernel with hardened config and hardening patches with the bore scheduler@@ -231,9 +229,6 @@ ficase "$_cpusched" incachyos) # CachyOS Scheduler (EEVDF + BORE)source+=("${_patchsource}/sched/0001-bore-cachy.patch");;- pds|bmq) # BMQ/PDS scheduler- source+=("${_patchsource}/sched/0001-prjc-cachy.patch"- linux-cachyos-prjc.install);;tt) ## TT Schedulersource+=("${_patchsource}/sched/0001-tt-cachy.patch");;bore) ## BORE Scheduler@@ -312,8 +307,6 @@ prepare() {[ -z "$_cpusched" ] && _die "The value is empty. Choose the correct one again."case "$_cpusched" in- pds) scripts/config -e SCHED_ALT -d SCHED_BMQ -e SCHED_PDS -e PSI_DEFAULT_DISABLED;;- bmq) scripts/config -e SCHED_ALT -e SCHED_BMQ -d SCHED_PDS -e PSI_DEFAULT_DISABLED;;tt) scripts/config -e TT_SCHED -e TT_ACCOUNTING_STATS;;bore|hardened|cachyos) scripts/config -e SCHED_BORE;;eevdf) ;;diff --git a/linux-cachyos-eevdf/PKGBUILD b/linux-cachyos-eevdf/PKGBUILDindex 294ba37d..7d0888e7 100644--- a/linux-cachyos-eevdf/PKGBUILD+++ b/linux-cachyos-eevdf/PKGBUILD@@ -10,9 +10,7 @@_cachy_config=${_cachy_config-y}### Selecting the CPU scheduler-# ATTENTION - one of six predefined values should be selected!-# 'bmq' - select 'BitMap Queue CPU scheduler'-# 'pds' - select 'Priority and Deadline based Skip list multiple queue CPU scheduler'+# ATTENTION - one of eight predefined values should be selected!# 'bore' - select 'Burst-Oriented Response Enhancer'# 'tt' - select 'Task Type Scheduler by Hamad Marri'# 'hardened' - select 'BORE Scheduler hardened' ## kernel with hardened config and hardening patches with the bore scheduler@@ -231,9 +229,6 @@ ficase "$_cpusched" incachyos) # CachyOS Scheduler (EEVDF + BORE)source+=("${_patchsource}/sched/0001-bore-cachy.patch");;- pds|bmq) # BMQ/PDS scheduler- source+=("${_patchsource}/sched/0001-prjc-cachy.patch"- linux-cachyos-prjc.install);;tt) ## TT Schedulersource+=("${_patchsource}/sched/0001-tt-cachy.patch");;bore) ## BORE Scheduler@@ -312,8 +307,6 @@ prepare() {[ -z "$_cpusched" ] && _die "The value is empty. Choose the correct one again."case "$_cpusched" in- pds) scripts/config -e SCHED_ALT -d SCHED_BMQ -e SCHED_PDS -e PSI_DEFAULT_DISABLED;;- bmq) scripts/config -e SCHED_ALT -e SCHED_BMQ -d SCHED_PDS -e PSI_DEFAULT_DISABLED;;tt) scripts/config -e TT_SCHED -e TT_ACCOUNTING_STATS;;bore|hardened|cachyos) scripts/config -e SCHED_BORE;;eevdf) ;;diff --git a/linux-cachyos-hardened/PKGBUILD b/linux-cachyos-hardened/PKGBUILDindex 96b7597f..ad5b2622 100644--- a/linux-cachyos-hardened/PKGBUILD+++ b/linux-cachyos-hardened/PKGBUILD@@ -10,9 +10,7 @@_cachy_config=${_cachy_config-y}### Selecting the CPU scheduler-# ATTENTION - one of six predefined values should be selected!-# 'bmq' - select 'BitMap Queue CPU scheduler'-# 'pds' - select 'Priority and Deadline based Skip list multiple queue CPU scheduler'+# ATTENTION - one of eight predefined values should be selected!# 'bore' - select 'Burst-Oriented Response Enhancer'# 'tt' - select 'Task Type Scheduler by Hamad Marri'# 'hardened' - select 'BORE Scheduler hardened' ## kernel with hardened config and hardening patches with the bore scheduler@@ -227,9 +225,6 @@ ficase "$_cpusched" incachyos) # CachyOS Scheduler (EEVDF + BORE)source+=("${_patchsource}/sched/0001-bore-cachy.patch");;- pds|bmq) # BMQ/PDS scheduler- source+=("${_patchsource}/sched/0001-prjc-cachy.patch"- linux-cachyos-prjc.install);;tt) ## TT Schedulersource+=("${_patchsource}/sched/0001-tt-cachy.patch");;bore) ## BORE Scheduler@@ -308,8 +303,6 @@ prepare() {[ -z "$_cpusched" ] && _die "The value is empty. Choose the correct one again."case "$_cpusched" in- pds) scripts/config -e SCHED_ALT -d SCHED_BMQ -e SCHED_PDS -e PSI_DEFAULT_DISABLED;;- bmq) scripts/config -e SCHED_ALT -e SCHED_BMQ -d SCHED_PDS -e PSI_DEFAULT_DISABLED;;tt) scripts/config -e TT_SCHED -e TT_ACCOUNTING_STATS;;bore|hardened|cachyos) scripts/config -e SCHED_BORE;;eevdf) ;;diff --git a/linux-cachyos-lts/PKGBUILD b/linux-cachyos-lts/PKGBUILDindex 7d7e2bca..a618c26a 100644--- a/linux-cachyos-lts/PKGBUILD+++ b/linux-cachyos-lts/PKGBUILD@@ -10,9 +10,7 @@_cachy_config=${_cachy_config-y}### Selecting the CPU scheduler-# ATTENTION - one of six predefined values should be selected!-# 'bmq' - select 'BitMap Queue CPU scheduler'-# 'pds' - select 'Priority and Deadline based Skip list multiple queue CPU scheduler'+# ATTENTION - one of five predefined values should be selected!# 'bore' - select 'Burst-Oriented Response Enhancer'# 'cfs' - select 'Completely Fair Scheduler'# 'tt' - select 'Task Type Scheduler by Hamad Marri'@@ -243,9 +241,6 @@ if [ -n "$_build_nvidia" ]; thenficase "$_cpusched" in- pds|bmq) # BMQ/PDS scheduler- source+=("${_patchsource}/sched/0001-prjc-cachy.patch"- linux-cachyos-prjc.install);;tt) ## TT Schedulersource+=("${_patchsource}/sched/0001-tt-cachy.patch");;bore) ## BORE Scheduler with latency_nice@@ -340,8 +335,6 @@ prepare() {[ -z "$_cpusched" ] && _die "The value is empty. Choose the correct one again."case "$_cpusched" in- pds) scripts/config -e SCHED_ALT -d SCHED_BMQ -e SCHED_PDS;;- bmq) scripts/config -e SCHED_ALT -e SCHED_BMQ -d SCHED_PDS;;tt) scripts/config -e TT_SCHED -e TT_ACCOUNTING_STATS;;bore|hardened) scripts/config -e SCHED_BORE;;rt) scripts/config -e PREEMPT_COUNT -e PREEMPTION -d PREEMPT_VOLUNTARY -d PREEMPT -d PREEMPT_NONE -e PREEMPT_RT -e PREEMPT_LAZY -d PREEMPT_DYNAMIC -e HAVE_PREEMPT_LAZY -d PREEMPT_BUILD;;diff --git a/linux-cachyos-rc/PKGBUILD b/linux-cachyos-rc/PKGBUILDindex 5e6db779..4f2fd47a 100644--- a/linux-cachyos-rc/PKGBUILD+++ b/linux-cachyos-rc/PKGBUILD@@ -10,9 +10,7 @@_cachy_config=${_cachy_config-y}### Selecting the CPU scheduler-# ATTENTION - one of six predefined values should be selected!-# 'bmq' - select 'BitMap Queue CPU scheduler'-# 'pds' - select 'Priority and Deadline based Skip list multiple queue CPU scheduler'+# ATTENTION - one of eight predefined values should be selected!# 'bore' - select 'Burst-Oriented Response Enhancer'# 'tt' - select 'Task Type Scheduler by Hamad Marri'# 'hardened' - select 'BORE Scheduler hardened' ## kernel with hardened config and hardening patches with the bore scheduler@@ -228,9 +226,6 @@ ficase "$_cpusched" incachyos) # CachyOS Scheduler (EEVDF + BORE)source+=("${_patchsource}/sched/0001-bore-cachy.patch");;- pds|bmq) # BMQ/PDS scheduler- source+=("${_patchsource}/sched/0001-prjc-cachy.patch"- linux-cachyos-prjc.install);;tt) ## TT Schedulersource+=("${_patchsource}/sched/0001-tt-cachy.patch");;bore) ## BORE Scheduler@@ -305,8 +300,6 @@ prepare() {[ -z "$_cpusched" ] && _die "The value is empty. Choose the correct one again."case "$_cpusched" in- pds) scripts/config -e SCHED_ALT -d SCHED_BMQ -e SCHED_PDS -e PSI_DEFAULT_DISABLED;;- bmq) scripts/config -e SCHED_ALT -e SCHED_BMQ -d SCHED_PDS -e PSI_DEFAULT_DISABLED;;tt) scripts/config -e TT_SCHED -e TT_ACCOUNTING_STATS;;bore|hardened|cachyos) scripts/config -e SCHED_BORE;;eevdf) ;;diff --git a/linux-cachyos-rt-bore/PKGBUILD b/linux-cachyos-rt-bore/PKGBUILDindex ca6b61c6..11c9fdc7 100644--- a/linux-cachyos-rt-bore/PKGBUILD+++ b/linux-cachyos-rt-bore/PKGBUILD@@ -10,9 +10,7 @@_cachy_config=${_cachy_config-y}### Selecting the CPU scheduler-# ATTENTION - one of six predefined values should be selected!-# 'bmq' - select 'BitMap Queue CPU scheduler'-# 'pds' - select 'Priority and Deadline based Skip list multiple queue CPU scheduler'+# ATTENTION - one of eight predefined values should be selected!# 'bore' - select 'Burst-Oriented Response Enhancer'# 'tt' - select 'Task Type Scheduler by Hamad Marri'# 'hardened' - select 'BORE Scheduler hardened' ## kernel with hardened config and hardening patches with the bore scheduler@@ -231,9 +229,6 @@ ficase "$_cpusched" incachyos) # CachyOS Scheduler (EEVDF + BORE)source+=("${_patchsource}/sched/0001-bore-cachy.patch");;- pds|bmq) # BMQ/PDS scheduler- source+=("${_patchsource}/sched/0001-prjc-cachy.patch"- linux-cachyos-prjc.install);;tt) ## TT Schedulersource+=("${_patchsource}/sched/0001-tt-cachy.patch");;bore) ## BORE Scheduler@@ -312,8 +307,6 @@ prepare() {[ -z "$_cpusched" ] && _die "The value is empty. Choose the correct one again."case "$_cpusched" in- pds) scripts/config -e SCHED_ALT -d SCHED_BMQ -e SCHED_PDS -e PSI_DEFAULT_DISABLED;;- bmq) scripts/config -e SCHED_ALT -e SCHED_BMQ -d SCHED_PDS -e PSI_DEFAULT_DISABLED;;tt) scripts/config -e TT_SCHED -e TT_ACCOUNTING_STATS;;bore|hardened|cachyos) scripts/config -e SCHED_BORE;;eevdf) ;;diff --git a/linux-cachyos-rt/PKGBUILD b/linux-cachyos-rt/PKGBUILDindex 3eec7cf8..abcef232 100644--- a/linux-cachyos-rt/PKGBUILD+++ b/linux-cachyos-rt/PKGBUILD@@ -10,9 +10,7 @@_cachy_config=${_cachy_config-y}### Selecting the CPU scheduler-# ATTENTION - one of six predefined values should be selected!-# 'bmq' - select 'BitMap Queue CPU scheduler'-# 'pds' - select 'Priority and Deadline based Skip list multiple queue CPU scheduler'+# ATTENTION - one of eight predefined values should be selected!# 'bore' - select 'Burst-Oriented Response Enhancer'# 'tt' - select 'Task Type Scheduler by Hamad Marri'# 'hardened' - select 'BORE Scheduler hardened' ## kernel with hardened config and hardening patches with the bore scheduler@@ -231,9 +229,6 @@ ficase "$_cpusched" incachyos) # CachyOS Scheduler (EEVDF + BORE)source+=("${_patchsource}/sched/0001-bore-cachy.patch");;- pds|bmq) # BMQ/PDS scheduler- source+=("${_patchsource}/sched/0001-prjc-cachy.patch"- linux-cachyos-prjc.install);;tt) ## TT Schedulersource+=("${_patchsource}/sched/0001-tt-cachy.patch");;bore) ## BORE Scheduler@@ -312,8 +307,6 @@ prepare() {[ -z "$_cpusched" ] && _die "The value is empty. Choose the correct one again."case "$_cpusched" in- pds) scripts/config -e SCHED_ALT -d SCHED_BMQ -e SCHED_PDS -e PSI_DEFAULT_DISABLED;;- bmq) scripts/config -e SCHED_ALT -e SCHED_BMQ -d SCHED_PDS -e PSI_DEFAULT_DISABLED;;tt) scripts/config -e TT_SCHED -e TT_ACCOUNTING_STATS;;bore|hardened|cachyos) scripts/config -e SCHED_BORE;;eevdf) ;;diff --git a/linux-cachyos-sched-ext/PKGBUILD b/linux-cachyos-sched-ext/PKGBUILDindex cd60ee6f..9bd43fe5 100644--- a/linux-cachyos-sched-ext/PKGBUILD+++ b/linux-cachyos-sched-ext/PKGBUILD@@ -10,9 +10,7 @@_cachy_config=${_cachy_config-y}### Selecting the CPU scheduler-# ATTENTION - one of six predefined values should be selected!-# 'bmq' - select 'BitMap Queue CPU scheduler'-# 'pds' - select 'Priority and Deadline based Skip list multiple queue CPU scheduler'+# ATTENTION - one of eight predefined values should be selected!# 'bore' - select 'Burst-Oriented Response Enhancer'# 'tt' - select 'Task Type Scheduler by Hamad Marri'# 'hardened' - select 'BORE Scheduler hardened' ## kernel with hardened config and hardening patches with the bore scheduler@@ -231,9 +229,6 @@ ficase "$_cpusched" incachyos) # CachyOS Scheduler (EEVDF + BORE)source+=("${_patchsource}/sched/0001-bore-cachy.patch");;- pds|bmq) # BMQ/PDS scheduler- source+=("${_patchsource}/sched/0001-prjc-cachy.patch"- linux-cachyos-prjc.install);;tt) ## TT Schedulersource+=("${_patchsource}/sched/0001-tt-cachy.patch");;bore) ## BORE Scheduler@@ -312,8 +307,6 @@ prepare() {[ -z "$_cpusched" ] && _die "The value is empty. Choose the correct one again."case "$_cpusched" in- pds) scripts/config -e SCHED_ALT -d SCHED_BMQ -e SCHED_PDS -e PSI_DEFAULT_DISABLED;;- bmq) scripts/config -e SCHED_ALT -e SCHED_BMQ -d SCHED_PDS -e PSI_DEFAULT_DISABLED;;tt) scripts/config -e TT_SCHED -e TT_ACCOUNTING_STATS;;bore|hardened|cachyos) scripts/config -e SCHED_BORE;;eevdf) ;;diff --git a/linux-cachyos-server/PKGBUILD b/linux-cachyos-server/PKGBUILDindex 6e9da187..1d2a9a0c 100644--- a/linux-cachyos-server/PKGBUILD+++ b/linux-cachyos-server/PKGBUILD@@ -10,9 +10,7 @@_cachy_config=${_cachy_config-}### Selecting the CPU scheduler-# ATTENTION - one of six predefined values should be selected!-# 'bmq' - select 'BitMap Queue CPU scheduler'-# 'pds' - select 'Priority and Deadline based Skip list multiple queue CPU scheduler'+# ATTENTION - one of eight predefined values should be selected!# 'bore' - select 'Burst-Oriented Response Enhancer'# 'tt' - select 'Task Type Scheduler by Hamad Marri'# 'hardened' - select 'BORE Scheduler hardened' ## kernel with hardened config and hardening patches with the bore scheduler@@ -231,9 +229,6 @@ ficase "$_cpusched" incachyos) # CachyOS Scheduler (EEVDF + BORE)source+=("${_patchsource}/sched/0001-bore-cachy.patch");;- pds|bmq) # BMQ/PDS scheduler- source+=("${_patchsource}/sched/0001-prjc-cachy.patch"- linux-cachyos-prjc.install);;tt) ## TT Schedulersource+=("${_patchsource}/sched/0001-tt-cachy.patch");;bore) ## BORE Scheduler@@ -312,8 +307,6 @@ prepare() {[ -z "$_cpusched" ] && _die "The value is empty. Choose the correct one again."case "$_cpusched" in- pds) scripts/config -e SCHED_ALT -d SCHED_BMQ -e SCHED_PDS -e PSI_DEFAULT_DISABLED;;- bmq) scripts/config -e SCHED_ALT -e SCHED_BMQ -d SCHED_PDS -e PSI_DEFAULT_DISABLED;;tt) scripts/config -e TT_SCHED -e TT_ACCOUNTING_STATS;;bore|hardened|cachyos) scripts/config -e SCHED_BORE;;eevdf) ;;diff --git a/linux-cachyos/PKGBUILD b/linux-cachyos/PKGBUILDindex 53625058..9cacbb6a 100644--- a/linux-cachyos/PKGBUILD+++ b/linux-cachyos/PKGBUILD@@ -10,9 +10,7 @@_cachy_config=${_cachy_config-y}### Selecting the CPU scheduler-# ATTENTION - one of six predefined values should be selected!-# 'bmq' - select 'BitMap Queue CPU scheduler'-# 'pds' - select 'Priority and Deadline based Skip list multiple queue CPU scheduler'+# ATTENTION - one of eight predefined values should be selected!# 'bore' - select 'Burst-Oriented Response Enhancer'# 'tt' - select 'Task Type Scheduler by Hamad Marri'# 'hardened' - select 'BORE Scheduler hardened' ## kernel with hardened config and hardening patches with the bore scheduler@@ -231,9 +229,6 @@ ficase "$_cpusched" incachyos) # CachyOS Scheduler (EEVDF + BORE)source+=("${_patchsource}/sched/0001-bore-cachy.patch");;- pds|bmq) # BMQ/PDS scheduler- source+=("${_patchsource}/sched/0001-prjc-cachy.patch"- linux-cachyos-prjc.install);;tt) ## TT Schedulersource+=("${_patchsource}/sched/0001-tt-cachy.patch");;bore) ## BORE Scheduler@@ -312,8 +307,6 @@ prepare() {[ -z "$_cpusched" ] && _die "The value is empty. Choose the correct one again."case "$_cpusched" in- pds) scripts/config -e SCHED_ALT -d SCHED_BMQ -e SCHED_PDS -e PSI_DEFAULT_DISABLED;;- bmq) scripts/config -e SCHED_ALT -e SCHED_BMQ -d SCHED_PDS -e PSI_DEFAULT_DISABLED;;tt) scripts/config -e TT_SCHED -e TT_ACCOUNTING_STATS;;bore|hardened|cachyos) scripts/config -e SCHED_BORE;;eevdf) ;;