Skip to content

Deepmind Performance Analysis #15

@jubeless

Description

@jubeless

We ran a reprocessing of eos-mainnet from block: 111,172,000 to 111,188,000, knowing the "problem area" is around block 111,172,500.

Test 1: Mindreader without deepmind (DM)(disabled it in config.ini)
image: gcr.io/eoscanada-shared-services/eos-mindreader:v2.0.1-dm-v10.4-712cf00-98a6fc0
This is our baseline test

Test 2: Mindreader with deepmind (DM) enabled & no console reader (CR) using a custom manageos branch
image: eos-mindreader:v2.0.3-dm-base-ubuntu-18.04-a8059ea
This is a unique scenario to understand the impact deepmind (DM) in isolation (not running a console reader)

Test 3: Mindreader with deepmind (DM) enabled & console reader (CR) enabled
image: gcr.io/eoscanada-shared-services/eos-mindreader:v2.0.1-dm-v10.4-712cf00-98a6fc0
This is a reproduction of production environement.

Test 4: Mindreader with deepmind (DM), no ABI serializer no out
image: gcr.io/eoscanada-shared-services/eos-mindreader:v2.0.3-dm-no-json-data-ubuntu-18.04-a8059ea

Test 5: Mindreader with deepmind (DM), no ABI seri & out in hex, with EOS binary encd
image: gcr.io/eoscanada-shared-services/eos-mindreader:v2.0.3-dm-pack-with-hex-output-ubuntu-18.04-a8059ea

Test 6: Mindreader with deepmind (DM), EOS binary encoding but no output
image: gcr.io/eoscanada-shared-services/eos-mindreader:v2.0.3-dm-pack-no-output-ubuntu-18.04-a8059ea

Test 7: Mindreader with deepmind (DM), ABI serializer no output
image: gcr.io/eoscanada-shared-services/eos-mindreader:v2.0.3-dm-no-json-data-with-computation-ubuntu-18.04-a8059ea

General Conclusion:

  • The mindreader with DM only (Test 2) relative to the mindreader with no DM (Test 1) is on average %753 slower. 1,000 blocks took on average 5m21s vs 38s
  • The mindreader with DM & CR (Test 3) relative to the mindreader with no DM is on average %786 slower. 1,000 blocks took on average5m57s vs 41s
  • Enabling deepmind adds a significant latency as seen in Test 2. Adding the console reader on top of DM (Test 3) adds a further but negligible latency as seen by comparing results from Test 2 & Test 3

Reproc YAMLS:

reproc-yaml.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions