Support for non-immediate proof maintenance#4563
Conversation
nwatson22
left a comment
There was a problem hiding this comment.
Looks good. Can you make it toggleable with a flag so we can choose to do the disk writing/status bar updating every step?
Co-authored-by: devops <devops@runtimeverification.com>
…#4566) Adds the number of terminal nodes to `one_line_summary` for `APRProof`. Also changes the display to use `|` as dividers instead of `/`.
Co-authored-by: devops <devops@runtimeverification.com>
Co-authored-by: devops <devops@runtimeverification.com>
This option is unused and all its use cases are subsumed by the `-l Timing --log-format json` non-RPC log option. For reference, here's the Haskell Backend PR that stops emitting the timing RPC log entries: runtimeverification/haskell-backend#4015
|
I think I prefer to have a separate parameter so that we can decouple it from the number of workers, as it is now. Is there anything else to do in |
You could possibly add the same parameter/logic to |
| [coverage] | ||
| output = "default-file" | ||
| definition = "/tmp" | ||
| definition = "/var/folders/ks/1p8zyp5j7xz_v1krhl4l17tm0000gn/T" |
There was a problem hiding this comment.
I have not changed that file manually...
Yes, happy to. |
|
Just to say - I am not sure how to test this, because the final outcome is the same, it's just that the proof should be faster. Happy to go along with any ideas in a follow-up PR. |
When doing large real-world proofs with a high degree of parallelism, the bandwidth is overtaken by the writing of the proof to disk on every proof iteration, slowing the process considerably.
This PR introduces the ability to write to disk and perform the callback on every
maintenance_iterationsof the parallel proof, set by default to 32.EDIT: Actually, perhaps it's a better idea to write the proof every
max_workersiterations.