This is a rebuild of the zram packgage used by fedora-arm (FC29) for centos el7. It sets up a compressed (lz4) swap space in memory
It's arch independent and can be of use for all systems which have very low resources.
After enabling this repository run
yum install zram
-or (for all arch's) just run -
yum install https://copr-be.cloud.fedoraproject.org/results/markvnl/zram-swap/epel-7-x86_64/00807447-zram/zram-0.2-2.el7.noarch.rpm
The size of the swap is determent by the factor in
At installation this value is 2 (FACTOR=2); meaning the swapsize will be total_physical_memory / 2.
disable the current swap
You may need to disable mounting your swap partition at boot by commenting out the "swap line" in
-or run -
sed -i -e "/swap/s/^/# /w /dev/stdout" /etc/fstab
enable and start the zram-swap service:
systemctl enable zram-swap --now
You may want to check your swap setup with
The following unofficial repositories are provided as-is by owner of this project. Contact the owner directly for bugs or issues (IE: not bugzilla).
|Epel for CentOS 7||x86_64 (0)*||Epel for CentOS 7 (46 downloads)|
* Total number of packages downloaded in the last seven days.