[Mesa-dev] [PATCH 2/4] util/disk_cache: compress individual cache entries

Steven Newbury steve at snewbury.org.uk
Wed Mar 1 12:58:46 UTC 2017


On Wed, 2017-03-01 at 12:38 +0200, Eero Tamminen wrote:
> Hi,
> 
> On 01.03.2017 07:25, Timothy Arceri wrote:
> > This reduces the cache size for Deus Ex from ~160M to ~30M for
> > radeonsi.
> > 
> > I'm also seeing the following improvements in minimum fps in the
> > Shadow of Mordor benchmark:
> > 
> > no-cache:                    ~10fps
> > with-cache-no-compression:   ~15fps
> > with-cache-and-compression:  ~20fps
> > 
> > Note the with cache results are from the second run after closing
> > and opening the game to avoid the in-memory cache.
> > 
> > Since we only really care about decompression I went with
> > Z_BEST_COMPRESSION as suggested on irc by Steinar H. Gunderson
> > who has benchmarked decompression speeds.
> 
> Did he tried liblzo instead of zlib?
> 
> It should be faster than zlib while still having fairly OK
> compression 
> ratio.
> 
lz4hc would be perfect.  Decent compression ratio and very fast
decompression.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170301/a6ffb6ef/attachment.sig>


More information about the mesa-dev mailing list