remove scope creep/THP

This commit is contained in:
Josh Lay 2024-06-22 09:56:55 -05:00
parent 49f7e1dce7
commit 660df84597
No known key found for this signature in database
GPG key ID: 47AA304B2243B579

View file

@ -24,10 +24,6 @@ PROFILE_MODES=$(< /sys/class/drm/"${CARD}"/device/pp_power_profile_mode)
# get power capability; later used determine limits # get power capability; later used determine limits
read -r -d '' POWER_CAP < "$HWMON_DIR"/power1_cap_max read -r -d '' POWER_CAP < "$HWMON_DIR"/power1_cap_max
# enable THP; profile enables the 'vm.compaction_proactiveness' sysctl
# improves allocation latency
echo 'always' | tee /sys/kernel/mm/transparent_hugepage/enabled
# export determinations # export determinations
export CARD export CARD
export HWMON_DIR export HWMON_DIR