Verba/Rapida

Esperimenti #170e

Row 170c's single-read kernel with aligned lane loads (row 170d): the global call's pass 1 is byte-bound...

done

Il testo degli esperimenti resta in inglese, come l'ha scritto il laboratorio.

Cosa è stato provato

Row 170c's single-read kernel with aligned lane loads (row 170d): the global call's pass 1 is byte-bound (189 GB/s, 23 us intercept), and row 170c's kernel loads its 0.625 of the bytes at only 146 GB/s, likely because each lane takes 20 values (40 bytes) at a 40-byte offset. A mapping in which each lane loads 16 contiguous V values (32 bytes, aligned) and 4 of K's 128 rotated values (8 bytes, aligned) keeps one read and the port's load shape. Step 1a: row 170c's microbench with this arm, its checks and fidelity guard, kill above 0.85 of the port (`2026-11-19-mac-r170-global-kv-once/README.md` § Result, row 170d)

Modello e configurazione

the best

Guadagno atteso

about +2% to +3.7% if the call follows its bytes at the port's rate (**estimate**)

Da dove viene l'idea

row 170d

Esito

done 2026-11-19: KILL, single / port 0.880 [0.843, 0.936] at 8k (0.848 at 16k), from 0.949 with aligned loads; it reads at about 116 against 162 GB/s (`2026-11-19-mac-r170-global-kv-once/README.md` § Result, row 170e)

Lezione

aligned lane loads recover part of the single-read kernel's load rate (0.949 to 0.880 of the port at 8k), but it still reads its bytes at about 116 against 162 GB/s, so the stored-once K=V layout misses the 0.85 line at 8k and only reaches it at 16k (0.848). The lever's value now rests on the per-byte gap, not on the byte count.

Adottato

no (KILL on the pre-registered line)

Vuoi vedere cosa hanno prodotto questi esperimenti? Lesto, il motore di inferenza per Gemma 4 sui Mac con Apple silicon, è su lestoengine.com

Creato da Federico Andrioli, @fedeandri su X Le misure di un laboratorio di ricerca, ricavate direttamente dai suoi file. Dati aggiornati al