Results 1 to 5 of 5

Thread: Traffic compression (1500 byte chunks)

  1. #1
    Member
    Join Date
    Jan 2012
    Location
    Prague, Czech Republic
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Traffic compression (1500 byte chunks)

    Dear All,

    I am experimenting with real-time IP traffic compression. I wonder if you could advise on what would be the best algorithm to compress typical mixed data traffic coming in via 4-20 kB chunks? Has anybody done such a testing before?

    Thank you in advance!

    Max
    Last edited by blackhaz; 19th January 2012 at 03:43.

  2. #2
    Expert
    Matt Mahoney's Avatar
    Join Date
    May 2008
    Location
    Melbourne, Florida, USA
    Posts
    3,255
    Thanks
    306
    Thanked 779 Times in 486 Posts
    Probably something simple and fast, like LZSS or byte level LZ77. A lot of packets won't be compressible anyway, either because it is encrypted or compressed at a higher layer (JPEG, MPEG, PDF, HTTP-deflate, etc). You'll always get better compression higher up the network stack, like at the application layer.

  3. #3
    Member caveman's Avatar
    Join Date
    Jul 2009
    Location
    Strasbourg, France
    Posts
    190
    Thanks
    8
    Thanked 62 Times in 33 Posts
    Are you looking for V.42bis BTLZ or V.44 LZJH alike compression?

  4. #4
    Member
    Join Date
    Jan 2012
    Location
    Prague, Czech Republic
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    No, it could be just any other compression method. After researching I realized that the task is pretty much identical to anything else, so it doesn't really matter it's Internet traffic. I guess I'm going to try all the libs available and see what performs best.

  5. #5
    Member m^2's Avatar
    Join Date
    Sep 2008
    Location
    Ślůnsk, PL
    Posts
    1,611
    Thanks
    30
    Thanked 65 Times in 47 Posts
    I suggest that you try this to do the benchmarking. Use the default sector size of 1 byte and block size of whatever you want.

Similar Threads

  1. Byte oriented LZ77 compressor
    By Matt Mahoney in forum Data Compression
    Replies: 21
    Last Post: 30th December 2011, 18:27

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •