try node 1

This commit is contained in:
Alexander Kuzmenkov 2020-10-21 18:06:42 +03:00
parent 242ec7e56c
commit c10dada3d4
2 changed files with 3 additions and 3 deletions

View File

@ -37,14 +37,14 @@ RUN apt-get update \
COPY * /
# Bind everything to node 0 early. We have to bind both servers and the tmpfs
# Bind everything to node 1 early. We have to bind both servers and the tmpfs
# on which the database is stored. How to do it through Yandex Sandbox API is
# unclear, but by default tmpfs uses 'process allocation policy', not sure
# which process but hopefully the one that writes to it, so just bind the
# downloader script as well.
# We could also try to remount it with proper options in Sandbox task.
# https://www.kernel.org/doc/Documentation/filesystems/tmpfs.txt
CMD ["numactl", "--cpunodebind=0", "--membind=0", "/entrypoint.sh"]
CMD ["numactl", "--cpunodebind=1", "--membind=1", "/entrypoint.sh"]
# docker run --network=host --volume <workspace>:/workspace --volume=<output>:/output -e PR_TO_TEST=<> -e SHA_TO_TEST=<> yandex/clickhouse-performance-comparison

View File

@ -1090,7 +1090,7 @@ case "$stage" in
"restart")
numactl --hardware ||:
lscpu ||:
sudo dmidecode -t 4 ||:
dmidecode -t 4 ||:
time restart
;&
"run_tests")