Verified Commit 995ed1e2 authored by Evangelos Foutras's avatar Evangelos Foutras 🐱
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
Pipeline #9661 passed with stage
in 47 seconds
--- ---
filesystem: btrfs filesystem: btrfs
ipv4_address: 95.217.236.249 ipv4_address: 95.217.236.249
zram_fraction: 1.0
wireguard_address: 10.0.0.34 wireguard_address: 10.0.0.34
wireguard_public_key: t6Er4qAMe/lWNnAByWdXhbUwXKYfj9CkkJgMp28UQl8= wireguard_public_key: t6Er4qAMe/lWNnAByWdXhbUwXKYfj9CkkJgMp28UQl8=
...@@ -139,7 +139,7 @@ ...@@ -139,7 +139,7 @@
when: enable_zram_swap when: enable_zram_swap
- name: install zram-generator config for zram - 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: notify:
- restart systemd-zram-setup@zram0 - restart systemd-zram-setup@zram0
when: enable_zram_swap when: enable_zram_swap
......
[zram0]
max-zram-size = none
{% if zram_fraction is defined %}
zram-fraction = {{ zram_fraction }}
{% endif %}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment