-
Notifications
You must be signed in to change notification settings - Fork 97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Verification time increased by 7X on an s2n-quic harness #1693
Comments
That PR turned But perhaps it's complicating the state with new assumptions along the paths it does follow. |
Summarizing the current status of the investigation: There are at least a couple of commits that contributed to the increase in verification time:
Rewinding back to this commit and changing those two We tried introducing a temporary variable for the condition that is then used in the assert and assume, but that didn't make a difference.
|
With kissat, this harness completes in ~1 minute:
I had to disable reachability checks though (
|
@tautschnig These are the current results with 9439a54 and with CBMC diffblue/cbmc@42d5ce2 built with MiniSAT 2 and CaDiCaL. With MiniSAT:
With CaDiCaL:
With Kissat:
So CaDiCaL is indeed slightly faster. All results can be reproduced by doing |
Resolving with following rationale:
|
Noticed today that s2n-quic's
vectored_copy_fuzz_test
harness takes 30 minutes to prove, even though a few weeks ago, it only took 4 minutes. The culprit commit turned out to be ab0f2ad from Aug 18. With this commit, it takes 30 minutes, but with the previous commit (8b1d18c), it takes 4 minutes.To reproduce, do:
git checkout 8b1d18c436353a4428f58be268d1a2df04015faf
cargo clean
cargo build --workspace
cd tests/perf/s2n-quic/quic/s2n-quic-core
cargo kani --harness vectored_copy_fuzz_test
This produces:
git checkout ab0f2add72b9fd49a8410b7de981702cc3e784d6
Output:
The text was updated successfully, but these errors were encountered: