Skip to content

Update multichase implementation#51

Merged
seranian merged 1 commit intogoogle:masterfrom
spikyGD:master
Apr 10, 2026
Merged

Update multichase implementation#51
seranian merged 1 commit intogoogle:masterfrom
spikyGD:master

Conversation

@spikyGD
Copy link
Copy Markdown
Contributor

@spikyGD spikyGD commented Apr 8, 2026

Update multichase implementation.

The current multichase implementation rounds total memory down to the nearest multiple of TLB locality (tlb_locality), causing significant buffer shrinkage (e.g., 4000KB to 1952KB with -T 2m). This distortion leads to a false perception of cache limits and inaccurate boundary size detection.

This change removes the unnecessary rounding in multichase.c and updates the chase generation logic in permutation.c to properly handle partial TLB groups at the end of the memory. This ensures that the entire requested memory size (rounded to stride) is used for the chase without incurring excessive TLB misses.

@seranian seranian merged commit ea9bd14 into google:master Apr 10, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants