xpra icon
Bug tracker and wiki

This bug tracker and wiki are being discontinued
please use https://github.com/Xpra-org/xpra instead.


Changes between Version 23 and Version 24 of PacketEncoding


Ignore:
Timestamp:
07/28/14 14:35:18 (7 years ago)
Author:
Antoine Martin
Comment:

add lzo info, update link to test which got renamed

Legend:

Unmodified
Added
Removed
Modified
  • PacketEncoding

    v23 v24  
    6363{{{#!div class="box"
    6464== lz4 vs zlib ==
    65 As of version {{{0.11.0}}}, xpra supports [https://pypi.python.org/pypi/lz4 lz4] compression and will use it instead of the default [http://docs.python.org/2/library/zlib.html zlib] when {{{LEVEL}}} is set to 1 and both ends support the compression mode. More information here: #443
     65As of version {{{0.11.0}}}, xpra supports [https://pypi.python.org/pypi/lz4 lz4] compression and will use it instead of the default [http://docs.python.org/2/library/zlib.html zlib] when {{{LEVEL}}} is set to 1 and both ends support the compression mode. More information here: #443.
     66There is also support for [http://www.oberhumer.com/opensource/lzo/ lzo] in version {{{0.14.0}}} onwards, it can be used as an alternative to lz4: it is also much faster than zlib but not as efficient as lz4.
    6667[[BR]]
    67 There is a [/browser/xpra/trunk/src/tests/xpra/net/lz4_vs_zlib.py benchmark test] you can run to measure the performance of lz4 compared to zlib. On average, lz4 is at least 10 times faster than zlib on its fastest setting for regular packets, and even faster for RGB data (close to 20 times faster than zlib)
     68There is a [/browser/xpra/trunk/src/tests/xpra/net/lz4_vs_lzo_vs_zlib.py benchmark test] you can run to measure the performance of lz4 and lzo compared to zlib. On average, lz4 is about 10 times faster than zlib on its fastest setting for regular packets, and even faster for RGB data (up to 60 times faster than zlib!) whilst also compressing better than zlib!
    6869[[BR]]
    6970You can also find some more generic statistics here: [http://xpra.org/stats/lz4/ lz4 vs zlib graphs]