Page 1 of 1

zRam on Desktop?

Posted: 30 Mar 2017, 06:32
by johnywhy
I noticed Kiosk offers zRam.
Is it possible to use zRam on Desktop?

thx

Re: zRam on Desktop?

Posted: 01 Apr 2017, 00:34
by Bogomips
^

Code: Select all

root@porteus:/home/guest# zramctl /dev/zram0 -s 112MiB
zramctl: /dev/zram0: No such device

root@porteus:/home/guest# modprobe zram
root@porteus:/home/guest# zramctl /dev/zram0 -s 112MiB
root@porteus:/home/guest# mkswap /dev/zram0
Setting up swapspace version 1, size = 112 MiB (117436416 bytes)
no label, UUID=83487a1d-22ba-40f6-be52-91ecfea77525
root@porteus:/home/guest# swapon /dev/zram0
root@porteus:/home/guest# swapon -s
Filename                                Type            Size    Used    Priority
/dev/sda11                              partition       130044  129952  -1
/dev/sda7                               partition       530108  136400  -2
/dev/zram0                              partition       114684  0       -3
:)

man zramctl

Also https://www.mjmwired.net/kernel/Documen ... v/zram.txt

Re: zRam on Desktop?

Posted: 01 Apr 2017, 01:50
by johnywhy
Thx!