behdanisohrab / parch-zram

An automated bash script to setup zram on ParchLinux for raspberry pi devices.
7 stars 0 forks source link

Parch Zram by Sohrab Behdani (@behdanisohrab), inspierd by RPI_ZRAM

This script will enable ZRAM on a Raspberry Pi or any other personal computer

Parch Zram

Script to dynamically enable ZRAM on a Raspberry Pi or other Linux system.

Automatically detects the number of CPU cores to allocate to ZRAM computation, disables existing swap and enables ZRAM swap.

Quick Installer

Install Parch Zram from your Raspberry Pi's shell promt:

on Parch Linux or any other Arch-based linux distribution

git clone https://github.com/behdanisohrab/parch-zram
cd parch-zram
makepkg -sic
sudo systemctl enable parch-zram.service

on non-arch based linux distribution

git clone https://github.com/behdanisohrab/parch-zram
cd parch-zram
sudo chmod +x install.sh
sudo ./install.sh

Donation

You can donate to me for this project in IRR from the link below:

Donate!