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

Get sign off by system level benchmarks #203

Open
1 of 5 tasks
Tracked by #28
dnadales opened this issue Jan 19, 2023 · 3 comments
Open
1 of 5 tasks
Tracked by #28

Get sign off by system level benchmarks #203

dnadales opened this issue Jan 19, 2023 · 3 comments
Assignees
Labels

Comments

@dnadales
Copy link
Member

dnadales commented Jan 19, 2023

  • Prepare a branch for the benchmarking team
  • Any regressions shown by the system-level benchmarks should be within the allowed limits, both for the
    • in-memory backend.
    • LMDB backend.
  • Get a signoff from product owners and other stakeholders (@abailly-iohk, @disassembler, @kevinhammond)

If the results of the benchmarks are not satisfactory, we might need to work on further optimizations.

@jorisdral jorisdral transferred this issue from IntersectMBO/ouroboros-network Jul 10, 2023
@dnadales dnadales assigned dnadales and mgmeier and unassigned dnadales Oct 5, 2023
@dnadales
Copy link
Member Author

dnadales commented Oct 5, 2023

utxo-hd-8.2.1 vs 8.2.1-pre, in-memory, value-only

Results for: utxo-hd-8.2.1 (optimized and unoptimized) vs. 8.2.1-pre -- AWS benchmarks value-only workload

Resource usage

  1. Heap size increased by 1072MB or 57%.
  2. Allocation rate went up by 47%.
  3. Mutator CPU usage increased by 20% and process CPU usage by 24%.
  4. GC CPU usage went up by 45%.
  5. Minor GCs increased by 50%, whereas Major GCs went down by 46%.
  6. CPU 85% span duration improved by 4.9 slots, or 37%.

Forging

For utxo-hd with the in-memory backend, we observe no regression in forger-related metrics.

Peer propagation

For utxo-hd with the in-memory backend, we observe no regression in peer-related metrics.

End-to-end propagation

Block propagation times for utxo-hd with the in-memory backend match those of the 8.2.1-pre baseline for all centiles.

@dnadales
Copy link
Member Author

utxo-hd-8.2.1 vs 8.2.1-pre, in-memory, Plutus workload

Resource usage

  1. Heap size increased by 696 MB, or 36%.
  2. Allocation rate went up by 19%.
  3. Minor GCs increased by 20%, whereas Major GCs decreased by 51%.
  4. CPU span duration worsened by 1.9 slots, or 13%.

Forging

For utxo-hd with the in-memory backend, we observe no regression in forger-related metrics.

Peer propagation

For utxo-hd with the in-memory backend, we observe no regression in peer-related metrics.

End-to-end propagation

Block propagation times for utxo-hd with the in-memory backend are on par or single-digit percentages less than the 8.2.1-pre baseline version.

@dnadales
Copy link
Member Author

Due to the increase in resource usage, we will not be able to sign off the current version of the in-memory backend. This issue might be superseded by #429

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants