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


Groups > linux.kernel > #1677549

Re: [PATCH v1 0/7] writeback incompressible pages to storage

From Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH v1 0/7] writeback incompressible pages to storage
Date 2017-06-29 11:20 +0200
Message-ID <tXDMe-5II-19@gated-at.bofh.it> (permalink)
References <tWwa5-7mI-5@gated-at.bofh.it> <tXno6-dY-13@gated-at.bofh.it> <tXDjb-5jp-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hello,

On (06/29/17 17:47), Minchan Kim wrote:
[..]
> > > This patch supports writeback feature of zram so admin can set up
> > > a block device and with it, zram can save the memory via writing
> > > out the incompressile pages once it found it's incompressible pages
> > > (1/4 comp ratio) instead of keeping the page in memory.
> > 
> > hm, alternative idea. just an idea. can we try compressing the page
> > with another algorithm? example: downcast from lz4 to zlib? we can
> > set up a fallback "worst case" algorithm, so each entry can contain
> > additional flag that would tell if the src page was compressed with
> > the fast or slow algorithm. that sounds to me easier than "create a
> > new block device and bond it to zram, etc". but I may be wrong.
> 
> We tried it although it was static not dynamic adatation you suggested.

could you please explain more? I'm not sure I understand what
was the configuration (what is static adaptation?).

> However problem was media-stream data so zlib, lzam added just pointless
> overhead.

would that overhead be bigger than a full-blown I/O request to
another block device (potentially slow, or under load, etc. etc.)?

	-ss

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


Thread

[PATCH v1 0/7] writeback incompressible pages to storage Minchan Kim <minchan@kernel.org> - 2017-06-26 09:00 +0200
  Re: [PATCH v1 0/7] writeback incompressible pages to storage Sergey Senozhatsky <sergey.senozhatsky@gmail.com> - 2017-06-28 17:50 +0200
    Re: [PATCH v1 0/7] writeback incompressible pages to storage Minchan Kim <minchan@kernel.org> - 2017-06-29 10:50 +0200
      Re: [PATCH v1 0/7] writeback incompressible pages to storage Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com> - 2017-06-29 11:20 +0200
        Re: [PATCH v1 0/7] writeback incompressible pages to storage Minchan Kim <minchan@kernel.org> - 2017-06-29 11:30 +0200

csiph-web