Archlinux Kernel based on different schedulers and some other performance improvements.
Shell archlinuxbaby-schedcachycachy-schedulercachyoscacule-schedkernellinux-kernelperformanceperformance-tuning
6.10 add znver5 support
Piotr Gorski69e305d9de18
diff --git a/linux-cachyos-rc/.SRCINFO b/linux-cachyos-rc/.SRCINFOindex 9fe26634..1d369feb 100644--- a/linux-cachyos-rc/.SRCINFO+++ b/linux-cachyos-rc/.SRCINFO@@ -1,5 +1,5 @@# Generated by makepkg 6.1.0-# Thu May 30 14:36:05 UTC 2024+# Thu May 30 15:40:13 UTC 2024pkgbase = linux-cachyos-rcpkgdesc = Linux SCHED-EXT + Cachy Sauce Kernel by CachyOS with other patches and improvementspkgver = 6.10.rc1@@ -33,7 +33,7 @@ pkgbase = linux-cachyos-rcsource = https://raw.githubusercontent.com/cachyos/kernel-patches/master/6.10/sched/0001-bore-cachy.patchb2sums = e539dd313d9cb94853b46a1ff352fb456c3b8df3db1c4dbdc58781d402dbdfd55fec6f4fdf21fe3c496dede7e44b7d74a0d778f52098d3591f5719f1cbaadf88b2sums = 3009d335cac9aa91039d6bc1623caa155f1c18fabf49be0217e0d96f157f565a4545d936919bc33bcf5d54a399995e86f5d2efeff3dc36e65e0dd891f01610ae- b2sums = 43ef7a347878592740d9eb23b40a56083fa747f7700fa1e2c6d039d660c0b876d99bf1a3160e15d041fb13d45906cdb5defef034d4d0ae429911864239c94d8d+ b2sums = b1e964389424d43c398a76e7cee16a643ac027722b91fe59022afacb19956db5856b2808ca0dd484f6d0dfc170482982678d7a9a00779d98cd62d5105200a667b2sums = ee5dc92b38c4ae63547dd3de037fad68e78b0939174735ede7cfedbd63af652bfc8717b1513a3964e8ed924e219b06d6a2d97f31363b21de71a03cc6f4b015d8b2sums = 85d71281c02bf835cd1ceb02716fc4aca0ef55eb025eb1b2a16486d053922cf85e820401d9852537c49147e57cf2f2cd61f84bc12b30a8a97790450adcb4e5bediff --git a/linux-cachyos-rc/PKGBUILD b/linux-cachyos-rc/PKGBUILDindex 57934b74..83f4e8a1 100644--- a/linux-cachyos-rc/PKGBUILD+++ b/linux-cachyos-rc/PKGBUILD@@ -730,6 +730,6 @@ doneb2sums=('e539dd313d9cb94853b46a1ff352fb456c3b8df3db1c4dbdc58781d402dbdfd55fec6f4fdf21fe3c496dede7e44b7d74a0d778f52098d3591f5719f1cbaadf88''3009d335cac9aa91039d6bc1623caa155f1c18fabf49be0217e0d96f157f565a4545d936919bc33bcf5d54a399995e86f5d2efeff3dc36e65e0dd891f01610ae'- '43ef7a347878592740d9eb23b40a56083fa747f7700fa1e2c6d039d660c0b876d99bf1a3160e15d041fb13d45906cdb5defef034d4d0ae429911864239c94d8d'+ 'b1e964389424d43c398a76e7cee16a643ac027722b91fe59022afacb19956db5856b2808ca0dd484f6d0dfc170482982678d7a9a00779d98cd62d5105200a667''ee5dc92b38c4ae63547dd3de037fad68e78b0939174735ede7cfedbd63af652bfc8717b1513a3964e8ed924e219b06d6a2d97f31363b21de71a03cc6f4b015d8''85d71281c02bf835cd1ceb02716fc4aca0ef55eb025eb1b2a16486d053922cf85e820401d9852537c49147e57cf2f2cd61f84bc12b30a8a97790450adcb4e5be')diff --git a/linux-cachyos-rc/auto-cpu-optimization.sh b/linux-cachyos-rc/auto-cpu-optimization.shindex d99108d7..479d5c70 100755--- a/linux-cachyos-rc/auto-cpu-optimization.sh+++ b/linux-cachyos-rc/auto-cpu-optimization.sh@@ -21,6 +21,7 @@ case $MARCH inZNVER2) MARCH="ZEN2";;ZNVER3) MARCH="ZEN3";;ZNVER4) MARCH="ZEN4";;+ ZNVER5) MARCH="ZEN5";;BDVER1) MARCH="BULLDOZER";;BDVER2) MARCH="PILEDRIVER";;BDVER3) MARCH="STEAMROLLER";;diff --git a/linux-cachyos-rc/configure b/linux-cachyos-rc/configureindex 07a408c5..22df90c8 100644--- a/linux-cachyos-rc/configure+++ b/linux-cachyos-rc/configure@@ -30,46 +30,47 @@ cpu_arch() {> 24) MZEN2 : Select this for AMD Family 17h Zen 2 processors.\n \> 25) MZEN3 : Select this for AMD Family 19h Zen 3 processors. - GCC 10.3 required\n \> 26) MZEN4 : Select this for AMD Family 19h Zen 4 processors. - GCC 13.1 required\n \- > 27) MCRUSOE : Select this for a Transmeta Crusoe processor.\n \- > 28) MEFFICEON : Select this for a Transmeta Efficeon processor.\n \- > 29) MWINCHIPC6 : Select this for an IDT Winchip C6 chip.\n \- > 30) MWINCHIP3D : Select this for an IDT Winchip-2, 2A or 3.\n \- > 31) MELAN : Select this for an AMD Elan processor.\n \- > 32) MGEODEGX1 : Select this for a Geode GX1 (Cyrix MediaGX) chip.\n \- > 33) MGEODE_LX Select this for AMD Geode GX and LX processors.\n \- > 34) MCYRIXIII : Select this for a Cyrix III or C3 chip.\n \- > 35) MVIAC3_2 : Select this for a VIA C3 "Nehemiah".\n \- > 36) MVIAC7 : Select this for a VIA C7.\n \- > 37) MPSC : Optimize for Intel Pentium 4, Pentium D and older Nocona/Dempsey Xeon CPUs with Intel 64bit which is compatible with x86-64.\n \- > 38) MATOM : Select this for the Intel Atom platform.\n \- > 39) MCORE2 : Select this for Intel Core 2 and newer Core 2 Xeons (Xeon 51xx and 53xx) CPUs.\n \- > 40) MNEHALEM : Select this for 1st Gen Core processors in the Nehalem family.\n \- > 41) MWESTMERE : Select this for the Intel Westmere formerly Nehalem-C family.\n \- > 42) MSILVERMONT Select this for the Intel Silvermont platform.\n \- > 43) MGOLDMONT : Select this for the Intel Goldmont platform including Apollo Lake and Denverton.\n \- > 44) MGOLDMONTPLUS : Select this for the Intel Goldmont Plus platform including Gemini Lake.\n \- > 45) MSANDYBRIDGE : Select this for 2nd Gen Core processors in the Sandy Bridge family.\n \- > 46) MIVYBRIDGE : Select this for 3rd Gen Core processors in the Ivy Bridge family.\n \- > 47) MHASWELL : Select this for 4th Gen Core processors in the Haswell family.\n \- > 48) MBROADWELL : Select this for 5th Gen Core processors in the Broadwell family.\n \- > 49) MSKYLAKE : Select this for 6th Gen Core processors in the Skylake family.\n \- > 50) MSKYLAKEX : Select this for 6th Gen Core processors in the Skylake X family.\n \- > 51) MCANNONLAKE : Select this for 8th Gen Core processors.\n \- > 52) MICELAKE : Select this for 10th Gen Core processors in the Ice Lake family.\n \- > 53) MCASCADELAKE : Select this for Xeon processors in the Cascade Lake family.\n \- > 54) MCOOPERLAKE : Select this for Xeon processors in the Cooper Lake family. - GCC 10.1 required\n \- > 55) MTIGERLAKE : Select this for third-generation 10 nm process processors in the Tiger Lake family. - GCC 10.1 required\n \- > 56) MSAPPHIRERAPIDS : Select this for third-generation 10 nm process processors in the Sapphire Rapids family. - GCC 11 required\n \- > 57) MALDERLAKE : Select this for twelfth-generation processors in the Alder Lake family.- GCC 11 required\n \- > 58) MRAPTORLAKE : Select this for thirteenth-generation processors in the Raptor Lake family.- GCC 13 required\n \- > 59) MMETORLAKE : Select this for fourteenth-generation processors in the Meteor Lake family.- GCC 13 required\n \- > 60) GENERIC_CPU : Generic x86-64 CPU. Run equally well on all x86-64 CPUs.\n \- > 61) GENERIC_CPU2 : Run equally well on all x86-64 CPUs with min support of x86-64-v2. - GCC 11 required\n \- > 62) GENERIC_CPU3 : Generic x86-64-v3 CPU with v3 instructions. Run equally well on all x86-64 CPUs with min support of x86-64-v3. - GCC 11 required\n \- > 63) GENERIC_CPU4 : Generic x86-64 CPU with v4 instructions. Run equally well on all x86-64 CPUs with min support of x86-64-v4. - GCC 11 required\n \- > 64) MNATIVE_INTEL : Intel-Native optimizations autodetected by GCC.\n \- > 65) MNATIVE_AMD : AMD-Native optimizations autodetected by GCC.\n \- > Default (60 : Gneric CPU)\nchoice[0-65]: '`" _microarchitecture+ > 27) MZEN5 : Select this for AMD Family 19h Zen 5 processors. - GCC 14.1 required\n \+ > 28) MCRUSOE : Select this for a Transmeta Crusoe processor.\n \+ > 29) MEFFICEON : Select this for a Transmeta Efficeon processor.\n \+ > 30) MWINCHIPC6 : Select this for an IDT Winchip C6 chip.\n \+ > 31) MWINCHIP3D : Select this for an IDT Winchip-2, 2A or 3.\n \+ > 32) MELAN : Select this for an AMD Elan processor.\n \+ > 33) MGEODEGX1 : Select this for a Geode GX1 (Cyrix MediaGX) chip.\n \+ > 34) MGEODE_LX Select this for AMD Geode GX and LX processors.\n \+ > 35) MCYRIXIII : Select this for a Cyrix III or C3 chip.\n \+ > 36) MVIAC3_2 : Select this for a VIA C3 "Nehemiah".\n \+ > 37) MVIAC7 : Select this for a VIA C7.\n \+ > 38) MPSC : Optimize for Intel Pentium 4, Pentium D and older Nocona/Dempsey Xeon CPUs with Intel 64bit which is compatible with x86-64.\n \+ > 39) MATOM : Select this for the Intel Atom platform.\n \+ > 40) MCORE2 : Select this for Intel Core 2 and newer Core 2 Xeons (Xeon 51xx and 53xx) CPUs.\n \+ > 41) MNEHALEM : Select this for 1st Gen Core processors in the Nehalem family.\n \+ > 42) MWESTMERE : Select this for the Intel Westmere formerly Nehalem-C family.\n \+ > 43) MSILVERMONT Select this for the Intel Silvermont platform.\n \+ > 44) MGOLDMONT : Select this for the Intel Goldmont platform including Apollo Lake and Denverton.\n \+ > 45) MGOLDMONTPLUS : Select this for the Intel Goldmont Plus platform including Gemini Lake.\n \+ > 46) MSANDYBRIDGE : Select this for 2nd Gen Core processors in the Sandy Bridge family.\n \+ > 47) MIVYBRIDGE : Select this for 3rd Gen Core processors in the Ivy Bridge family.\n \+ > 48) MHASWELL : Select this for 4th Gen Core processors in the Haswell family.\n \+ > 49) MBROADWELL : Select this for 5th Gen Core processors in the Broadwell family.\n \+ > 50) MSKYLAKE : Select this for 6th Gen Core processors in the Skylake family.\n \+ > 51) MSKYLAKEX : Select this for 6th Gen Core processors in the Skylake X family.\n \+ > 52) MCANNONLAKE : Select this for 8th Gen Core processors.\n \+ > 53) MICELAKE : Select this for 10th Gen Core processors in the Ice Lake family.\n \+ > 54) MCASCADELAKE : Select this for Xeon processors in the Cascade Lake family.\n \+ > 55) MCOOPERLAKE : Select this for Xeon processors in the Cooper Lake family. - GCC 10.1 required\n \+ > 56) MTIGERLAKE : Select this for third-generation 10 nm process processors in the Tiger Lake family. - GCC 10.1 required\n \+ > 57) MSAPPHIRERAPIDS : Select this for third-generation 10 nm process processors in the Sapphire Rapids family. - GCC 11 required\n \+ > 58) MALDERLAKE : Select this for twelfth-generation processors in the Alder Lake family.- GCC 11 required\n \+ > 59) MRAPTORLAKE : Select this for thirteenth-generation processors in the Raptor Lake family.- GCC 13 required\n \+ > 60) MMETORLAKE : Select this for fourteenth-generation processors in the Meteor Lake family.- GCC 13 required\n \+ > 61) GENERIC_CPU : Generic x86-64 CPU. Run equally well on all x86-64 CPUs.\n \+ > 62) GENERIC_CPU2 : Run equally well on all x86-64 CPUs with min support of x86-64-v2. - GCC 11 required\n \+ > 63) GENERIC_CPU3 : Generic x86-64-v3 CPU with v3 instructions. Run equally well on all x86-64 CPUs with min support of x86-64-v3. - GCC 11 required\n \+ > 64) GENERIC_CPU4 : Generic x86-64 CPU with v4 instructions. Run equally well on all x86-64 CPUs with min support of x86-64-v4. - GCC 11 required\n \+ > 65) MNATIVE_INTEL : Intel-Native optimizations autodetected by GCC.\n \+ > 66) MNATIVE_AMD : AMD-Native optimizations autodetected by GCC.\n \+ > Default (61 : Gneric CPU)\nchoice[0-66]: '`" _microarchitectureif [[ "$_microarchitecture" = "1" ]]; thenscripts/config --disable CONFIG_GENERIC_CPU@@ -151,120 +152,123 @@ cpu_arch() {scripts/config --enable CONFIG_MZEN4elif [[ "$_microarchitecture" = "27" ]]; thenscripts/config --disable CONFIG_GENERIC_CPU- scripts/config --enable CONFIG_MCRUSOE+ scripts/config --enable CONFIG_MZEN5elif [[ "$_microarchitecture" = "28" ]]; thenscripts/config --disable CONFIG_GENERIC_CPU- scripts/config --enable CONFIG_MEFFICEON+ scripts/config --enable CONFIG_MCRUSOEelif [[ "$_microarchitecture" = "29" ]]; thenscripts/config --disable CONFIG_GENERIC_CPU- scripts/config --enable CONFIG_MWINCHIPC6+ scripts/config --enable CONFIG_MEFFICEONelif [[ "$_microarchitecture" = "30" ]]; thenscripts/config --disable CONFIG_GENERIC_CPU- scripts/config --enable CONFIG_MWINCHIP3D+ scripts/config --enable CONFIG_MWINCHIPC6elif [[ "$_microarchitecture" = "31" ]]; thenscripts/config --disable CONFIG_GENERIC_CPU- scripts/config --enable CONFIG_MELAN+ scripts/config --enable CONFIG_MWINCHIP3Delif [[ "$_microarchitecture" = "32" ]]; thenscripts/config --disable CONFIG_GENERIC_CPU- scripts/config --enable CONFIG_MGEODEGX1+ scripts/config --enable CONFIG_MELANelif [[ "$_microarchitecture" = "33" ]]; thenscripts/config --disable CONFIG_GENERIC_CPU- scripts/config --enable CONFIG_MGEODE_LX+ scripts/config --enable CONFIG_MGEODEGX1elif [[ "$_microarchitecture" = "34" ]]; thenscripts/config --disable CONFIG_GENERIC_CPU- scripts/config --enable CONFIG_MCYRIXIII+ scripts/config --enable CONFIG_MGEODE_LXelif [[ "$_microarchitecture" = "35" ]]; thenscripts/config --disable CONFIG_GENERIC_CPU- scripts/config --enable CONFIG_MVIAC3_2+ scripts/config --enable CONFIG_MCYRIXIIIelif [[ "$_microarchitecture" = "36" ]]; thenscripts/config --disable CONFIG_GENERIC_CPU- scripts/config --enable CONFIG_MVIAC7+ scripts/config --enable CONFIG_MVIAC3_2elif [[ "$_microarchitecture" = "37" ]]; thenscripts/config --disable CONFIG_GENERIC_CPU- scripts/config --enable CONFIG_MPSC+ scripts/config --enable CONFIG_MVIAC7elif [[ "$_microarchitecture" = "38" ]]; thenscripts/config --disable CONFIG_GENERIC_CPU- scripts/config --enable CONFIG_MATOM+ scripts/config --enable CONFIG_MPSCelif [[ "$_microarchitecture" = "39" ]]; thenscripts/config --disable CONFIG_GENERIC_CPU- scripts/config --enable CONFIG_MCORE2+ scripts/config --enable CONFIG_MATOMelif [[ "$_microarchitecture" = "40" ]]; thenscripts/config --disable CONFIG_GENERIC_CPU- scripts/config --enable CONFIG_MNEHALEM+ scripts/config --enable CONFIG_MCORE2elif [[ "$_microarchitecture" = "41" ]]; thenscripts/config --disable CONFIG_GENERIC_CPU- scripts/config --enable CONFIG_MWESTMERE+ scripts/config --enable CONFIG_MNEHALEMelif [[ "$_microarchitecture" = "42" ]]; thenscripts/config --disable CONFIG_GENERIC_CPU- scripts/config --enable CONFIG_MSILVERMONT+ scripts/config --enable CONFIG_MWESTMEREelif [[ "$_microarchitecture" = "43" ]]; thenscripts/config --disable CONFIG_GENERIC_CPU- scripts/config --enable CONFIG_MGOLDMONT+ scripts/config --enable CONFIG_MSILVERMONTelif [[ "$_microarchitecture" = "44" ]]; thenscripts/config --disable CONFIG_GENERIC_CPU- scripts/config --enable CONFIG_MGOLDMONTPLUS+ scripts/config --enable CONFIG_MGOLDMONTelif [[ "$_microarchitecture" = "45" ]]; thenscripts/config --disable CONFIG_GENERIC_CPU- scripts/config --enable CONFIG_MSANDYBRIDGE+ scripts/config --enable CONFIG_MGOLDMONTPLUSelif [[ "$_microarchitecture" = "46" ]]; then+ scripts/config --disable CONFIG_GENERIC_CPU+ scripts/config --enable CONFIG_MSANDYBRIDGE+ elif [[ "$_microarchitecture" = "47" ]]; thenscripts/config --disable CONFIG_GENERIC_CPUscripts/config --disable CONFIG_AGP_AMD64scripts/config --disable CONFIG_MICROCODE_AMDscripts/config --enable CONFIG_MIVYBRIDGE- elif [[ "$_microarchitecture" = "47" ]]; then+ elif [[ "$_microarchitecture" = "48" ]]; thenscripts/config --disable CONFIG_GENERIC_CPUscripts/config --enable CONFIG_MHASWELL- elif [[ "$_microarchitecture" = "48" ]]; then+ elif [[ "$_microarchitecture" = "49" ]]; thenscripts/config --disable CONFIG_GENERIC_CPUscripts/config --enable CONFIG_MBROADWELL- elif [[ "$_microarchitecture" = "49" ]]; then+ elif [[ "$_microarchitecture" = "50" ]]; thenscripts/config --disable CONFIG_GENERIC_CPUscripts/config --enable CONFIG_MSKYLAKE- elif [[ "$_microarchitecture" = "50" ]]; then+ elif [[ "$_microarchitecture" = "51" ]]; thenscripts/config --disable CONFIG_GENERIC_CPUscripts/config --enable CONFIG_MSKYLAKEX- elif [[ "$_microarchitecture" = "51" ]]; then+ elif [[ "$_microarchitecture" = "52" ]]; thenscripts/config --disable CONFIG_GENERIC_CPUscripts/config --enable CONFIG_MCANNONLAKE- elif [[ "$_microarchitecture" = "52" ]]; then+ elif [[ "$_microarchitecture" = "53" ]]; thenscripts/config --disable CONFIG_GENERIC_CPUscripts/config --enable CONFIG_MICELAKE- elif [[ "$_microarchitecture" = "53" ]]; then+ elif [[ "$_microarchitecture" = "54" ]]; thenscripts/config --disable CONFIG_GENERIC_CPUscripts/config --enable CONFIG_MCASCADELAKE- elif [[ "$_microarchitecture" = "54" ]]; then+ elif [[ "$_microarchitecture" = "55" ]]; thenscripts/config --disable CONFIG_GENERIC_CPUscripts/config --enable CONFIG_MCOOPERLAKE- elif [[ "$_microarchitecture" = "55" ]]; then+ elif [[ "$_microarchitecture" = "56" ]]; thenscripts/config --disable CONFIG_GENERIC_CPUscripts/config --enable CONFIG_MTIGERLAKE- elif [[ "$_microarchitecture" = "56" ]]; then+ elif [[ "$_microarchitecture" = "57" ]]; thenscripts/config --disable CONFIG_GENERIC_CPUscripts/config --enable CONFIG_MSAPPHIRERAPIDS- elif [[ "$_microarchitecture" = "57" ]]; then+ elif [[ "$_microarchitecture" = "58" ]]; thenscripts/config --disable CONFIG_GENERIC_CPUscripts/config --enable CONFIG_MALDERLAKE- elif [[ "$_microarchitecture" = "58" ]]; then+ elif [[ "$_microarchitecture" = "59" ]]; thenscripts/config --disable CONFIG_GENERIC_CPUscripts/config --enable CONFIG_MRAPTORLAKE- elif [[ "$_microarchitecture" = "59" ]]; then+ elif [[ "$_microarchitecture" = "60" ]]; thenscripts/config --disable CONFIG_GENERIC_CPUscripts/config --enable CONFIG_MMETORLAKE- elif [[ "$_microarchitecture" = "60" ]]; then- scripts/config --enable CONFIG_GENERIC_CPUelif [[ "$_microarchitecture" = "61" ]]; then+ scripts/config --enable CONFIG_GENERIC_CPU+ elif [[ "$_microarchitecture" = "62" ]]; thenscripts/config --disable CONFIG_GENERIC_CPUscripts/config --enable CONFIG_GENERIC_CPU2- elif [[ "$_microarchitecture" = "62" ]]; then+ elif [[ "$_microarchitecture" = "63" ]]; thenscripts/config --disable CONFIG_GENERIC_CPUscripts/config --enable CONFIG_GENERIC_CPU3- elif [[ "$_microarchitecture" = "63" ]]; then+ elif [[ "$_microarchitecture" = "64" ]]; thenscripts/config --disable CONFIG_GENERIC_CPUscripts/config --enable CONFIG_GENERIC_CPU4- elif [[ "$_microarchitecture" = "64" ]]; then+ elif [[ "$_microarchitecture" = "65" ]]; thenscripts/config --disable CONFIG_GENERIC_CPUscripts/config --enable CONFIG_MNATIVE_INTEL- elif [[ "$_microarchitecture" = "65" ]]; then+ elif [[ "$_microarchitecture" = "66" ]]; thenscripts/config --disable CONFIG_GENERIC_CPUscripts/config --enable CONFIG_MNATIVE_AMDelse