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 * / 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 # 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 # 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 # which process but hopefully the one that writes to it, so just bind the
# downloader script as well. # downloader script as well.
# We could also try to remount it with proper options in Sandbox task. # We could also try to remount it with proper options in Sandbox task.
# https://www.kernel.org/doc/Documentation/filesystems/tmpfs.txt # 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 # 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") "restart")
numactl --hardware ||: numactl --hardware ||:
lscpu ||: lscpu ||:
sudo dmidecode -t 4 ||: dmidecode -t 4 ||:
time restart time restart
;& ;&
"run_tests") "run_tests")