increase mem limits, remove CPU ones (#16)

* increase CPU/mem limits

* get rid of CPU limits altogether

the kernel scheduler is good enough at ensuring fairness
This commit is contained in:
Ștefan Talpalaru 2020-07-01 00:07:33 +02:00 committed by GitHub
parent d88720874d
commit d291695db5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 10 deletions

View File

@ -12,7 +12,5 @@ bootstrap__logrotate_mbytes: 500
# temporary
beacon_node_log_level: TRACE
# resource limits
beacon_node_cpu_limit: 0.25
beacon_node_mem_limit: '{{ (ansible_memtotal_mb * 0.20) | int }}'
beacon_node_cpu_reserve: 0.20
beacon_node_mem_reserve: '{{ (ansible_memtotal_mb * 0.1) | int }}'

View File

@ -11,7 +11,5 @@ nimbus_stats_domain: nimbus-test-stats.status.im
# temporary
beacon_node_log_level: TRACE
# resource limits
beacon_node_cpu_limit: 0.20
beacon_node_mem_limit: '{{ (ansible_memtotal_mb * 0.20) | int }}'
beacon_node_cpu_reserve: 0.10
beacon_node_mem_reserve: '{{ (ansible_memtotal_mb * 0.1) | int }}'
beacon_node_mem_limit: '{{ (ansible_memtotal_mb * 0.60) | int }}'
beacon_node_mem_reserve: '{{ (ansible_memtotal_mb * 0.4) | int }}'

View File

@ -9,7 +9,5 @@ bootstrap__logrotate_mbytes: 500
# temporary
beacon_node_log_level: TRACE
# resource limits
beacon_node_cpu_limit: 0.20
beacon_node_mem_limit: '{{ (ansible_memtotal_mb * 0.20) | int }}'
beacon_node_cpu_reserve: 0.10
beacon_node_mem_reserve: '{{ (ansible_memtotal_mb * 0.1) | int }}'
beacon_node_mem_limit: '{{ (ansible_memtotal_mb * 0.60) | int }}'
beacon_node_mem_reserve: '{{ (ansible_memtotal_mb * 0.4) | int }}'

View File

@ -64,3 +64,5 @@
beacon_node_listening_port: '{{ 9100 - 1 + item|int }}'
beacon_node_discovery_port: '{{ 9100 - 1 + item|int }}'
beacon_node_cont_name: 'beacon-node-{{ beacon_node_network}}-{{ item }}'
beacon_node_shared_testnet_cron: true