Verba/Rapida

Esperimenti #170f

The aligned single-read kernel's per-byte gap (row 170e): its pass 1 reads at about 116 against the port's...

done

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

Cosa è stato provato

The aligned single-read kernel's per-byte gap (row 170e): its pass 1 reads at about 116 against the port's 162 GB/s. A counter read of both pass 1 kernels at 8k (Metal capture: memory throughput, occupancy, ALU and load instruction counts), no engine change, to find what holds the gap before any further kernel row (`2026-11-19-mac-r170-global-kv-once/README.md` § Result, row 170e)

Modello e configurazione

the best

Guadagno atteso

none by itself (a diagnostic)

Da dove viene l'idea

row 170e

Esito

done 2026-11-19: diagnostic; the M4 reports no GPU counter headless (every counter and shader-profiler table of the xctrace recording holds 0 rows); both pass 1 kernels run at the Maximum performance state; no further row 170 kernel work (`2026-11-19-mac-r170-global-kv-once/README.md` § Result, row 170f)

Lezione

on the rented M4, xctrace's Metal GPU Counters instrument records a trace whose counter tables are all empty (both counter profiles, shader profiler included) while the Metal System Trace part works; the only GPU reading it adds is the performance state, Maximum for both pass 1 kernels alike. Per-kernel rates on this Mac come from bytes over split-mode time; GPU counters would need another path (an in-process counter sample buffer), not tried.

Adottato

no (diagnostic; no counter data)

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