Quantcast
Channel: FreakTab - Freaktab Forums
Viewing all articles
Browse latest Browse all 11099

ZRAM? How to edit disksize?

$
0
0
I have a Kata Box 2 with s905 SoC with 1GB of ram

My current ZRAM value is set at 500MB with a swappiness of 60%
I can disable zram or change the swappiness of my ZRAM but I cant seem to change the disk size.

I tried this in the terminal with su

swapoff /dev/block/zram0

echo 1 > /sys/block/zram0/reset

busybox echo 157286400 > /sys/block/zram0/disksize <- I want to lower it from 500mb to 150mb

mkswap /dev/block/zram0

swapon /dev/block/zram0

I checked the value of /sys/block/zram0/disksize and its still set at 500mb or nothing has changed.

I tried to edit the manually but its not saving at all.




Viewing all articles
Browse latest Browse all 11099

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>