[Zlib-devel] infnew-5 available for testing

Chris Anderson christop at fellspt.charm.net
Thu Jan 2 04:28:00 EST 2003


> zlib devels,
>
> Version 5 of the new inflate code is available for testing here:
>
>      http://www.alumni.caltech.edu/~madler/infnew-5.tar.gz
>

Just did a quick minigzip run with 5 (icc):

$ time bin/minigzip -d < test.gz > /dev/null

real    0m12.998s
user    0m12.418s
sys     0m0.408s

Version 3 was:

$ time minigzip -d < test.gz > /dev/null

real    0m14.186s
user    0m12.508s
sys     0m1.201s

> Inflate's speed tends to be bound more by memory reading and writing
> than by instruction execution.  So while the number of instructions
> executed to do the same job have been reduced by 40% to almost 50%, the
> speed on my processor has only increased by 20% to 30% or so.  Your
> mileage may vary.

I'm going to try a run tomorrow that doesn't pipe to /dev/null.  I think
that may be eating up a good second or two and obscuring deflate
performance gains a little.  As it is, the zipped size + unzipped size /
13 secs is around 44 MB/sec.





More information about the Zlib-devel mailing list