Results 1 to 8 of 8

Thread: Why Does NanoZip Compress This File More Than PAQ8 And cmix?

  1. #1
    Member
    Join Date
    May 2012
    Location
    United States
    Posts
    323
    Thanks
    174
    Thanked 51 Times in 37 Posts

    Why Does NanoZip Compress This File More Than PAQ8 And cmix?

    Hi Guys,

    According to any and all benchmarks, PAQ8PX/PXD and cmix compress files better than NanoZip's -cc option, right?

    Can anyone help me understand why NZ does much better on the attached file? Here are some quick results:

    I can't post it because the file size is too big. Here is the file: http://www61.zippyshare.com/v/26398490/file.html

    Code:
    FFADMIN.EXE   6,141,074 
    NZ            5,015,668 
    CMIX          5,292,665 
    MCOMP (PWCM)  5,379,116 
    PAQ8PX_v69    5,401,019 
    PAQ8PXD_v15   5,447,329 
    PAQ8PXD_v12   5,447,434 
    UDA           5,471,662
    Any explanation?
    Last edited by comp1; 28th September 2014 at 00:15.

  2. #2
    Member
    Join Date
    Jun 2014
    Location
    Ro
    Posts
    19
    Thanks
    4
    Thanked 3 Times in 3 Posts
    7-zip LZMA2 ultra (with a dictionary large than 6MB) compresses to 5.290.711. My guess is that the data fits better a dictionary model.

  3. #3
    Member
    Join Date
    May 2012
    Location
    United States
    Posts
    323
    Thanks
    174
    Thanked 51 Times in 37 Posts
    I noticed that actually a little while ago...

    So would this imply that NanoZip's -cc options uses something other than pure CM? Perhaps LZP? Something is going on in NanoZip that isn't going on with these other CM compressors.

    Any ideas?

  4. #4
    Member
    Join Date
    May 2008
    Location
    Estonia
    Posts
    377
    Thanks
    139
    Thanked 198 Times in 108 Posts
    This file is FoxPro exe. About 5,8MB of it. Encoded. It actually contains jpg, some small bitmaps other files. But its encoded.
    And there are many files that paq8* cant compress that well.
    KZo


  5. #5
    Member
    Join Date
    May 2012
    Location
    United States
    Posts
    323
    Thanks
    174
    Thanked 51 Times in 37 Posts
    Quote Originally Posted by kaitz View Post
    This file is FoxPro exe. About 5,8MB of it. Encoded. It actually contains jpg, some small bitmaps other files. But its encoded.
    And there are many files that paq8* cant compress that well.
    Kaido,

    So because of the encoding of the data, CM compressors fail in comparison to LZ-type compressors?

    Thanks for helping me understand.

  6. #6
    Member
    Join Date
    Jun 2009
    Location
    Kraków, Poland
    Posts
    1,471
    Thanks
    26
    Thanked 120 Times in 94 Posts
    I would say that being CM or LZ doesn't matter here. It's the flexibility of filters and special models and reliability of content detection that play roles here.

    LZMA has the option to model the lowest bits of offsets. Maybe the data is structured into blocks that are sized by power of two, thus enabling LZMA to show its strength. AFAIK PAQ-like compressors don't bother much about offsets.

  7. #7
    Member
    Join Date
    Aug 2014
    Location
    Argentina
    Posts
    464
    Thanks
    202
    Thanked 81 Times in 61 Posts
    Quote Originally Posted by Piotr Tarsa View Post
    I would say that being CM or LZ doesn't matter here. It's the flexibility of filters and special models and reliability of content detection that play roles here.

    LZMA has the option to model the lowest bits of offsets. Maybe the data is structured into blocks that are sized by power of two, thus enabling LZMA to show its strength. AFAIK PAQ-like compressors don't bother much about offsets.



    Agreed

  8. #8
    Member
    Join Date
    Sep 2010
    Location
    US
    Posts
    126
    Thanks
    4
    Thanked 69 Times in 29 Posts

    Cool

    Quote Originally Posted by Piotr Tarsa View Post
    I would say that being CM or LZ doesn't matter here. It's the flexibility of filters and special models and reliability of content detection that play roles here.
    Yup. So far as I can tell NZ wins are due to content detection and filters.
    Last edited by cbloom; 3rd August 2016 at 20:37.

Similar Threads

  1. cmix
    By Matt Mahoney in forum Data Compression
    Replies: 406
    Last Post: 9th May 2019, 01:20
  2. Nanozip LZT ?
    By cbloom in forum Data Compression
    Replies: 47
    Last Post: 11th February 2017, 08:42
  3. {REQ} Help compress 8gig file to 4gig
    By AhrimanSefid in forum Data Compression
    Replies: 4
    Last Post: 25th September 2013, 22:46
  4. Compress any file to 4 bytes
    By Matt Mahoney in forum The Off-Topic Lounge
    Replies: 5
    Last Post: 28th June 2011, 07:11
  5. Replies: 3
    Last Post: 10th November 2007, 22:32

Posting Permissions

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