On 2020-08-27 09:38, Chris Murphy wrote:
[egreshko@localhost ~]$ zramctl
NAME       ALGORITHM DISKSIZE   DATA  COMPR  TOTAL STREAMS MOUNTPOINT
/dev/zram0 lzo-rle       1.2G 510.6M 159.7M 167.6M       1 [SWAP]
Effective compression ratio is 3:1. Also, that's at the low end of
what I regularly see. High end 4:1.

I don't know how to interpret the above to come up with a compression ration.

When I first boot the system with no GUI login I see below after an ssh to the system.

[egreshko@f33g ~]$ uptime ; zramctl
 17:50:18 up 0 min,  1 user,  load average: 1.89, 0.55, 0.19
NAME       ALGORITHM DISKSIZE DATA COMPR TOTAL STREAMS MOUNTPOINT
/dev/zram0 lzo-rle       1.2G   4K   74B   12K       1 [SWAP]

A bit later on I login from the console and start a gnome-terminal session

[egreshko@f33g ~]$ uptime ; zramctl
 17:56:13 up 6 min,  2 users,  load average: 0.63, 0.45, 0.23
NAME       ALGORITHM DISKSIZE  DATA COMPR TOTAL STREAMS MOUNTPOINT
/dev/zram0 lzo-rle       1.2G  137M 42.9M   46M       1 [SWAP]

And after doing sudo dnf --refresh check-update later on, I now see

[egreshko@f33g ~]$ uptime ; zramctl
 18:09:41 up 20 min,  2 users,  load average: 0.07, 0.04, 0.09
NAME       ALGORITHM DISKSIZE   DATA COMPR TOTAL STREAMS MOUNTPOINT
/dev/zram0 lzo-rle       1.2G 184.9M 61.4M 64.7M       1 [SWAP]



--
The key to getting good answers is to ask good questions.