L30 Negative Q8 · Speed numbers
The '16% slower' lookup-table kernel claim, retracted
QuestionDoes a performance number copied from a source comment hold up when actually measured?
Run by us; no unaffiliated reproduction
The test in one picture
Question, method, result and meaning, in plain words. The sourced detail is further down the page.
The same picture, in words
- Question
- Does a performance number copied from a source comment hold up when actually measured?
- Why it matters
- Numbers that were never measured spread easily.
- How the test works
- Put all candidates in one program and interleave them in one loop on identical packed weights.
- Make three logged runs.
- Compare the f32 arm with the lookup-table (pshufb) arm.
- What we found
- '16% slower' did not reproduce. The lookup-table arm swung 36% between two speed modes while the f32 arm moved 4.7%. In the faster mode it was 1.19 to 1.21 times faster than f32; in run 1 it lost at 1.09x, so the ordering flips between runs. The reject decision stands on memory traffic (a derived ~28% slower decode, not a measurement).
- What it means
- A number that was copied and never measured was wrong in the form claimed; the conclusion survived for a different reason. Three runs on a virtual machine, no end-to-end measurement.
- Everyday comparison
- Like repeating a rumour that a road is slow, then timing it three times and finding the answer flips from run to run.
- Where the facts come from
The source note is in a repository that is not public, so there is no public link.
Share this picture: SVG · PNG (1200 x 630)
01Why it matters
Numbers that were never measured spread easily.
02Method, step by step
- Put all arms in one binary and interleave them in one loop on identical packed weights.
- Make three logged runs.
- Compare the f32 arm and the pshufb arm.
Method as recorded
All arms in one binary, interleaved in one loop, on identical packed weights; three logged runs on a Chromebook crosvm guest (i5-10210U), git_head a249b2c. Run by us.
03Results, exact and sourced
-
R1The earlier '16% slower' claim does not reproduce: the pshufb arm was bimodal (8.2 vs ~11.2 GMAC/s effective, a 36% swing) while the f32 arm moved only 4.7%. In the faster mode pshufb was 1.19-1.21x faster than the f32 matvec kernel; in run 1 it lost at 1.09x, so the ordering flips between runs.
"16% SLOWER" is NOT REPRODUCIBLE.
From our lab notes The repository holding the source is not public, so there is no link. -
R2The decision to reject the kernel still stands, on different grounds. The memory-traffic ratio is derived arithmetic (1.670x per token), not a measurement. The derivation uses prior-log figures to reach a projected ~28% slower decode in the bandwidth-bound regime.
The rejection verdict STANDS, on memory-traffic grounds, not kernel throughput.
From our lab notes The repository holding the source is not public, so there is no link.
04What it does NOT show
End-to-end decode speed (the 28% figure is derived) or any VNNI machine.
05Scope and caveats
- Three logged runs on a virtualised machine (crosvm guest, i5-10210U); the pshufb arm was bimodal. A fourth spot-run was unlogged and the source says it substantiates nothing.
- The bimodality explanation (working set straddling the 6 MB LLC) is an untested hypothesis in the source.
- The original number came from a source-file comment, which our own provenance rule does not admit; the bench had never measured the f32 arm it claimed to lose to.
- The benchmarked pshufb kernel is numerically incorrect (madd pairing artifact, flagged in-source); repairing it would erode the faster-mode gain.
- The 28% slower figure is a derivation from earlier logs, not a measured end-to-end result.
- No VNNI (vpdpbusd) machine was measured; that revisit is still open.
- Run by us; no unaffiliated reproduction.
- The source note is kept in a repository that is not public, so no link is given and an outside reader cannot check the quoted text.
06Outcome
The claim or approach failed, or we retracted it.
07What we learned
A number cited from a source file but never measured was wrong in the form claimed. The conclusion survived, for a different reason.
08Check it yourself
The findings file is in a repository that is not public, so there is no public page to check.