Skip to content

Commit 43bb0a9

Browse files
committed
Disable SMT
Signed-off-by: Lazar Cvetković <l.cvetkovic.997@gmail.com>
1 parent 8a68fde commit 43bb0a9

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

scripts/setup_node.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
readonly DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" > /dev/null 2>&1 && pwd)"
44
source "$DIR/setup.cfg"
55

6+
# Disable SMT
7+
echo off | sudo tee /sys/devices/system/cpu/smt/control
8+
69
function SetupLoadBalancer() {
710
sudo apt-get -y install keepalived haproxy >> /dev/null
811

0 commit comments

Comments
 (0)