net.ipv4.tcp_keepalive_time: 30 | net.ipv4.tcp_keepalive_time: 30 | ||||
net.ipv4.tcp_keepalive_probes: 8 | net.ipv4.tcp_keepalive_probes: 8 | ||||
CPU | |||||
~~~ | |||||
Disable ondemand cpu mode service: | |||||
.. code-block:: yaml | |||||
linux: | |||||
system: | |||||
cpu: | |||||
governor: performance | |||||
Repositories | Repositories | ||||
~~~~~~~~~~~~ | ~~~~~~~~~~~~ | ||||
{%- from "linux/map.jinja" import system with context %} | |||||
{%- if system.cpu.governor is defined %} | |||||
ondemand_service_disable: | |||||
service.dead: | |||||
- name: ondemand | |||||
- enable: false | |||||
{%- endif %} |
{%- if system.kernel is defined %} | {%- if system.kernel is defined %} | ||||
- linux.system.kernel | - linux.system.kernel | ||||
{%- endif %} | {%- endif %} | ||||
{%- if system.cpu is defined %} | |||||
- linux.system.cpu | |||||
{%- endif %} | |||||
{%- if system.locale|length > 0 %} | {%- if system.locale|length > 0 %} | ||||
- linux.system.locale | - linux.system.locale | ||||
{%- endif %} | {%- endif %} |