foundObjects / zram-swap

A simple zram swap service for modern systemd Linux

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Use more CPU resource to get more RAM resource

SYK696 opened this issue · comments

My cpu resource is enough,but raspiberryhas only 512MB ram.I want to use more cpu resource to get more resource.

According to https://linuxreviews.org/Comparison_of_Compression_Algorithms you should try using zstd, which zram already supports. Have you tried all 4 different options mentioned in the https://github.com/foundObjects/zram-swap/blob/master/service/zram-swap.config ?

As mentioned above just select a compression algorithm with a higher compression ratio, zstd is likely what you want.