Skip to content

Run a testnet on DO (200 node test) as smoke test on this branch #547

Closed

Description

@sergio-mena

Using branch sergio/test-vote-extensions-on-do

  • While testing on this (temporary) branch, which merges main (as of last Fri) into feature/abci++vef, we found two metrics-related bugs (one as of 8ba3231ec, the other as of 72451db8b). See Fixed two bugs related to metrics #562.

  • When testing with hash 7d8c9d426 of the branch above, we managed to run a 200-node testnet (4 experiments) and gathered the following metrics.

    • I'm also including the results from v0.37.0-alpha.3 last month for comparison.
    • Every time, the first plot is v0.37.0-alpha.3, and the second, sergio/test-vote-extensions-on-do.
    • I won't include all the metrics (I can provide them on demand... they're also on the DO storage for CometBFT). I will only show the most relevant
  • All experiments (v0.37.0-alpha.3 vs. sergio/test-vote-extensions-on-do). We chose the third one (UUID=ddf12...) as it has the least ideal plot.

all_experiments
all_experiments

  • Average mempool size
    avg_mempool_size
    avg_mempool_size

  • CPU (note that sergio/test-vote-extensions-on-do is running the demo code that verifies vote extension signatures both at PrepareProposal and at ProcessProposal)

cpu
cpu

  • Block rate

block_rate
block_rate

  • Transaction rate

total_txs_rate
total_txs_rate

CONCLUSION:

  • No noticeable differences in metrics w.r.t v0.37.0-alpha.3 (other metrics not shown here have also been compared)
  • We are good to merge feature/abci++vef back into main

Activity

  1. changed the title [-][Optional]: Run a testnet on DO (200 node test) as smoke test on this branch[/-] [+]Run a testnet on DO (200 node test) as smoke test on this branch[/+] on Mar 17, 2023
  2. self-assigned this
    on Mar 17, 2023
  3. added
    abci
    on Mar 17, 2023
  4. moved this from In Progress to Todo in CometBFT 2023on Mar 17, 2023
  5. moved this to In Progress in CometBFT 2023on Mar 17, 2023
  6. moved this from Todo to Ready for Review in CometBFT 2023on Mar 20, 2023
  7. jmalicevic commented on Mar 21, 2023

    @jmalicevic
    Collaborator

    I agree, and I am very happy to see this :) Just out of curiosity, what are these peaks in block creation times and tx throughput, do you have any insights?

  8. sergio-mena commented on Mar 21, 2023

    @sergio-mena
    CollaboratorAuthor

    Thanks @jmalicevic, I think they are correlated with the rounds plot (which is missing). I'm including it below.
    But then again, the peaks also existed in v0.37.0-alpha.3. More generally, (thinking of planning) we might want to allocate some time to investigate why we jump to round 1 (sometimes even round 2) so often, although my guess is that, when we optimize the mempool and the proposal, it will stop happening.
    Here are the round plots (first v0.37.0-alpha.3 and then sergio/test-vote-extensions-on-do):

    rounds
    rounds

  9. adizere commented on Mar 21, 2023

    @adizere
    Contributor

    Great work Sergio, agree with your conclusions. +1 to Jasmina's questions above!

    I have a couple of ideas to further improve, but should not block here:

    • might be easier to read & compare plots if we ensure all comparable plots have the same Y-axis.
    • in terms of X-axis, seems like most plots have ~2 minutes duration, except for the latency plots which are ~80-100 seconds.
  10. jmalicevic commented on Mar 21, 2023

    @jmalicevic
    Collaborator

    Thanks Sergio, that makes sense... I was just curious for what the reason was..

    @adizere we usually align all of those in the final report :)

  11. sergio-mena commented on Mar 21, 2023

    @sergio-mena
    CollaboratorAuthor

    @adizere, you're totally right. We'll take your suggestions into account when carrying out the official QA process in a few days

  12. jmalicevic commented on Mar 21, 2023

    @jmalicevic
    Collaborator

    Although on second thought, it seems more blocks are created by some validators when the rounds are higher... In any case, those are outliers, nothing preventing us from merging the branches..

  13. moved this from Ready for Review to Done in CometBFT 2023on Mar 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

abci

Type

No type

Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions