Skip to content

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

5.19.0-rc1-1 & update README.md

Peter Jung2d17d62d0854
diff --git a/README.md b/README.md
index fee8eb88..c550e065 100755
--- a/README.md
+++ b/README.md
@@ -44,8 +44,6 @@ The CachyOS are improved kernels which improve the performance and other improve
Insall following packages from the AUR, if you get into issue's:
-- [winesync-dkms](https://aur.archlinux.org/packages/winesync-dkms)
-- [winesync-header](https://aur.archlinux.org/packages/winesync-header)
- [winesync-udev-rule](https://aur.archlinux.org/packages/winesync-udev-rule)
And disable following enviroment variables in lutris/steam/..
diff --git a/linux-cachyos-rc/.SRCINFO b/linux-cachyos-rc/.SRCINFO
index 7faf6444..61e5e502 100755
--- a/linux-cachyos-rc/.SRCINFO
+++ b/linux-cachyos-rc/.SRCINFO
@@ -26,6 +26,7 @@ pkgbase = linux-cachyos-rc
options = !strip
source = https://github.com/torvalds/linux/archive/refs/tags/v5.19-rc1.tar.gz
source = config
+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.19/sched/0001-bore-5.19.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.19/0001-arch.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.19/0001-cachy.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.19/0001-cpu.patch
@@ -35,9 +36,10 @@ pkgbase = linux-cachyos-rc
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.19/0001-zram-entropy-calculation.patch
source = auto-cpu-optimization.sh
sha256sums = c2d2400bbf52688a1d2d1e45171331ddbc69ba1c3864e922c1c3f5b546b4d21b
- sha256sums = 342a952420fa373daac811b4bf04746c6a3ba75eb76f72dd24fee566ae89d827
+ sha256sums = 4f4543f2d58fa9a9b5689e8dcadb86aea02ce102b1a8dbb76e66d47c5fadfd9b
+ sha256sums = 114de325b79abf71532047001d6000f77f6b255c3542f7eeedb36ce99c14d4a9
sha256sums = 8cb5f04d2b4da0db29cac021f97152e2eb2346547685f49532c1e352be05fb4a
- sha256sums = 578fddfc337c7015f2e3de13e8ce40e10e27280384d5c51c2f43c1d6ce8279e3
+ sha256sums = fb091f718c8e683c158dc0d3f3aa8f80f8dfd710f09da257e6bc5a418e16c2b9
sha256sums = a3befe7b001470decc08b1e7cae0e436b5bc355c2f2b43148c6ab30ed9821ec7
sha256sums = 0df9c5ae437a7a685493afebf7b5274ce1b73e89a090c31bd3af0b0fdf18ff9e
sha256sums = 7cf2e27ae7ca49c8d20a6c10b0a34187f8c63f2dab3063b3649a692d65065fad
diff --git a/linux-cachyos-rc/PKGBUILD b/linux-cachyos-rc/PKGBUILD
index 730c5a74..f290abc9 100644
--- a/linux-cachyos-rc/PKGBUILD
+++ b/linux-cachyos-rc/PKGBUILD
@@ -13,13 +13,13 @@
# '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
### Tweak kernel options prior to a build via nconfig
-_makenconfig=y
+_makenconfig=
# NUMA is optimized for multi-socket motherboards.
# A single multi-core CPU actually runs slower with NUMA enabled.
@@ -169,7 +169,6 @@ source+=(
"${_patchsource}/0001-cpu.patch"
"${_patchsource}/0001-Extend-DAMOS-for-Proactive-LRU-lists-Sorting.patch"
"${_patchsource}/0001-futex-winesync.patch"
-# "${_patchsource}/0001-lrng.patch"
"${_patchsource}/0001-ksm.patch"
"${_patchsource}/0001-zram-entropy-calculation.patch"
"auto-cpu-optimization.sh"
@@ -701,9 +700,10 @@ for _p in "${pkgname[@]}"; do
done
sha256sums=('c2d2400bbf52688a1d2d1e45171331ddbc69ba1c3864e922c1c3f5b546b4d21b'
- '342a952420fa373daac811b4bf04746c6a3ba75eb76f72dd24fee566ae89d827'
+ '4f4543f2d58fa9a9b5689e8dcadb86aea02ce102b1a8dbb76e66d47c5fadfd9b'
+ '114de325b79abf71532047001d6000f77f6b255c3542f7eeedb36ce99c14d4a9'
'8cb5f04d2b4da0db29cac021f97152e2eb2346547685f49532c1e352be05fb4a'
- '578fddfc337c7015f2e3de13e8ce40e10e27280384d5c51c2f43c1d6ce8279e3'
+ 'fb091f718c8e683c158dc0d3f3aa8f80f8dfd710f09da257e6bc5a418e16c2b9'
'a3befe7b001470decc08b1e7cae0e436b5bc355c2f2b43148c6ab30ed9821ec7'
'0df9c5ae437a7a685493afebf7b5274ce1b73e89a090c31bd3af0b0fdf18ff9e'
'7cf2e27ae7ca49c8d20a6c10b0a34187f8c63f2dab3063b3649a692d65065fad'
diff --git a/linux-cachyos-rc/config b/linux-cachyos-rc/config
index bd506065..c8d6d18b 100644
--- a/linux-cachyos-rc/config
+++ b/linux-cachyos-rc/config
@@ -10346,11 +10346,11 @@ CONFIG_CC_HAS_ZERO_CALL_USED_REGS=y
# CONFIG_ZERO_CALL_USED_REGS is not set
# end of Memory initialization
-# CONFIG_RANDSTRUCT_NONE is not set
+CONFIG_RANDSTRUCT_NONE=y
# CONFIG_RANDSTRUCT_FULL is not set
-CONFIG_RANDSTRUCT_PERFORMANCE=y
-CONFIG_RANDSTRUCT=y
-CONFIG_GCC_PLUGIN_RANDSTRUCT=y
+# CONFIG_RANDSTRUCT_PERFORMANCE is not set
+# CONFIG_RANDSTRUCT is not set
+# CONFIG_GCC_PLUGIN_RANDSTRUCT is not set
# end of Kernel hardening options
# end of Security options
diff --git a/zfs/PKGBUILD b/zfs/PKGBUILD
index 3c5f9468..a06417ac 100644
--- a/zfs/PKGBUILD
+++ b/zfs/PKGBUILD
@@ -40,6 +40,7 @@ fi
_linuxprefix=linux-${_linuxpostfix}
_kernver=5.18.2-1
+# _kernver=5.19.0-rc1-1 ## for rc kernel
pkgname="${_linuxprefix}-zfs"
pkgver=2.1.5
_pkgver=2.1.4
@@ -49,6 +50,7 @@ arch=('x86_64' 'x86_64_v3')
url="http://zfsonlinux.org/"
license=("CDDL")
depends=("$_linuxprefix=${_kernver}" "kmod" "zfs-utils=${pkgver}")
+# depends=("$_linuxprefix" "kmod" "zfs-utils=${pkgver}") ## for rc kernel
makedepends=("$_linuxprefix-headers")
provides=("zfs=$pkgver")
#groups=("$_linuxprefix-extramodules")
diff --git a/zfs/zfs.install b/zfs/zfs.install
index 7b257454..bbd15d9b 100644
--- a/zfs/zfs.install
+++ b/zfs/zfs.install
@@ -1,4 +1,4 @@
-EXTRAMODULES='5.18.2-1-cachyos'
+EXTRAMODULES='5.18.2-1-cachyos-bore'
post_install() {
depmod $(cat /usr/lib/modules/$EXTRAMODULES/version)