I installed the zram package and noticed the systemd-swap package, so
installed that also. I adjusted the zram setting to 4G and reduced
zswap a bit. I have no idea what that is doing, it doesn't seem to
affect anything I can measure. The overall improvement in
responsiveness is very nice.
On 6/5/20 3:07 PM, Chris Murphy wrote:
$ swapon
NAME TYPE SIZE USED PRIO
/dev/zram0 partition 3.9G 778M -2
$ zramctl
NAME ALGORITHM DISKSIZE DATA COMPR TOTAL STREAMS MOUNTPOINT
/dev/zram0 lzo-rle 3.9G 777M 240.4M 249.6M 8 [SWAP]
$
In this example, the system evicts 777M, at a cost of 250M, for a
total gain of ~527M.
I don't understand the numbers I'm getting for these. I disabled my
swap partition to force as much to go to zram as possible and then
turned it back on.
# swapon
NAME TYPE SIZE USED PRIO
/dev/sda3 partition 16G 1.9G -2
/zram0 partition 4G 4G 32767
This looks like I'm using all 4G of allocated space in the zram swap, but:
# zramctl
NAME ALGORITHM DISKSIZE DATA COMPR TOTAL STREAMS MOUNTPOINT
/dev/zram0 lz4 4G 1.8G 658.5M 679.6M 4
This suggests that it's only using 1.8G. Can you explain what this means?
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx