Skip to content
Snippets Groups Projects
Verified Commit 995ed1e2 authored by Evangelos Foutras's avatar Evangelos Foutras :smiley_cat:
Browse files

Increase zram-fraction to 1.0 for lists.archlinux.org

It's been running out of swap during borg-backup and seems to get good
compression ratios; try upping the zram size to 100% of RAM (from 50%).
parent 82b91b4d
No related branches found
No related tags found
1 merge request!460Increase zram-fraction to 1.0 for lists.archlinux.org
Pipeline #9661 passed
---
filesystem: btrfs
ipv4_address: 95.217.236.249
zram_fraction: 1.0
wireguard_address: 10.0.0.34
wireguard_public_key: t6Er4qAMe/lWNnAByWdXhbUwXKYfj9CkkJgMp28UQl8=
[zram0]
max-zram-size = none
......@@ -139,7 +139,7 @@
when: enable_zram_swap
- name: install zram-generator config for zram
copy: src=zram-generator.conf dest=/etc/systemd/zram-generator.conf owner=root group=root mode=0644
template: src=zram-generator.conf dest=/etc/systemd/zram-generator.conf owner=root group=root mode=0644
notify:
- restart systemd-zram-setup@zram0
when: enable_zram_swap
......
[zram0]
max-zram-size = none
{% if zram_fraction is defined %}
zram-fraction = {{ zram_fraction }}
{% endif %}
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