Archlinux Kernel based on different schedulers and some other performance improvements.
Shell archlinuxbaby-schedcachycachy-schedulercachyoscacule-schedkernellinux-kernelperformanceperformance-tuning
Add nr_cpus flag
Piotr Gorski3e8a9f65e108
diff --git a/linux-bore/.SRCINFO b/linux-bore/.SRCINFOindex a3bc17f8..578ab70a 100644--- a/linux-bore/.SRCINFO+++ b/linux-bore/.SRCINFO@@ -1,3 +1,5 @@+# Generated by makepkg 6.0.1+# Tue Sep 20 13:47:46 UTC 2022pkgbase = linux-borepkgdesc = Linux BORE scheduler Kernel by CachyOS with other patches and improvementspkgver = 5.19.10diff --git a/linux-bore/PKGBUILD b/linux-bore/PKGBUILDindex 9a43ec89..7eaaa7a0 100644--- a/linux-bore/PKGBUILD+++ b/linux-bore/PKGBUILD@@ -61,6 +61,9 @@ _use_current=### Enable KBUILD_CFLAGS -O3_cc_harder=y+### Set this to your number of threads you have in your machine otherwise it will default to 128+_nr_cpus=+### Set performance governor as default_per_gov=y@@ -421,6 +424,15 @@ prepare() {--disable NEED_MULTIPLE_NODESfi+ ### Setting NR_CPUS+ if [ -n "$_nr_cpus" ]; then+ echo "Setting custom NR_CPUS..."+ scripts/config --set-val NR_CPUS "$_nr_cpus"+ else+ echo "Setting default NR_CPUS..."+ scripts/config --set-val NR_CPUS 128+ fi+### Disable MQ Deadline I/O schedulerif [ -n "$_mq_deadline_disable" ]; thenecho "Disabling MQ-Deadline I/O scheduler..."diff --git a/linux-cachyos-bmq/.SRCINFO b/linux-cachyos-bmq/.SRCINFOindex 32a3c903..8ab8fd0e 100644--- a/linux-cachyos-bmq/.SRCINFO+++ b/linux-cachyos-bmq/.SRCINFO@@ -1,3 +1,5 @@+# Generated by makepkg 6.0.1+# Tue Sep 20 13:50:36 UTC 2022pkgbase = linux-cachyos-bmqpkgdesc = Linux BMQ scheduler Kernel by CachyOS with other patches and improvementspkgver = 5.19.10diff --git a/linux-cachyos-bmq/PKGBUILD b/linux-cachyos-bmq/PKGBUILDindex f07589d4..5e0a2499 100644--- a/linux-cachyos-bmq/PKGBUILD+++ b/linux-cachyos-bmq/PKGBUILD@@ -61,6 +61,9 @@ _use_current=### Enable KBUILD_CFLAGS -O3_cc_harder=y+### Set this to your number of threads you have in your machine otherwise it will default to 128+_nr_cpus=+### Set performance governor as default_per_gov=y@@ -421,6 +424,15 @@ prepare() {--disable NEED_MULTIPLE_NODESfi+ ### Setting NR_CPUS+ if [ -n "$_nr_cpus" ]; then+ echo "Setting custom NR_CPUS..."+ scripts/config --set-val NR_CPUS "$_nr_cpus"+ else+ echo "Setting default NR_CPUS..."+ scripts/config --set-val NR_CPUS 128+ fi+### Disable MQ Deadline I/O schedulerif [ -n "$_mq_deadline_disable" ]; thenecho "Disabling MQ-Deadline I/O scheduler..."diff --git a/linux-cachyos-bore/.SRCINFO b/linux-cachyos-bore/.SRCINFOindex fd96c81c..e86105af 100644--- a/linux-cachyos-bore/.SRCINFO+++ b/linux-cachyos-bore/.SRCINFO@@ -1,3 +1,5 @@+# Generated by makepkg 6.0.1+# Tue Sep 20 13:51:41 UTC 2022pkgbase = linux-cachyos-borepkgdesc = Linux BORE scheduler Kernel by CachyOS with other patches and improvementspkgver = 5.19.10diff --git a/linux-cachyos-bore/PKGBUILD b/linux-cachyos-bore/PKGBUILDindex 8d7d5ea9..f15b6745 100644--- a/linux-cachyos-bore/PKGBUILD+++ b/linux-cachyos-bore/PKGBUILD@@ -61,6 +61,9 @@ _use_current=### Enable KBUILD_CFLAGS -O3_cc_harder=y+### Set this to your number of threads you have in your machine otherwise it will default to 128+_nr_cpus=+### Set performance governor as default_per_gov=y@@ -421,6 +424,15 @@ prepare() {--disable NEED_MULTIPLE_NODESfi+ ### Setting NR_CPUS+ if [ -n "$_nr_cpus" ]; then+ echo "Setting custom NR_CPUS..."+ scripts/config --set-val NR_CPUS "$_nr_cpus"+ else+ echo "Setting default NR_CPUS..."+ scripts/config --set-val NR_CPUS 128+ fi+### Disable MQ Deadline I/O schedulerif [ -n "$_mq_deadline_disable" ]; thenecho "Disabling MQ-Deadline I/O scheduler..."diff --git a/linux-cachyos-cacule/.SRCINFO b/linux-cachyos-cacule/.SRCINFOindex f517bfa9..9eaff26d 100644--- a/linux-cachyos-cacule/.SRCINFO+++ b/linux-cachyos-cacule/.SRCINFO@@ -1,3 +1,5 @@+# Generated by makepkg 6.0.1+# Tue Sep 20 13:53:08 UTC 2022pkgbase = linux-cachyos-caculepkgdesc = Linux cacULE scheduler Kernel by CachyOS with other patches and improvementspkgver = 5.19.10diff --git a/linux-cachyos-cacule/PKGBUILD b/linux-cachyos-cacule/PKGBUILDindex 377de2b5..3b49fc69 100644--- a/linux-cachyos-cacule/PKGBUILD+++ b/linux-cachyos-cacule/PKGBUILD@@ -61,6 +61,9 @@ _use_current=### Enable KBUILD_CFLAGS -O3_cc_harder=y+### Set this to your number of threads you have in your machine otherwise it will default to 128+_nr_cpus=+### Set performance governor as default_per_gov=y@@ -421,6 +424,15 @@ prepare() {--disable NEED_MULTIPLE_NODESfi+ ### Setting NR_CPUS+ if [ -n "$_nr_cpus" ]; then+ echo "Setting custom NR_CPUS..."+ scripts/config --set-val NR_CPUS "$_nr_cpus"+ else+ echo "Setting default NR_CPUS..."+ scripts/config --set-val NR_CPUS 128+ fi+### Disable MQ Deadline I/O schedulerif [ -n "$_mq_deadline_disable" ]; thenecho "Disabling MQ-Deadline I/O scheduler..."diff --git a/linux-cachyos-cfs/.SRCINFO b/linux-cachyos-cfs/.SRCINFOindex 90bb710c..4023f833 100644--- a/linux-cachyos-cfs/.SRCINFO+++ b/linux-cachyos-cfs/.SRCINFO@@ -1,3 +1,5 @@+# Generated by makepkg 6.0.1+# Tue Sep 20 13:54:32 UTC 2022pkgbase = linux-cachyos-cfspkgdesc = Linux CFS scheduler Kernel by CachyOS with other patches and improvementspkgver = 5.19.10diff --git a/linux-cachyos-cfs/PKGBUILD b/linux-cachyos-cfs/PKGBUILDindex 17d61264..0baaf483 100644--- a/linux-cachyos-cfs/PKGBUILD+++ b/linux-cachyos-cfs/PKGBUILD@@ -61,6 +61,9 @@ _use_current=### Enable KBUILD_CFLAGS -O3_cc_harder=y+### Set this to your number of threads you have in your machine otherwise it will default to 128+_nr_cpus=+### Set performance governor as default_per_gov=y@@ -421,6 +424,15 @@ prepare() {--disable NEED_MULTIPLE_NODESfi+ ### Setting NR_CPUS+ if [ -n "$_nr_cpus" ]; then+ echo "Setting custom NR_CPUS..."+ scripts/config --set-val NR_CPUS "$_nr_cpus"+ else+ echo "Setting default NR_CPUS..."+ scripts/config --set-val NR_CPUS 128+ fi+### Disable MQ Deadline I/O schedulerif [ -n "$_mq_deadline_disable" ]; thenecho "Disabling MQ-Deadline I/O scheduler..."diff --git a/linux-cachyos-hardened/.SRCINFO b/linux-cachyos-hardened/.SRCINFOindex 4b841704..0baf10a2 100644--- a/linux-cachyos-hardened/.SRCINFO+++ b/linux-cachyos-hardened/.SRCINFO@@ -1,3 +1,5 @@+# Generated by makepkg 6.0.1+# Tue Sep 20 13:55:32 UTC 2022pkgbase = linux-cachyos-hardenedpkgdesc = Linux BORE scheduler Kernel by CachyOS with other patches and improvementspkgver = 5.19.10diff --git a/linux-cachyos-hardened/PKGBUILD b/linux-cachyos-hardened/PKGBUILDindex e76bc1c7..7b98b551 100644--- a/linux-cachyos-hardened/PKGBUILD+++ b/linux-cachyos-hardened/PKGBUILD@@ -61,6 +61,9 @@ _use_current=### Enable KBUILD_CFLAGS -O3_cc_harder=y+### Set this to your number of threads you have in your machine otherwise it will default to 128+_nr_cpus=+### Set performance governor as default_per_gov=y@@ -425,6 +428,15 @@ prepare() {--disable NEED_MULTIPLE_NODESfi+ ### Setting NR_CPUS+ if [ -n "$_nr_cpus" ]; then+ echo "Setting custom NR_CPUS..."+ scripts/config --set-val NR_CPUS "$_nr_cpus"+ else+ echo "Setting default NR_CPUS..."+ scripts/config --set-val NR_CPUS 128+ fi+### Disable MQ Deadline I/O schedulerif [ -n "$_mq_deadline_disable" ]; thenecho "Disabling MQ-Deadline I/O scheduler..."diff --git a/linux-cachyos-pds/.SRCINFO b/linux-cachyos-pds/.SRCINFOindex fcdd9a68..edf693e1 100644--- a/linux-cachyos-pds/.SRCINFO+++ b/linux-cachyos-pds/.SRCINFO@@ -1,3 +1,5 @@+# Generated by makepkg 6.0.1+# Tue Sep 20 13:56:21 UTC 2022pkgbase = linux-cachyos-pdspkgdesc = Linux BORE scheduler Kernel by CachyOS with other patches and improvementspkgver = 5.19.10diff --git a/linux-cachyos-pds/PKGBUILD b/linux-cachyos-pds/PKGBUILDindex 8ee3be34..13555450 100644--- a/linux-cachyos-pds/PKGBUILD+++ b/linux-cachyos-pds/PKGBUILD@@ -61,6 +61,9 @@ _use_current=### Enable KBUILD_CFLAGS -O3_cc_harder=y+### Set this to your number of threads you have in your machine otherwise it will default to 128+_nr_cpus=+### Set performance governor as default_per_gov=y@@ -421,6 +424,15 @@ prepare() {--disable NEED_MULTIPLE_NODESfi+ ### Setting NR_CPUS+ if [ -n "$_nr_cpus" ]; then+ echo "Setting custom NR_CPUS..."+ scripts/config --set-val NR_CPUS "$_nr_cpus"+ else+ echo "Setting default NR_CPUS..."+ scripts/config --set-val NR_CPUS 128+ fi+### Disable MQ Deadline I/O schedulerif [ -n "$_mq_deadline_disable" ]; thenecho "Disabling MQ-Deadline I/O scheduler..."diff --git a/linux-cachyos-rc/.SRCINFO b/linux-cachyos-rc/.SRCINFOindex f12daccf..77a07406 100644--- a/linux-cachyos-rc/.SRCINFO+++ b/linux-cachyos-rc/.SRCINFO@@ -1,3 +1,5 @@+# Generated by makepkg 6.0.1+# Tue Sep 20 13:58:28 UTC 2022pkgbase = linux-cachyos-rcpkgdesc = Linux BORE scheduler Kernel by CachyOS and with some other patches and other improvementspkgver = 6.0.rc6diff --git a/linux-cachyos-rc/PKGBUILD b/linux-cachyos-rc/PKGBUILDindex 4c3643c6..deefa919 100644--- a/linux-cachyos-rc/PKGBUILD+++ b/linux-cachyos-rc/PKGBUILD@@ -49,6 +49,12 @@ _localmodcfg=# a new kernel is released, but again, convenient for package bumps._use_current=+### Enable KBUILD_CFLAGS -O3+_cc_harder=y++### Set this to your number of threads you have in your machine otherwise it will default to 128+_nr_cpus=+### Set performance governor as default_per_gov=y@@ -441,6 +447,15 @@ prepare() {--disable NEED_MULTIPLE_NODESfi+ ### Setting NR_CPUS+ if [ -n "$_nr_cpus" ]; then+ echo "Setting custom NR_CPUS..."+ scripts/config --set-val NR_CPUS "$_nr_cpus"+ else+ echo "Setting default NR_CPUS..."+ scripts/config --set-val NR_CPUS 128+ fi+### Disable MQ Deadline I/O schedulerif [ -n "$_mq_deadline_disable" ]; thenecho "Disabling MQ-Deadline I/O scheduler..."diff --git a/linux-cachyos-tt/.SRCINFO b/linux-cachyos-tt/.SRCINFOindex e3278e47..3270aad0 100644--- a/linux-cachyos-tt/.SRCINFO+++ b/linux-cachyos-tt/.SRCINFO@@ -1,3 +1,5 @@+# Generated by makepkg 6.0.1+# Tue Sep 20 13:59:14 UTC 2022pkgbase = linux-cachyos-ttpkgdesc = Linux TT scheduler Kernel by CachyOS with other patches and improvementspkgver = 5.19.10diff --git a/linux-cachyos-tt/PKGBUILD b/linux-cachyos-tt/PKGBUILDindex 85d7797f..e34a4224 100644--- a/linux-cachyos-tt/PKGBUILD+++ b/linux-cachyos-tt/PKGBUILD@@ -61,6 +61,9 @@ _use_current=### Enable KBUILD_CFLAGS -O3_cc_harder=y+### Set this to your number of threads you have in your machine otherwise it will default to 128+_nr_cpus=+### Set performance governor as default_per_gov=y@@ -421,6 +424,15 @@ prepare() {--disable NEED_MULTIPLE_NODESfi+ ### Setting NR_CPUS+ if [ -n "$_nr_cpus" ]; then+ echo "Setting custom NR_CPUS..."+ scripts/config --set-val NR_CPUS "$_nr_cpus"+ else+ echo "Setting default NR_CPUS..."+ scripts/config --set-val NR_CPUS 128+ fi+### Disable MQ Deadline I/O schedulerif [ -n "$_mq_deadline_disable" ]; thenecho "Disabling MQ-Deadline I/O scheduler..."diff --git a/linux-cachyos/.SRCINFO b/linux-cachyos/.SRCINFOindex 0f7079da..f1217c34 100644--- a/linux-cachyos/.SRCINFO+++ b/linux-cachyos/.SRCINFO@@ -1,3 +1,5 @@+# Generated by makepkg 6.0.1+# Tue Sep 20 13:49:23 UTC 2022pkgbase = linux-cachyospkgdesc = Linux BORE scheduler Kernel by CachyOS with other patches and improvementspkgver = 5.19.10diff --git a/linux-cachyos/PKGBUILD b/linux-cachyos/PKGBUILDindex 359b4faf..7d3830ce 100644--- a/linux-cachyos/PKGBUILD+++ b/linux-cachyos/PKGBUILD@@ -61,6 +61,9 @@ _use_current=### Enable KBUILD_CFLAGS -O3_cc_harder=y+### Set this to your number of threads you have in your machine otherwise it will default to 128+_nr_cpus=+### Set performance governor as default_per_gov=y@@ -421,6 +424,15 @@ prepare() {--disable NEED_MULTIPLE_NODESfi+ ### Setting NR_CPUS+ if [ -n "$_nr_cpus" ]; then+ echo "Setting custom NR_CPUS..."+ scripts/config --set-val NR_CPUS "$_nr_cpus"+ else+ echo "Setting default NR_CPUS..."+ scripts/config --set-val NR_CPUS 128+ fi+### Disable MQ Deadline I/O schedulerif [ -n "$_mq_deadline_disable" ]; thenecho "Disabling MQ-Deadline I/O scheduler..."diff --git a/linux-cacule-rdb/.SRCINFO b/linux-cacule-rdb/.SRCINFOindex 87426d53..6b230311 100644--- a/linux-cacule-rdb/.SRCINFO+++ b/linux-cacule-rdb/.SRCINFO@@ -1,3 +1,5 @@+# Generated by makepkg 6.0.1+# Tue Sep 20 14:00:45 UTC 2022pkgbase = linux-cacule-rdbpkgdesc = Linux cacULE-RDB scheduler Kernel by CachyOS with other patches and improvementspkgver = 5.19.10diff --git a/linux-cacule-rdb/PKGBUILD b/linux-cacule-rdb/PKGBUILDindex a0e19849..b16c7bcb 100644--- a/linux-cacule-rdb/PKGBUILD+++ b/linux-cacule-rdb/PKGBUILD@@ -61,6 +61,9 @@ _use_current=### Enable KBUILD_CFLAGS -O3_cc_harder=y+### Set this to your number of threads you have in your machine otherwise it will default to 128+_nr_cpus=+### Set performance governor as default_per_gov=y@@ -421,6 +424,15 @@ prepare() {--disable NEED_MULTIPLE_NODESfi+ ### Setting NR_CPUS+ if [ -n "$_nr_cpus" ]; then+ echo "Setting custom NR_CPUS..."+ scripts/config --set-val NR_CPUS "$_nr_cpus"+ else+ echo "Setting default NR_CPUS..."+ scripts/config --set-val NR_CPUS 128+ fi+### Disable MQ Deadline I/O schedulerif [ -n "$_mq_deadline_disable" ]; thenecho "Disabling MQ-Deadline I/O scheduler..."diff --git a/linux-cacule/.SRCINFO b/linux-cacule/.SRCINFOindex 8a08f5e7..8b1cafd0 100644--- a/linux-cacule/.SRCINFO+++ b/linux-cacule/.SRCINFO@@ -1,3 +1,5 @@+# Generated by makepkg 6.0.1+# Tue Sep 20 14:00:00 UTC 2022pkgbase = linux-caculepkgdesc = Linux BORE scheduler Kernel by CachyOS with other patches and improvementspkgver = 5.19.10diff --git a/linux-cacule/PKGBUILD b/linux-cacule/PKGBUILDindex 52232156..7b420c02 100644--- a/linux-cacule/PKGBUILD+++ b/linux-cacule/PKGBUILD@@ -61,6 +61,9 @@ _use_current=### Enable KBUILD_CFLAGS -O3_cc_harder=y+### Set this to your number of threads you have in your machine otherwise it will default to 128+_nr_cpus=+### Set performance governor as default_per_gov=y@@ -421,6 +424,15 @@ prepare() {--disable NEED_MULTIPLE_NODESfi+ ### Setting NR_CPUS+ if [ -n "$_nr_cpus" ]; then+ echo "Setting custom NR_CPUS..."+ scripts/config --set-val NR_CPUS "$_nr_cpus"+ else+ echo "Setting default NR_CPUS..."+ scripts/config --set-val NR_CPUS 128+ fi+### Disable MQ Deadline I/O schedulerif [ -n "$_mq_deadline_disable" ]; thenecho "Disabling MQ-Deadline I/O scheduler..."diff --git a/linux-tt/.SRCINFO b/linux-tt/.SRCINFOindex 11eef600..515535e7 100644--- a/linux-tt/.SRCINFO+++ b/linux-tt/.SRCINFO@@ -1,3 +1,5 @@+# Generated by makepkg 6.0.1+# Tue Sep 20 14:01:33 UTC 2022pkgbase = linux-ttpkgdesc = Linux TT scheduler Kernel by CachyOS with other patches and improvementspkgver = 5.19.10diff --git a/linux-tt/PKGBUILD b/linux-tt/PKGBUILDindex 4a0a9d2b..30dfede8 100644--- a/linux-tt/PKGBUILD+++ b/linux-tt/PKGBUILD@@ -61,6 +61,9 @@ _use_current=### Enable KBUILD_CFLAGS -O3_cc_harder=y+### Set this to your number of threads you have in your machine otherwise it will default to 128+_nr_cpus=+### Set performance governor as default_per_gov=y@@ -421,6 +424,15 @@ prepare() {--disable NEED_MULTIPLE_NODESfi+ ### Setting NR_CPUS+ if [ -n "$_nr_cpus" ]; then+ echo "Setting custom NR_CPUS..."+ scripts/config --set-val NR_CPUS "$_nr_cpus"+ else+ echo "Setting default NR_CPUS..."+ scripts/config --set-val NR_CPUS 128+ fi+### Disable MQ Deadline I/O schedulerif [ -n "$_mq_deadline_disable" ]; thenecho "Disabling MQ-Deadline I/O scheduler..."