mirror of
https://github.com/status-im/infra-les.git
synced 2025-03-01 20:40:29 +00:00
use 3/4th of memory for geth cache
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
e2cdeb146d
commit
d333b1ed48
@ -7,6 +7,10 @@ geth_data_path: /data
|
||||
geth_cont_image: 'ethereum/client-go:v1.8.27'
|
||||
geth_log_level_name: info
|
||||
|
||||
# adjust cache size to available memory
|
||||
mem_cache_ratio: 0.75
|
||||
geth_cache: '{{ (ansible_memtotal_mb * mem_cache_ratio|float) | int }}'
|
||||
|
||||
# geth metrics
|
||||
geth_source_cont_name: '{{ geth_cont_name }}'
|
||||
geth_expo_cont_name: '{{ geth_cont_name }}-metrics'
|
||||
|
@ -7,6 +7,10 @@ geth_data_path: /data
|
||||
geth_cont_image: 'ethereum/client-go:v1.8.27'
|
||||
geth_log_level_name: info
|
||||
|
||||
# adjust cache size to available memory
|
||||
mem_cache_ratio: 0.75
|
||||
geth_cache: '{{ (ansible_memtotal_mb * mem_cache_ratio|float) | int }}'
|
||||
|
||||
# geth metrics
|
||||
geth_source_cont_name: '{{ geth_cont_name }}'
|
||||
geth_expo_cont_name: '{{ geth_cont_name }}-metrics'
|
||||
|
@ -7,6 +7,10 @@ geth_data_path: /data
|
||||
geth_cont_image: 'ethereum/client-go:v1.8.27'
|
||||
geth_log_level_name: info
|
||||
|
||||
# adjust cache size to available memory
|
||||
mem_cache_ratio: 0.75
|
||||
geth_cache: '{{ (ansible_memtotal_mb * mem_cache_ratio|float) | int }}'
|
||||
|
||||
# geth metrics
|
||||
geth_source_cont_name: '{{ geth_cont_name }}'
|
||||
geth_expo_cont_name: '{{ geth_cont_name }}-metrics'
|
||||
|
Loading…
x
Reference in New Issue
Block a user