zramd
systemd-swap
zramd | systemd-swap | |
---|---|---|
2 | 6 | |
94 | 546 | |
- | - | |
10.0 | 0.0 | |
almost 3 years ago | almost 3 years ago | |
Go | Python | |
MIT License | 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.
zramd
-
I only have 32gb of DDR5 and I want to make heavy sims
Use Linux! Much better ram efficency. And you can check https://github.com/maximumadmin/zramd You can almost double your ram with that.
-
Is Swap partition necessary at present?
Further info on dev GitHub page: https://github.com/maximumadmin/zramd
systemd-swap
-
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?
bat - Battery management utility for Linux laptops.
btrfs-progs - Development of userspace BTRFS tools
ldhdns - A developer tool for providing DNS for Docker containers running on a Linux host.
nohang - A sophisticated low memory handler for Linux
zram-generator - Systemd unit generator for zram devices
uniswap-sushiswap-arbitrage-bot - Two bots written in JS that uses flashswaps and normal swaps to arbitrage Uniswap. Includes an automated demostration.
parca-agent - eBPF based always-on profiler auto-discovering targets in Kubernetes and systemd, zero code changes or restarts needed!
TempOSD - On Screen Display for cpu and gpu temperatures, ram and swap usages statistics.
compress - Optimized Go Compression Packages
auto-zram - Automatically configure zram as swap on a machine, using sensible defaults, with the ability to tweak it to your needs.
swap - Cross-chain atomic swap between the networks of two cryptocurrencies based on Hash Time Lock Contracts (HTLCs) protocol.