Skip to content

Transaction Generator: Test Cases

njd42 edited this page Oct 31, 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 2133 MHz
  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 --node-id 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.

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

Transactions with Additional Size

Please note that these results are from local cluster testing (so there's no real-world network latency).

Number of nodes Number of txs Inputs Outputs Add tx size, bytes Time
3 1000 1 1 0 1:40
3 1000 1 1 128 1:40
3 1000 1 1 256 1:41
3 1000 1 1 512 1:41
3 1000 1 1 1024 1:42
3 1000 1 1 2048 1:45
3 1000 1 1 4096 1:47
3 1000 1 1 8192 1:47
3 1000 1 1 10240 1:48
3 1000 1 1 12288 1:52
3 1000 1 1 14336 1:52

<< Could we please populate the following table as well - I assume that there will be some slight variation in Tx Size, if it is constant please modify appropriately

| Num of Inputs | Num of Outputs | Tx size (mean) | Tx size (var) | Tx Size (min) | Tx Size (max) | | 1 | 1 | | | | |

Clone this wiki locally