[Zlib-devel] Google's version of zlib code
Arjan van de Ven
arjanvandeven at gmail.com
Sun Mar 3 15:47:01 EST 2013
interesting; did you only play with the alder32 code, or did you do
other parts as well?
(my tweak to adler32 was very simple,
http://git.fenrus.org/git/?p=packages/zlib.git;a=blob;f=adler-speed.patch;h=62bf22ba456fb95e3dabb616edcc2705d3720c7b;hb=HEAD
... but as someone who works for Intel, I can appreciate someone
writing it in ssse3 ;-)
On Sun, Mar 3, 2013 at 12:36 PM, Jan Seiffert
<kaffeemonster at googlemail.com> wrote:
> Arjan van de Ven schrieb:
>> For all the "deflate is dead".... deflate, but more importantly,
>> inflate are comparatively cheap in terms of CPU usage (and thus
>> power). Yes XZ gets an incrementally better ratio, but only
>> incrementally for many cases (esp for files that are not very large)
>> and ends up quite a bit more expensive on either side.
>>
>> The google thing shows that there is room on the "get more expensive"
>> side, almost to the insane level.
>> But there is also room on the "get cheaper" part, and at work we've
>> been playing with zlib performance lately (hopefully to go open soon
>> once we're a bit further along).
>>
>> Getting zlib's deflate 25% faster hasn't proven to be that hard,
>
> https://github.com/kaffeemonster/zlib/tree/slhash
>
>> and
>> line of sight for a 2x to 3x speedup is there (e.g. early prototype
>> code).
>>
>> We haven't looked at inflate much, beyond making the alder32 code (is
>> that used much?) 2x faster, but I'm sure there's some room there too.
>>
>
> 2 times?
> https://github.com/kaffeemonster/zlib
> https://github.com/kaffeemonster/zlib/commit/a494da1181edfbe0f25e058b4782b5c1017d2f57
>
> [snip]
>
> Greetings
> Jan
>
> _______________________________________________
> Zlib-devel mailing list
> Zlib-devel at madler.net
> http://mail.madler.net/mailman/listinfo/zlib-devel_madler.net
More information about the Zlib-devel
mailing list