zram-generator
Systemd unit generator for zram devices (by systemd)
systemd-swap
Script for creating hybrid swap space from zram swaps, swap files and swap partitions. (by nefelim4ag)
zram-generator | systemd-swap | |
---|---|---|
27 | 6 | |
530 | 550 | |
2.5% | - | |
5.7 | 0.0 | |
29 days ago | over 2 years ago | |
Rust | Python | |
MIT License | GNU General Public License v3.0 only |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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-generator
Posts with mentions or reviews of zram-generator.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-02-24.
-
8GB RAM on M3 MacBook Pro 'Analogous to 16GB' on PCs, Claims Apple
No, but should you want to enable it, you can install systemd-zram-generator.
See also: https://github.com/systemd/zram-generator
As someone else mentioned, for many cases this will be a performance increase, not decrease. Compressing infrequently used memory frees up more memory to be used for filesystem caching among other things.
-
Increasing Swap on Pop!_OS 22.04
if you are using zram generator you could edit the config file. why do you want more swap?
-
Anyone using ZRAM in 23.05?
23.05 replaced the old zramSwap option with the new environment.systemPackages.pkgs.zram-generator package. The new package also requires a configuration file in /etc/systemd/zram-generator.conf.
-
How does Swap memory work in fedora
To the file zram-generator.conf, if my memory don't fail this file is located at /usr/lib/systemd/zram-generator.conf, but I can be wrong. You can find more information on the fedora zram options and the zram-generator.conf location here: https://github.com/systemd/zram-generator
-
Fedora 38 use zswap or zram?, i tried to find and i'm not sure
https://github.com/systemd/zram-generator/tree/main#readme
-
Switch to Zram from Swap
https://github.com/systemd/zram-generator There is a Debian package for it: https://packages.debian.org/bookworm/systemd-zram-generator
- Enable Zram on Linux For Better System Performance
-
Arch linux randomly freezes, especially when playing a youtube video or performing other video-related workload
as u/anoobis2 said, what about your swap? I suggest you to use ZRAM it's a boon for this kind of issues. I've found zram-generator very easy to use, (just remember to disable zswap).
-
Low Spec Gaming - Don't forget Swap Memory
You can use zram-generator. It's very easy to setup! https://github.com/systemd/zram-generator
-
Trying to run New World
I had this exact issue. The few times I made it to character select before a crash and tried to log in, crashes would crop up if I teleported to a town, or logged out in one and tried logging back in. My system was running out of RAM and the game would crash. I had to set up a zram swap file and that solves all my crashes. I used zram-generator for this.
systemd-swap
Posts with mentions or reviews of systemd-swap.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-12-24.
-
I want to change my zRAM compression algorithm to zstd on openSUSE Tumbleweed
As a bonus, the systemd-zram-service's scripts will create zRAM devices based on the number of your CPU cores. This is problematic as it's a deprecated practice, and can also cause an issue on some multicore CPUs. Basically, we already have "multi stream functionality" since kernel 3.15. And since kernel 4.7, regardless of the value passed to [max_comp_streams], zRAM will always allocate multiple compression streams - one per online CPU - thus allowing several concurrent compression operations.
-
What happens when there is no more swap partition is full and RAM is full? Does Linux swaps anyway in some other way (maybe swap files like Windows), or can't it swap anymore?
Historically, Linux has created an additional (fixed-size) swap partition or file. In case you mention you get OOM. But for some time there is a great project systemd-swap creating hybrid swap space. You can even find it in the official Arch Linux Community repo.
-
PERSONAL OPINION: /Swapfile or Swap Partition?
There is also systemd/zram-generator that allows you to create and manage swap devices more easily. And Nefelim4ag/systemd-swap (abandoned?) that automatically creates swap files and resizes them based on RAM usage.
-
Do I need to create a swap partition?
SwapFC - https://github.com/Nefelim4ag/systemd-swap
-
A warning about 5.12-rc1
That sound like what systemd-swap does. Apparently, hibernation is not quite working yet, though.
https://github.com/Nefelim4ag/systemd-swap
-
Can I mix zram with swapfc?
Disclaimer: I couldn't find anything relating to SwapFC other than from the README of systemd-swap. What I've written above is just based on the one-line description of SwapFC, as well as prior knowledge of zswap and zram (obtained from the Linux Kernel docs).
What are some alternatives?
When comparing zram-generator and systemd-swap you can also consider the following projects:
zram-swap - A simple zram swap service for modern systemd Linux
btrfs-progs - Development of userspace BTRFS tools
zram-config - A complete zram-config utility for swap, directories, and logs to reduce SD, NAND and eMMC block wear.
nohang - A sophisticated low memory handler for Linux