Skip to content

Commit

Permalink
correct ksmtuned path
Browse files Browse the repository at this point in the history
  • Loading branch information
extremeshok committed Mar 20, 2021
1 parent f511b2d commit 273c676
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions install-post.sh
Original file line number Diff line number Diff line change
Expand Up @@ -270,8 +270,8 @@ if [ "$XS_KSMTUNED" == "yes" ] ; then
KSM_THRES_COEF=10
KSM_SLEEP_MSEC=10
fi
sed -i -e "s/\# KSM_THRES_COEF=.*/KSM_THRES_COEF=${KSM_THRES_COEF}/g" /tmp/ksmtuned.conf
sed -i -e "s/\# KSM_SLEEP_MSEC=.*/KSM_SLEEP_MSEC=${KSM_SLEEP_MSEC}/g" /tmp/ksmtuned.conf
sed -i -e "s/\# KSM_THRES_COEF=.*/KSM_THRES_COEF=${KSM_THRES_COEF}/g" /etc/ksmtuned.conf
sed -i -e "s/\# KSM_SLEEP_MSEC=.*/KSM_SLEEP_MSEC=${KSM_SLEEP_MSEC}/g" /etc/ksmtuned.conf
systemctl enable ksmtuned
fi

Expand Down

0 comments on commit 273c676

Please sign in to comment.