Skip to content

Booster interim simplification, refactor rewrite and logging parameters #4010

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

Merged
merged 11 commits into from
Aug 1, 2024

Conversation

jberthold
Copy link
Member

@jberthold jberthold commented Jul 31, 2024

  • adds option --simplify-each DEPTH which runs a booster-only simplification every DEPTH steps
  • refactors logging-related options into a dedicated LogOptions type
  • refactors performRewrite and runRewriteT to use a pre-made RewriteConfig (extended by parameters required only in performRewrite

@jberthold
Copy link
Member Author

Results for KEVM do not show much speedup /slowdown when using the option.
(--no-fallback-simplify and --no-post-exec-simplify have larger effect)

kevm-with-simplification-tweaks

@jberthold jberthold self-assigned this Jul 31, 2024
@jberthold jberthold changed the title Experiment booster interim simplification Booster interim simplification, refactor rewrite and logging parameters Aug 1, 2024
@jberthold jberthold force-pushed the EXPERIMENT-booster-interim-simplification branch from 4ef3106 to cd2a4dd Compare August 1, 2024 01:17
@jberthold jberthold marked this pull request as ready for review August 1, 2024 01:29
Comment on lines +109 to +116
# use special options if given, but restore KORE_RPC_OPTS afterwards
if [ ! -z "${FEATURE_SERVER_OPTS}" ]; then
echo "Using special options '${FEATURE_SERVER_OPTS}' via KORE_RPC_OPTS"
if [ ! -z "${KORE_RPC_OPTS:-}" ]; then
PRIOR_OPTS=${KORE_RPC_OPTS}
fi
export KORE_RPC_OPTS=${FEATURE_SERVER_OPTS}
fi
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I put this in ad-hoc, it is helpful when new optional features are introduced (here: running with --simplify-each) but those options won't show in the log files for the timing, unfortunately.

Copy link
Contributor

@geo2a geo2a left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! I left one minor comment.

@jberthold jberthold merged commit 6fdb95b into master Aug 1, 2024
6 checks passed
@jberthold jberthold deleted the EXPERIMENT-booster-interim-simplification branch August 1, 2024 12:00
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

Successfully merging this pull request may close these issues.

2 participants