Files
LithosAnanake/capsules/workload-6.4th
T
Robert Allan JamesandClaude Opus 5.5 f152a91099 Stage H: DoE rebuilt on BIRTH/SEND/KILL, defs-only workloads; work heat floor on contact (FABRIC-3.8 §3.9, §3.13.7)
Workload capsules the DoE births are definitions only; each defines WL-RUN
(its old birth-time work plus its entry word twice) and WL-DONE-ARGS. The
driver births N workers, SENDs each 'WL-RUN WL-DONE-ARGS SEND', waits in an
ordinary loop for N MU-DONE messages, KILLs them (parked idle), and emits
the marker. The serialized VM-EXEC round-robin is gone.

Kernel: no switch checkpoint after a payload's last word; work heat is the
assessed per-beat charge, and a VM gaining work is raised to the busy set's
floor (Captain Bob's ruling) -- fixes a live stall where a busy-waiting Hera
never yielded, without serializing batch starts.

Evidence: cfg-4 rows spread evenly over Hera and all 8 worker slots (44k
switches); full cfg-4 trials on amd64/aarch64/riscv64 end fail=0 with 8/8
KILL dead; Stage G interleave byte-identical on all three. Acceptance:
dict_hash unchanged, relay 3, idle growth 0.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-23 23:48:16 -04:00

169 lines
2.1 KiB
Forth

Block 2080
Block 2081
: STABLE-WORK
1024 0 DO
I 3 MOD 0= IF
100 0 DO
I J + DROP
LOOP
ELSE
50 0 DO
I J * DROP
LOOP
THEN
LOOP
;
Block 2082
: STABLE-PHASE
16 0 DO
STABLE-WORK
LOOP
;
Block 2083
: WAVES-OF-DOOM
64 0 DO
I 8 MOD 0= IF
100 0 DO
I J + DROP
LOOP
ELSE
25 0 DO
I J * DROP
LOOP
THEN
LOOP
;
Block 2084
: BURSTY-STABLE
8 0 DO
STABLE-WORK
I 2 MOD 0= IF
4 0 DO
256 0 DO
I J * DROP
LOOP
LOOP
THEN
LOOP
;
Block 2085
: TIDAL-WORK
16 0 DO
I 4 MOD 0= IF
512 0 DO
I J + DROP
LOOP
ELSE
256 0 DO
I J * DROP
LOOP
THEN
LOOP
;
Block 2086
: W-TIDAL
4 0 DO
TIDAL-WORK
WAVES-OF-DOOM
LOOP
;
Block 2087
: VOLATILE-BLOCK
128 0 DO
I 2 MOD 0= IF
64 0 DO I J + DROP LOOP
ELSE
64 0 DO I J * DROP LOOP
THEN
I 8 MOD 0= IF
256 0 DO I J + J * DROP LOOP
THEN
LOOP
;
Block 2088
: VOLATILE-STORM
12 0 DO
VOLATILE-BLOCK
LOOP
;
Block 2089
: TRANSITION-PHASE
STABLE-PHASE
W-TIDAL
BURSTY-STABLE
VOLATILE-STORM
;
Block 2090
: TRANSITION-RIPPLE
4 0 DO
256 0 DO I J + DROP LOOP
128 0 DO I J * DROP LOOP
LOOP
;
Block 2091
: MICRO-BURST
32 0 DO
I 4 MOD 0= IF
64 0 DO I J + J * DROP LOOP
ELSE
64 0 DO I J * I + DROP LOOP
THEN
LOOP
;
Block 2092
: MICRO-BURST-FIELD
16 0 DO
STABLE-WORK
I 3 MOD 0= IF
MICRO-BURST
THEN
LOOP
;
Block 2093
: ROLLING-CASCADE
9 1 DO
I 0 DO
STABLE-WORK
LOOP
MICRO-BURST
LOOP
8 1 DO
I 0 DO
STABLE-WORK
LOOP
LOOP
;
Block 2094
: OMNI-WORK
STABLE-PHASE 46 EMIT
TRANSITION-RIPPLE 46 EMIT
W-TIDAL 46 EMIT
BURSTY-STABLE 46 EMIT
MICRO-BURST-FIELD 46 EMIT
VOLATILE-STORM 46 EMIT
TRANSITION-PHASE 46 EMIT
ROLLING-CASCADE 46 EMIT
;
Block 2095
: RUN-OMNI
OMNI-WORK
;
( FABRIC-3.8 3.9: defs only; the DoE SENDs WL-RUN )
: WL-RUN RUN-OMNI RUN-OMNI RUN-OMNI ;
: WL-DONE-ARGS S" MU-DONE" S" Hera" ;