-
Notifications
You must be signed in to change notification settings - Fork 254
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
Give --resource-limit
a default value
#5254
Comments
Agreed a default value is a good idea, but it should be a fixed value. The point of encouraging Based on the user feedback we've got, and our own experience building If we do set a default value, I think we need a way to opt in to no resource limit, something like |
I agree, that's also what I'm proposing. However, we could raise the default in the future, if solvers or hardware improves so that solver resources are consumed faster. I'm suggesting adding a script to calibrate the right default value for |
Ah gotcha. The 1M threshold is definitely only based on anecdotes and empirical evidence on a fairly small sample, on a mix of hardware. I like the idea of something like "the butterfly effect can frequently multiply verification cost, so let's pick a reasonable tolerable maximum verification time limit like 20 seconds and set the limit to effectively half of that, so we're not typically immediately broken by a single change". |
The default value should be calibrated to target a particular maximum duration of verification, for some common type of hardware. I don't know what duration we should target, but I imagine something in the range 1-30 seconds.
The calibration should come in the form of a script that outputs what a good default
--resource-limit
isThe text was updated successfully, but these errors were encountered: