Skip to content

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

5.18-rc7-2

Peter Jungb83c5b6b0a1b
diff --git a/linux-cachyos-rc/.SRCINFO b/linux-cachyos-rc/.SRCINFO
index f7ff1cf3..c8e53551 100755
--- a/linux-cachyos-rc/.SRCINFO
+++ b/linux-cachyos-rc/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = linux-cachyos-rc
pkgdesc = Linux CFS scheduler Kernel by CachyOS and with some other patches and other improvements
pkgver = 5.18.rc7
- pkgrel = 2
+ pkgrel = 3
url = https://github.com/CachyOS/linux-cachyos
arch = x86_64
arch = x86_64_v3
@@ -26,34 +26,38 @@ pkgbase = linux-cachyos-rc
options = !strip
source = https://github.com/torvalds/linux/archive/refs/tags/v5.18-rc7.tar.gz
source = config
+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.18/sched/0001-bore-sched.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.18/0001-arch.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.18/0001-bbr2.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.18/0001-cachy.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.18/0001-clearlinux.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.18/0001-ck-hrtimer.patch
+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.18/0001-clearlinux.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.18/0001-cpu.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.18/0001-Extend-DAMOS-for-Proactive-LRU-lists-Sorting.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.18/001-futex-winesync.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.18/0001-fixes.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.18/0001-latency_nice.patch
+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.18/0001-fs-patches.patch
+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.18/0001-futex-winesync.patch
+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.18/0001-kbuild.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.18/0001-lrng.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.18/0001-lru-le9-spf.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.18/0001-amd-perf.patch
source = auto-cpu-optimization.sh
sha256sums = da477700e2a5e91ae5b0a6f5c70b2618aab07aa39dcfe78106b9d742df411a24
- sha256sums = 044aecbf8d6ddfe2682b8c4901f05c60b0a60061041c5f3df55f3fe090071b3c
+ sha256sums = 23c95af5f4377143592316f474ea64cd4194035c72b9a9a4c07cecdafb825383
+ sha256sums = e08fb439ba424c9c8db8f41fe9328dd3e30d4405094b6972dcce3863f04a9f46
sha256sums = 2bfe45a67732a97cea01bf760a8f9fb297057c2488eb9e61720a0bb26c9b11e2
sha256sums = 56f58801a73e6d930d7680806dc734b50b69617a0eef96244627d7a946b62efd
- sha256sums = 11b13c1fdf2714c573d94fbd6d620ca47903bcfedeec6794460b371250b36253
- sha256sums = d6e9d3a5a87b4d43ceb4a415e9a15a949c755a2b65f9cf3dcc4bfac15a68af02
+ sha256sums = 64b67cdf8e76ec5694c0926bbad141f2ec26f5f8cadbe52ecb678c84fbff3af5
sha256sums = 097e6faccc2dc15e7c02fc4e22616608c7d26e515a3580f3ef1a6a2ef705ef68
+ sha256sums = d6e9d3a5a87b4d43ceb4a415e9a15a949c755a2b65f9cf3dcc4bfac15a68af02
sha256sums = c2bf57d37db1f93c5f3eeff2e2957f01618f4786613c13755f9ae6989d2b745c
sha256sums = afcb2cb90b275baf2adb67f8a9274f7f03b0f061f5b1d419b76640fb62a38b5c
- sha256sums = 179b540f8848b03ccb1a0d12e24feab63fd0576b5e9eed8f214d6e9cb790f151
sha256sums = a54bb0fe432c787971d481f9b2fcf41b24c1f7242f6fbd44fa8894149b40b52b
- sha256sums = 890e9f9953f3650a8e2523bca0fdf84ffc763367a8a792a7f3ef72eb18aed9ad
+ sha256sums = fdc1159967f6231395af4dc3f343f67591030bc8e016077d1fc205dd8ac0c60b
+ sha256sums = 67134052d1dc7332ba5a991ec54a2a957539bec4eb4a1a0ed0f0ad7daa8fe763
+ sha256sums = 3f6dcb354c2beee82603d02ceb5a774aae73d1728be56e26e795e189587967da
sha256sums = c096a4f069c9cfb4efeaa571bf33a4b31e9e8720d300bbe9de6a08b6ed4434e8
- sha256sums = 67e5ac55b14ea74f0ff4c93d6b33be3b60a4079743d46fbbfd8eafdcb3b1a6a8
+ sha256sums = 16d6ef4ec77e0e66ed2371deabe708f623db6e85b976306c4f67506d5180dd00
sha256sums = fb32360e492ee63e87dcaeaab9fec75871480d20e6c24f74a8856585b2dc70aa
sha256sums = 65ec9ac5b8b28d5b61df1c72498059be2e7cb1f9b965bac0e4ffed3c05520b2b
diff --git a/linux-cachyos-rc/PKGBUILD b/linux-cachyos-rc/PKGBUILD
index 1b456659..36d63804 100644
--- a/linux-cachyos-rc/PKGBUILD
+++ b/linux-cachyos-rc/PKGBUILD
@@ -13,7 +13,7 @@
# 'bore' - select 'Burst-Oriented Response Enhancer'
# 'tt' - select 'Task Type Scheduler by Hamad Marri'
# 'cfs' - select 'Completely Fair Scheduler'
-_cpusched='cfs'
+_cpusched='bore'
### BUILD OPTIONS
# Set these variables to ANYTHING that is not null to enable them
@@ -120,7 +120,7 @@ _srcname=linux-${_stable}
#_srcname=linux-${_major}
arch=(x86_64 x86_64_v3)
pkgdesc='Linux CFS scheduler Kernel by CachyOS and with some other patches and other improvements'
-pkgrel=2
+pkgrel=3
arch=('x86_64' 'x86_64_v3')
url="https://github.com/CachyOS/linux-cachyos"
license=('GPL2')
@@ -161,18 +161,18 @@ source+=(
"${_patchsource}/0001-arch.patch"
"${_patchsource}/0001-bbr2.patch"
"${_patchsource}/0001-cachy.patch"
- "${_patchsource}/0001-clearlinux.patch"
"${_patchsource}/0001-ck-hrtimer.patch"
+ "${_patchsource}/0001-clearlinux.patch"
"${_patchsource}/0001-cpu.patch"
"${_patchsource}/0001-Extend-DAMOS-for-Proactive-LRU-lists-Sorting.patch"
- "${_patchsource}/001-futex-winesync.patch"
"${_patchsource}/0001-fixes.patch"
- "${_patchsource}/0001-latency_nice.patch"
+ "${_patchsource}/0001-fs-patches.patch"
+ "${_patchsource}/0001-futex-winesync.patch"
+ "${_patchsource}/0001-kbuild.patch"
"${_patchsource}/0001-lrng.patch"
"${_patchsource}/0001-lru-le9-spf.patch"
"${_patchsource}/0001-amd-perf.patch"
- # "${_patchsource}/0012-kcfi.patch"
- # "${_patchsource}/misc/0001-amd-perf.patch"
+ # "${_patchsource}/0001-kcfi.patch"
"auto-cpu-optimization.sh"
)
@@ -686,18 +686,20 @@ for _p in "${pkgname[@]}"; do
done
sha256sums=('da477700e2a5e91ae5b0a6f5c70b2618aab07aa39dcfe78106b9d742df411a24'
- '044aecbf8d6ddfe2682b8c4901f05c60b0a60061041c5f3df55f3fe090071b3c'
+ '23c95af5f4377143592316f474ea64cd4194035c72b9a9a4c07cecdafb825383'
+ 'e08fb439ba424c9c8db8f41fe9328dd3e30d4405094b6972dcce3863f04a9f46'
'2bfe45a67732a97cea01bf760a8f9fb297057c2488eb9e61720a0bb26c9b11e2'
'56f58801a73e6d930d7680806dc734b50b69617a0eef96244627d7a946b62efd'
- '11b13c1fdf2714c573d94fbd6d620ca47903bcfedeec6794460b371250b36253'
- 'd6e9d3a5a87b4d43ceb4a415e9a15a949c755a2b65f9cf3dcc4bfac15a68af02'
+ '64b67cdf8e76ec5694c0926bbad141f2ec26f5f8cadbe52ecb678c84fbff3af5'
'097e6faccc2dc15e7c02fc4e22616608c7d26e515a3580f3ef1a6a2ef705ef68'
+ 'd6e9d3a5a87b4d43ceb4a415e9a15a949c755a2b65f9cf3dcc4bfac15a68af02'
'c2bf57d37db1f93c5f3eeff2e2957f01618f4786613c13755f9ae6989d2b745c'
'afcb2cb90b275baf2adb67f8a9274f7f03b0f061f5b1d419b76640fb62a38b5c'
- '179b540f8848b03ccb1a0d12e24feab63fd0576b5e9eed8f214d6e9cb790f151'
'a54bb0fe432c787971d481f9b2fcf41b24c1f7242f6fbd44fa8894149b40b52b'
- '890e9f9953f3650a8e2523bca0fdf84ffc763367a8a792a7f3ef72eb18aed9ad'
+ 'fdc1159967f6231395af4dc3f343f67591030bc8e016077d1fc205dd8ac0c60b'
+ '67134052d1dc7332ba5a991ec54a2a957539bec4eb4a1a0ed0f0ad7daa8fe763'
+ '3f6dcb354c2beee82603d02ceb5a774aae73d1728be56e26e795e189587967da'
'c096a4f069c9cfb4efeaa571bf33a4b31e9e8720d300bbe9de6a08b6ed4434e8'
- '67e5ac55b14ea74f0ff4c93d6b33be3b60a4079743d46fbbfd8eafdcb3b1a6a8'
+ '16d6ef4ec77e0e66ed2371deabe708f623db6e85b976306c4f67506d5180dd00'
'fb32360e492ee63e87dcaeaab9fec75871480d20e6c24f74a8856585b2dc70aa'
'65ec9ac5b8b28d5b61df1c72498059be2e7cb1f9b965bac0e4ffed3c05520b2b')
diff --git a/linux-cachyos-rc/config b/linux-cachyos-rc/config
index c4894b4c..6ffd75a0 100644
--- a/linux-cachyos-rc/config
+++ b/linux-cachyos-rc/config
@@ -471,6 +471,7 @@ CONFIG_PERF_EVENTS_INTEL_RAPL=m
CONFIG_PERF_EVENTS_INTEL_CSTATE=m
CONFIG_PERF_EVENTS_AMD_POWER=m
CONFIG_PERF_EVENTS_AMD_UNCORE=m
+CONFIG_PERF_EVENTS_AMD_BRS=y
# end of Performance monitoring
CONFIG_X86_16BIT=y