swapinzram slackbuild - Didier Spaier
by marav from LinuxQuestions.org on (#5H0BV)
Quote:
Here it is :
https://github.com/maravtdm/swapinzram
I fixed 2 stuff, look into closed issues to see them (not sure about the #2)
Code:root:~/ # free -m
total utilise libre partage tamp/cache disponible
Mem: 7672 1656 4250 491 1765 5270
Partition d'echange: 0 0 0Code:root:~/ # /etc/rc.d/rc.swapinzram start
Configure l'espace d'echange (swap) en version*1, taille = 1,9 GiB (2011312128*octets)
pas d'etiquette, UUID=15227d40-6c3f-444f-b639-598923c266efCode:root:~/ # free -m
total utilise libre partage tamp/cache disponible
Mem: 7672 1668 4238 491 1766 5258
Partition d'echange: 1918 0 1918Code:root:~/ # zramctl
NAME ALGORITHM DISKSIZE DATA COMPR TOTAL STREAMS MOUNTPOINT
/dev/zram1 zstd 1,9G 4K 58B 4K 4 [SWAP]
Not being familiar with slackbuilds, It probably needs adjustments


Originally Posted by Didier Spaier(Post 6241926)Sorry I was too lazy to make a standard SlackBuild |
https://github.com/maravtdm/swapinzram
I fixed 2 stuff, look into closed issues to see them (not sure about the #2)
Code:root:~/ # free -m
total utilise libre partage tamp/cache disponible
Mem: 7672 1656 4250 491 1765 5270
Partition d'echange: 0 0 0Code:root:~/ # /etc/rc.d/rc.swapinzram start
Configure l'espace d'echange (swap) en version*1, taille = 1,9 GiB (2011312128*octets)
pas d'etiquette, UUID=15227d40-6c3f-444f-b639-598923c266efCode:root:~/ # free -m
total utilise libre partage tamp/cache disponible
Mem: 7672 1668 4238 491 1766 5258
Partition d'echange: 1918 0 1918Code:root:~/ # zramctl
NAME ALGORITHM DISKSIZE DATA COMPR TOTAL STREAMS MOUNTPOINT
/dev/zram1 zstd 1,9G 4K 58B 4K 4 [SWAP]
Not being familiar with slackbuilds, It probably needs adjustments