Packet compression benchmark

Guus Sliepen
Sun, 10 May 2015 23:30:16 -0000

On Mon, May 11, 2015 at 01:17:29AM +0200, Guus Sliepen wrote:

[...]
> zlib1:      59.17 MB/s, ratio 0.02       26.09 MB/s, ratio 0.44       20.55
MB/s, ratio 0.55       22.29 MB/s, ratio 1.01
> zlib2:      68.50 MB/s, ratio 0.02       27.73 MB/s, ratio 0.43       21.52
MB/s, ratio 0.55       23.91 MB/s, ratio 1.01
[...]
> Also, zlib with compression level 1 is worse in both speed
> and compression ratio than level 2.

Oops, that's just because the cache is not hot for the first run of the
benchmark. So the zlib1 speed values are too low, redoing the tests with
a proper dry-run before each run makes the zlib1 values as expected
(marginally faster than zlib2). No significant changes for the other
values.

--
Met vriendelijke groet / with kind regards,
     Guus Sliepen <guus at tinc-vpn.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL:
<http://www.tinc-vpn.org/pipermail/tinc-devel/attachments/20150511/9b058ec7/attachment.sig>