Enable TT for 5.19rc and TT High HZ patch for 5.15 (#538)
* Enable TT for 5.19 and TT High HZ patch for 5.15 * Reset config from testing
This commit is contained in:
committed by
GitHub
parent
1d1ccfccbe
commit
5b8ff011c7
@@ -200,6 +200,9 @@ _cacule_rdb="false"
|
|||||||
# https://github.com/hamadmarri/cacule-cpu-scheduler/blob/master/patches/CacULE/RDB/rdb.patch#L56
|
# https://github.com/hamadmarri/cacule-cpu-scheduler/blob/master/patches/CacULE/RDB/rdb.patch#L56
|
||||||
_cacule_rdb_interval="19"
|
_cacule_rdb_interval="19"
|
||||||
|
|
||||||
|
# TT only - Enable High HZ patch (available for 5.15 only) - Default is "false"
|
||||||
|
_tt_high_hz="false"
|
||||||
|
|
||||||
# MuQSS and PDS only - SMT (Hyperthreading) aware nice priority and policy support (SMT_NICE) - Kernel default is "true" - You can disable this on non-SMT/HT CPUs for lower overhead
|
# MuQSS and PDS only - SMT (Hyperthreading) aware nice priority and policy support (SMT_NICE) - Kernel default is "true" - You can disable this on non-SMT/HT CPUs for lower overhead
|
||||||
_smt_nice=""
|
_smt_nice=""
|
||||||
|
|
||||||
|
@@ -201,6 +201,8 @@ _set_cpu_scheduler() {
|
|||||||
_avail_cpu_scheds=("pds" "bmq" "cacule" "tt" "cfs")
|
_avail_cpu_scheds=("pds" "bmq" "cacule" "tt" "cfs")
|
||||||
elif [ "$_basever" = "518" ]; then
|
elif [ "$_basever" = "518" ]; then
|
||||||
_avail_cpu_scheds=("pds" "bmq" "cacule" "tt" "cfs")
|
_avail_cpu_scheds=("pds" "bmq" "cacule" "tt" "cfs")
|
||||||
|
elif [ "$_basever" = "519" ]; then
|
||||||
|
_avail_cpu_scheds=("tt" "cfs")
|
||||||
else
|
else
|
||||||
_avail_cpu_scheds=("cfs")
|
_avail_cpu_scheds=("cfs")
|
||||||
fi
|
fi
|
||||||
@@ -633,6 +635,16 @@ _tkg_srcprep() {
|
|||||||
fi
|
fi
|
||||||
tkgpatch="$srcdir/tt.patch" && _tkg_patcher
|
tkgpatch="$srcdir/tt.patch" && _tkg_patcher
|
||||||
fi
|
fi
|
||||||
|
if [ "$_tt_high_hz" = "true" ] && [ $_basever = 515 ]; then
|
||||||
|
_msg="Applying TT High HZ patch"
|
||||||
|
if [ "${_distro}" = "Void" ]; then
|
||||||
|
curl "https://raw.githubusercontent.com/hamadmarri/TT-CPU-Scheduler/master/patches/${_basekernel}/high-hz.patch" > "$wrksrc"/tt_high_hz.patch
|
||||||
|
tkgpatch="$wrksrc/tt_high_hz.patch" && _tkg_patcher
|
||||||
|
else
|
||||||
|
curl "https://raw.githubusercontent.com/hamadmarri/TT-CPU-Scheduler/master/patches/${_basekernel}/high-hz.patch" > "$srcdir"/tt_high_hz.patch
|
||||||
|
tkgpatch="$srcdir/tt_high_hz.patch" && _tkg_patcher
|
||||||
|
fi
|
||||||
|
fi
|
||||||
elif [ "${_cpusched}" = "cfs" ]; then
|
elif [ "${_cpusched}" = "cfs" ]; then
|
||||||
_msg="Applying Glitched CFS patch"
|
_msg="Applying Glitched CFS patch"
|
||||||
tkgpatch="$srcdir/0003-glitched-cfs.patch" && _tkg_patcher
|
tkgpatch="$srcdir/0003-glitched-cfs.patch" && _tkg_patcher
|
||||||
|
Reference in New Issue
Block a user