Skip to content

Transaction Generator: Test Cases

Denis Shevchenko edited this page Sep 25, 2019 · 9 revisions

This page describes the first benchmarking results of transaction generator.

Working system

The first results was collected on this computer:

  1. CPU: Intel Core i7-7500U 2.70GHz
  2. Memory: 16 GB DDR4
  3. OS: Debian 10 amd64

Run commands

Run a cluster:

$ cd cardano-node
$ tmux
$ ./scripts/shelley-testnet.sh

Run a generator (in another terminal):

$ cd cardano-node
$ ./scripts/generator.sh -n 0

Settings #1

  1. Each benchmarking transaction has 1 input and 1 output, with fixed amount of money (100 ADA).
  2. Slot duration = 20 sec.
  3. txNumServiceTime = 0.01 sec.

Results #1

Txs number Handling time Avg. memory usage Avg. CPU usage
10k 05:40 238514 85%
50k 26:28 663014 84%

Settings #2

  1. Each benchmarking transaction has 1 input and 1 output, with fixed amount of money (100 ADA).
  2. Slot duration = 20 sec.
  3. txNumServiceTime = 0

Results #2

Txs number Handling time Avg. memory usage Avg. CPU usage
10k 04:24 238514 85%
50k 20:10 663014 84%
Clone this wiki locally