How to change zram size ?
I would like to change the default size of zram from those 13%. Since u8 I've been happily using 25% of ram as compressed block device and now I'w like to try this setting on latest update which seems to be less memory demanding. And here comes the question: how to do it since configuration seems to be moved from zramcfg to systemd and there is no zram.service in /etc/systemd/system/ folder ?
Edit: As user #g7 mentioned, to change the default size of zram, /usr/sbin/zramswapon config file has to be edited. In the middle of the text you should see this: SIZE=$(( $MEMORY_IN_KBYTES * 1024 * 13 / 100 / NUM_ZRAM_DEV )) where value 13 represents percantage of physical ram assigned to zram. Change it to 30 so 830*30/100=249 MB of ram will be used as compressed ram (much faster swap than traditional partition on emmc).