Reply To: zram: Compression algorithm LZ4 is missing?

Forum › Forums › New users › New Users and General Questions › zram: Compression algorithm LZ4 is missing? › Reply To: zram: Compression algorithm LZ4 is missing?

#5518
mroot
Member

    I don’t think what you are doing will show which compression algorithm you are using. Instead code this:

    cat /sys/block/zram0/comp_algorithm

    You should get an output like this:

    [lzo] lz4 deflate lz4hc 842

    The output shows the compression algorithms that are available. The algorithm in the bracket is the one that is currently being used which in this case is lzo.

    You may want to look at this link for more info.

    Zram details documentation

    -mroot