Archlinux Kernel based on different schedulers and some other performance improvements.
Shell archlinuxbaby-schedcachycachy-schedulercachyoscacule-schedkernellinux-kernelperformanceperformance-tuning
Change patchrow, to suite with BORE + NEST
Peter Jungf5a4b2aa08d5
diff --git a/linux-bore/PKGBUILD b/linux-bore/PKGBUILDindex 0eb20b2a..8bf0fa42 100644--- a/linux-bore/PKGBUILD+++ b/linux-bore/PKGBUILD@@ -243,12 +243,6 @@ if [ -n "$_latency_nice" ]; thensource+=("${_patchsource}/misc/0001-Add-latency-priority-for-CFS-class.patch")fifi-## NEST Support-if [ -n "$_nest" ]; then- if [[ "$_cpusched" = "bore" || "$_cpusched" = "cfs" || "$_cpusched" = "hardened" ]]; then- source+=("${_patchsource}/sched/0001-NEST.patch")- fi-fi## BMQ Schedulerif [ "$_cpusched" = "bmq" ]; thensource+=("${_patchsource}/sched/0001-prjc-cachy.patch")@@ -288,6 +282,12 @@ if [ -n "$_use_kcfi" ]; thenLLVM=1)fi+## NEST Support+if [ -n "$_nest" ]; then+ if [[ "$_cpusched" = "bore" || "$_cpusched" = "cfs" || "$_cpusched" = "hardened" ]]; then+ source+=("${_patchsource}/sched/0001-NEST.patch")+ fi+fi## bcachefs Supportif [ -n "$_bcachefs" ]; thensource+=("${_patchsource}/misc/0001-bcachefs-after-lru.patch")diff --git a/linux-cachyos-bmq/PKGBUILD b/linux-cachyos-bmq/PKGBUILDindex bde78dcf..64e366cb 100644--- a/linux-cachyos-bmq/PKGBUILD+++ b/linux-cachyos-bmq/PKGBUILD@@ -243,12 +243,6 @@ if [ -n "$_latency_nice" ]; thensource+=("${_patchsource}/misc/0001-Add-latency-priority-for-CFS-class.patch")fifi-## NEST Support-if [ -n "$_nest" ]; then- if [[ "$_cpusched" = "bore" || "$_cpusched" = "cfs" || "$_cpusched" = "hardened" ]]; then- source+=("${_patchsource}/sched/0001-NEST.patch")- fi-fi## BMQ Schedulerif [ "$_cpusched" = "bmq" ]; thensource+=("${_patchsource}/sched/0001-prjc-cachy.patch")@@ -288,6 +282,12 @@ if [ -n "$_use_kcfi" ]; thenLLVM=1)fi+## NEST Support+if [ -n "$_nest" ]; then+ if [[ "$_cpusched" = "bore" || "$_cpusched" = "cfs" || "$_cpusched" = "hardened" ]]; then+ source+=("${_patchsource}/sched/0001-NEST.patch")+ fi+fi## bcachefs Supportif [ -n "$_bcachefs" ]; thensource+=("${_patchsource}/misc/0001-bcachefs-after-lru.patch")diff --git a/linux-cachyos-bore/PKGBUILD b/linux-cachyos-bore/PKGBUILDindex fce315e7..0655040b 100644--- a/linux-cachyos-bore/PKGBUILD+++ b/linux-cachyos-bore/PKGBUILD@@ -243,12 +243,6 @@ if [ -n "$_latency_nice" ]; thensource+=("${_patchsource}/misc/0001-Add-latency-priority-for-CFS-class.patch")fifi-## NEST Support-if [ -n "$_nest" ]; then- if [[ "$_cpusched" = "bore" || "$_cpusched" = "cfs" || "$_cpusched" = "hardened" ]]; then- source+=("${_patchsource}/sched/0001-NEST.patch")- fi-fi## BMQ Schedulerif [ "$_cpusched" = "bmq" ]; thensource+=("${_patchsource}/sched/0001-prjc-cachy.patch")@@ -288,6 +282,12 @@ if [ -n "$_use_kcfi" ]; thenLLVM=1)fi+## NEST Support+if [ -n "$_nest" ]; then+ if [[ "$_cpusched" = "bore" || "$_cpusched" = "cfs" || "$_cpusched" = "hardened" ]]; then+ source+=("${_patchsource}/sched/0001-NEST.patch")+ fi+fi## bcachefs Supportif [ -n "$_bcachefs" ]; thensource+=("${_patchsource}/misc/0001-bcachefs-after-lru.patch")diff --git a/linux-cachyos-cacule/PKGBUILD b/linux-cachyos-cacule/PKGBUILDindex e114e32d..c8255490 100644--- a/linux-cachyos-cacule/PKGBUILD+++ b/linux-cachyos-cacule/PKGBUILD@@ -243,12 +243,6 @@ if [ -n "$_latency_nice" ]; thensource+=("${_patchsource}/misc/0001-Add-latency-priority-for-CFS-class.patch")fifi-## NEST Support-if [ -n "$_nest" ]; then- if [[ "$_cpusched" = "bore" || "$_cpusched" = "cfs" || "$_cpusched" = "hardened" ]]; then- source+=("${_patchsource}/sched/0001-NEST.patch")- fi-fi## BMQ Schedulerif [ "$_cpusched" = "bmq" ]; thensource+=("${_patchsource}/sched/0001-prjc-cachy.patch")@@ -288,6 +282,12 @@ if [ -n "$_use_kcfi" ]; thenLLVM=1)fi+## NEST Support+if [ -n "$_nest" ]; then+ if [[ "$_cpusched" = "bore" || "$_cpusched" = "cfs" || "$_cpusched" = "hardened" ]]; then+ source+=("${_patchsource}/sched/0001-NEST.patch")+ fi+fi## bcachefs Supportif [ -n "$_bcachefs" ]; thensource+=("${_patchsource}/misc/0001-bcachefs-after-lru.patch")diff --git a/linux-cachyos-cfs/PKGBUILD b/linux-cachyos-cfs/PKGBUILDindex a28a20fd..e8b96c23 100644--- a/linux-cachyos-cfs/PKGBUILD+++ b/linux-cachyos-cfs/PKGBUILD@@ -243,12 +243,6 @@ if [ -n "$_latency_nice" ]; thensource+=("${_patchsource}/misc/0001-Add-latency-priority-for-CFS-class.patch")fifi-## NEST Support-if [ -n "$_nest" ]; then- if [[ "$_cpusched" = "bore" || "$_cpusched" = "cfs" || "$_cpusched" = "hardened" ]]; then- source+=("${_patchsource}/sched/0001-NEST.patch")- fi-fi## BMQ Schedulerif [ "$_cpusched" = "bmq" ]; thensource+=("${_patchsource}/sched/0001-prjc-cachy.patch")@@ -288,6 +282,12 @@ if [ -n "$_use_kcfi" ]; thenLLVM=1)fi+## NEST Support+if [ -n "$_nest" ]; then+ if [[ "$_cpusched" = "bore" || "$_cpusched" = "cfs" || "$_cpusched" = "hardened" ]]; then+ source+=("${_patchsource}/sched/0001-NEST.patch")+ fi+fi## bcachefs Supportif [ -n "$_bcachefs" ]; thensource+=("${_patchsource}/misc/0001-bcachefs-after-lru.patch")diff --git a/linux-cachyos-hardened/PKGBUILD b/linux-cachyos-hardened/PKGBUILDindex e936557d..ff3223c6 100644--- a/linux-cachyos-hardened/PKGBUILD+++ b/linux-cachyos-hardened/PKGBUILD@@ -247,12 +247,6 @@ if [ -n "$_latency_nice" ]; thensource+=("${_patchsource}/misc/0001-Add-latency-priority-for-CFS-class.patch")fifi-## NEST Support-if [ -n "$_nest" ]; then- if [[ "$_cpusched" = "bore" || "$_cpusched" = "cfs" || "$_cpusched" = "hardened" ]]; then- source+=("${_patchsource}/sched/0001-NEST.patch")- fi-fi## BMQ Schedulerif [ "$_cpusched" = "bmq" ]; thensource+=("${_patchsource}/sched/0001-prjc-cachy.patch")@@ -292,6 +286,12 @@ if [ -n "$_use_kcfi" ]; thenLLVM=1)fi+## NEST Support+if [ -n "$_nest" ]; then+ if [[ "$_cpusched" = "bore" || "$_cpusched" = "cfs" || "$_cpusched" = "hardened" ]]; then+ source+=("${_patchsource}/sched/0001-NEST.patch")+ fi+fi## bcachefs Supportif [ -n "$_bcachefs" ]; thensource+=("${_patchsource}/misc/0001-bcachefs-after-lru.patch")diff --git a/linux-cachyos-pds/PKGBUILD b/linux-cachyos-pds/PKGBUILDindex a99c0bb2..13737423 100644--- a/linux-cachyos-pds/PKGBUILD+++ b/linux-cachyos-pds/PKGBUILD@@ -243,12 +243,6 @@ if [ -n "$_latency_nice" ]; thensource+=("${_patchsource}/misc/0001-Add-latency-priority-for-CFS-class.patch")fifi-## NEST Support-if [ -n "$_nest" ]; then- if [[ "$_cpusched" = "bore" || "$_cpusched" = "cfs" || "$_cpusched" = "hardened" ]]; then- source+=("${_patchsource}/sched/0001-NEST.patch")- fi-fi## BMQ Schedulerif [ "$_cpusched" = "bmq" ]; thensource+=("${_patchsource}/sched/0001-prjc-cachy.patch")@@ -288,6 +282,12 @@ if [ -n "$_use_kcfi" ]; thenLLVM=1)fi+## NEST Support+if [ -n "$_nest" ]; then+ if [[ "$_cpusched" = "bore" || "$_cpusched" = "cfs" || "$_cpusched" = "hardened" ]]; then+ source+=("${_patchsource}/sched/0001-NEST.patch")+ fi+fi## bcachefs Supportif [ -n "$_bcachefs" ]; thensource+=("${_patchsource}/misc/0001-bcachefs-after-lru.patch")diff --git a/linux-cachyos-rc/PKGBUILD b/linux-cachyos-rc/PKGBUILDindex 514661ff..5b245041 100644--- a/linux-cachyos-rc/PKGBUILD+++ b/linux-cachyos-rc/PKGBUILD@@ -243,12 +243,6 @@ if [ -n "$_latency_nice" ]; thensource+=("${_patchsource}/misc/0001-Add-latency-priority-for-CFS-class.patch")fifi-## NEST Support-if [ -n "$_nest" ]; then- if [[ "$_cpusched" = "bore" || "$_cpusched" = "cfs" || "$_cpusched" = "hardened" ]]; then- source+=("${_patchsource}/sched/0001-NEST.patch")- fi-fi## BMQ Schedulerif [ "$_cpusched" = "bmq" ]; thensource+=("${_patchsource}/sched/0001-prjc-cachy.patch")@@ -288,6 +282,12 @@ if [ -n "$_use_kcfi" ]; thenLLVM=1)fi+## NEST Support+if [ -n "$_nest" ]; then+ if [[ "$_cpusched" = "bore" || "$_cpusched" = "cfs" || "$_cpusched" = "hardened" ]]; then+ source+=("${_patchsource}/sched/0001-NEST.patch")+ fi+fi## bcachefs Supportif [ -n "$_bcachefs" ]; thensource+=("${_patchsource}/misc/0001-bcachefs-after-lru.patch")diff --git a/linux-cachyos-tt/PKGBUILD b/linux-cachyos-tt/PKGBUILDindex dfb97513..6a33785c 100644--- a/linux-cachyos-tt/PKGBUILD+++ b/linux-cachyos-tt/PKGBUILD@@ -243,12 +243,6 @@ if [ -n "$_latency_nice" ]; thensource+=("${_patchsource}/misc/0001-Add-latency-priority-for-CFS-class.patch")fifi-## NEST Support-if [ -n "$_nest" ]; then- if [[ "$_cpusched" = "bore" || "$_cpusched" = "cfs" || "$_cpusched" = "hardened" ]]; then- source+=("${_patchsource}/sched/0001-NEST.patch")- fi-fi## BMQ Schedulerif [ "$_cpusched" = "bmq" ]; thensource+=("${_patchsource}/sched/0001-prjc-cachy.patch")@@ -288,6 +282,12 @@ if [ -n "$_use_kcfi" ]; thenLLVM=1)fi+## NEST Support+if [ -n "$_nest" ]; then+ if [[ "$_cpusched" = "bore" || "$_cpusched" = "cfs" || "$_cpusched" = "hardened" ]]; then+ source+=("${_patchsource}/sched/0001-NEST.patch")+ fi+fi## bcachefs Supportif [ -n "$_bcachefs" ]; thensource+=("${_patchsource}/misc/0001-bcachefs-after-lru.patch")diff --git a/linux-cachyos/PKGBUILD b/linux-cachyos/PKGBUILDindex fb79373e..f78cfaaf 100644--- a/linux-cachyos/PKGBUILD+++ b/linux-cachyos/PKGBUILD@@ -243,12 +243,6 @@ if [ -n "$_latency_nice" ]; thensource+=("${_patchsource}/misc/0001-Add-latency-priority-for-CFS-class.patch")fifi-## NEST Support-if [ -n "$_nest" ]; then- if [[ "$_cpusched" = "bore" || "$_cpusched" = "cfs" || "$_cpusched" = "hardened" ]]; then- source+=("${_patchsource}/sched/0001-NEST.patch")- fi-fi## BMQ Schedulerif [ "$_cpusched" = "bmq" ]; thensource+=("${_patchsource}/sched/0001-prjc-cachy.patch")@@ -288,6 +282,12 @@ if [ -n "$_use_kcfi" ]; thenLLVM=1)fi+## NEST Support+if [ -n "$_nest" ]; then+ if [[ "$_cpusched" = "bore" || "$_cpusched" = "cfs" || "$_cpusched" = "hardened" ]]; then+ source+=("${_patchsource}/sched/0001-NEST.patch")+ fi+fi## bcachefs Supportif [ -n "$_bcachefs" ]; thensource+=("${_patchsource}/misc/0001-bcachefs-after-lru.patch")diff --git a/linux-cacule-rdb/PKGBUILD b/linux-cacule-rdb/PKGBUILDindex 93c4c2c4..dd767711 100644--- a/linux-cacule-rdb/PKGBUILD+++ b/linux-cacule-rdb/PKGBUILD@@ -243,12 +243,6 @@ if [ -n "$_latency_nice" ]; thensource+=("${_patchsource}/misc/0001-Add-latency-priority-for-CFS-class.patch")fifi-## NEST Support-if [ -n "$_nest" ]; then- if [[ "$_cpusched" = "bore" || "$_cpusched" = "cfs" || "$_cpusched" = "hardened" ]]; then- source+=("${_patchsource}/sched/0001-NEST.patch")- fi-fi## BMQ Schedulerif [ "$_cpusched" = "bmq" ]; thensource+=("${_patchsource}/sched/0001-prjc-cachy.patch")@@ -288,6 +282,12 @@ if [ -n "$_use_kcfi" ]; thenLLVM=1)fi+## NEST Support+if [ -n "$_nest" ]; then+ if [[ "$_cpusched" = "bore" || "$_cpusched" = "cfs" || "$_cpusched" = "hardened" ]]; then+ source+=("${_patchsource}/sched/0001-NEST.patch")+ fi+fi## bcachefs Supportif [ -n "$_bcachefs" ]; thensource+=("${_patchsource}/misc/0001-bcachefs-after-lru.patch")diff --git a/linux-cacule/PKGBUILD b/linux-cacule/PKGBUILDindex 01f533ee..6fd87c3b 100644--- a/linux-cacule/PKGBUILD+++ b/linux-cacule/PKGBUILD@@ -243,12 +243,6 @@ if [ -n "$_latency_nice" ]; thensource+=("${_patchsource}/misc/0001-Add-latency-priority-for-CFS-class.patch")fifi-## NEST Support-if [ -n "$_nest" ]; then- if [[ "$_cpusched" = "bore" || "$_cpusched" = "cfs" || "$_cpusched" = "hardened" ]]; then- source+=("${_patchsource}/sched/0001-NEST.patch")- fi-fi## BMQ Schedulerif [ "$_cpusched" = "bmq" ]; thensource+=("${_patchsource}/sched/0001-prjc-cachy.patch")@@ -288,6 +282,12 @@ if [ -n "$_use_kcfi" ]; thenLLVM=1)fi+## NEST Support+if [ -n "$_nest" ]; then+ if [[ "$_cpusched" = "bore" || "$_cpusched" = "cfs" || "$_cpusched" = "hardened" ]]; then+ source+=("${_patchsource}/sched/0001-NEST.patch")+ fi+fi## bcachefs Supportif [ -n "$_bcachefs" ]; thensource+=("${_patchsource}/misc/0001-bcachefs-after-lru.patch")diff --git a/linux-tt/PKGBUILD b/linux-tt/PKGBUILDindex 4e035c1a..2b7d6ec2 100644--- a/linux-tt/PKGBUILD+++ b/linux-tt/PKGBUILD@@ -243,12 +243,6 @@ if [ -n "$_latency_nice" ]; thensource+=("${_patchsource}/misc/0001-Add-latency-priority-for-CFS-class.patch")fifi-## NEST Support-if [ -n "$_nest" ]; then- if [[ "$_cpusched" = "bore" || "$_cpusched" = "cfs" || "$_cpusched" = "hardened" ]]; then- source+=("${_patchsource}/sched/0001-NEST.patch")- fi-fi## BMQ Schedulerif [ "$_cpusched" = "bmq" ]; thensource+=("${_patchsource}/sched/0001-prjc-cachy.patch")@@ -288,6 +282,12 @@ if [ -n "$_use_kcfi" ]; thenLLVM=1)fi+## NEST Support+if [ -n "$_nest" ]; then+ if [[ "$_cpusched" = "bore" || "$_cpusched" = "cfs" || "$_cpusched" = "hardened" ]]; then+ source+=("${_patchsource}/sched/0001-NEST.patch")+ fi+fi## bcachefs Supportif [ -n "$_bcachefs" ]; thensource+=("${_patchsource}/misc/0001-bcachefs-after-lru.patch")