# ZRAM Compressed Memory

ZRAM Compressed Memory is an Unraid plugin that adds a dashboard card for monitoring and managing ZRAM (compressed RAM) swap devices, featuring real-time usage charts, device creation, resizing, and removal, global. It is open source and self-hosted, installable on Unraid.

Canonical page: https://ourlocalhost.com/app/4182/zram-compressed-memory

## Description

ZRAM Compressed Memory is an Unraid plugin that adds a dashboard card for monitoring and managing ZRAM (compressed RAM) swap devices, featuring real-time usage charts, device creation, resizing, and removal, global swappiness control, and persistent configuration across reboots.

## Platform availability

Available on 1 of 10 platforms: Unraid.

## Health score

49/100 (Fair), based on 4 of 5 factors.
- Maintained: 54 (last commit 194 days ago)
- Popular: 38 (80 GitHub stars)
- Easy to install: 25 (1 install platform, install notes)
- Security check: 75 (no serious findings)

## Links

- Unraid: https://ca.unraid.net/apps/zram-compressed-memory-0pas8kl0iouagp?q=ZRAM%20Compressed%20Memory
- Documentation: https://docs.kernel.org/index.html
- GitHub: https://github.com/FurLC/ZRAM-Module

## Common questions

### Why is no ZRAM device created even though I expect one to exist?

The systemd ZRAM generator needs /etc/systemd/zram-generator.conf with a zram-size value. Without that setting, the system has no ZRAM device to use as swap or temporary space.

### Why does a resized ZRAM device still report the old size?

Restart the systemd ZRAM setup services after editing the configuration. The running ZRAM setup does not apply new settings automatically, so you may keep using the old size or no compressed memory at all.

### Why does ZRAM appear to occupy more memory than its compressed capacity?

The memory can look larger than the compressed capacity because the full compressed device can relate to later swapping to disk. This makes the reported usage seem higher than the compressed value alone.

### Can enabling ZRAM reduce system performance?

Compression overhead can slow memory reads and writes unless the CPU and compression algorithm are fast enough.

## Alternatives

- FreeBSD: FreeBSD is an operating system used to power modern servers, desktops, and embedded platforms.
- OpenBSD: The OpenBSD project produces a FREE, multi-platform 4.4BSD-based UNIX-like operating system.

---
Source: Our Local Host (https://ourlocalhost.com/app/4182/zram-compressed-memory), the self-hosted and open-source app directory.
