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 13 and Version 14 of PacketEncoding


Ignore:
Timestamp:
01/19/14 08:01:41 (7 years ago)
Author:
Antoine Martin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PacketEncoding

    v13 v14  
    3939There 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)
    4040[[BR]]
     41You can also find some more generic statistics here: [http://xpra.org/stats/lz4/ lz4 vs zlib graphs]
     42}}}
     43
     44{{{#!div class="box"
     45== python-lz4 Installation ==
    4146We have an [/attachment/wiki/PacketEncoding/python-lz4.spec python-lz4.spec rpm specfile] and {{{RPM}}}s should be available for {{{Fedora}}} and {{{CentOS}}} 6.x in the RPM repository.
     47[[BR]]
     48Other distributions can install from source: [https://pypi.python.org/pypi/lz4 lz4]
     49[[BR]]
     50The MS Windows and Mac OSX binary installers include lz4.
    4251}}}
    4352
     
    4554== Configuration ==
    4655
    47 The default settings should end up using {{{lz4}}} and {{{rencode}}}, since those are by far the best options. That's why there are no command line options to change the defaults.
     56The default settings should end up using {{{lz4}}} and {{{rencode}}}, since those are by far the best options. That's why there are no command line options to change the defaults. The {{{zlib}}} and {{{bencode}}} options will remain for compatibility with clients which do not have support for them (ie: {{{Android}}}, html5..).
    4857
    4958However, you can disable individual encoders/compressors using environment variables: