Skip to content
Update benchmarks authored by Philippe Wang's avatar Philippe Wang
...@@ -28,6 +28,76 @@ ...@@ -28,6 +28,76 @@
### Host=amd.local ### Host=amd.local
random ordering of jobs + new presentation of results
```
0.05user 0.01system 26:52.82elapsed 0%CPU (0avgtext+0avgdata 12552maxresident)k
15104inputs+0outputs (144major+3071minor)pagefaults 0swaps
real 26m52.828s
user 0m0.319s
sys 0m0.082s
Indexing started on Tue Sep 14 03:28:55 PM PDT 2021 - ended on Tue Sep 14 05:20:35 PM PDT 2021
0.02user 0.00system 0:00.90elapsed 2%CPU (0avgtext+0avgdata 12620maxresident)k
7712inputs+0outputs (79major+3080minor)pagefaults 0swaps
#####################################
Database:
HOST=localhost
DB=v960b
PORT=5432
PG_USER=phil
DB_USER=phil
PSQL_OPTIONS=
PSQL=time psql -h localhost -p 5432 -U phil v960b -a
Tezos node:
TEZOS_NODE=http://127.0.0.1:8732
TEZOS_NODE2=http://localhost:8735
TEZOS_NODE3=http://localhost:8736
TEZOS_NODE4=http://localhost:8732
TEZOS_NODE5=http://localhost:8733
TEZOS_NODE6=http://localhost:8734
TEZOS_NODE7=http://localhost:8735
TEZOS_NODE8=http://localhost:8736
TEZOS_NODE9=http://localhost:8737
TEZOS_NODEA=http://localhost:8738
Tezos-indexer:
TI=.
LOGS_DIR=/c/L/
BLOCK_CACHE_DIR=/home/phil/blocks/
INDEXER_DATAKINDS=--no-contract-balances --no-snapshot --do-not-get-missing-scripts --no-watch --tokens-support
INDEXER_RUN=--use-disk-cache --debug --verbosity=1 --verbose
INDEXER_OTHER_OPTIONS=
gsize=2000
top=1680000
PROCESSES=64
LOGS_DIR=/c/L/
BLOCK_CACHE_DIR=/home/phil/blocks/
LOGS=/c/L//indexer-segment-2000-localhost-v960b
INDEXER_OPTIONS1=--no-contract-balances --no-snapshot --do-not-get-missing-scripts --no-watch --tokens-support --use-disk-cache --debug --verbosity=1 --verbose --db=postgresql://phil@localhost:5432/v960b --tezos-url=http://localhost:8734 --block-cache-directory=/home/phil/blocks/
INDEXER_OPTIONS2=--no-contract-balances --no-snapshot --do-not-get-missing-scripts --no-watch --tokens-support --use-disk-cache --debug --verbosity=1 --verbose --db=postgresql://phil@localhost:5432/v960b --tezos-url=http://localhost:8735 --block-cache-directory=/home/phil/blocks/
INDEXER_OPTIONS3=--no-contract-balances --no-snapshot --do-not-get-missing-scripts --no-watch --tokens-support --use-disk-cache --debug --verbosity=1 --verbose --db=postgresql://phil@localhost:5432/v960b --tezos-url=http://localhost:8736 --block-cache-directory=/home/phil/blocks/
INDEXER_OPTIONS4=--no-contract-balances --no-snapshot --do-not-get-missing-scripts --no-watch --tokens-support --use-disk-cache --debug --verbosity=1 --verbose --db=postgresql://phil@localhost:5432/v960b --tezos-url=http://localhost:8732 --block-cache-directory=/home/phil/blocks/
INDEXER_OPTIONS5=--no-contract-balances --no-snapshot --do-not-get-missing-scripts --no-watch --tokens-support --use-disk-cache --debug --verbosity=1 --verbose --db=postgresql://phil@localhost:5432/v960b --tezos-url=http://localhost:8733 --block-cache-directory=/home/phil/blocks/
INDEXER_OPTIONS6=--no-contract-balances --no-snapshot --do-not-get-missing-scripts --no-watch --tokens-support --use-disk-cache --debug --verbosity=1 --verbose --db=postgresql://phil@localhost:5432/v960b --tezos-url=http://localhost:8734 --block-cache-directory=/home/phil/blocks/
INDEXER_OPTIONS7=--no-contract-balances --no-snapshot --do-not-get-missing-scripts --no-watch --tokens-support --use-disk-cache --debug --verbosity=1 --verbose --db=postgresql://phil@localhost:5432/v960b --tezos-url=http://localhost:8735 --block-cache-directory=/home/phil/blocks/
INDEXER_OPTIONS8=--no-contract-balances --no-snapshot --do-not-get-missing-scripts --no-watch --tokens-support --use-disk-cache --debug --verbosity=1 --verbose --db=postgresql://phil@localhost:5432/v960b --tezos-url=http://localhost:8736 --block-cache-directory=/home/phil/blocks/
INDEXER_OPTIONS9=--no-contract-balances --no-snapshot --do-not-get-missing-scripts --no-watch --tokens-support --use-disk-cache --debug --verbosity=1 --verbose --db=postgresql://phil@localhost:5432/v960b --tezos-url=http://localhost:8737 --block-cache-directory=/home/phil/blocks/
INDEXER_OPTIONSA=--no-contract-balances --no-snapshot --do-not-get-missing-scripts --no-watch --tokens-support --use-disk-cache --debug --verbosity=1 --verbose --db=postgresql://phil@localhost:5432/v960b --tezos-url=http://localhost:8738 --block-cache-directory=/home/phil/blocks/
Durations:
STARTED ON Tue Sep 14 03:28:45 PM PDT 2021 -- TOTAL DURATION: 2h18m43s
- apply DB schema from Tue Sep 14 03:28:47 PM PDT 2021 -- duration: 1s
- list contract addresses from Tue Sep 14 03:28:48 PM PDT 2021 -- duration: 0s
- record contract addresses into DB from Tue Sep 14 03:28:48 PM PDT 2021 -- duration: 7s
- start indexing from Tue Sep 14 03:28:55 PM PDT 2021 -- duration: 1h51m40s
- conversion of DB from Tue Sep 14 05:20:35 PM PDT 2021 -- duration: 26m53s
- average speed: 201 blocks / second, or 12111 blocks per minute, 9117 operations per second
############################
start=Tue Sep 14 03:28:45 PM PDT 2021 end=Tue Sep 14 05:47:29 PM PDT 2021
```
**USING RANDOM JOB ORDER** **USING RANDOM JOB ORDER**
To be confirmed, but it seems using a random job order (instead of indexing most recent segments first) goes faster!! To be confirmed, but it seems using a random job order (instead of indexing most recent segments first) goes faster!!
... ...
......