Archlinux Kernel based on different schedulers and some other performance improvements.
Shell archlinuxbaby-schedcachycachy-schedulercachyoscacule-schedkernellinux-kernelperformanceperformance-tuning
Add experimental implementation for NEST and Latency Nice
Peter Jung3f7c8db190fe
diff --git a/linux-bore/PKGBUILD b/linux-bore/PKGBUILDindex da99aa72..f1c15096 100644--- a/linux-bore/PKGBUILD+++ b/linux-bore/PKGBUILD@@ -155,6 +155,27 @@ _build_zfs=# Enable bcachefs_bcachefs=+# Enable NEST+# NEST is a experimental cfs scheduler you can find more about here:+# https://www.phoronix.com/news/Nest-Linux-Scheduling-Warm-Core+# https://gitlab.inria.fr/nest-public/nest-artifact/-/tree/main+# ATTENTION!:NEST is only active if you start applications with+# taskset -c $THREADS application+# example: taskset -c 0-23 application+# ATTENTION!:Just works together with the BORE Scheduler and CFS Scheduler+_nest=++# Enable LATENCY NICE+# Latency nice is a approach to sets latency-nice as a per-task attribute+# It can improve the latency of applications similar to sched_nice, but focused on the latency+# You need to set the values per task+# Ananicy-cpp has a experimental implementation for this+# It converts sched_nice to latency_nice and set this per task+# You need to configure ananicy-cpp for this or use existing settings+# If you want to test it, use the following branch+# https://gitlab.com/ananicy-cpp/ananicy-cpp/-/tree/feature/latency-nice+_latency_nice=+if [ -n "$_use_llvm_lto" ]; thenpkgsuffix=${_cpusched}-ltopkgbase=linux-$pkgsuffix@@ -249,6 +270,14 @@ fiif [ -n "$_bcachefs" ]; thensource+=("${_patchsource}/misc/0001-bcachefs-after-lru.patch")fi+## NEST Support+if [ -n "$_nest" ]; then+ source+=("${_patchsource}/sched/0001-NEST.patch")+fi+## Latency NICE Support+if [ -n "$_latency_nice" ]; then+ source+=("${_patchsource}/misc/0001-Add-latency-priority-for-CFS-class.patch")+fiexport KBUILD_BUILD_HOST=cachyosexport KBUILD_BUILD_USER=$pkgbasediff --git a/linux-cachyos-bmq/PKGBUILD b/linux-cachyos-bmq/PKGBUILDindex 8fdf57f0..ccb8dfe1 100644--- a/linux-cachyos-bmq/PKGBUILD+++ b/linux-cachyos-bmq/PKGBUILD@@ -155,6 +155,27 @@ _build_zfs=# Enable bcachefs_bcachefs=+# Enable NEST+# NEST is a experimental cfs scheduler you can find more about here:+# https://www.phoronix.com/news/Nest-Linux-Scheduling-Warm-Core+# https://gitlab.inria.fr/nest-public/nest-artifact/-/tree/main+# ATTENTION!:NEST is only active if you start applications with+# taskset -c $THREADS application+# example: taskset -c 0-23 application+# ATTENTION!:Just works together with the BORE Scheduler and CFS Scheduler+_nest=++# Enable LATENCY NICE+# Latency nice is a approach to sets latency-nice as a per-task attribute+# It can improve the latency of applications similar to sched_nice, but focused on the latency+# You need to set the values per task+# Ananicy-cpp has a experimental implementation for this+# It converts sched_nice to latency_nice and set this per task+# You need to configure ananicy-cpp for this or use existing settings+# If you want to test it, use the following branch+# https://gitlab.com/ananicy-cpp/ananicy-cpp/-/tree/feature/latency-nice+_latency_nice=+if [ -n "$_use_llvm_lto" ]; thenpkgsuffix=cachyos-${_cpusched}-ltopkgbase=linux-$pkgsuffix@@ -249,6 +270,14 @@ fiif [ -n "$_bcachefs" ]; thensource+=("${_patchsource}/misc/0001-bcachefs-after-lru.patch")fi+## NEST Support+if [ -n "$_nest" ]; then+ source+=("${_patchsource}/sched/0001-NEST.patch")+fi+## Latency NICE Support+if [ -n "$_latency_nice" ]; then+ source+=("${_patchsource}/misc/0001-Add-latency-priority-for-CFS-class.patch")+fiexport KBUILD_BUILD_HOST=cachyosexport KBUILD_BUILD_USER=$pkgbasediff --git a/linux-cachyos-bore/PKGBUILD b/linux-cachyos-bore/PKGBUILDindex 5d2bcb99..118af7d3 100644--- a/linux-cachyos-bore/PKGBUILD+++ b/linux-cachyos-bore/PKGBUILD@@ -155,6 +155,27 @@ _build_zfs=# Enable bcachefs_bcachefs=+# Enable NEST+# NEST is a experimental cfs scheduler you can find more about here:+# https://www.phoronix.com/news/Nest-Linux-Scheduling-Warm-Core+# https://gitlab.inria.fr/nest-public/nest-artifact/-/tree/main+# ATTENTION!:NEST is only active if you start applications with+# taskset -c $THREADS application+# example: taskset -c 0-23 application+# ATTENTION!:Just works together with the BORE Scheduler and CFS Scheduler+_nest=++# Enable LATENCY NICE+# Latency nice is a approach to sets latency-nice as a per-task attribute+# It can improve the latency of applications similar to sched_nice, but focused on the latency+# You need to set the values per task+# Ananicy-cpp has a experimental implementation for this+# It converts sched_nice to latency_nice and set this per task+# You need to configure ananicy-cpp for this or use existing settings+# If you want to test it, use the following branch+# https://gitlab.com/ananicy-cpp/ananicy-cpp/-/tree/feature/latency-nice+_latency_nice=+if [ -n "$_use_llvm_lto" ]; thenpkgsuffix=cachyos-${_cpusched}-ltopkgbase=linux-$pkgsuffix@@ -249,6 +270,14 @@ fiif [ -n "$_bcachefs" ]; thensource+=("${_patchsource}/misc/0001-bcachefs-after-lru.patch")fi+## NEST Support+if [ -n "$_nest" ]; then+ source+=("${_patchsource}/sched/0001-NEST.patch")+fi+## Latency NICE Support+if [ -n "$_latency_nice" ]; then+ source+=("${_patchsource}/misc/0001-Add-latency-priority-for-CFS-class.patch")+fiexport KBUILD_BUILD_HOST=cachyosexport KBUILD_BUILD_USER=$pkgbasediff --git a/linux-cachyos-cacule/PKGBUILD b/linux-cachyos-cacule/PKGBUILDindex 87bb27d4..a34ab13b 100644--- a/linux-cachyos-cacule/PKGBUILD+++ b/linux-cachyos-cacule/PKGBUILD@@ -155,6 +155,27 @@ _build_zfs=# Enable bcachefs_bcachefs=+# Enable NEST+# NEST is a experimental cfs scheduler you can find more about here:+# https://www.phoronix.com/news/Nest-Linux-Scheduling-Warm-Core+# https://gitlab.inria.fr/nest-public/nest-artifact/-/tree/main+# ATTENTION!:NEST is only active if you start applications with+# taskset -c $THREADS application+# example: taskset -c 0-23 application+# ATTENTION!:Just works together with the BORE Scheduler and CFS Scheduler+_nest=++# Enable LATENCY NICE+# Latency nice is a approach to sets latency-nice as a per-task attribute+# It can improve the latency of applications similar to sched_nice, but focused on the latency+# You need to set the values per task+# Ananicy-cpp has a experimental implementation for this+# It converts sched_nice to latency_nice and set this per task+# You need to configure ananicy-cpp for this or use existing settings+# If you want to test it, use the following branch+# https://gitlab.com/ananicy-cpp/ananicy-cpp/-/tree/feature/latency-nice+_latency_nice=+if [ -n "$_use_llvm_lto" ]; thenpkgsuffix=cachyos-${_cpusched}-ltopkgbase=linux-$pkgsuffix@@ -249,6 +270,14 @@ fiif [ -n "$_bcachefs" ]; thensource+=("${_patchsource}/misc/0001-bcachefs-after-lru.patch")fi+## NEST Support+if [ -n "$_nest" ]; then+ source+=("${_patchsource}/sched/0001-NEST.patch")+fi+## Latency NICE Support+if [ -n "$_latency_nice" ]; then+ source+=("${_patchsource}/misc/0001-Add-latency-priority-for-CFS-class.patch")+fiexport KBUILD_BUILD_HOST=cachyosexport KBUILD_BUILD_USER=$pkgbasediff --git a/linux-cachyos-cfs/PKGBUILD b/linux-cachyos-cfs/PKGBUILDindex 0e1b39ce..62b2b6a8 100644--- a/linux-cachyos-cfs/PKGBUILD+++ b/linux-cachyos-cfs/PKGBUILD@@ -155,6 +155,27 @@ _build_zfs=# Enable bcachefs_bcachefs=+# Enable NEST+# NEST is a experimental cfs scheduler you can find more about here:+# https://www.phoronix.com/news/Nest-Linux-Scheduling-Warm-Core+# https://gitlab.inria.fr/nest-public/nest-artifact/-/tree/main+# ATTENTION!:NEST is only active if you start applications with+# taskset -c $THREADS application+# example: taskset -c 0-23 application+# ATTENTION!:Just works together with the BORE Scheduler and CFS Scheduler+_nest=++# Enable LATENCY NICE+# Latency nice is a approach to sets latency-nice as a per-task attribute+# It can improve the latency of applications similar to sched_nice, but focused on the latency+# You need to set the values per task+# Ananicy-cpp has a experimental implementation for this+# It converts sched_nice to latency_nice and set this per task+# You need to configure ananicy-cpp for this or use existing settings+# If you want to test it, use the following branch+# https://gitlab.com/ananicy-cpp/ananicy-cpp/-/tree/feature/latency-nice+_latency_nice=+if [ -n "$_use_llvm_lto" ]; thenpkgsuffix=cachyos-${_cpusched}-ltopkgbase=linux-$pkgsuffix@@ -249,6 +270,14 @@ fiif [ -n "$_bcachefs" ]; thensource+=("${_patchsource}/misc/0001-bcachefs-after-lru.patch")fi+## NEST Support+if [ -n "$_nest" ]; then+ source+=("${_patchsource}/sched/0001-NEST.patch")+fi+## Latency NICE Support+if [ -n "$_latency_nice" ]; then+ source+=("${_patchsource}/misc/0001-Add-latency-priority-for-CFS-class.patch")+fiexport KBUILD_BUILD_HOST=cachyosexport KBUILD_BUILD_USER=$pkgbasediff --git a/linux-cachyos-hardened/PKGBUILD b/linux-cachyos-hardened/PKGBUILDindex 03355087..5e3ff127 100644--- a/linux-cachyos-hardened/PKGBUILD+++ b/linux-cachyos-hardened/PKGBUILD@@ -155,6 +155,27 @@ _build_zfs=# Enable bcachefs_bcachefs=+# Enable NEST+# NEST is a experimental cfs scheduler you can find more about here:+# https://www.phoronix.com/news/Nest-Linux-Scheduling-Warm-Core+# https://gitlab.inria.fr/nest-public/nest-artifact/-/tree/main+# ATTENTION!:NEST is only active if you start applications with+# taskset -c $THREADS application+# example: taskset -c 0-23 application+# ATTENTION!:Just works together with the BORE Scheduler and CFS Scheduler+_nest=++# Enable LATENCY NICE+# Latency nice is a approach to sets latency-nice as a per-task attribute+# It can improve the latency of applications similar to sched_nice, but focused on the latency+# You need to set the values per task+# Ananicy-cpp has a experimental implementation for this+# It converts sched_nice to latency_nice and set this per task+# You need to configure ananicy-cpp for this or use existing settings+# If you want to test it, use the following branch+# https://gitlab.com/ananicy-cpp/ananicy-cpp/-/tree/feature/latency-nice+_latency_nice=+if [ -n "$_use_llvm_lto" ]; thenpkgsuffix=cachyos-${_cpusched}-ltopkgbase=linux-$pkgsuffix@@ -253,6 +274,14 @@ fiif [ -n "$_bcachefs" ]; thensource+=("${_patchsource}/misc/0001-bcachefs-after-lru.patch")fi+## NEST Support+if [ -n "$_nest" ]; then+ source+=("${_patchsource}/sched/0001-NEST.patch")+fi+## Latency NICE Support+if [ -n "$_latency_nice" ]; then+ source+=("${_patchsource}/misc/0001-Add-latency-priority-for-CFS-class.patch")+fiexport KBUILD_BUILD_HOST=cachyosexport KBUILD_BUILD_USER=$pkgbasediff --git a/linux-cachyos-pds/PKGBUILD b/linux-cachyos-pds/PKGBUILDindex 8896ca7a..4eab31c0 100644--- a/linux-cachyos-pds/PKGBUILD+++ b/linux-cachyos-pds/PKGBUILD@@ -155,6 +155,27 @@ _build_zfs=# Enable bcachefs_bcachefs=+# Enable NEST+# NEST is a experimental cfs scheduler you can find more about here:+# https://www.phoronix.com/news/Nest-Linux-Scheduling-Warm-Core+# https://gitlab.inria.fr/nest-public/nest-artifact/-/tree/main+# ATTENTION!:NEST is only active if you start applications with+# taskset -c $THREADS application+# example: taskset -c 0-23 application+# ATTENTION!:Just works together with the BORE Scheduler and CFS Scheduler+_nest=++# Enable LATENCY NICE+# Latency nice is a approach to sets latency-nice as a per-task attribute+# It can improve the latency of applications similar to sched_nice, but focused on the latency+# You need to set the values per task+# Ananicy-cpp has a experimental implementation for this+# It converts sched_nice to latency_nice and set this per task+# You need to configure ananicy-cpp for this or use existing settings+# If you want to test it, use the following branch+# https://gitlab.com/ananicy-cpp/ananicy-cpp/-/tree/feature/latency-nice+_latency_nice=+if [ -n "$_use_llvm_lto" ]; thenpkgsuffix=cachyos-${_cpusched}-ltopkgbase=linux-$pkgsuffix@@ -249,6 +270,14 @@ fiif [ -n "$_bcachefs" ]; thensource+=("${_patchsource}/misc/0001-bcachefs-after-lru.patch")fi+## NEST Support+if [ -n "$_nest" ]; then+ source+=("${_patchsource}/sched/0001-NEST.patch")+fi+## Latency NICE Support+if [ -n "$_latency_nice" ]; then+ source+=("${_patchsource}/misc/0001-Add-latency-priority-for-CFS-class.patch")+fiexport KBUILD_BUILD_HOST=cachyosexport KBUILD_BUILD_USER=$pkgbasediff --git a/linux-cachyos-rc/PKGBUILD b/linux-cachyos-rc/PKGBUILDindex 44644a99..d8752c61 100644--- a/linux-cachyos-rc/PKGBUILD+++ b/linux-cachyos-rc/PKGBUILD@@ -1,4 +1,4 @@-# Maintainer: Peter Jung ptr1337 <[email protected]> && Piotr Gorski <[email protected]>+# Maintainer: Peter Jung ptr1337 <[email protected]> && Piotr Gorski <[email protected]># Contributor: Jan Alexander Steffens (heftig) <[email protected]># Contributor: Tobias Powalowski <[email protected]># Contributor: Thomas Baechler <[email protected]>@@ -158,6 +158,26 @@ _bcachefs=# Enable RT kernel_rtkernel=+# Enable NEST+# NEST is a experimental cfs scheduler you can find more about here:+# https://www.phoronix.com/news/Nest-Linux-Scheduling-Warm-Core+# https://gitlab.inria.fr/nest-public/nest-artifact/-/tree/main+# ATTENTION!:NEST is only active if you start applications with+# taskset -c $THREADS application+# example: taskset -c 0-23 application+# ATTENTION!:Just works together with the BORE Scheduler and CFS Scheduler+_nest=++# Enable LATENCY NICE+# Latency nice is a approach to sets latency-nice as a per-task attribute+# It can improve the latency of applications similar to sched_nice, but focused on the latency+# You need to set the values per task+# Ananicy-cpp has a experimental implementation for this+# It converts sched_nice to latency_nice and set this per task+# You need to configure ananicy-cpp for this or use existing settings+# If you want to test it, use the following branch+# https://gitlab.com/ananicy-cpp/ananicy-cpp/-/tree/feature/latency-nice+_latency_nice=if [[ -n "$_use_llvm_lto" && -n "$_rtkernel" ]]; thenpkgsuffix=cachyos-rt-rc-lto@@ -261,11 +281,18 @@ fiif [ -n "$_bcachefs" ]; thensource+=("${_patchsource}/misc/0001-bcachefs-after-lru.patch")fi-## rt kernelif [ -n "$_rtkernel" ]; thensource+=("${_patchsource}/misc/0001-rt-rc.patch")fi+## NEST Support+if [ -n "$_nest" ]; then+ source+=("${_patchsource}/sched/0001-NEST.patch")+fi+## Latency NICE Support+if [ -n "$_latency_nice" ]; then+ source+=("${_patchsource}/misc/0001-Add-latency-priority-for-CFS-class.patch")+fiexport KBUILD_BUILD_HOST=cachyosexport KBUILD_BUILD_USER=$pkgbasediff --git a/linux-cachyos-tt/PKGBUILD b/linux-cachyos-tt/PKGBUILDindex a0a57cb8..3c6be532 100644--- a/linux-cachyos-tt/PKGBUILD+++ b/linux-cachyos-tt/PKGBUILD@@ -155,6 +155,27 @@ _build_zfs=# Enable bcachefs_bcachefs=+# Enable NEST+# NEST is a experimental cfs scheduler you can find more about here:+# https://www.phoronix.com/news/Nest-Linux-Scheduling-Warm-Core+# https://gitlab.inria.fr/nest-public/nest-artifact/-/tree/main+# ATTENTION!:NEST is only active if you start applications with+# taskset -c $THREADS application+# example: taskset -c 0-23 application+# ATTENTION!:Just works together with the BORE Scheduler and CFS Scheduler+_nest=++# Enable LATENCY NICE+# Latency nice is a approach to sets latency-nice as a per-task attribute+# It can improve the latency of applications similar to sched_nice, but focused on the latency+# You need to set the values per task+# Ananicy-cpp has a experimental implementation for this+# It converts sched_nice to latency_nice and set this per task+# You need to configure ananicy-cpp for this or use existing settings+# If you want to test it, use the following branch+# https://gitlab.com/ananicy-cpp/ananicy-cpp/-/tree/feature/latency-nice+_latency_nice=+if [ -n "$_use_llvm_lto" ]; thenpkgsuffix=cachyos-${_cpusched}-ltopkgbase=linux-$pkgsuffix@@ -249,6 +270,14 @@ fiif [ -n "$_bcachefs" ]; thensource+=("${_patchsource}/misc/0001-bcachefs-after-lru.patch")fi+## NEST Support+if [ -n "$_nest" ]; then+ source+=("${_patchsource}/sched/0001-NEST.patch")+fi+## Latency NICE Support+if [ -n "$_latency_nice" ]; then+ source+=("${_patchsource}/misc/0001-Add-latency-priority-for-CFS-class.patch")+fiexport KBUILD_BUILD_HOST=cachyosexport KBUILD_BUILD_USER=$pkgbasediff --git a/linux-cachyos/PKGBUILD b/linux-cachyos/PKGBUILDindex d28bd33f..4fe932ce 100644--- a/linux-cachyos/PKGBUILD+++ b/linux-cachyos/PKGBUILD@@ -155,6 +155,27 @@ _build_zfs=# Enable bcachefs_bcachefs=+# Enable NEST+# NEST is a experimental cfs scheduler you can find more about here:+# https://www.phoronix.com/news/Nest-Linux-Scheduling-Warm-Core+# https://gitlab.inria.fr/nest-public/nest-artifact/-/tree/main+# ATTENTION!:NEST is only active if you start applications with+# taskset -c $THREADS application+# example: taskset -c 0-23 application+# ATTENTION!:Just works together with the BORE Scheduler and CFS Scheduler+_nest=++# Enable LATENCY NICE+# Latency nice is a approach to sets latency-nice as a per-task attribute+# It can improve the latency of applications similar to sched_nice, but focused on the latency+# You need to set the values per task+# Ananicy-cpp has a experimental implementation for this+# It converts sched_nice to latency_nice and set this per task+# You need to configure ananicy-cpp for this or use existing settings+# If you want to test it, use the following branch+# https://gitlab.com/ananicy-cpp/ananicy-cpp/-/tree/feature/latency-nice+_latency_nice=+if [ -n "$_use_llvm_lto" ]; thenpkgsuffix=cachyos-ltopkgbase=linux-$pkgsuffix@@ -249,6 +270,14 @@ fiif [ -n "$_bcachefs" ]; thensource+=("${_patchsource}/misc/0001-bcachefs-after-lru.patch")fi+## NEST Support+if [ -n "$_nest" ]; then+ source+=("${_patchsource}/sched/0001-NEST.patch")+fi+## Latency NICE Support+if [ -n "$_latency_nice" ]; then+ source+=("${_patchsource}/misc/0001-Add-latency-priority-for-CFS-class.patch")+fiexport KBUILD_BUILD_HOST=cachyosexport KBUILD_BUILD_USER=$pkgbasediff --git a/linux-cacule-rdb/PKGBUILD b/linux-cacule-rdb/PKGBUILDindex f27fbac7..b691fcc6 100644--- a/linux-cacule-rdb/PKGBUILD+++ b/linux-cacule-rdb/PKGBUILD@@ -155,6 +155,27 @@ _build_zfs=# Enable bcachefs_bcachefs=+# Enable NEST+# NEST is a experimental cfs scheduler you can find more about here:+# https://www.phoronix.com/news/Nest-Linux-Scheduling-Warm-Core+# https://gitlab.inria.fr/nest-public/nest-artifact/-/tree/main+# ATTENTION!:NEST is only active if you start applications with+# taskset -c $THREADS application+# example: taskset -c 0-23 application+# ATTENTION!:Just works together with the BORE Scheduler and CFS Scheduler+_nest=++# Enable LATENCY NICE+# Latency nice is a approach to sets latency-nice as a per-task attribute+# It can improve the latency of applications similar to sched_nice, but focused on the latency+# You need to set the values per task+# Ananicy-cpp has a experimental implementation for this+# It converts sched_nice to latency_nice and set this per task+# You need to configure ananicy-cpp for this or use existing settings+# If you want to test it, use the following branch+# https://gitlab.com/ananicy-cpp/ananicy-cpp/-/tree/feature/latency-nice+_latency_nice=+if [ -n "$_use_llvm_lto" ]; thenpkgsuffix=${_cpusched}-ltopkgbase=linux-$pkgsuffix@@ -249,6 +270,14 @@ fiif [ -n "$_bcachefs" ]; thensource+=("${_patchsource}/misc/0001-bcachefs-after-lru.patch")fi+## NEST Support+if [ -n "$_nest" ]; then+ source+=("${_patchsource}/sched/0001-NEST.patch")+fi+## Latency NICE Support+if [ -n "$_latency_nice" ]; then+ source+=("${_patchsource}/misc/0001-Add-latency-priority-for-CFS-class.patch")+fiexport KBUILD_BUILD_HOST=cachyosexport KBUILD_BUILD_USER=$pkgbasediff --git a/linux-cacule/PKGBUILD b/linux-cacule/PKGBUILDindex 819225be..faafc4e6 100644--- a/linux-cacule/PKGBUILD+++ b/linux-cacule/PKGBUILD@@ -155,6 +155,27 @@ _build_zfs=# Enable bcachefs_bcachefs=+# Enable NEST+# NEST is a experimental cfs scheduler you can find more about here:+# https://www.phoronix.com/news/Nest-Linux-Scheduling-Warm-Core+# https://gitlab.inria.fr/nest-public/nest-artifact/-/tree/main+# ATTENTION!:NEST is only active if you start applications with+# taskset -c $THREADS application+# example: taskset -c 0-23 application+# ATTENTION!:Just works together with the BORE Scheduler and CFS Scheduler+_nest=++# Enable LATENCY NICE+# Latency nice is a approach to sets latency-nice as a per-task attribute+# It can improve the latency of applications similar to sched_nice, but focused on the latency+# You need to set the values per task+# Ananicy-cpp has a experimental implementation for this+# It converts sched_nice to latency_nice and set this per task+# You need to configure ananicy-cpp for this or use existing settings+# If you want to test it, use the following branch+# https://gitlab.com/ananicy-cpp/ananicy-cpp/-/tree/feature/latency-nice+_latency_nice=+if [ -n "$_use_llvm_lto" ]; thenpkgsuffix=${_cpusched}-ltopkgbase=linux-$pkgsuffix@@ -249,6 +270,14 @@ fiif [ -n "$_bcachefs" ]; thensource+=("${_patchsource}/misc/0001-bcachefs-after-lru.patch")fi+## NEST Support+if [ -n "$_nest" ]; then+ source+=("${_patchsource}/sched/0001-NEST.patch")+fi+## Latency NICE Support+if [ -n "$_latency_nice" ]; then+ source+=("${_patchsource}/misc/0001-Add-latency-priority-for-CFS-class.patch")+fiexport KBUILD_BUILD_HOST=cachyosexport KBUILD_BUILD_USER=$pkgbasediff --git a/linux-tt/PKGBUILD b/linux-tt/PKGBUILDindex 618b9874..aa1ea5d4 100644--- a/linux-tt/PKGBUILD+++ b/linux-tt/PKGBUILD@@ -155,6 +155,27 @@ _build_zfs=# Enable bcachefs_bcachefs=+# Enable NEST+# NEST is a experimental cfs scheduler you can find more about here:+# https://www.phoronix.com/news/Nest-Linux-Scheduling-Warm-Core+# https://gitlab.inria.fr/nest-public/nest-artifact/-/tree/main+# ATTENTION!:NEST is only active if you start applications with+# taskset -c $THREADS application+# example: taskset -c 0-23 application+# ATTENTION!:Just works together with the BORE Scheduler and CFS Scheduler+_nest=++# Enable LATENCY NICE+# Latency nice is a approach to sets latency-nice as a per-task attribute+# It can improve the latency of applications similar to sched_nice, but focused on the latency+# You need to set the values per task+# Ananicy-cpp has a experimental implementation for this+# It converts sched_nice to latency_nice and set this per task+# You need to configure ananicy-cpp for this or use existing settings+# If you want to test it, use the following branch+# https://gitlab.com/ananicy-cpp/ananicy-cpp/-/tree/feature/latency-nice+_latency_nice=+if [ -n "$_use_llvm_lto" ]; thenpkgsuffix=${_cpusched}-ltopkgbase=linux-$pkgsuffix@@ -249,6 +270,14 @@ fiif [ -n "$_bcachefs" ]; thensource+=("${_patchsource}/misc/0001-bcachefs-after-lru.patch")fi+## NEST Support+if [ -n "$_nest" ]; then+ source+=("${_patchsource}/sched/0001-NEST.patch")+fi+## Latency NICE Support+if [ -n "$_latency_nice" ]; then+ source+=("${_patchsource}/misc/0001-Add-latency-priority-for-CFS-class.patch")+fiexport KBUILD_BUILD_HOST=cachyosexport KBUILD_BUILD_USER=$pkgbase