From 18428f225b1121c8ad63f99c3715445ba9bc87f3 Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Fri, 19 Jul 2019 16:36:50 +0200 Subject: [PATCH] Enable zram-swap on all the workstation installations Compressed RAM as a swap is faster than disk. This makes most machines more interactive when under low memory pressure, and, combined with no disk-backed swap, reduces wear and tear on "flash" storage with limited number of writes. --- fedora-disk-workstation.ks | 2 +- fedora-workstation-common.ks | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/fedora-disk-workstation.ks b/fedora-disk-workstation.ks index 488bbd0..ff56da1 100644 --- a/fedora-disk-workstation.ks +++ b/fedora-disk-workstation.ks @@ -4,7 +4,7 @@ bootloader --append="cma=256MB" -services --enabled=sshd,NetworkManager,chronyd,zram-swap +services --enabled=sshd,NetworkManager,chronyd autopart --type=plain --noswap diff --git a/fedora-workstation-common.ks b/fedora-workstation-common.ks index f77620f..ae5e76d 100644 --- a/fedora-workstation-common.ks +++ b/fedora-workstation-common.ks @@ -25,4 +25,6 @@ -gfs2-utils -reiserfs-utils +services --enabled=zram-swap + %end