diff options
Diffstat (limited to 'Microbenchmarks/CPU-DPU/run-alloc-rank-stress.sh')
-rwxr-xr-x | Microbenchmarks/CPU-DPU/run-alloc-rank-stress.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Microbenchmarks/CPU-DPU/run-alloc-rank-stress.sh b/Microbenchmarks/CPU-DPU/run-alloc-rank-stress.sh index da136c0..e166a4e 100755 --- a/Microbenchmarks/CPU-DPU/run-alloc-rank-stress.sh +++ b/Microbenchmarks/CPU-DPU/run-alloc-rank-stress.sh @@ -5,6 +5,8 @@ mkdir -p "$(hostname)-alloc" NCORES=$(grep -c '^processor' /proc/cpuinfo) cleanexit() { pkill -f "stress -c ${NCORES}" + xz -f -v -9 -M 800M "$(hostname)-alloc/rank-stress-c${NCORES}.txt" + exit 0 } trap cleanexit TERM INT @@ -14,5 +16,3 @@ stress -c ${NCORES} & ./run-alloc-rank.sh | tee "$(hostname)-alloc/rank-stress-c${NCORES}.txt" cleanexit - -xz -f -v -9 -M 800M "$(hostname)-alloc/rank-stress-c${NCORES}.txt" |