zram-init
auto-zram
zram-init | auto-zram | |
---|---|---|
3 | 1 | |
79 | 3 | |
- | - | |
0.0 | 3.6 | |
almost 3 years ago | almost 4 years ago | |
Shell | Shell | |
- | GNU General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
zram-init
-
What are some things that could mount swap that isn't /etc/fstab?
I found a github issue here that seemed to explain things.
-
Why does compiling packages in zram work, but not the Linux kernel?
Also, sys-block/zram-init::gentoo Scripts to support compressed swap devices or ramdisks with zRAM (https://github.com/vaeth/zram-init/)
-
Does Gentoo support zswap (openrc) as seen on fedora 33? I cannot find any explicit guidance in the handbook. Iām looking for disk backed zsawp not swap in zram. Is this only achievable with systemd?
IIRC zswap is zram used for swap, so as long as your kernel has zram support, you can use zswap. You can use zram with zramctl from util-linux. However, there is also the sys-block/zram-init package: it's a wrapper around zramctl which offers an openrc script to automatically create zram devices at boot. It also provides configuration for zswap. Configuration is in /etc/conf.d/zram-init.
auto-zram
-
Best Linux distro to revive an old laptop.
The RAM is likely to be restrictive (I have a similar spec'd system as a spare, and the RAM is the only pain point.) If so, you might want to consider auto-zram, which configures zram (a compressed RAM drive) as swap, with sensible defaults for your sustem.
What are some alternatives?
log2ram - ramlog like for systemd (Put log into a ram folder)
nohang - A sophisticated low memory handler for Linux
ramroot - Load root file system to ram during boot.
init - KISS Linux - Init Framework
systemd-swap - Script for creating hybrid swap space from zram swaps, swap files and swap partitions.
gentoo_unattented-setup - Automated modular GENTOO linux setup
portage-bashrc-mv - Provide support for /etc/portage/bashrc.d and /etc/portage/package.cflags for the portage package manager (Gentoo Linux)
hmg - Personal Gentoo/Linux configurations
gentoo-portage-tmpfs - openrc initd for mounting Gentoo portage on tmpfs, keeping the ebuild repo persistent in fast memory instead of disk
initscripts - š Scripts to bring up network interfaces and legacy utilities in Fedora.
save-backlight - An OpenRC service for restoring the last brightness level on reboot