fjrXTR / gki-5.10

villhaze! GKI Custom Kernel for 5.10 based (android12)
Other
6 stars 7 forks source link

Use LZ4 def Zram Compression. #1

Closed Ravi-Kishor closed 3 months ago

Ravi-Kishor commented 3 months ago

LZ4 is perfect balance between speed and compression ratio & is def on almost all mainstream Distros (even Arch Wiki recommends it). So switching back to LZ4 would be great for mobile devices having to decrease cpu overhead and improve some battery backup.

Also don't experiment weird things like Zram-Swappiness to 10. It should be 60, everywhere its recommended. Lowering this won't be beneficial unless many fine tuning is done device specific in both device tree and kernel side.

fjrXTR commented 3 months ago

okay, thx for suggestion. i'll apply that on next update

Ravi-Kishor commented 3 months ago

Great, glad to hear that.