[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20181123021202.GA1582@jagdpanzerIV>
Date: Fri, 23 Nov 2018 11:12:02 +0900
From: Sergey Senozhatsky <sergey.senozhatsky.work@...il.com>
To: Dave Rodgman <dave.rodgman@....com>
Cc: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
nd <nd@....com>,
"herbert@...dor.apana.org.au" <herbert@...dor.apana.org.au>,
"davem@...emloft.net" <davem@...emloft.net>,
Matt Sealey <Matt.Sealey@....com>,
"nitingupta910@...il.com" <nitingupta910@...il.com>,
"rpurdie@...nedhand.com" <rpurdie@...nedhand.com>,
"markus@...rhumer.com" <markus@...rhumer.com>,
"minchan@...nel.org" <minchan@...nel.org>,
"sergey.senozhatsky.work@...il.com"
<sergey.senozhatsky.work@...il.com>,
Sonny Rao <sonnyrao@...gle.com>
Subject: Re: [PATCH 0/6] lib/lzo: performance improvements
On (11/21/18 12:06), Dave Rodgman wrote:
>
> Overall, performance is improved by around 1.1 - 4.8x (data-dependent: data
> with many zero runs shows higher improvement). Under real-world testing with
> zram, time spent in (de)compression during swapping is reduced by around 27%.
Impressive.
I think we usually Cc Greg Kroah-Hartman and Andrew Morton on
lzo/lz4 patches.
> The graph below shows the weighted round-trip throughput of lzo, lz4 and
> lzo-rle, for randomly generated 4k chunks of data with varying levels of
> entropy. (To calculate weighted round-trip throughput, compression performance
> is emphasised to reflect the fact that zram does around 2.25x more compression
> than decompression.
Right. The number is data dependent. Not all swapped out pages can be
compressed; compressed pages that end up being >= zs_huge_class_size() are
considered incompressible and stored as it.
I'd say that on my setups around 50-60% of pages are incompressible.
-ss
Powered by blists - more mailing lists