[go: up one dir, main page]

Draft: Scoru, Test: Add 60K txs tezt for tx-kernel

UPD:

This one is a bit on hold now because with the new installer client, it's impossible to specify a custom config, which is necessary for this test (to specify DAC member).

We will chat with Emma how she thinks it should be done. When this piece of work is completed this MR will be possible to merge

This branch but with squashed commits and rebased on master is here: https://gitlab.com/tezos/tezos/-/commits/scoru@durable@high-load-test-new-kernel-installer

Context

This is the second part of this task: #4951

I added the rest of the encodings to be able to provide an external message to the kernel through the DAC.

Using DAC implies some initial preset of the kernel so I added tx-demo-installer.

I compiled the tx kernel without signature verifications in order to eliminate overhead of unrelated to durable storage operations.

Also, the tx kernel is tuned for the demo in regard to DAC messages, so I tweaked the kernel a bit to work in integration tests, and also added some debug messages to it. This new file is also in the repo.

Also, the last big which was done: I've added debug events to the rollup node which notifies when PVM begins/ends to execute compute_step_many in order to measure kernel execution time more precisely.

Results of the test:

Old:

1st run: 82 seconds

2nd run: 83 seconds

New:

1st run: 67 seconds

2nd run: 68 seconds.

This is purely kernel execution. So speed-up is around 20%.

Manually testing the MR

Checklist

  • Document the interface of any function added or modified (see the coding guidelines)
  • Document any change to the user interface, including configuration parameters (see node configuration)
  • Provide automatic testing (see the testing guide).
  • For new features and bug fixes, add an item in the appropriate changelog (docs/protocols/alpha.rst for the protocol and the environment, CHANGES.rst at the root of the repository for everything else).
  • Select suitable reviewers using the Reviewers field below.
  • Select as Assignee the next person who should take action on that MR
Edited by Ilya Peresadin

Merge request reports

Loading