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

Misc fixes/improvements for tx generator. #4529

Merged
merged 4 commits into from
Nov 5, 2024

Conversation

dmkozh
Copy link
Contributor

@dmkozh dmkozh commented Oct 30, 2024

Description

Misc fixes/improvements for tx generator. The improvements include:

  • Properly close the ledgers for compatibility with BLDB
  • Increased I/O modeled instructions to cover larger writes
  • Account for the cost recalibration when setting up a test network config
  • Add per-ledger modelled/real insns ratio metrics to reduce variance
  • Add more logs to apply-load command

Also added a smoke test for the apply load utility.

Checklist

  • Reviewed the contributing document
  • Rebased on top of master (no merge commits)
  • Ran clang-format v8.0.0 (via make format or the Visual Studio extension)
  • Compiles
  • Ran all tests
  • If change impacts performance, include supporting evidence per the performance document

@dmkozh dmkozh marked this pull request as ready for review November 1, 2024 17:23
The improvements include:

- Properly close the ledgers for compatibility with BLDB
- Increased I/O modeled instructions to cover larger writes
- Account for the cost recalibration when setting up a test network config
- Add per-ledger modelled/real insns ratio metrics to reduce variance
- Add more logs to `apply-load` command

Also added a smoke test for the apply load utility.
…it randomly broke the externalize test).

Also update the externalize test itself to cover the relevant protocol versions (prev and curr) instead of some fixed ones.
The reason for the change is the added costs recalibration. This also led to a host fn succeeding instead of failing.
@dmkozh dmkozh added this pull request to the merge queue Nov 5, 2024
Merged via the queue into stellar:master with commit 2a1d084 Nov 5, 2024
13 checks passed
@dmkozh dmkozh deleted the apply_load_fixes branch November 5, 2024 22:53
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