A do-it-yourself Knoppix zram demo
.
@ Blacksimon
Surprise: zram capability is already in 6.7.1; it just
hasn't been advertized or automated. As you were beginning to suspect.
Here's how to simulate what's coming in Knoppix 7.0+:
1. Boot up Knoppix 6.7.1 with the cheatcode knoppix mem=512M
This simulates a 'small' amount of ram these days.
2. Establish a zram set-up using 3/4 the ram as zram:
echo $((384*1024*1024))>/sys/block/zram0/disksize
mkswap /dev/zram0
swapon -p 100 /dev/zram0
3. Bring in LibreOffice and IceWeasel
(without zram, my mem used would be about 807M with
just these two and lxterminal)
4. Switch from one to the other of these; when you switch,
give each something new to do.
5. Examine free from time to time.
6. Bring in some more programs, check free again.