blob: cf9017456b7fd18a33ccc36da6589a15fa67a9d0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#!/bin/sh
mkdir -p "$(hostname)-alloc"
NCORES=$(grep -c '^processor' /proc/cpuinfo)
cleanexit() {
pkill -f "stress -c ${NCORES}"
}
trap cleanexit TERM INT
stress -c ${NCORES} &
./run-alloc-rank.sh | tee "$(hostname)-alloc/rank-stress-c${NCORES}.txt"
cleanexit
xz -v -9 -M 800M "$(hostname)-alloc/rank-stress-c${NCORES}.txt"
|