GETI Explainer
  • Welcome to the GETI explainer series
  • Create Cardano Wallet
  • Simple Transactions
  • Enable SFTP on LINUX server
  • Linux commands
  • Node Setup
Powered by GitBook
On this page

Node Setup

Setup to optimize Block Producer Performance - eg. by minimization of "missed slot leader checks"

PreviousLinux commands

Last updated 3 years ago

# in startBlockProducingNode.sh
# run cardano-node with
# +RTS -N${CPU} -A16m --nonmoving-gc -qg -qb -RTS
cardano-node run +RTS -N${CPU} -A16m --nonmoving-gc -qg -qb -RTS ...
# this will lead to minimized "missed slot leader checks"

# in mainnet-config.json add
# "MaxConcurrencyDeadline": 4,
# "SnapshotInterval": 86400,
...
  "TurnOnLogging": true,
  "MaxConcurrencyDeadline": 4,
  "SnapshotInterval": 86400,
  "defaultBackends": [
    "KatipBK"
  ],
...
# in startRelayNode.sh
# run cardano-node with
cardano-node run +RTS -N2 --disable-delayed-os-memory-return -I0.3 -Iw600 -A16m -F1.5 -H2500M -T -S -RTS ...
# this will optimize memory allocation

# in mainnet-config.json add
# "MaxConcurrencyDeadline": 4,
...
  "TurnOnLogging": true,
  "MaxConcurrencyDeadline": 4,
  "defaultBackends": [
    "KatipBK"
  ],
...
  • Missed slot leader checks optimization for Block Producer node

  • Cardano SPO docs

  • Solving cardano node huge memory usage

  • Node RTS parameter documentation

https://cardano.stackexchange.com/questions/4532/missed-slot-leader-checks
https://docs.cardano.org/getting-started/guidelines-for-large-spos
https://forum.cardano.org/t/solving-the-cardano-node-huge-memory-usage-done/67032
https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/runtime_control.html