Skip to content

Commit

Permalink
chore: change default cache size config (#1531)
Browse files Browse the repository at this point in the history
chore: change default config
  • Loading branch information
driftluo authored and KaoImin committed Nov 17, 2023
1 parent 70413c2 commit 9a815e0
Show file tree
Hide file tree
Showing 9 changed files with 27 additions and 27 deletions.
6 changes: 3 additions & 3 deletions devtools/chain/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,22 +36,22 @@ broadcast_txs_size = 200
broadcast_txs_interval = 200

[executor]
triedb_cache_size = 500
triedb_cache_size = 200

[logger]
filter = "info"
log_to_console = true
console_show_file_and_line = false
log_path = "logs/"
log_to_file = true
file_size_limit = 1073741824 # 1 GiB
file_size_limit = 1073741824 # 1 GiB
metrics = true
# you can specify log level for modules with config below
# modules_level = { "overlord::state::process" = "debug", core_consensus = "error" }

[rocksdb]
max_open_files = 64
cache_size = 200
cache_size = 100
# Provide an options file to tune RocksDB for your workload and your system configuration.
# More details can be found in [the official tuning guide](https://github.com/facebook/rocksdb/wiki/RocksDB-Tuning-Guide).
options_file = "default.db-options"
Expand Down
6 changes: 3 additions & 3 deletions devtools/chain/k8s/node_1.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,22 +42,22 @@ broadcast_txs_size = 200
broadcast_txs_interval = 200

[executor]
triedb_cache_size = 500
triedb_cache_size = 200

[logger]
filter = "info"
log_to_console = true
console_show_file_and_line = false
log_path = "logs/"
log_to_file = true
file_size_limit = 1073741824 # 1 GiB
file_size_limit = 1073741824 # 1 GiB
metrics = true
# you can specify log level for modules with config below
# modules_level = { "overlord::state::process" = "debug" }

[rocksdb]
max_open_files = 64
cache_size = 200
cache_size = 100
# Provide an options file to tune RocksDB for your workload and your system configuration.
# More details can be found in [the official tuning guide](https://github.com/facebook/rocksdb/wiki/RocksDB-Tuning-Guide).
options_file = "default.db-options"
6 changes: 3 additions & 3 deletions devtools/chain/k8s/node_2.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,22 +42,22 @@ broadcast_txs_size = 200
broadcast_txs_interval = 200

[executor]
triedb_cache_size = 500
triedb_cache_size = 200

[logger]
filter = "info"
log_to_console = true
console_show_file_and_line = false
log_path = "logs/"
log_to_file = true
file_size_limit = 1073741824 # 1 GiB
file_size_limit = 1073741824 # 1 GiB
metrics = true
# you can specify log level for modules with config below
# modules_level = { "overlord::state::process" = "debug" }

[rocksdb]
max_open_files = 64
cache_size = 200
cache_size = 100
# Provide an options file to tune RocksDB for your workload and your system configuration.
# More details can be found in [the official tuning guide](https://github.com/facebook/rocksdb/wiki/RocksDB-Tuning-Guide).
options_file = "default.db-options"
6 changes: 3 additions & 3 deletions devtools/chain/k8s/node_3.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,22 +42,22 @@ broadcast_txs_size = 200
broadcast_txs_interval = 200

[executor]
triedb_cache_size = 500
triedb_cache_size = 200

[logger]
filter = "info"
log_to_console = true
console_show_file_and_line = false
log_path = "logs/"
log_to_file = true
file_size_limit = 1073741824 # 1 GiB
file_size_limit = 1073741824 # 1 GiB
metrics = true
# you can specify log level for modules with config below
# modules_level = { "overlord::state::process" = "debug" }

[rocksdb]
max_open_files = 64
cache_size = 200
cache_size = 100
# Provide an options file to tune RocksDB for your workload and your system configuration.
# More details can be found in [the official tuning guide](https://github.com/facebook/rocksdb/wiki/RocksDB-Tuning-Guide).
options_file = "default.db-options"
6 changes: 3 additions & 3 deletions devtools/chain/k8s/node_4.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,22 +42,22 @@ broadcast_txs_size = 200
broadcast_txs_interval = 200

[executor]
triedb_cache_size = 500
triedb_cache_size = 200

[logger]
filter = "info"
log_to_console = true
console_show_file_and_line = false
log_path = "logs/"
log_to_file = true
file_size_limit = 1073741824 # 1 GiB
file_size_limit = 1073741824 # 1 GiB
metrics = true
# you can specify log level for modules with config below
# modules_level = { "overlord::state::process" = "debug" }

[rocksdb]
max_open_files = 64
cache_size = 200
cache_size = 100
# Provide an options file to tune RocksDB for your workload and your system configuration.
# More details can be found in [the official tuning guide](https://github.com/facebook/rocksdb/wiki/RocksDB-Tuning-Guide).
options_file = "default.db-options"
6 changes: 3 additions & 3 deletions devtools/chain/nodes/node_1.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,22 +41,22 @@ broadcast_txs_size = 200
broadcast_txs_interval = 200

[executor]
triedb_cache_size = 500
triedb_cache_size = 200

[logger]
filter = "info"
log_to_console = true
console_show_file_and_line = false
log_path = "logs/node_1/"
log_to_file = true
file_size_limit = 1073741824 # 1 GiB
file_size_limit = 1073741824 # 1 GiB
metrics = true
# you can specify log level for modules with config below
# modules_level = { "overlord::state::process" = "debug", core_consensus = "error" }

[rocksdb]
max_open_files = 64
cache_size = 200
cache_size = 100
# Provide an options file to tune RocksDB for your workload and your system configuration.
# More details can be found in [the official tuning guide](https://github.com/facebook/rocksdb/wiki/RocksDB-Tuning-Guide).
options_file = "default.db-options"
6 changes: 3 additions & 3 deletions devtools/chain/nodes/node_2.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,22 +41,22 @@ broadcast_txs_size = 200
broadcast_txs_interval = 200

[executor]
triedb_cache_size = 500
triedb_cache_size = 200

[logger]
filter = "info"
log_to_console = true
console_show_file_and_line = false
log_path = "logs/node_2/"
log_to_file = true
file_size_limit = 1073741824 # 1 GiB
file_size_limit = 1073741824 # 1 GiB
metrics = true
# you can specify log level for modules with config below
# modules_level = { "overlord::state::process" = "debug", core_consensus = "error" }

[rocksdb]
max_open_files = 64
cache_size = 200
cache_size = 100
# Provide an options file to tune RocksDB for your workload and your system configuration.
# More details can be found in [the official tuning guide](https://github.com/facebook/rocksdb/wiki/RocksDB-Tuning-Guide).
options_file = "default.db-options"
6 changes: 3 additions & 3 deletions devtools/chain/nodes/node_3.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,22 +41,22 @@ broadcast_txs_size = 200
broadcast_txs_interval = 200

[executor]
triedb_cache_size = 500
triedb_cache_size = 200

[logger]
filter = "info"
log_to_console = true
console_show_file_and_line = false
log_path = "logs/node_3"
log_to_file = true
file_size_limit = 1073741824 # 1 GiB
file_size_limit = 1073741824 # 1 GiB
metrics = true
# you can specify log level for modules with config below
# modules_level = { "overlord::state::process" = "debug", core_consensus = "error" }

[rocksdb]
max_open_files = 64
cache_size = 200
cache_size = 100
# Provide an options file to tune RocksDB for your workload and your system configuration.
# More details can be found in [the official tuning guide](https://github.com/facebook/rocksdb/wiki/RocksDB-Tuning-Guide).
options_file = "default.db-options"
6 changes: 3 additions & 3 deletions devtools/chain/nodes/node_4.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,22 +41,22 @@ broadcast_txs_size = 200
broadcast_txs_interval = 200

[executor]
triedb_cache_size = 500
triedb_cache_size = 200

[logger]
filter = "info"
log_to_console = true
console_show_file_and_line = false
log_path = "logs/node_4/"
log_to_file = true
file_size_limit = 1073741824 # 1 GiB
file_size_limit = 1073741824 # 1 GiB
metrics = true
# you can specify log level for modules with config below
# modules_level = { "overlord::state::process" = "debug", core_consensus = "error" }

[rocksdb]
max_open_files = 64
cache_size = 200
cache_size = 100
# Provide an options file to tune RocksDB for your workload and your system configuration.
# More details can be found in [the official tuning guide](https://github.com/facebook/rocksdb/wiki/RocksDB-Tuning-Guide).
options_file = "default.db-options"

0 comments on commit 9a815e0

Please sign in to comment.