adv-cache-3 queue: 32 threads under the ranked lease
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
parent
0f8890777c
commit
f71ff308e7
2 changed files with 2 additions and 2 deletions
|
|
@ -4,7 +4,7 @@
|
|||
# waiter (main, 20:2x BST). Runs ON build box 2.
|
||||
set -u
|
||||
BIN=/srv/builds/_adv-cache-3/bin/adv-cache-3; D=/srv/builds/_adv-cache-3/logs; mkdir -p $D
|
||||
T=${THREADS:-48}
|
||||
T=${THREADS:-32}
|
||||
echo $$ > $D/image2-batch.pid
|
||||
yield_v5() { while /srv/builds/_bin/lease status 2>/dev/null | sed -n "/^waiting:/,\$p" | grep -E "owner=class-v5|v5.*owner=attack-pass" | grep -vq "owner=adv-"; do sleep 30; done; }
|
||||
run() { tag=$1; shift; yield_v5; echo "$(date -u +%FT%TZ) start $tag" >> $D/ledger.txt; /srv/builds/_bin/lease pool $T --min 16 --label "adv-cache-3 $tag" --owner adv-cache-3 -- $BIN "$@" > $D/$tag.log 2>&1; rc=$?; echo "$(date -u +%FT%TZ) end $tag rc=$rc" >> $D/ledger.txt; echo "$tag rc=$rc"; }
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
# 48 cores at most, --min 16, yields to any waiter with owner class-v5 or a "v5" label (main, 20:3x BST). Runs ON build box 1.
|
||||
set -u
|
||||
BIN=/srv/builds/_adv-cache-3/bin/adv-cache-3-dep; D=/srv/builds/_adv-cache-3/logs; mkdir -p $D
|
||||
T=${THREADS:-48}
|
||||
T=${THREADS:-32}
|
||||
yield_v5() { while /srv/builds/_bin/lease status 2>/dev/null | sed -n "/^waiting:/,\$p" | grep -E "owner=class-v5|v5.*owner=attack-pass" | grep -vq "owner=adv-"; do sleep 30; done; }
|
||||
run() { tag=$1; shift; yield_v5; echo "$(date -u +%FT%TZ) start $tag" >> $D/ledger.txt; /srv/builds/_bin/lease pool $T --min 16 --label "adv-cache-3 $tag" --owner adv-cache-3 -- $BIN "$@" > $D/$tag.log 2>&1; rc=$?; echo "$(date -u +%FT%TZ) end $tag rc=$rc" >> $D/ledger.txt; echo "$tag rc=$rc"; }
|
||||
echo $$ > $D/flip-batch.pid
|
||||
|
|
|
|||
Loading…
Reference in a new issue