Re: [PATCH] zram: add zstd to the supported algorithms list

From: Nick Terrell
Date: Fri Aug 25 2017 - 14:56:12 EST


On 8/24/17, 9:51 PM, "Minchan Kim" <minchan@xxxxxxxxxx> wrote:
>Off-topic:
>
>In all ways, zstd beats deflate. Nick, Right?

Yeah. Since all LZ compression algorithms are heuristics, there are some
rare cases where zlib beats zstd in compression ratio by a bit, but never
speed. In all cases where we've deployed zstd, we've seen aggregate
compression ratio improvements over zlib, and expect the same here.

>With zstd, I doubt we should show "deflate" to user. Many options just
>make user confused.
>The inflate have been there for representing high comp ratio but slower
>speed. However, zstd is better unconditionally compared to deflate
>so how about replacing deflate with zstd?
>
>Sergey, what do you think about it?