mirror of
https://github.com/status-im/infra-nimbus.git
synced 2025-02-22 18:38:07 +00:00
nimbus.mainnet/prater: use more threads than 1
This setting is quite old and it's time to use more than one thread. The `libp2p` branch is the exception that will keep using 1 thread. Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
3e3cff6840
commit
15d96ca3be
@ -52,7 +52,8 @@ beacon_node_firewall_libp2p_open: '{{ node.get("open_libp2p_ports", true) }}'
|
|||||||
# Builds
|
# Builds
|
||||||
beacon_node_build_frequency: '*-*-* {{ 12 + idx }}:00:00'
|
beacon_node_build_frequency: '*-*-* {{ 12 + idx }}:00:00'
|
||||||
# Tuning
|
# Tuning
|
||||||
beacon_node_threads: '{{ (node.branch == "testing") | ternary(4, 1) }}'
|
beacon_node_cores_per_node: '{{ (ansible_processor_vcpus / nodes_layout[hostname]|length) | round(0, "ceil") | int }}'
|
||||||
|
beacon_node_threads: '{{ (node.branch == "libp2p") | ternary(1, beacon_node_cores_per_node) }}'
|
||||||
beacon_node_history_retention: '{{ "archive" if node.get("public_api") else node.get("history", "prune") }}'
|
beacon_node_history_retention: '{{ "archive" if node.get("public_api") else node.get("history", "prune") }}'
|
||||||
# Monitoring
|
# Monitoring
|
||||||
beacon_node_validator_monitor_auto: true
|
beacon_node_validator_monitor_auto: true
|
||||||
|
@ -50,7 +50,8 @@ beacon_node_rest_max_headers_size: 1024
|
|||||||
beacon_node_firewall_libp2p_open: '{{ node.get("open_libp2p_ports", true) }}'
|
beacon_node_firewall_libp2p_open: '{{ node.get("open_libp2p_ports", true) }}'
|
||||||
# Tuning
|
# Tuning
|
||||||
beacon_node_max_peers: 300
|
beacon_node_max_peers: 300
|
||||||
beacon_node_threads: '{{ (node.branch == "testing") | ternary(4, 1) }}'
|
beacon_node_cores_per_node: '{{ (ansible_processor_vcpus / nodes_layout[hostname]|length) | round(0, "ceil") | int }}'
|
||||||
|
beacon_node_threads: '{{ (node.branch == "libp2p") | ternary(1, beacon_node_cores_per_node) }}'
|
||||||
beacon_node_history_retention: '{{ "archive" if node.get("public_api") else node.get("history", "prune") }}'
|
beacon_node_history_retention: '{{ "archive" if node.get("public_api") else node.get("history", "prune") }}'
|
||||||
# Monitoring
|
# Monitoring
|
||||||
beacon_node_validator_monitor_auto: true
|
beacon_node_validator_monitor_auto: true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user