[master] zRAM swap for anaconda, version 2

Vratislav Podzimek vpodzime at redhat.com
Tue Jul 15 09:46:22 UTC 2014


See the commit message for details about zRAM and its benefits for the
installation process. This is version 2 of the patch with checks for
forcing/disabling zRAM. There should also be a follow-up patch tweaking our
code checking memory limits and documentation, but I'd like to test and
investigate it a bit further before commiting to some number like 320 MB of RAM
(which seems to work without issues).

The lorax patch adds utilities the zramswapon/off scripts need. They are ~70KiB
altogether and by some miracle decrease the squashfs.img size.

Vratislav Podzimek (1):
  zRAM swap for Anaconda

 data/systemd/Makefile.am     |  3 +-
 data/systemd/anaconda.target |  1 +
 data/systemd/zram.service    | 11 ++++++++
 pyanaconda/ui/lib/disks.py   |  3 +-
 scripts/Makefile.am          |  2 +-
 scripts/makeupdates          |  2 +-
 scripts/zramswapoff          | 38 +++++++++++++++++++++++++
 scripts/zramswapon           | 66 ++++++++++++++++++++++++++++++++++++++++++++
 8 files changed, 122 insertions(+), 4 deletions(-)
 create mode 100644 data/systemd/zram.service
 create mode 100755 scripts/zramswapoff
 create mode 100755 scripts/zramswapon

-- 
1.9.3



More information about the anaconda-patches mailing list