This repository was archived by the owner on Feb 8, 2022. It is now read-only.
- Notifications
You must be signed in to change notification settings - Fork0
A simple script to manage zram swap devices
License
NotificationsYou must be signed in to change notification settings
jcrd/zram-swap
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
zram-swap is a simple script that manageszram
devices for use as swap.It can create a single device the size of available RAM, or divide the sizebetween as many devices as there are CPUs, as reported bynproc
.
usage: zram-swap commandcommands: setup Setup single device setup-per-cpu Setup a device per CPU remove Remove devices on Turn on devices off Turn off devices status Show status of devices
zram-swap also provides twosystemd services for automatic setup at boot.
For a single zram swap device:systemctl enable zram-swap
For a zram swap device per CPU:systemctl enable zram-swap-per-cpu
This project is licensed under the MIT License (seeLICENSE).
- systemd-swap supports multipleswap backends and is configurable
About
A simple script to manage zram swap devices
Topics
Resources
License
Stars
Watchers
Forks
Releases
No releases published