Repository navigation
X34: two grid phases for long mixed rows where L3 per CPU is small (lead c) - #21
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…m b) 100000 = 40 x 50 x 50 on avx512 takes blocks of 20 columns instead of 4. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
# Conflicts: # dev/PLAN.md
… narrowest block (X34 arm b) Keeps every plan whose power-of-two block is wider than max(2, lanes) (EPYC 51200, 256000, the Mac's 51200 and 55296 would otherwise have changed, some to narrower blocks). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Superseded by two phases for these rows (arm c): 100000 in three phases with blocks of 20 took 0.80 of main's cycles on the Xeon, in two phases with main's blocks of 4 0.69-0.73; with two phases no measured row has the narrowest power-of-two block in three phases. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…where L3 per CPU is small (X34 arm c) On the Xeon 6240 (private 1 MiB L2, 0.7 MiB of L3 per CPU) two phases took 0.70-0.92 of the three phases' cycles on every mixed row measured from 71680 to 4 x 10^6 points with an odd part of 15 or more (100000 0.73, 10^6 0.70); rows nearer a power of two lost (odd part 3-9: up to 1.13). New profile field grid_two_odd_part (fbench GRID_TWO_ODD_PART), set to 15 where a private L2 has less than 2 MiB of L3 per CPU. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
# Conflicts: # dev/PLAN.md
… PLAN Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
# Conflicts: # bench/README.md # bench/backends/fftn.cpp # dev/DESIGN.md # dev/LESSONS.md # dev/PLAN.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Experiment X34 (PLAN lead (c)): the Xeon's long rows of mixed length.
Diagnosis (Xeon 6240: private 1 MiB L2, 0.7 MiB of L3 per CPU)
Change
grid_two_odd_part(fbench knobGRID_TWO_ODD_PART), set to 15 where a private L2 has less than 2 MiB of L3 per CPU behind it, i.e. where X29's chains do not apply.Results (Xeon, GCC 14,
avx512)Details:
dev/experiments/X34-xeon-mixed.md.Not covered: Granite Rapids in an 8-vCPU VM reports 63 MiB of L3 per CPU, so X29's chains still apply there.
🤖 Generated with Claude Code