Repository navigation
Improve MT scaling (in particular for some scripted proofs) - #4023
Merged
Merged
Conversation
unp1
force-pushed
the
bubel/mt8-generational-cache
branch
from
November 4, 2026 13:48
5f1b864 to
1ae1691
Compare
unp1
force-pushed
the
bubel/mt8-generational-cache
branch
3 times, most recently
from
November 4, 2026 19:45
1157cc3 to
ac6bf30
Compare
…caching Generational cache does not need locking when reading as no structural modifications happen (races on the existing write are safe), hence it does not lock for the most common operation (with AI tooling support)
unp1
force-pushed
the
bubel/mt8-generational-cache
branch
from
November 4, 2026 20:50
ac6bf30 to
9f3a4ca
Compare
unp1
marked this pull request as draft
November 5, 2026 04:35
unp1
marked this pull request as ready for review
November 5, 2026 04:47
wadoon
enabled auto-merge
November 5, 2026 14:03
wadoon
approved these changes
Nov 5, 2026
github-merge-queue
Bot
removed this pull request from the merge queue due to failed status checks
Nov 5, 2026
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.
Intended Change
Improving scaling of the parallel prover. In particular some scripted proofs like verifyThis2026#update had even bad performance regression when scaling from 4 to 8 threads.
This PR improves scaling and avoids the regressions by introducing a generational cache where reading is lock free.
The cache class was implemented using AI and then used for the Term cache and some arithmetics related caches.
Automode time in ms, minimum of 2 rounds, with rep 2 of each JVM as the measurement. JDK 21.
licensebetjml-information-flowsymmArrayverifyThis26 updatequicksort/sortquicksort/splitquicksort/sortandquicksort/splitreplay their proof scripts with the RAP settings. The other proofs run in automode.Type of pull request
Ensuring quality
Additional information and contact(s)
The contributions within this pull request are licensed under GPLv2, or (at your option) any later version, for inclusion in KeY.
Generational cache create with AI tooling (August)