Skip to content
Snippets Groups Projects
Commit 99e80c51 authored by jurgenhaas's avatar jurgenhaas
Browse files

#1 Configure kernel to de-duplicate memory

parent f9fd1134
No related branches found
No related tags found
No related merge requests found
...@@ -65,6 +65,18 @@ ...@@ -65,6 +65,18 @@
notify: notify:
- "Re-start NetData" - "Re-start NetData"
# Note: copy module doesn't work here because parent directory /sys
# is not writable, not even by root
- name: "Configure KSM"
shell: echo {{ item.value }} >/sys/kernel/mm/ksm/{{ item.file }}
with_items:
- file: 'run'
value: '1'
- file: 'sleep_millisecs'
value: '1000'
notify:
- "Re-start NetData"
- name: "Configure FireQoS" - name: "Configure FireQoS"
template: template:
src=etc_fireqos_fireqos.conf src=etc_fireqos_fireqos.conf
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment