feat(kernel): Enable full preemption by default, reduces latency in certain workloads.

This commit is contained in:
Kyle Gospodnetich 2024-08-06 10:50:51 -07:00
parent c383bd19b1
commit 6fcd085db4

View File

@ -7,7 +7,7 @@ IMAGE_FLAVOR=$(jq -r '."image-flavor"' < $IMAGE_INFO)
FEDORA_VERSION=$(jq -r '."fedora-version"' < $IMAGE_INFO)
# SCRIPT VERSION
HWS_VER=45
HWS_VER=46
HWS_VER_FILE="/etc/bazzite/hws_version"
HWS_VER_RAN=$(cat $HWS_VER_FILE)
@ -134,6 +134,11 @@ if [[ ! $KARGS =~ "disable_ertm" ]]; then
NEEDED_KARGS+=("--append-if-missing=bluetooth.disable_ertm=1")
fi
if [[ ! $KARGS =~ "preempt" ]]; then
echo "Adding needed kargs for full preemption"
NEEDED_KARGS+=("--append-if-missing=preempt=full")
fi
if [[ $KARGS =~ "nomodeset" ]]; then
echo "Removing nomodeset"
NEEDED_KARGS+=("--delete-if-present=nomodeset")