Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

[docs] update docs to reflect updated code using 128MiB #9695

Merged
merged 6 commits into from
Dec 10, 2020
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ Config Options for eosio::chain_plugin:
compaction. Defaults to the number of available cores.
--rocksdb-files arg (=-1) Max number of rocksdb files to keep
open. -1 = unlimited.
--rocksdb-write-buffer-size-mb arg (=134217728)
Size of a single rocksdb memtable
--rocksdb-write-buffer-size-mb arg (=128)
Size of a single rocksdb memtable (in MiB)

# Procedure
To use `rocksdb` for state storage:

```shell
nodeos -e -p eosio --plugin eosio::producer_plugin --plugin eosio::producer_api_plugin --plugin eosio::chain_api_plugin --backing-store=’rocksdb’ --rocksdb-threads=’2’ --rocksdb-files=’2’ --rocksdb-write-buffer-size-mb=’134217728’ --plugin eosio::http_plugin
nodeos -e -p eosio --plugin eosio::producer_plugin --plugin eosio::producer_api_plugin --plugin eosio::chain_api_plugin --backing-store=’rocksdb’ --rocksdb-threads=’2’ --rocksdb-files=’2’ --rocksdb-write-buffer-size-mb=’128’ --plugin eosio::http_plugin
```

To use `chainbase` for state storage:
Expand Down
4 changes: 2 additions & 2 deletions docs/01_nodeos/03_plugins/chain_plugin/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,8 @@ Config Options for eosio::chain_plugin:
available cores.
halsaphi marked this conversation as resolved.
Show resolved Hide resolved
--rocksdb-files arg (=-1) Max number of rocksdb files to keep
open. -1 = unlimited.
--rocksdb-write-buffer-size-mb arg (=134217728)
Size of a single rocksdb memtable
--rocksdb-write-buffer-size-mb arg (=128)
Size of a single rocksdb memtable (in MiB)
heifner marked this conversation as resolved.
Show resolved Hide resolved
--reversible-blocks-db-size-mb arg (=340)
Maximum size (in MiB) of the reversible
blocks database
Expand Down