Skip to content

Commit

Permalink
nproc test
Browse files Browse the repository at this point in the history
I wondered why vsyscall_reverse_next-32 takes in CI kind of long.
And suspect this has something to do with JULIA_CPU_THREADS=128
at a CPU supporting 64 threads?

model name	: AMD EPYC 7502 32-Core Processor
nproc shows also 128
lscpu: failed to determine number of CPUs: /sys/devices/system/cpu/possible: No such file or directory
  • Loading branch information
bernhardu committed Nov 2, 2023
1 parent c835873 commit e525510
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
8 changes: 7 additions & 1 deletion .buildkite/lib/generate.jl
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,13 @@ function generate(platform::Platform)
mkdir -p Testing/Temporary
mv ../.buildkite/CTestCostData.txt Testing/Temporary
if bin/rr record bin/simple; then
julia ../.buildkite/capture_tmpdir.jl ctest --output-on-failure -j\$\$(expr \$\${JULIA_CPU_THREADS:?} - 2)
if [ "\$\${JULIA_CPU_THREADS:?}" == "128" ]; then
#taskset --cpu-list 0-63 julia ../.buildkite/capture_tmpdir.jl ctest --output-on-failure -j64
bash -c "sleep 15s; ps aux --width 1000; sleep 15s; ps aux --width 1000; sleep 15s; ps aux --width 1000; sleep 15s; ps aux --width 1000; sleep 15s; ps aux --width 1000; sleep 15s; ps aux --width 1000; sleep 15s; ps aux --width 1000; sleep 15s; ps aux --width 1000" &
taskset --cpu-list 0-15 julia ../.buildkite/capture_tmpdir.jl ctest --verbose -R vsyscall_reverse_next-32-no-syscallbuf
else
julia ../.buildkite/capture_tmpdir.jl ctest --output-on-failure -j\$\$(expr \$\${JULIA_CPU_THREADS:?} - 2)
fi
else
echo -n -e "rr seems not able to run, skipping running test suite.\nhostname: "
hostname
Expand Down
7 changes: 0 additions & 7 deletions .buildkite/lib/types.jl
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,5 @@ const platforms = Platforms(
allow_fail = false,
commit_status = true,
),
Platform(;
arch = "aarch64",
rootfs_tag = "v5.22",
rootfs_treehash = "7a63218e46996b36aa108b55746a3d94a3e312c1",
allow_fail = false,
commit_status = true,
),
]
)
1 change: 1 addition & 0 deletions src/test/vsyscall_reverse_next.run
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
source `dirname $0`/util.sh
if [ $TIMEOUT -lt 600 ]; then TIMEOUT=600; fi
debug_test
failed ": test"

0 comments on commit e525510

Please sign in to comment.