adv-mixer-3: leases at 32 threads (never pre-empted under the priority classes), queue 17 re-submitted under the ranked lease
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
parent
489583c511
commit
3e0110f855
3 changed files with 5 additions and 5 deletions
|
|
@ -4,14 +4,14 @@
|
|||
# Runs only when /srv/builds/_bin/lease has the pool subcommand. Adjust LEASE if its syntax differs.
|
||||
set -uo pipefail
|
||||
X=/srv/builds/_adv-mixer-3/bin/adv-mixer-3; X2=$X-v2; L=/srv/builds/_adv-mixer-3/logs; C=/srv/builds/_adv-mixer-3/cnf; S=$HOME/adv-mixer-3-tools/cadical/build/cadical
|
||||
T=${THREADS:-48}
|
||||
T=${THREADS:-32}
|
||||
# the lease hands the command the cores it took: {cores} is the count, so every harness run sizes its threads from it
|
||||
# main's pool rule (19:2x UTC): the release builds and the class v5 suites outrank every sweep; while a waiter owned by class-v5, or by attack-pass with v5 in
|
||||
# its label, is in the lease queue (never a waiter owned by another adv- lane), no adversarial lease competes: finish the shard in hand, then wait here.
|
||||
yield_v5() { while /srv/builds/_bin/lease status 2>/dev/null | sed -n '/^waiting/,$p' | grep -v "owner=adv-" | grep -qE "owner=class-v5|v5.*owner=attack-pass"; do sleep 30; done; }
|
||||
lease() { yield_v5; /srv/builds/_bin/lease pool "$T" --min 16 --label "adv-mixer-3 $1" --owner adv-mixer-3 -- "${@:2}"; }
|
||||
lease1() { yield_v5; /srv/builds/_bin/lease pool 1 --min 1 --label "adv-mixer-3 $1" --owner adv-mixer-3 -- "${@:2}"; }
|
||||
echo "start $(hostname) $(date -u +%FT%TZ) lease pool up to $T cores, min 16"
|
||||
echo "start $(hostname) $(date -u +%FT%TZ) lease pool up to $T cores (32: never pre-empted), min 16"
|
||||
for k in 5 6 7 8; do echo "== sac day 20729 k=$k $(date -u +%FT%TZ)"; lease "sac 20729 k$k" $X sac --day 20729 --apps $k --states 2^24 --threads {cores} > "$L/sac-20729-k$k.log" 2>&1; grep -E 'holes=|verdict' "$L/sac-20729-k$k.log"; done
|
||||
for k in 5 6 7 8; do echo "== sac day 20733 k=$k $(date -u +%FT%TZ)"; lease "sac 20733 k$k" $X sac --day 20733 --apps $k --states 2^24 --threads {cores} > "$L/sac-20733-k$k.log" 2>&1; grep -E 'holes=|verdict' "$L/sac-20733-k$k.log"; done
|
||||
for k in 2 3 4 5 6 7 8; do echo "== index day 20733 k=$k $(date -u +%FT%TZ)"; lease "index 20733 k$k" $X index --day 20733 --apps $k --threads {cores} > "$L/index-20733-k$k.log" 2>&1; grep -E 'chi2=|verdict' "$L/index-20733-k$k.log"; done
|
||||
|
|
|
|||
|
|
@ -4,14 +4,14 @@
|
|||
# Runs only when /srv/builds/_bin/lease has the pool subcommand. Adjust LEASE if its syntax differs.
|
||||
set -uo pipefail
|
||||
X=/srv/builds/_adv-mixer-3/bin/adv-mixer-3; X2=$X-v2; L=/srv/builds/_adv-mixer-3/logs; C=/srv/builds/_adv-mixer-3/cnf; S=$HOME/adv-mixer-3-tools/cadical/build/cadical
|
||||
T=${THREADS:-48}
|
||||
T=${THREADS:-32}
|
||||
# the lease hands the command the cores it took: {cores} is the count, so every harness run sizes its threads from it
|
||||
# main's pool rule (19:2x UTC): the release builds and the class v5 suites outrank every sweep; while a waiter owned by class-v5, or by attack-pass with v5 in
|
||||
# its label, is in the lease queue (never a waiter owned by another adv- lane), no adversarial lease competes: finish the shard in hand, then wait here.
|
||||
yield_v5() { while /srv/builds/_bin/lease status 2>/dev/null | sed -n '/^waiting/,$p' | grep -v "owner=adv-" | grep -qE "owner=class-v5|v5.*owner=attack-pass"; do sleep 30; done; }
|
||||
lease() { yield_v5; /srv/builds/_bin/lease pool "$T" --min 16 --label "adv-mixer-3 $1" --owner adv-mixer-3 -- "${@:2}"; }
|
||||
lease1() { yield_v5; /srv/builds/_bin/lease pool 1 --min 1 --label "adv-mixer-3 $1" --owner adv-mixer-3 -- "${@:2}"; }
|
||||
echo "start $(hostname) $(date -u +%FT%TZ) lease pool up to $T cores, min 16"
|
||||
echo "start $(hostname) $(date -u +%FT%TZ) lease pool up to $T cores (32: never pre-empted), min 16"
|
||||
for d in 20729 20733; do for k in 2 3 4; do
|
||||
[ $d = 20729 ] && [ $k = 1 ] && continue
|
||||
echo "== cnf day $d k=$k $(date -u +%FT%TZ)"; $X cnf --day $d --apps $k --t0 0x12345678 --out "$C/d$d-k$k.cnf" > "$L/cnf-$d-k$k.log" 2>&1; grep -E 'target|cnf:' "$L/cnf-$d-k$k.log"
|
||||
|
|
|
|||
|
|
@ -9,4 +9,4 @@ LABEL="$1"; shift
|
|||
# its label, is in the lease queue (never a waiter owned by another adv- lane), no adversarial lease competes: finish the shard in hand, then wait here.
|
||||
yield_v5() { while /srv/builds/_bin/lease status 2>/dev/null | sed -n '/^waiting/,$p' | grep -v "owner=adv-" | grep -qE "owner=class-v5|v5.*owner=attack-pass"; do sleep 30; done; }
|
||||
yield_v5
|
||||
exec /srv/builds/_bin/lease pool "${THREADS:-48}" --min 16 --label "adv-mixer-3 $LABEL" --owner adv-mixer-3 -- "$B" "$@"
|
||||
exec /srv/builds/_bin/lease pool "${THREADS:-32}" --min 16 --label "adv-mixer-3 $LABEL" --owner adv-mixer-3 -- "$B" "$@"
|
||||
|
|
|
|||
Loading…
Reference in a new issue