Skip to content
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

new STP much slower on some examples #463

Open
ericwhitmansmith opened this issue Apr 14, 2023 · 5 comments
Open

new STP much slower on some examples #463

ericwhitmansmith opened this issue Apr 14, 2023 · 5 comments

Comments

@ericwhitmansmith
Copy link

We upgraded STP today, and it seems much worse on some examples. For example, this query is easily proved Valid by the version of STP from May 27, 2022 (in 0.05 seconds), but the new STP was still running after 3 hours.

NODE0 : BITVECTOR(32);
QUERY (
LET NODE1 = (SBVLT(NODE0[31:0], 0bin00000000000000000000000000000000[31:0])) IN (
LET NODE2 = (NODE0[31:31]) IN (
LET NODE3 = BVSX(NODE2, 32) IN (
LET NODE4 = (0bin00000000000000000000000000000001[31:0] | NODE3[31:0]) IN (
LET NODE5 = (BVMULT(32,NODE0[31:0],NODE4[31:0])) IN (
LET NODE6 = (NODE0[31:0]) IN (
LET NODE7 = (NODE5 = NODE6) IN (
(NODE7 OR NODE1)))))))));

Can others reproduce the slowness? Thanks!

@aytey
Copy link
Member

aytey commented Apr 14, 2023

Just so we know, are you saying that:

?

If you already know the commit hash that broke, that saves me the work!

@ericwhitmansmith
Copy link
Author

What I'm seeing is this:

Version that works:

/usr/local/bin/stp-20220527 --version
STP version 2.3.3
STP version SHA string 8f47022

Version that doesn't work:

stp --version
STP version 2.3.3
STP version SHA string a9bc247

Unfortunately, I don't know when exactly it stopped working.

@ericwhitmansmith
Copy link
Author

Okay, I believe the problem is introduced in d29b19d

@msoos
Copy link
Member

msoos commented Apr 18, 2023

Oh. Maybe we can revert that? @TrevorHansen what do you think? Is there something we can do to make sure we don't weaken our performance on other problems while making sure we are good on these too?

@TrevorHansen
Copy link
Member

TrevorHansen commented Apr 20, 2023 via email

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

No branches or pull requests

4 participants