Skip to content
This repository was archived by the owner on May 6, 2020. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions .ci/install_ksm_throttler.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,13 @@ clone_build_and_install "github.com/kata-containers/ksm-throttler"
# to be dynmaically changing the KSM settings under us - we need control of them
# ourselves
if [[ ! $METRICS_CI ]]; then
systemctl enable vc-throttler.service
systemctl start vc-throttler.service
sudo systemctl daemon-reload
sudo systemctl enable vc-throttler.service
sudo systemctl start vc-throttler.service
fi

# Stop and disable cc-proxy service in case the service files
# are installed.
systemctl stop cc-proxy || true
systemctl disable cc-proxy || true
sudo systemctl daemon-reload
sudo systemctl disable cc-proxy || true
sudo systemctl stop cc-proxy || true
3 changes: 3 additions & 0 deletions .ci/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ bash -f ${cidir}/install_shim.sh
echo "Install proxy"
bash -f ${cidir}/install_proxy.sh

echo "Install ksm throttler"
bash -f ${cidir}/install_ksm_throttler.sh
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

with the chmod to the install_ksm_throttler.sh in this commit, do you still need the bash -f ?


echo "Install Clear containers image"
"${cidir}/install_asset.sh" "image" "latest"

Expand Down