Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1731402

Re: [PATCH 2/2] zram: remove zlib from the list of recommended algorithms

From Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH 2/2] zram: remove zlib from the list of recommended algorithms
Date 2017-09-13 09:20 +0200
Message-ID <upa7M-4ev-15@gated-at.bofh.it> (permalink)
References <uoLCp-5lx-7@gated-at.bofh.it> <uoLCp-5lx-5@gated-at.bofh.it> <upa7L-4ev-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On (09/13/17 16:12), Minchan Kim wrote:
> On Tue, Sep 12, 2017 at 02:00:05PM +0900, Sergey Senozhatsky wrote:
> > ZSTD tends to outperform deflate/inflate, thus we remove
> > zlib from the list of recommended algorithms and recommend
> > zstd instead.
> > 
> > Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
> > Suggested-by: Minchan Kim <minchan@kernel.org>
>  
> I did test with my sample data and compared zstd with deflate.
> zstd's compress ratio is lower a little bit but compression
> speed is much faster 3 times more and decompress speed is too
> 2 times more. With different data, it is different but overall,
> zstd would be better for speed at the cost of a little lower compress
> ratio(about 5%) so I believe it's worth to replace deflate.

hm, interesting. on my "real world" use-cases zstd has better
compression ratio.

> Thanks for the patch, Sergey.
> 
> Acked-by: Minchan Kim <minchan@kernel.org>

thanks.

	-ss

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 2/2] zram: remove zlib from the list of recommended algorithms Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com> - 2017-09-12 07:10 +0200
  Re: [PATCH 2/2] zram: remove zlib from the list of recommended  algorithms Minchan Kim <minchan@kernel.org> - 2017-09-12 08:50 +0200
    Re: [PATCH 2/2] zram: remove zlib from the list of recommended  algorithms Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com> - 2017-09-12 09:10 +0200
  Re: [PATCH 2/2] zram: remove zlib from the list of recommended  algorithms Minchan Kim <minchan@kernel.org> - 2017-09-13 09:20 +0200
    Re: [PATCH 2/2] zram: remove zlib from the list of recommended  algorithms Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com> - 2017-09-13 09:20 +0200
    Re: [PATCH 2/2] zram: remove zlib from the list of recommended  algorithms Adam Borowski <kilobyte@angband.pl> - 2017-09-13 12:40 +0200
      Re: [PATCH 2/2] zram: remove zlib from the list of recommended  algorithms Minchan Kim <minchan@kernel.org> - 2017-09-14 10:10 +0200

csiph-web