I'm setup zram with wiki.
/etc/conf.d/zram-init
Code: Select all
load_on_start="yes"
unload_on_stop="yes"
num_devices="1"
type0="swap"
flag0=
size0="192"
maxs0=1
algo0=lz4
Code: Select all
NAME ALGORITHM DISKSIZE DATA COMPR TOTAL STREAMS MOUNTPOINT
/dev/zram0 lz4 192M 191,8M 61,5M 65,4M 1 [SWAP]Code: Select all
Filename Type Size Used Priority
/dev/sda3 partition 1048572 183948 -2
/dev/zram0 partition 196604 196348 16383
I think that for example if I have 100Mb zram based swap with approximately compression ratio 3, then system can fill it to 300MB uncompressed data, but there I have strange statistics.
Please somebody explain that issue to me. Maybe I'm misunderstanding something?

