Menu

7-Zip benchmark

2015-01-12
2015-03-05
1 2 > >> (Page 1 of 2)
  • Igor Pavlov

    Igor Pavlov - 2015-01-12

    7-Zip 9.38 beta supports new benchmark that tests the speed of some code from 7-Zip (not only LZMA).

    You can call it so:

    7z b -mm=* -mmt1
    7z b -mm=*
    

    At first it tries to detect CPU frequency to select the complexity of test.

    CPU Freq:  2000  4266  4000  2064  4129  3282  3282  3282  3282
    

    Last value: 3282 is estimated CPU frequency.

    Then it tests CPU Frequency again (in multithreading mode, if multithreading mode was specified)

    CPU                      199   2868   5696   101   200
    

    2868 is not correct CPU frequency here, since Hyper-Threading doesn't give full resources to each thread from two threads.

    Then it tests Compression, Decompression and HASH calculation code.

    MIPS - are results normalized for AMD K8 cpu.
    Effec - are results normalized to CPU frequency.
    For example, Effec = 130 means that CPU is 30% faster per MHz than AMD cpu.
    The test AES256CBC:2 - is AES hardware test (that test is supported only if CPU supports AES instructions).

    You can post results here at forum for your CPU.
    Please write full name of your CPU and real CPU frequency, if you know it.
    The results for two tests are interesting:

    7z b -mm=* -mmt1
    7z b -mm=*
    

    Please use "Code Highlighting" for results in messages.
    You can designate a code block by surrounding it with lines of tildes:

    7-Zip [64] 9.38 beta  Copyright (c) 1999-2014 Igor Pavlov  2015-01-03
    
    CPU Freq:  2000  4266  4000  2064  4129  3282  3282  3282  3282
    
     

    Last edit: Igor Pavlov 2015-01-12
  • Ede_123

    Ede_123 - 2015-01-13
    Intel® Core™2 Duo Processor P8400 (3M Cache, 2.26 GHz, 1066 MHz FSB)
     - 2 Cores, no Hyper-Threading
     - OS: Windows 7 x64
    
    #####################################################################
    
    7-Zip [64] 9.38 beta  Copyright (c) 1999-2014 Igor Pavlov  2015-01-03
    
    CPU Freq:  2064  2064  2000  2064  2723  2348  2348  2260  2345
    
    RAM size:    8086 MB,  # CPU hardware threads:   2
    RAM usage:    419 MB,  # Benchmark threads:      1
    
    Method           Speed Usage    R/U Rating   E/U Effec
                      KB/s     %   MIPS   MIPS     %     %
    
    CPU                      100   2346   2337
    CPU                      100   2346   2347
    CPU                      100   2337   2337   100   100
    
    LZMA:x1           9631    99   3555   3521   152   151
                     28830   100   2321   2321    99    99
    LZMA:x5:mt1       2179    99   2739   2722   117   116
                     27520   100   2314   2315    99    99
    LZMA:x5:mt2       3596   163   2751   4493   118   192
                     27520   100   2314   2315    99    99
    Deflate:x1       24563   100   3119   3119   133   133
                     79107   100   2447   2447   105   105
    Deflate:x5        7294   100   2808   2809   120   120
                     79086   100   2437   2437   104   104
    Deflate:x7        2542   100   2818   2817   121   121
                     79107   100   2446   2436   105   104
    Deflate64:x5      7001   100   3026   3026   129   129
                     78769   100   2446   2446   105   105
    BZip2:x1          4286   100   2590   2590   111   111
                     22437   100   2413   2402   103   103
    BZip2:x5          3512   100   2931   2931   125   125
                     17084    99   3346   3320   143   142
    BZip2:x5:mt2      5677   189   2504   4738   107   203
                     26597   175   2958   5168   127   221
    BZip2:x7          1068    99   2796   2768   120   118
                     17075    98   3400   3316   145   142
    PPMD:x1           3201   100   3312   3312   142   142
                      2861    99   3388   3370   145   144
    PPMD:x5           2079    99   3546   3525   152   151
                      1852    99   3490   3471   149   149
    Delta:4         502762    99   3105   3089   133   132
                    447327   100   2761   2748   118   118
    BCJ             769927   100   3154   3154   135   135
                    765793   100   3137   3137   134   134
    AES256CBC:1     103315   100   2539   2539   109   109
                     99089   100   2445   2435   105   104
    AES256CBC:2 
    
    CRC32:4         948562   100   2117   2117    91    91
    CRC32:8        1732858   100   2359   2350   101   101
    CRC64           876026   100   1799   1794    77    77
    SHA256           54481   100   2594   2593   111   111
    SHA1            156469   100   3274   3273   140   140
    
    CPU                      100   2346   2337
    ------------------------------------------------------
    Tot:                     106   2797   2956   119   126
    
    Kernel  Time =     0.358 =    0%
    User    Time =   181.444 =  103%
    Process Time =   181.803 =  103%    Virtual  Memory =    225 MB
    Global  Time =   176.015 =  100%    Physical Memory =    208 MB
    
    #####################################################################
    
    7-Zip [64] 9.38 beta  Copyright (c) 1999-2014 Igor Pavlov  2015-01-03
    
    CPU Freq:  2064  4000  2064  2064  2723  2048  2348  2343  2345
    
    RAM size:    8086 MB,  # CPU hardware threads:   2
    RAM usage:    425 MB,  # Benchmark threads:      2
    
    Method           Speed Usage    R/U Rating   E/U Effec
                      KB/s     %   MIPS   MIPS     %     %
    
    CPU                      199   2228   4430
    CPU                      196   2257   4430
    CPU                      198   2236   4430   101   200
    
    LZMA:x1          17645   195   3310   6451   149   291
                     53411   194   2221   4301   100   194
    LZMA:x5:mt1       3784   194   2439   4728   110   213
                     50816   195   2194   4273    99   193
    LZMA:x5:mt2       4054   194   2616   5066   118   229
                     51226   194   2217   4307   100   194
    Deflate:x1       45416   196   2939   5767   133   260
                    133235   186   2212   4119   100   186
    Deflate:x5       13293   193   2652   5118   120   231
                    150068   197   2344   4621   106   209
    Deflate:x7        4710   196   2660   5219   120   236
                    151291   197   2359   4657   106   210
    Deflate64:x5     12502   192   2810   5403   127   244
                    148786   197   2349   4620   106   209
    BZip2:x1          7986   197   2455   4825   111   218
                     42522   198   2303   4551   104   205
    BZip2:x5          5802   195   2479   4843   112   219
                     25004   197   2466   4858   111   219
    BZip2:x5:mt2      5834   194   2504   4869   113   220
                     28382   192   2874   5515   130   249
    BZip2:x7          1941   195   2574   5029   116   227
                     26256   189   2701   5099   122   230
    PPMD:x1           6308   195   3342   6525   151   295
                      5224   192   3200   6152   144   278
    PPMD:x5           3659   195   3181   6201   144   280
                      3236   194   3129   6065   141   274
    Delta:4         938538   194   2974   5766   134   260
                    852031   195   2685   5235   121   236
    BCJ            1459562   198   3013   5978   136   270
                   1451726   197   3013   5946   136   268
    AES256CBC:1     196661   197   2453   4833   111   218
                    189377   198   2356   4654   106   210
    AES256CBC:2 
    
    CRC32:4        1811332   196   2058   4043    93   183
    CRC32:8        3234598   195   2245   4386   101   198
    CRC64          1655623   197   1724   3391    78   153
    SHA256          102852   197   2480   4896   112   221
    SHA1            282659   194   3045   5913   137   267
    
    CPU                      199   2240   4454
    ------------------------------------------------------
    Tot:                     195   2610   5087   118   230
    
    Kernel  Time =     0.982 =    0%
    User    Time =   377.194 =  192%
    Process Time =   378.177 =  192%    Virtual  Memory =    449 MB
    Global  Time =   196.451 =  100%    Physical Memory =    412 MB
    
     
    • Igor Pavlov

      Igor Pavlov - 2015-01-13

      Thanks for results.

      I don't like that it shows 2337 MHz instead of 2266 MHz.
      Do you know real frequency of your CPU (measured with CPU-Z or some other program)?

      Try:

      7z b -mm=* -mmt1 -mtesttime=10
      7z b -mm=* -mmt1 -mtesttime=20
      

      And stop program (Ctrl-C) after "CPU" lines:

      CPU                      100   2346   2337
      CPU                      100   2346   2347
      CPU                      100   2337   2337   100   100
      
       

      Last edit: Igor Pavlov 2015-01-13
      • Ede_123

        Ede_123 - 2015-01-13

        2.26 GHz should be the real CPU frequency.

        However my CPU has an IDA p-state (Intel Dynamic Acceleration) which should clock one (and only one) core at 2400 MHz (multiplier 9 instead of 8.5) if the other core is idle. I don't know if it was active during tests though, since I don't know of a reliable way to detect IDA p-states.

        I'll try the above commands later (I'm on another computer right now).

         
        • Igor Pavlov

          Igor Pavlov - 2015-01-13

          It's not good for benchmarking when CPU can change the frequency.

           
          • Ede_123

            Ede_123 - 2015-01-13

            CPU was configured for maximum performance (so by default multiplier 8.5 is used).

            However I don't know if this disables IDA, too (and I don't know software that is designed to disable IDA). Also I was never really able to test if IDA is used since
            a) I don't know of a tool that is designed for this (only general tools, that show the current CPU clock).
            b) IDA is never active all the time. It's only active for fractions of a second, since the limitation applies that other core has to be idle (which is very unlikely on modern systems)

            If you know of better ways to test this, please tell me (I assume you have run into similar issues when benchmarking).

             

            Last edit: Ede_123 2015-01-13
            • Igor Pavlov

              Igor Pavlov - 2015-01-13

              If you run single thread code, then other core will be idle at 99% of time.

              If you want to see exact CPU frequency, any test from 7benchmark probably can show it (it uses precision timer from CPU):
              http://sourceforge.net/projects/sevenmax/files/7-Benchmark/7bench1400.7z/download

               

              Last edit: Igor Pavlov 2015-01-13
  • Ede_123

    Ede_123 - 2015-01-13
    Intel® Core™ i5-4570 Processor (6M Cache, up to 3.60 GHz)
     - 4 cores, no Hyper-Threading
     - OS: Windows 7 x64
    
    #####################################################################
    
    7-Zip [64] 9.38 beta  Copyright (c) 1999-2014 Igor Pavlov  2015-01-03
    
    CPU Freq:  1361  4266  4000  4000  4129  3282  3657  3447  3549
    
    RAM size:    3982 MB,  # CPU hardware threads:   4
    RAM usage:    419 MB,  # Benchmark threads:      1
    
    Method           Speed Usage    R/U Rating   E/U Effec
                      KB/s     %   MIPS   MIPS     %     %
    
    CPU                      100   3543   3543
    CPU                      100   3543   3543
    CPU                      100   3543   3543   100   100
    
    LZMA:x1          16541   100   6046   6047   171   171
                     46061   100   3709   3709   105   105
    LZMA:x5:mt1       3698   100   4620   4620   130   130
                     45272   100   3807   3808   107   107
    LZMA:x5:mt2       7396   177   5227   9241   148   261
                     45072   100   3791   3791   107   107
    Deflate:x1       45010   100   5715   5715   161   161
                    131892   100   4080   4080   115   115
    Deflate:x5       13293   100   5119   5118   144   144
                    131863   100   4063   4063   115   115
    Deflate:x7        5025   100   5568   5568   157   157
                    132434   100   4080   4079   115   115
    Deflate64:x5     12430   100   5371   5372   152   152
                    131892   100   4095   4095   116   116
    BZip2:x1          7957   100   4807   4807   136   136
                     37502   100   4015   4015   113   113
    BZip2:x5          7095   100   5922   5922   167   167
                     30884   100   6002   6001   169   169
    BZip2:x5:mt2     12355   194   5312  10312   150   291
                     48870   164   5789   9496   163   268
    BZip2:x7          2015   100   5222   5222   147   147
                     30667   100   5955   5956   168   168
    PPMD:x1           6483   100   6705   6706   189   189
                      5251   100   6184   6184   175   175
    PPMD:x5           4217   100   7148   7147   202   202
                      3536   100   6627   6627   187   187
    Delta:4         924038   100   5677   5677   160   160
                    924038   100   5677   5677   160   160
    BCJ            1879222   100   7698   7697   217   217
                   1879222   100   7698   7697   217   217
    AES256CBC:1     204242   100   5018   5019   142   142
                    204169   100   5018   5018   142   142
    AES256CBC:2     538215   100   4410   4409   124   124
                   2918302   100   5976   5977   169   169
    CRC32:4        1248534   100   2786   2787    79    79
    CRC32:8        2518176   100   3415   3415    96    96
    CRC64          1256454   100   2573   2573    73    73
    SHA256          107787   100   5130   5131   145   145
    SHA1            256873   100   5375   5374   152   152
    
    CPU                      100   3543   3543
    ------------------------------------------------------
    Tot:                     106   5165   5491   146   155
    
    Kernel  Time =     0.249 =    0%
    User    Time =   142.522 =  102%
    Process Time =   142.772 =  102%    Virtual  Memory =    225 MB
    Global  Time =   139.648 =  100%    Physical Memory =    208 MB
    
    #####################################################################
    
    7-Zip [64] 9.38 beta  Copyright (c) 1999-2014 Igor Pavlov  2015-01-03
    
    CPU Freq:  2064  4266  4000  4000  2782  3282  4096  3447  3549
    
    RAM size:    3982 MB,  # CPU hardware threads:   4
    RAM usage:    850 MB,  # Benchmark threads:      4
    
    Method           Speed Usage    R/U Rating   E/U Effec
                      KB/s     %   MIPS   MIPS     %     %
    
    CPU                      397   3368  13384
    CPU                      399   3380  13483
    CPU                      399   3371  13435   100   400
    
    LZMA:x1          60907   394   5657  22266   168   663
                    173559   397   3520  13976   105   416
    LZMA:x5:mt1      11833   390   3795  14784   113   440
                    166569   394   3555  14002   106   417
    LZMA:x5:mt2      12847   384   4175  16050   124   478
                    166569   395   3547  14002   106   417
    Deflate:x1      169197   394   5452  21484   162   640
                    496484   398   3855  15350   115   457
    Deflate:x5       49145   391   4843  18922   144   563
                    501010   397   3884  15427   116   459
    Deflate:x7       18751   392   5295  20776   158   619
                    501157   397   3887  15425   116   459
    Deflate64:x5     46152   393   5071  19944   151   594
                    496484   395   3903  15416   116   459
    BZip2:x1         29375   394   4508  17747   134   528
                    140721   397   3792  15060   113   448
    BZip2:x5         19446   398   4081  16230   122   483
                     71820   399   3499  13954   104   415
    BZip2:x5:mt2     19811   395   4189  16534   125   492
                     79654   395   3920  15477   117   461
    BZip2:x7          6700   399   4346  17359   129   517
                     71506   399   3483  13886   104   413
    PPMD:x1          24426   397   6371  25263   190   752
                     19539   393   5855  23010   174   685
    PPMD:x5          13421   394   5779  22745   172   677
                     11447   390   5494  21451   164   639
    Delta:4        3419221   387   5425  21008   162   625
                   3461166   396   5374  21265   160   633
    BCJ            7064917   397   7298  28938   217   862
                   7126318   397   7345  29189   219   869
    AES256CBC:1     745735   387   4732  18327   141   546
                    769892   397   4764  18921   142   563
    AES256CBC:2    2051181   400   4206  16803   125   500
                  10923936   398   5619  22372   167   666
    CRC32:4        4748673   398   2660  10599    79   316
    CRC32:8        9549355   398   3250  12949    97   386
    CRC64          4777672   399   2453   9785    73   291
    SHA256          406501   397   4870  19349   145   576
    SHA1            974100   398   5126  20378   153   607
    
    CPU                      400   3377  13496
    ------------------------------------------------------
    Tot:                     395   4587  18113   136   539
    
    Kernel  Time =     1.419 =    0%
    User    Time =   610.088 =  384%
    Process Time =   611.508 =  385%    Virtual  Memory =    896 MB
    Global  Time =   158.575 =  100%    Physical Memory =    796 MB
    

    According to CPU-Z the CPU was running mostly with multiplier 34 (3.4 GHz) during tests.
    For the test with one thread sometimes Multiplier 35 (3.5 GHz) or (seldom) 36 (3.6 GHz) was set.

    (If you know how of an easy way to fix i5 CPUs with Intel Turbo Boost to a specific multiplier and need those tests, too, tell me. I could retest then.)

     
    • Igor Pavlov

      Igor Pavlov - 2015-01-13

      Now for me it's not so important to get exact results without Turbo-Boost.
      I just wanted to check that CPU frequency detection works OK. In your case it showed:
      3543 (-mmt1)
      3380 (-mmt4)

       
  • thieg

    thieg - 2015-01-13

     Intel(R) Core(TM)2 Duo CPU T7700 @2.40GHz 3.31GHz windows XP SP3 3.5GB RAM

    C:\7z>7z b -mm=* -mmt=1
    
    7-Zip 9.38 beta  Copyright (c) 1999-2014 Igor Pavlov  2015-01-03
    
    CPU Freq:  2064  4000  4000  4266  2723  3282  3282  3271   3447
    
    RAM size:    2047 MB,  # CPU hardware threads:   2
    RAM usage:    419 MB,  # Benchmark threads:      1
    
    Method           Speed Usage    R/U Rating   E/U Effec
                      KB/s     %   MIPS   MIPS     %     %
    
    CPU                      122   2679   3257
    CPU                      122   2679   3281
    CPU                      119   2738   3257    84   100
    
    LZMA:x1          12946   127   3722   4733   114   145
                     38520   120   2576   3102    79    95
    LZMA:x5:mt1       2570   124   2589   3211    79    99
                     37751   124   2569   3175    79    97
    LZMA:x5:mt2       5191   256   2534   6485    78   199
                     37597   122   2594   3162    80    97
    Deflate:x1       33470   128   3315   4250   102   130
                     84297   128   2038   2608    63    80
    Deflate:x5       11036   123   3451   4249   106   130
                     85120   123   2137   2623    66    81
    Deflate:x7        3971   125   3531   4401   108   135
                     86231   122   2170   2656    67    82
    Deflate64:x5     10278   129   3433   4442   105   136
                     84020   122   2131   2609    65    80
    BZip2:x1          6095   130   2828   3682    87   113
                     28020   131   2291   3000    70    92
    BZip2:x5          5091   126   3379   4249   104   130
                     21955   128   3327   4266   102   131
    BZip2:x5:mt2      9448   279   2823   7885    87   242
                     37449   234   3111   7277    96   223
    BZip2:x7          1508   123   3181   3909    98   120
                     22073   122   3526   4287   108   132
    PPMD:x1           4993   122   4236   5165   130   159
                      4386   134   3859   5166   118   159
    PPMD:x5           3057   124   4181   5181   128   159
                      2752   126   4094   5157   126   158
    Delta:4         745637   121   3790   4581   116   141
                    837847   124   4149   5148   127   158
    BCJ            1264254   125   4128   5178   127   159
                   1296724   125   4254   5311   131   163
    AES256CBC:1     130988   124   2589   3219    79    99
                    129012   128   2482   3171    76    97
    AES256CBC:2
    
    CRC32:4        1089253   124   1953   2431    60    75
    CRC32:8        2260781   123   2489   3066    76    94
    CRC64          1017876   120   1734   2085    53    64
    SHA256           66342   123   2565   3158    79    97
    SHA1            159385   124   2698   3334    83   102
    
    CPU                      120   2723   3255
    ------------------------------------------------------
    Tot:                     136   3039   4098    93   126
    
    Kernel  Time =    11.609 =    7%
    User    Time =   202.171 =  122%
    Process Time =   213.781 =  129%    Virtual  Memory =    224 MB
    Global  Time =   165.531 =  100%    Physical Memory =    207 MB
    
    C:\7z>7z b -mm=*
    
    7-Zip 9.38 beta  Copyright (c) 1999-2014 Igor Pavlov  2015-01-03
    
    CPU Freq:  4000  2064  4000  4266  4000  3282  3261   3459   3447
    
    RAM size:    2047 MB,  # CPU hardware threads:   2
    RAM usage:    425 MB,  # Benchmark threads:      2
    
    Method           Speed Usage    R/U Rating   E/U Effec
                      KB/s     %   MIPS   MIPS     %     %
    
    CPU                      292   2371   6926
    CPU                      293   2362   6926
    CPU                      293   2352   6899    68   200
    
    LZMA:x1          27238   272   3659   9958   106   289
                     81920   286   2310   6597    67   191
    LZMA:x5:mt1       4639   279   2076   5796    60   168
                     77392   284   2293   6507    66   189
    LZMA:x5:mt2       5255   281   2339   6566    68   190
                     77963   289   2267   6555    66   190
    Deflate:x1       69521   287   3078   8828    89   256
                    179751   289   1922   5558    56   161
    Deflate:x5       23043   280   3166   8872    92   257
                    179751   285   1944   5535    56   160
    Deflate:x7        8224   275   3310   9113    96   264
                    179751   278   1987   5533    58   160
    Deflate64:x5     21403   279   3320   9249    96   268
                    179751   284   1967   5582    57   162
    BZip2:x1         12554   282   2690   7585    78   220
                     58965   272   2321   6310    67   183
    BZip2:x5          9801   285   2874   8180    83   237
                     40132   296   2633   7798    76   226
    BZip2:x5:mt2     10132   296   2860   8456    83   245
                     41114   292   2739   7989    79   232
    BZip2:x7          3134   286   2836   8121    82   235
                     41321   294   2733   8025    79   233
    PPMD:x1          10590   276   3965  10953   115   318
                      9362   272   4055  11025   118   320
    PPMD:x5           6009   289   3519  10184   102   295
                      5637   291   3629  10563   105   306
    Delta:4        1570887   294   3283   9652    95   280
                   1819023   290   3856  11176   112   324
    BCJ            2694720   284   3890  11038   113   320
                   2746351   289   3890  11249   113   326
    AES256CBC:1     272174   291   2302   6689    67   194
                    267059   282   2330   6563    68   190
    AES256CBC:2
    
    CRC32:4        2327373   287   1813   5195    53   151
    CRC32:8        4618632   283   2213   6263    64   182
    CRC64          2010075   269   1530   4117    44   119
    SHA256          142124   291   2323   6765    67   196
    SHA1            335004   290   2416   7008    70   203
    
    CPU                      296   2336   6926
    ------------------------------------------------------
    Tot:                     285   2766   7869    80   228
    
    Kernel  Time =    83.171 =   47%
    User    Time =   404.843 =  232%
    Process Time =   488.015 =  280%    Virtual  Memory =    448 MB
    Global  Time =   174.062 =  100%    Physical Memory =    400 MB
    
     
    • Igor Pavlov

      Igor Pavlov - 2015-01-14

      Cpu usage is higher than 100% for single thread.
      Probably GetProcessTimes() function returns incorrect results for such overclocked cpu.
      What exact settings do you change to overclock cpu: BIOS or some program?

       
      • thieg

        thieg - 2015-01-14

        Probably BIOS, this system runs in a VM on top of some Linux.

         
  • Nikkho

    Nikkho - 2015-01-14

    CPU: QuadCore Intel Core 2 Quad Q9400, 2666 MHz (8 x 333)
    OS: Windows 8.1 Professional x64

    7z b -mm=* -mmt1
    
    7-Zip [64] 9.38 beta  Copyright (c) 1999-2014 Igor Pavlov  2015-01-03
    
    CPU Freq:  4266  2064  4000  2064  2723  2723  2522  2618   2677
    
    RAM size:    4989 MB,  # CPU hardware threads:   4
    RAM usage:    419 MB,  # Benchmark threads:      1
    
    Method           Speed Usage    R/U Rating   E/U Effec
                      KB/s     %   MIPS   MIPS     %     %
    
    CPU                      100   2661   2651
    CPU                       99   2651   2630
    CPU                      100   2651   2640   100   100
    
    LZMA:x1           9531    99   3517   3484   133   132
                     32637   100   2639   2628   100   100
    LZMA:x5:mt1       2240   100   2805   2799   106   106
                     30971   100   2605   2605    99    99
    LZMA:x5:mt2       4369   180   3039   5458   115   207
                     30963   100   2605   2604    99    99
    Deflate:x1       27306   100   3467   3467   131   131
                     89237   100   2772   2761   105   105
    Deflate:x5        8192   100   3154   3154   119   119
                     89628   100   2761   2761   105   105
    Deflate:x7        2856   100   3174   3165   120   120
                     90021   100   2772   2772   105   105
    Deflate64:x5      7764    98   3407   3355   129   127
                     88874    99   2783   2760   105   105
    BZip2:x1          4681   100   2828   2828   107   107
                     25264   100   2716   2705   103   102
    BZip2:x5          3731   100   3125   3114   118   118
                     18184   100   3533   3533   134   134
    BZip2:x5:mt2      6679   194   2879   5574   109   211
                     30247   185   3184   5877   121   223
    BZip2:x7          1207    99   3151   3130   119   119
                     18395   100   3573   3573   135   135
    PPMD:x1           3604   100   3740   3727   142   141
                      3225   100   3799   3799   144   144
    PPMD:x5           2279   100   3863   3863   146   146
                      2031   100   3823   3808   145   144
    Delta:4         572960   100   3520   3520   133   133
                    509297   100   3129   3129   119   119
    BCJ             873118   100   3576   3576   135   135
                    873118    99   3614   3576   137   135
    AES256CBC:1     117499   100   2888   2888   109   109
                    114098   100   2804   2804   106   106
    AES256CBC:2
    
    CRC32:4        1081490   100   2414   2414    91    91
    CRC32:8        1954891   100   2651   2651   100   100
    CRC64           993949   100   2042   2036    77    77
    SHA256           61996   100   2951   2951   112   112
    SHA1            178466   100   3733   3734   141   141
    
    CPU                      100   2648   2648
    ------------------------------------------------------
    Tot:                     107   3109   3313   118   125
    
    Kernel  Time =     0.531 =    0%
    User    Time =   175.937 =  103%
    Process Time =   176.468 =  103%    Virtual  Memory =    225 MB
    Global  Time =   170.292 =  100%    Physical Memory =    207 MB
    
    7z b -mm=*
    
    7-Zip [64] 9.38 beta  Copyright (c) 1999-2014 Igor Pavlov  2015-01-03
    
    CPU Freq:  2064  4000  2064  2064  2723  2723  2737  2618   2677
    
    RAM size:    4989 MB,  # CPU hardware threads:   4
    RAM usage:    850 MB,  # Benchmark threads:      4
    
    Method           Speed Usage    R/U Rating   E/U Effec
                      KB/s     %   MIPS   MIPS     %     %
    
    CPU                      398   2620  10439
    CPU                      395   2630  10400
    CPU                      396   2625  10400   101   400
    
    LZMA:x1          39936   392   3722  14600   143   562
                    127679   396   2598  10282   100   395
    LZMA:x5:mt1       6502   373   2181   8124    84   312
                    119841   394   2558  10074    98   387
    LZMA:x5:mt2       7231   385   2344   9035    90   347
                    120819   395   2574  10157    99   391
    Deflate:x1      105533   392   3419  13400   132   515
                    346659   389   2753  10718   106   412
    Deflate:x5       32015   392   3142  12327   121   474
                    345198   386   2751  10629   106   409
    Deflate:x7       10895   387   3119  12072   120   464
                    352438   394   2756  10848   106   417
    Deflate64:x5     30173   392   3326  13039   128   501
                    349525   393   2759  10853   106   417
    BZip2:x1         18891   396   2883  11414   111   439
                    100824   397   2717  10790   105   415
    BZip2:x5         11008   390   2356   9188    91   353
                     50528   392   2505   9818    96   378
    BZip2:x5:mt2     11650   388   2507   9723    96   374
                     54949   394   2710  10676   104   411
    BZip2:x7          4337   389   2887  11237   111   432
                     50737   390   2527   9853    97   379
    PPMD:x1          14664   395   3839  15167   148   583
                     12557   394   3756  14787   144   569
    PPMD:x5           7411   395   3179  12560   122   483
                      6764   390   3251  12676   125   488
    Delta:4        2233203   392   3503  13721   135   528
                   1978688   392   3100  12157   119   468
    BCJ            3385536   391   3545  13867   136   533
                   3403689   391   3564  13942   137   536
    AES256CBC:1     466944   398   2881  11476   111   441
                    449580   398   2779  11049   107   425
    AES256CBC:2
    
    CRC32:4        4244667   394   2407   9474    93   364
    CRC32:8        7729793   398   2631  10482   101   403
    CRC64          3904110   394   2029   7996    78   308
    SHA256          226346   376   2867  10774   110   414
    SHA1            543789   348   3270  11376   126   438
    
    CPU                      398   2625  10458
    ------------------------------------------------------
    Tot:                     390   2911  11361   112   437
    
    Kernel  Time =     3.312 =    1%
    User    Time =   745.171 =  376%
    Process Time =   748.484 =  378%    Virtual  Memory =    895 MB
    Global  Time =   197.852 =  100%    Physical Memory =    816 MB
    
     
  • thieg

    thieg - 2015-01-14
    AMD Phenom(tm) II X6 1055T 2.80GHz L2 6x512KB L3 6MB TurboCore off win 8.1 x64 4GB RAM
    
    C:\7z>7z b -mm=* -mmt1
    
    7-Zip [64] 9.38 beta  Copyright (c) 1999-2014 Igor Pavlov  2015-01-03
    
    CPU Freq:  1361  4000  4000  4266  2723  2723  2723  2730  2790
    
    RAM size:    4093 MB,  # CPU hardware threads:   6
    RAM usage:    419 MB,  # Benchmark threads:      1
    
    Method           Speed Usage    R/U Rating   E/U Effec
                      KB/s     %   MIPS   MIPS     %     %
    
    CPU                       99   2818   2785
    CPU                      100   2796   2785
    CPU                      100   2785   2774   100   100
    
    LZMA:x1          10278   100   3758   3758   135   135
                     34384    99   2803   2769   101   100
    LZMA:x5:mt1       2532    98   3242   3164   117   114
                     33825   100   2845   2845   103   103
    LZMA:x5:mt2       4808   161   3721   6008   134   217
                     33825   100   2845   2845   103   103
    Deflate:x1       26340    99   3362   3345   121   121
                     92914   100   2886   2874   104   104
    Deflate:x5        8320   100   3204   3204   116   115
                     92914    99   2887   2863   104   103
    Deflate:x7        2896    99   3254   3210   117   116
                     92914    98   2911   2862   105   103
    Deflate64:x5      7884    99   3459   3407   125   123
                     92143    98   2909   2861   105   103
    BZip2:x1          4831    99   2947   2919   106   105
                     27118    98   2967   2903   107   105
    BZip2:x5          4016    99   3379   3352   122   121
                     20037    99   3918   3894   141   140
    BZip2:x5:mt2      7488   193   3241   6249   117   225
                     34589   174   3869   6721   139   242
    BZip2:x7          1217    99   3200   3155   115   114
                     20169   100   3916   3917   141   141
    PPMD:x1           2953   100   3064   3055   110   110
                      2496   100   2947   2940   106   106
    PPMD:x5           1923    99   3303   3260   119   118
                      1653    99   3124   3099   113   112
    Delta:4         451476   100   2785   2774   100   100
                    318389    99   1967   1956    71    71
    BCJ             777520    98   3243   3185   117   115
                    773965    98   3228   3170   116   114
    AES256CBC:1     119396    99   2971   2934   107   106
                    116021    99   2886   2851   104   103
    AES256CBC:2
    
    CRC32:4        1314767   100   2947   2935   106   106
    CRC32:8        2413051   100   3288   3272   119   118
    CRC64          1475416    99   3061   3022   110   109
    SHA256           57157    98   2763   2721   100    98
    SHA1            174041    99   3660   3641   132   131
    
    CPU                      100   2795   2784
    ------------------------------------------------------
    Tot:                     105   3156   3350   115   121
    
    Kernel  Time =     0.390 =    0%
    User    Time =   178.687 =  101%
    Process Time =   179.078 =  101%    Virtual  Memory =    225 MB
    Global  Time =   175.594 =  100%    Physical Memory =    207 MB
    
    C:\7z>7z b -mm=*
    
    7-Zip [64] 9.38 beta  Copyright (c) 1999-2014 Igor Pavlov  2015-01-03
    
    CPU Freq:  2000  4266  2000  4266  2723  2723  2737  2844  2790
    
    RAM size:    4093 MB,  # CPU hardware threads:   6
    RAM usage:   1275 MB,  # Benchmark threads:      6
    
    Method           Speed Usage    R/U Rating   E/U Effec
                      KB/s     %   MIPS   MIPS     %     %
    
    CPU                      565   2807  15846
    CPU                      577   2796  16141
    CPU                      576   2803  16141   104   600
    
    LZMA:x1          53776   525   3746  19659   139   731
                    189228   549   2776  15239   103   566
    LZMA:x5:mt1      12145   542   2799  15173   104   564
                    189046   558   2846  15891   106   591
    LZMA:x5:mt2      13471   545   3086  16830   115   626
                    193131   572   2839  16235   106   603
    Deflate:x1      141038   531   3371  17909   125   666
                    534953   571   2897  16540   108   615
    Deflate:x5       43096   512   3238  16593   120   617
                    532744   567   2894  16405   108   610
    Deflate:x7       16049   558   3187  17782   118   661
                    522100   550   2924  16071   109   597
    Deflate64:x5     41131   524   3390  17774   126   661
                    520126   555   2908  16151   108   600
    BZip2:x1         26214   546   2899  15838   108   589
                    152843   558   2930  16358   109   608
    BZip2:x5         19062   549   2899  15909   108   591
                     87381   538   3159  16978   117   631
    BZip2:x5:mt2     19601   567   2883  16359   107   608
                     89448   561   3100  17380   115   646
    BZip2:x7          6608   555   3084  17121   115   636
                     89857   550   3171  17450   118   649
    PPMD:x1          16340   549   3077  16900   114   628
                     13797   552   2942  16247   109   604
    PPMD:x5          10213   556   3113  17309   116   643
                      8975   567   2965  16819   110   625
    Delta:4        2547525   562   2786  15652   104   582
                   1808077   568   1956  11109    73   413
    BCJ            4292705   547   3213  17583   119   654
                   4292705   555   3169  17583   118   654
    AES256CBC:1     659421   552   2935  16206   109   602
                    659256   557   2910  16202   108   602
    AES256CBC:2
    
    CRC32:4        7288163   548   2966  16267   110   605
    CRC32:8       13666388   564   3285  18532   122   689
    CRC64          8476910   568   3054  17361   114   645
    SHA256          333814   571   2784  15890   103   591
    SHA1            992545   569   3647  20764   136   772
    
    CPU                      571   2801  15982
    ------------------------------------------------------
    Tot:                     553   3022  16704   112   621
    
    Kernel  Time =     3.781 =    1%
    User    Time =  1090.765 =  531%
    Process Time =  1094.546 =  533%    Virtual  Memory =   1343 MB
    Global  Time =   205.250 =  100%    Physical Memory =   1189 MB
    
     
  • gora2

    gora2 - 2015-01-16

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Intel Core 2 Quad Q9300, 2500 MHz (7.5 x 333)

    7-Zip [64] 9.38 beta Copyright (c) 1999-2014 Igor Pavlov 2015-01-03

    CPU Freq: 4266 2064 2000 4266 2031 2348 2737 2432 2525

    RAM size: 4095 MB, # CPU hardware threads: 4
    RAM usage: 419 MB, # Benchmark threads: 1

    Method Speed Usage R/U Rating E/U Effec
    KB/s % MIPS MIPS % %

    CPU 100 2491 2491
    CPU 100 2501 2501
    CPU 100 2491 2492 100 100

    LZMA:x1 10195 100 3728 3727 150 150
    30632 100 2467 2467 99 99
    LZMA:x5:mt1 2488 100 3109 3109 125 125
    29642 100 2493 2493 100 100
    LZMA:x5:mt2 4412 161 3417 5513 137 221
    29642 100 2493 2493 100 100
    Deflate:x1 25771 100 3273 3272 131 131
    84568 100 2616 2616 105 105
    Deflate:x5 7835 100 3018 3017 121 121
    84914 100 2616 2616 105 105
    Deflate:x7 2706 99 3022 2999 121 120
    84914 100 2626 2615 105 105
    Deflate64:x5 7501 100 3242 3242 130 130
    84179 100 2614 2614 105 105
    BZip2:x1 4566 100 2759 2759 111 111
    23974 100 2567 2566 103 103
    BZip2:x5 3861 100 3222 3223 129 129
    18977 100 3688 3688 148 148
    BZip2:x5:mt2 7192 194 3097 6002 124 241
    30303 161 3666 5888 147 236
    BZip2:x7 1169 100 3030 3030 122 122
    18984 100 3686 3687 148 148
    PPMD:x1 3420 100 3538 3538 142 142
    3053 100 3595 3596 144 144
    PPMD:x5 2273 100 3861 3852 155 155
    2031 100 3814 3807 153 153
    Delta:4 536074 100 3293 3294 132 132
    474732 100 2917 2917 117 117
    BCJ 825394 100 3380 3381 136 136
    816531 100 3345 3345 134 134
    AES256CBC:1 110161 100 2707 2707 109 109
    107389 100 2640 2639 106 106
    AES256CBC:2

    CRC32:4 1018772 100 2274 2274 91 91
    CRC32:8 1840264 100 2496 2495 100 100
    CRC64 939647 100 1924 1924 77 77
    SHA256 58836 100 2801 2801 112 112
    SHA1 165998 100 3472 3473 139 139

    CPU 100 2507 2506

    Tot: 106 3041 3235 123 130

    Kernel Time = 0.312 = 0%
    User Time = 174.908 = 102%
    Process Time = 175.220 = 103% Virtual Memory = 225 MB
    Global Time = 169.953 = 100% Physical Memory = 208 MB

    7-Zip [64] 9.38 beta Copyright (c) 1999-2014 Igor Pavlov 2015-01-03

    CPU Freq: 2000 2064 4266 2000 2782 2327 2534 2522 2476

    RAM size: 4095 MB, # CPU hardware threads: 4
    RAM usage: 850 MB, # Benchmark threads: 4

    Method Speed Usage R/U Rating E/U Effec
    KB/s % MIPS MIPS % %

    CPU 393 2456 9663
    CPU 397 2475 9815
    CPU 396 2468 9773 101 400

    LZMA:x1 39266 386 3719 14355 152 587
    121010 395 2469 9745 101 399
    LZMA:x5:mt1 8269 391 2643 10331 108 423
    112660 388 2443 9471 100 388
    LZMA:x5:mt2 8862 389 2843 11071 116 453
    115322 396 2445 9694 100 397
    Deflate:x1 101843 396 3268 12932 134 529
    331165 395 2590 10239 106 419
    Deflate:x5 30439 394 2973 11720 122 480
    329850 393 2582 10157 106 416
    Deflate:x7 10607 393 2991 11753 122 481
    336809 397 2614 10367 107 424
    Deflate64:x5 29178 396 3185 12609 130 516
    328457 395 2584 10199 106 417
    BZip2:x1 17876 395 2732 10800 112 442
    94187 394 2557 10080 105 413
    BZip2:x5 12730 395 2687 10624 110 435
    57538 389 2874 11179 118 458
    BZip2:x5:mt2 12654 395 2676 10561 110 432
    62375 396 3057 12119 125 496
    BZip2:x7 4371 393 2882 11326 118 464
    56013 398 2735 10878 112 445
    PPMD:x1 14003 394 3679 14483 151 593
    12002 395 3577 14135 146 578
    PPMD:x5 8157 395 3499 13824 143 566
    7280 393 3468 13644 142 558
    Delta:4 2102041 396 3263 12915 134 529
    1879728 393 2938 11549 120 473
    BCJ 3186751 390 3346 13053 137 534
    3236459 399 3324 13257 136 543
    AES256CBC:1 433911 394 2706 10664 111 436
    406314 387 2583 9986 106 409
    AES256CBC:2

    CRC32:4 4009846 396 2260 8950 92 366
    CRC32:8 7247412 397 2476 9827 101 402
    CRC64 3674376 395 1903 7525 78 308
    SHA256 211443 377 2671 10065 109 412
    SHA1 541846 368 3078 11335 126 464

    CPU 396 2473 9793

    Tot: 393 2873 11282 118 462

    Kernel Time = 1.778 = 0%
    User Time = 727.791 = 379%
    Process Time = 729.569 = 380% Virtual Memory = 897 MB
    Global Time = 191.766 = 100% Physical Memory = 798 MB
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

     
  • Shell

    Shell - 2015-01-16

    Intel Core i5-3570 (Ivy Bridge) at 3600 MHz (original 3400, overclocked by 2 multiplier steps), Turbo Boost active (up to 3800 MHz); 2x8GB DDR3-1600, 9-11-11-29 (CL-RCD-RP-RAS); Windows 7 x64 SP1. I have tested both 32-bit and 64-bit versions, the latter is generally faster.

    Update. Delta:4 suffers greatly from 64-bit implementation. My tests show a 18% speed drop. Why? (By the way, does it subtract 8-bit or 32-bit quantities?) On the contrary, Deflate and BZip2 decompression and SHA filters gain from 9% to 33% upon transition to 64-bit code. AES256CBC:1 shows up to 20% gain, but AES256CBC:2 has a 3% drop.

    32-bit single-threaded:

    7-Zip 9.38 beta  Copyright (c) 1999-2014 Igor Pavlov  2015-01-03
    
    CPU Freq:  2064  4000  4266  4000  2723  4129   3657   3849   3750
    
    RAM size:    4095 MB,  # CPU hardware threads:   4
    RAM usage:    419 MB,  # Benchmark threads:      1
    
    Method           Speed Usage    R/U Rating   E/U Effec
                      KB/s     %   MIPS   MIPS     %     %
    
    CPU                      100   3790   3790
    CPU                      100   3775   3775
    CPU                      100   3790   3790   100   100
    
    LZMA:x1          15791   100   5774   5773   152   152
                     46389   100   3736   3735    99    99
    LZMA:x5:mt1       3933   100   4914   4914   130   130
                     45305   100   3810   3810   101   101
    LZMA:x5:mt2       7243   171   5291   9049   140   239
                     45488   100   3825   3826   101   101
    Deflate:x1       41299   100   5244   5244   138   138
                    100176   100   3099   3099    82    82
    Deflate:x5       13049   100   5023   5024   133   133
                    100969   100   3111   3111    82    82
    Deflate:x7        4667   100   5172   5172   136   136
                    101302   100   3120   3120    82    82
    Deflate64:x5     12213   100   5277   5278   139   139
                    100835   100   3131   3131    83    83
    BZip2:x1          7291   100   4406   4405   116   116
                     34294   100   3671   3671    97    97
    BZip2:x5          6564   100   5478   5478   145   145
                     28972   100   5630   5630   149   149
    BZip2:x5:mt2     11669   193   5037   9739   133   257
                     44221   156   5516   8593   146   227
    BZip2:x7          1895   100   4911   4912   130   130
                     29375   100   5706   5705   151   151
    PPMD:x1           5934   100   6137   6137   162   162
                      5173   100   6092   6092   161   161
    PPMD:x5           4007   100   6793   6792   179   179
                      3609   100   6763   6764   178   178
    Delta:4         935681   100   5750   5749   152   152
                   1076054   100   6611   6611   174   174
    BCJ            1540835   100   6310   6311   166   167
                   1540194   100   6310   6309   166   166
    AES256CBC:1     164098   100   4032   4033   106   106
                    162029   100   3983   3982   105   105
    AES256CBC:2     509090   100   4171   4170   110   110
                   2196491   100   4499   4498   119   119
    CRC32:4        1311437   100   2927   2927    77    77
    CRC32:8        2684189   100   3640   3640    96    96
    CRC64          1321569   100   2707   2707    71    71
    SHA256           94080   100   4478   4478   118   118
    SHA1            202857   100   4243   4244   112   112
    
    CPU                      100   3779   3779
    ------------------------------------------------------
    Tot:                     106   4778   5073   127   134
    
    Kernel  Time =     0.218 =    0%
    User    Time =   158.107 =  102%
    Process Time =   158.325 =  102%    Virtual  Memory =    225 MB
    Global  Time =   154.627 =  100%    Physical Memory =    208 MB
    

    32-bit 4-threaded:

    7-Zip 9.38 beta  Copyright (c) 1999-2014 Igor Pavlov  2015-01-03
    
    CPU Freq:  2000  4266  4000  4266  4000  3282  4129  3644   3856
    
    RAM size:    4095 MB,  # CPU hardware threads:   4
    RAM usage:    850 MB,  # Benchmark threads:      4
    
    Method           Speed Usage    R/U Rating   E/U Effec
                      KB/s     %   MIPS   MIPS     %     %
    
    CPU                      400   3580  14320
    CPU                      400   3593  14370
    CPU                      400   3593  14370   100   400
    
    LZMA:x1          59174   400   5408  21632   151   602
                    175042   400   3528  14096    98   392
    LZMA:x5:mt1      13421   396   4239  16767   118   467
                    170755   400   3589  14354   100   400
    LZMA:x5:mt2      14740   397   4636  18415   129   513
                    170090   400   3578  14298   100   398
    Deflate:x1      156535   399   4978  19876   139   553
                    368771   394   2893  11401    81   317
    Deflate:x5       49127   399   4736  18915   132   527
                    378196   398   2928  11646    82   324
    Deflate:x7       17504   398   4879  19394   136   540
                    379447   398   2934  11679    82   325
    Deflate64:x5     45909   399   4974  19839   138   552
                    368771   393   2917  11451    81   319
    BZip2:x1         27455   398   4168  16587   116   462
                    127781   398   3439  13675    96   381
    BZip2:x5         21106   399   4410  17615   123   490
                     75698   400   3677  14708   102   409
    BZip2:x5:mt2     21326   400   4449  17798   124   495
                     81563   385   4112  15847   114   441
    BZip2:x7          6689   400   4333  17330   121   482
                     75698   400   3675  14700   102   409
    PPMD:x1          22344   399   5785  23109   161   643
                     19627   400   5779  23113   161   643
    PPMD:x5          13086   399   5562  22178   155   617
                     11967   399   5623  22427   157   624
    Delta:4        3547813   398   5475  21798   152   607
                   4108732   400   6309  25244   176   703
    BCJ            5803751   397   5982  23772   166   662
                   5803751   397   5991  23772   167   662
    AES256CBC:1     624666   400   3838  15352   107   427
                    614329   399   3783  15098   105   420
    AES256CBC:2    1922367   399   3945  15748   110   438
                   8216318   397   4235  16827   118   468
    CRC32:4        4987042   400   2783  11131    77   310
    CRC32:8       10177674   400   3450  13801    96   384
    CRC64          5011931   400   2566  10264    71   286
    SHA256          325153   384   4026  15477   112   431
    SHA1            622285   371   3512  13018    98   362
    
    CPU                      399   3589  14329
    ------------------------------------------------------
    Tot:                     397   4285  17030   119   474
    
    Kernel  Time =     0.873 =    0%
    User    Time =   672.988 =  385%
    Process Time =   673.861 =  386%    Virtual  Memory =    896 MB
    Global  Time =   174.361 =  100%    Physical Memory =    820 MB
    

    64-bit single-threaded:

    7-Zip [64] 9.38 beta  Copyright (c) 1999-2014 Igor Pavlov  2015-01-03
    
    CPU Freq:  2000  4266  4000  4266  4000  3282   4129   3644  3856
    
    RAM size:   16291 MB,  # CPU hardware threads:   4
    RAM usage:    419 MB,  # Benchmark threads:      1
    
    Method           Speed Usage    R/U Rating   E/U Effec
                      KB/s     %   MIPS   MIPS     %     %
    
    CPU                      100   3787   3786
    CPU                      100   3787   3787
    CPU                      100   3772   3772   100   100
    
    LZMA:x1          17219   100   6294   6295   167   167
                     46957   100   3781   3781   100   100
    LZMA:x5:mt1       4102   100   5125   5125   136   136
                     46269   100   3891   3891   103   103
    LZMA:x5:mt2       7835   181   5422   9789   144   259
                     46061   100   3874   3874   103   103
    Deflate:x1       47430   100   6023   6023   160   160
                    132423   100   4097   4097   109   109
    Deflate:x5       13462   100   5184   5183   137   137
                    133577   100   4116   4116   109   109
    Deflate:x7        4931   100   5463   5464   145   145
                    134143   100   4132   4131   110   110
    Deflate64:x5     12578   100   5435   5436   144   144
                    133577   100   4148   4148   110   110
    BZip2:x1          7839   100   4735   4736   126   126
                     40009   100   4283   4283   114   114
    BZip2:x5          7001   100   5843   5843   155   155
                     33334   100   6479   6477   172   172
    BZip2:x5:mt2     12506   194   5377  10438   143   277
                     50606   155   6328   9834   168   261
    BZip2:x7          1941   100   5029   5029   133   133
                     33351   100   6475   6477   172   172
    PPMD:x1           6442   100   6664   6663   177   177
                      5199   100   6123   6123   162   162
    PPMD:x5           4340   100   7355   7355   195   195
                      3646   100   6834   6833   181   181
    Delta:4        1002845   100   6161   6161   163   163
                    879329   100   5404   5403   143   143
    BCJ            1543986   100   6322   6324   168   168
                   1543339   100   6322   6322   168   168
    AES256CBC:1     196784   100   4836   4836   128   128
                    191984   100   4718   4718   125   125
    AES256CBC:2     506726   100   4151   4151   110   110
                   2137496   100   4377   4378   116   116
    CRC32:4        1313218   100   2931   2931    78    78
    CRC32:8        2681430   100   3636   3636    96    96
    CRC64          1341820   100   2748   2748    73    73
    SHA256          105256   100   5011   5010   133   133
    SHA1            256866   100   5374   5374   142   142
    
    CPU                      100   3794   3794
    ------------------------------------------------------
    Tot:                     106   5141   5473   137   145
    
    Kernel  Time =     0.218 =    0%
    User    Time =   146.266 =  102%
    Process Time =   146.484 =  102%    Virtual  Memory =    225 MB
    Global  Time =   142.958 =  100%    Physical Memory =    208 MB
    

    64-bit 4-threaded:

    7-Zip [64] 9.38 beta  Copyright (c) 1999-2014 Igor Pavlov  2015-01-03
    
    CPU Freq:  4000  4000  4266  4000  2723  4129   3657   3849   3750
    
    RAM size:   16291 MB,  # CPU hardware threads:   4
    RAM usage:    850 MB,  # Benchmark threads:      4
    
    Method           Speed Usage    R/U Rating   E/U Effec
                      KB/s     %   MIPS   MIPS     %     %
    
    CPU                      400   3590  14363
    CPU                      400   3590  14360
    CPU                      400   3590  14363   100   400
    
    LZMA:x1          63658   397   5862  23271   163   648
                    177990   400   3584  14333   100   399
    LZMA:x5:mt1      13958   396   4403  17438   123   486
                    171470   397   3629  14414   101   401
    LZMA:x5:mt2      15559   396   4914  19438   137   541
                    172872   400   3633  14532   101   405
    Deflate:x1      178815   399   5695  22705   159   632
                    480117   387   3840  14844   107   413
    Deflate:x5       50921   400   4901  19606   137   546
                    504955   398   3903  15549   109   433
    Deflate:x7       18671   399   5189  20687   145   576
                    507048   398   3918  15607   109   435
    Deflate64:x5     47455   399   5135  20507   143   571
                    504816   399   3932  15675   109   437
    BZip2:x1         29587   400   4468  17875   124   498
                    146736   395   3974  15704   111   437
    BZip2:x5         22708   400   4738  18951   132   528
                     82383   400   4001  16007   111   446
    BZip2:x5:mt2     23084   396   4863  19265   135   537
                     91819   397   4497  17840   125   497
    BZip2:x7          6863   400   4446  17782   124   495
                     82383   400   3999  15998   111   446
    PPMD:x1          24417   399   6324  25253   176   703
                     19727   399   5827  23232   162   647
    PPMD:x5          14096   400   5978  23890   166   665
                     12143   400   5692  22755   159   634
    Delta:4        3770554   398   5818  23166   162   645
                   3367294   400   5173  20689   144   576
    BCJ            5800813   397   5988  23760   167   662
                   5837023   397   6027  23908   168   666
    AES256CBC:1     727544   390   4586  17880   128   498
                    696958   387   4426  17128   123   477
    AES256CBC:2    1920894   400   3935  15736   110   438
                   8100758   400   4147  16590   115   462
    CRC32:4        5000055   400   2790  11160    78   311
    CRC32:8       10172634   400   3448  13794    96   384
    CRC64          5094060   400   2608  10433    73   291
    SHA256          384816   398   4603  18317   128   510
    SHA1            871423   391   4661  18230   130   508
    
    CPU                      400   3596  14386
    ------------------------------------------------------
    Tot:                     398   4604  18306   128   510
    
    Kernel  Time =     0.936 =    0%
    User    Time =   623.645 =  387%
    Process Time =   624.581 =  388%    Virtual  Memory =    896 MB
    Global  Time =   160.742 =  100%    Physical Memory =    818 MB
    
     

    Last edit: Shell 2015-01-16
    • Igor Pavlov

      Igor Pavlov - 2015-01-16

      CPU Freq line (preload) uses single thread:

      CPU Freq:  4000  4000  4266  4000  2723  4129   3657   3849   3750
      

      CPU lines in test are multi-threaded for-mmt4:

      CPU                      400   3590  14363
      CPU                      400   3590  14360
      CPU                      400   3590  14363   100   400
      

      So results are correct.

       
      • Shell

        Shell - 2015-01-16

        Yes, I have figured that out already and edited my post. Yet thank you for the comment.

         
    • Igor Pavlov

      Igor Pavlov - 2015-01-16

      Delta code is not fully optimized still. It works with bytes (8-bit).

      x64 provides some advantages over 32-bit x86 for 7-Zip code:
      1) more registers: 16 vs 8. But modern CPUs are fast for stack variables, so gain in x64 is not so big.
      2) There is some code that uses 64-bit integers, but it's small part of code in benchmark.
      3) 32-bit code doesn't use CMOV instruction that is not implemented in old 32-bit CPUs.

      Some code strongly depends on memory latency (LZMA compression). So 32-bit and 64-bit code wait data from RAM or cache for same time.

      Some code is writtten in ASM: CRC and AESCBC:2. And it's optimized for both 32-bit and 64-bit.

       
      • Shell

        Shell - 2015-01-16

        Did you think of implementing a Delta filter for 16-bit or bigger numbers? I suggest naming them like Delta:4:1: period 4, subtract 1-byte quantities. This could give some gain for data arrays. Such a technique is already implemented in TIFF differencing. I have once implemented a Delta:8:8 filter for my scientific computations; it was better than Delta:8 even despite type difference (the original data were 8-byte reals, but I casted them as 8-byte integers for lossless filtering).

        Please consider this post as a low-priority feature request.

         
        • Igor Pavlov

          Igor Pavlov - 2015-01-16

          We were thinking about it when we selected Delta filter for xz format. Wider versions do not provide big gain, and such filter will be used not too often. So we have selected only simplest 8-bit variant.

           
  • LBP

    LBP - 2015-01-16

    Intel Xeon E3 1230v2
    - Turbo 3700/3700/3600/3500 MHz
    - Hyperthreading
    - 2x8GB DDR3-1600 CL11-11-11-28

    7z b -mm=* -mmt1

    7-Zip 9.38 beta  Copyright (c) 1999-2014 Igor Pavlov  2015-01-03
    
    CPU Freq:  2064  4000  4266  4000  4129  3282  3631  3644   3637
    
    RAM size:    4095 MB,  # CPU hardware threads:   8
    RAM usage:    419 MB,  # Benchmark threads:      1
    
    Method           Speed Usage    R/U Rating   E/U Effec
                      KB/s     %   MIPS   MIPS     %     %
    
    CPU                      100   3610   3610
    CPU                      100   3667   3667
    CPU                      100   3667   3666   100   100
    
    LZMA:x1          15304   100   5596   5595   153   153
                     45056   100   3628   3628    99    99
    LZMA:x5:mt1       3731   100   4662   4661   127   127
                     44437   100   3737   3737   102   102
    LZMA:x5:mt2       7037   167   5261   8792   144   240
                     44425   100   3737   3736   102   102
    Deflate:x1       40114   100   5093   5094   139   139
                     97213   100   3007   3007    82    82
    Deflate:x5       12632   100   4864   4864   133   133
                     97784   100   3013   3013    82    82
    Deflate:x7        4539   100   5029   5030   137   137
                     97784   100   3011   3011    82    82
    Deflate64:x5     11915   100   5149   5149   140   140
                     97544   100   3029   3029    83    83
    BZip2:x1          7037   100   4252   4252   116   116
                     33419   100   3578   3578    98    98
    BZip2:x5          6316   100   5272   5271   144   144
                     28531   100   5544   5544   151   151
    BZip2:x5:mt2     11787   194   5058   9837   138   268
                     43229   148   5660   8400   154   229
    BZip2:x7          1846   100   4783   4783   130   130
                     28531   100   5541   5541   151   151
    PPMD:x1           5730   100   5926   5927   162   162
                      5016   100   5908   5907   161   161
    PPMD:x5           3942   100   6681   6681   182   182
                      3530   100   6616   6615   180   180
    Delta:4         909220   100   5586   5586   152   152
                   1046341   100   6428   6429   175   175
    BCJ            1487980   100   6094   6095   166   166
                   1497314   100   6134   6133   167   167
    AES256CBC:1     159785   100   3927   3927   107   107
                    157757   100   3878   3877   106   106
    AES256CBC:2     491762   100   4028   4029   110   110
                   2121543   100   4345   4345   119   119
    CRC32:4        1274215   100   2844   2844    78    78
    CRC32:8        2611496   100   3542   3541    97    97
    CRC64          1283648   100   2629   2629    72    72
    SHA256           91249   100   4343   4343   118   118
    SHA1            197611   100   4134   4134   113   113
    
    CPU                      100   3657   3657
    ------------------------------------------------------
    Tot:                     105   4655   4938   128   135
    
    Kernel  Time =     0.234 =    0%
    User    Time =   159.156 =  102%
    Process Time =   159.390 =  102%    Virtual  Memory =    225 MB
    Global  Time =   155.772 =  100%    Physical Memory =    208 MB
    

    7z b -mm=*

    7-Zip 9.38 beta  Copyright (c) 1999-2014 Igor Pavlov  2015-01-03
    
    CPU Freq:  4000  2064  4000  4266  4129  3240  3657  3849   3644
    
    RAM size:    4095 MB,  # CPU hardware threads:   8
    RAM usage:   1701 MB,  # Benchmark threads:      8
    
    Method           Speed Usage    R/U Rating   E/U Effec
                      KB/s     %   MIPS   MIPS     %     %
    
    CPU                      792   3012  23861
    CPU                      799   3017  24099
    CPU                      795   3021  24019   101   800
    
    LZMA:x1          72636   797   3331  26553   111   884
                    233732   798   2360  18821    79   627
    LZMA:x5:mt1      17964   790   2840  22443    95   748
                    225937   799   2377  18992    79   633
    LZMA:x5:mt2      18476   788   2928  23082    98   769
                    225986   796   2387  18996    80   633
    Deflate:x1      195105   797   3107  24774   103   825
                    574220   794   2235  17754    74   591
    Deflate:x5       61680   800   2969  23749    99   791
                    579407   796   2241  17842    75   594
    Deflate:x7       22551   797   3134  24987   104   832
                    584688   798   2255  17997    75   599
    Deflate64:x5     57462   793   3130  24831   104   827
                    577630   795   2255  17935    75   597
    BZip2:x1         35694   799   2700  21565    90   718
                    174762   795   2352  18704    78   623
    BZip2:x5         22136   659   2803  18474    93   615
                    108924   760   2785  21164    93   705
    BZip2:x5:mt2     24966   722   2886  20836    96   694
                    109439   741   2871  21264    96   708
    BZip2:x7          7950   754   2731  20599    91   686
                    108026   756   2777  20979    92   699
    PPMD:x1          25191   766   3401  26054   113   868
                     22133   779   3346  26064   111   868
    PPMD:x5          15620   779   3399  26472   113   882
                     13911   770   3386  26069   113   868
    Delta:4        3302481   756   2683  20290    89   676
                   3474944   738   2894  21350    96   711
    BCJ            5980589   777   3153  24496   105   816
                   5887518   767   3145  24115   105   803
    AES256CBC:1     670633   760   2169  16481    72   549
                    663687   759   2150  16311    72   543
    AES256CBC:2    3063673   660   3800  25098   127   836
                   9382425   740   2596  19215    86   640
    CRC32:4        8528802   767   2480  19036    83   634
    CRC32:8       13258347   788   2282  17978    76   599
    CRC64          7562709   790   1961  15488    65   516
    SHA256          359833   779   2199  17128    73   570
    SHA1            779428   777   2099  16306    70   543
    
    CPU                      784   2988  23434
    ------------------------------------------------------
    Tot:                     771   2733  21033    91   701
    
    Kernel  Time =     3.609 =    1%
    User    Time =  1758.984 =  736%
    Process Time =  1762.593 =  737%    Virtual  Memory =   1791 MB
    Global  Time =   238.966 =  100%    Physical Memory =   1620 MB
    
     
  • ZiNgA BuRgA

    ZiNgA BuRgA - 2015-02-24

    This may be less relevant, but interesting nonetheless.
    Tests conducted using p7zip 9.38 on Debian 7, compiled using 'make all3'.

    Tested on Debian 7 x86-64, compiled with gcc 4.7.2:

    VIA Nano U2250, 1.6GHz (single core CPU):

    7-Zip [64] 9.38 beta  Copyright (c) 1999-2014 Igor Pavlov  2015-01-03
    p7zip Version 9.38 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,1 CPU,ASM)
    
    CPU Freq:   1592   1594   1594   1588   1593   1594   1591   1594   1594
    
    RAM size:    1977 MB,  # CPU hardware threads:   1
    RAM usage:    419 MB,  # Benchmark threads:      1
    
    Method           Speed Usage    R/U Rating   E/U Effec
                      KB/s     %   MIPS   MIPS     %     %
    
    CPU                      100   1597   1593
    CPU                      100   1593   1594
    CPU                      100   1597   1594   100   100
    
    LZMA:x1           4266   100   1560   1560    98    98
                     14003   100   1130   1128    71    71
    LZMA:x5:mt1        983   100   1229   1228    77    77
                     13592   100   1144   1143    72    72
    LZMA:x5:mt2        932   100   1166   1165    73    73
                     13612   100   1146   1145    72    72
    Deflate:x1       11688   100   1486   1484    93    93
                     43419   100   1343   1343    84    84
    Deflate:x5        3627   100   1399   1397    88    88
                     43712   100   1343   1347    84    85
    Deflate:x7        1309   100   1452   1450    91    91
                     43922   100   1355   1353    85    85
    Deflate64:x5      3240   100   1402   1400    88    88
                     44129   100   1372   1370    86    86
    BZip2:x1          1838   100   1111   1111    70    70
                     11897   100   1277   1274    80    80
    BZip2:x5          1257   100   1050   1050    66    66
                      6071   100   1181   1180    74    74
    BZip2:x5:mt2      1192   100    997    995    63    62
                      5820   100   1133   1131    71    71
    BZip2:x7           421   100   1093   1092    69    69
                      6095   100   1185   1184    74    74
    PPMD:x1           1487   100   1539   1539    97    97
                      1232   100   1453   1451    91    91
    PPMD:x5            829   100   1407   1407    88    88
                       731   100   1372   1371    86    86
    Delta:4         189373   100   1161   1164    73    73
                    191269   100   1176   1175    74    74
    BCJ             311036   100   1275   1274    80    80
                    315809   100   1293   1294    81    81
    AES256CBC:1      44148   100   1086   1085    68    68
                     46195   100   1136   1135    71    71
    AES256CBC:2
    
    CRC32:4         612334   100   1368   1367    86    86
    CRC32:8         733120   100    995    994    62    62
    CRC64           527970   100   1080   1081    68    68
    SHA256           24880   100   1185   1184    74    74
    SHA1             79722   100   1668   1668   105   105
    
    CPU                      100   1593   1594
    ------------------------------------------------------
    Tot:                     100   1263   1263    79    79
    

    AMD Athlon II X2 240, 2.8GHz (1 thread):

    7-Zip [64] 9.38 beta  Copyright (c) 1999-2014 Igor Pavlov  2015-01-03
    p7zip Version 9.38 (locale=en_US.utf8,Utf16=on,HugeFiles=on,2 CPUs,ASM)
    
    CPU Freq:   2805   2810   2811   2811   2810   2811   2810   2811  2807
    
    RAM size:    7971 MB,  # CPU hardware threads:   2
    RAM usage:    419 MB,  # Benchmark threads:      1
    
    Method           Speed Usage    R/U Rating   E/U Effec
                      KB/s     %   MIPS   MIPS     %     %
    
    CPU                      100   2811   2810
    CPU                      100   2812   2811
    CPU                      100   2812   2810   100   100
    
    LZMA:x1          10841   100   3966   3963   141   141
                     32372   100   2608   2607    93    93
    LZMA:x5:mt1       2098   100   2624   2621    93    93
                     31783   100   2675   2673    95    95
    LZMA:x5:mt2       4364   189   2887   5452   103   194
                     31803   100   2677   2675    95    95
    Deflate:x1       26618   100   3384   3380   120   120
                    103461   100   3202   3201   114   114
    Deflate:x5        8372   100   3225   3224   115   115
                    103970   100   3206   3203   114   114
    Deflate:x7        2867   100   3179   3177   113   113
                    104834   100   3230   3229   115   115
    Deflate64:x5      7692   100   3328   3324   118   118
                    104558   100   3248   3247   116   116
    BZip2:x1          4833   100   2923   2920   104   104
                     29288   100   3138   3135   112   112
    BZip2:x5          3408   100   2847   2844   101   101
                     14596   100   2839   2836   101   101
    BZip2:x5:mt2      6379   193   2752   5324    98   189
                     24029   175   2667   4669    95   166
    BZip2:x7          1141   100   2959   2957   105   105
                     14599   100   2839   2835   101   101
    PPMD:x1           3108   100   3216   3215   114   114
                      2481   100   2924   2922   104   104
    PPMD:x5           1809   100   3074   3066   109   109
                      1532   100   2875   2872   102   102
    Delta:4         489333   100   3007   3006   107   107
                    480294   100   2953   2951   105   105
    BCJ             724963   100   2970   2969   106   106
                    732937   100   3003   3002   107   107
    AES256CBC:1      65874   100   1620   1619    58    58
                    112750   100   2773   2771    99    99
    AES256CBC:2
    
    CRC32:4        1326307   100   2961   2960   105   105
    CRC32:8        2429230   100   3295   3294   117   117
    CRC64          1080698   100   2214   2213    79    79
    SHA256           60461   100   2879   2878   102   102
    SHA1            191342   100   4004   4003   142   142
    
    CPU                      100   2812   2810
    ------------------------------------------------------
    Tot:                     107   2978   3169   105   113
    

    AMD Athlon II X2 240, 2.8GHz (multi-thread):

    7-Zip [64] 9.38 beta  Copyright (c) 1999-2014 Igor Pavlov  2015-01-03
    p7zip Version 9.38 (locale=en_US.utf8,Utf16=on,HugeFiles=on,2 CPUs,ASM)
    
    CPU Freq:   2806   2811   2811   2811   2811   2811   2805   2809  2811
    
    RAM size:    7971 MB,  # CPU hardware threads:   2
    RAM usage:    425 MB,  # Benchmark threads:      2
    
    Method           Speed Usage    R/U Rating   E/U Effec
                      KB/s     %   MIPS   MIPS     %     %
    
    CPU                      196   2808   5500
    CPU                      200   2808   5603
    CPU                      200   2808   5608   100   200
    
    LZMA:x1          22052   197   4090   8062   146   288
                     64606   200   2604   5203    93   186
    LZMA:x5:mt1       4100   199   2569   5122    92   183
                     63406   200   2671   5331    95   190
    LZMA:x5:mt2       4109   198   2596   5134    93   183
                     63309   200   2668   5323    95   190
    Deflate:x1       53340   199   3395   6773   121   242
                    204258   198   3185   6315   114   225
    Deflate:x5       16489   199   3186   6349   114   226
                    204489   199   3163   6297   113   225
    Deflate:x7        5710   200   3169   6327   113   226
                    206017   199   3181   6341   113   226
    Deflate64:x5     15385   199   3336   6648   119   237
                    201780   197   3184   6266   114   223
    BZip2:x1          9632   199   2919   5820   104   208
                     58605   199   3145   6272   112   224
    BZip2:x5          6527   199   2732   5447    97   194
                     28649   200   2789   5567    99   199
    BZip2:x5:mt2      6338   199   2661   5290    95   189
                     27969   199   2724   5434    97   194
    BZip2:x7          2182   200   2833   5655   101   202
                     28678   200   2789   5569    99   199
    PPMD:x1           6167   199   3205   6379   114   227
                      4945   200   2917   5823   104   208
    PPMD:x5           3600   200   3056   6101   109   218
                      3035   199   2857   5688   102   203
    Delta:4         965345   199   2984   5931   106   212
                   1019172   198   3165   6262   113   223
    BCJ            1444731   200   2963   5918   106   211
                   1463091   200   2999   5993   107   214
    AES256CBC:1     131634   200   1619   3235    58   115
                    225224   200   2769   5535    99   197
    AES256CBC:2
    
    CRC32:4        2556447   193   2960   5706   106   204
    CRC32:8        4458093   183   3295   6045   117   216
    CRC64          2127627   197   2213   4357    79   155
    SHA256          123500   199   2949   5879   105   210
    SHA1            380019   199   3988   7950   142   284
    
    CPU                      200   2811   5618
    ------------------------------------------------------
    Tot:                     199   2960   5874   106   210
    

    Intel Xeon E3 1246v3, 3.9GHz (1 thread):

    7-Zip [64] 9.38 beta  Copyright (c) 1999-2014 Igor Pavlov  2015-01-03
    p7zip Version 9.38 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,8 CPUs,ASM)
    
    CPU Freq:   3896   3892   3877   3898   3895   3890   3891   3892  3890
    
    RAM size:   32105 MB,  # CPU hardware threads:   8
    RAM usage:    419 MB,  # Benchmark threads:      1
    
    Method           Speed Usage    R/U Rating   E/U Effec
                      KB/s     %   MIPS   MIPS     %     %
    
    CPU                      100   3887   3893
    CPU                      100   3887   3892
    CPU                      100   3853   3859   100   100
    
    LZMA:x1          18922   100   6908   6917   179   179
                     48561   100   3905   3910   101   101
    LZMA:x5:mt1       4280   100   5339   5347   138   139
                     48265   100   4054   4059   105   105
    LZMA:x5:mt2       8138   176   5769  10167   150   263
                     47823   100   4016   4022   104   104
    Deflate:x1       50350   100   6384   6393   165   166
                    154726   100   4780   4786   124   124
    Deflate:x5       14791   100   5687   5695   147   148
                    156480   100   4814   4821   125   125
    Deflate:x7        5739   100   6350   6359   165   165
                    157430   100   4842   4848   125   126
    Deflate64:x5     13737   100   5928   5937   154   154
                    156655   100   4857   4864   126   126
    BZip2:x1          8406   100   5072   5079   131   132
                     44474   100   4754   4761   123   123
    BZip2:x5          7462   100   6219   6228   161   161
                     37112   100   7201   7212   187   187
    BZip2:x5:mt2     14061   198   5938  11735   154   304
                     57964   160   7048  11263   183   292
    BZip2:x7          2246   100   5812   5821   151   151
                     37326   100   7239   7249   188   188
    PPMD:x1           7124   100   7358   7368   191   191
                      5818   100   6842   6851   177   178
    PPMD:x5           4825   100   8167   8178   212   212
                      4081   100   7638   7649   198   198
    Delta:4        1060674   100   6508   6517   169   169
                   1102850   100   6766   6776   175   176
    BCJ            1969419   100   8055   8067   209   209
                   1973833   100   8073   8085   209   210
    AES256CBC:1     177309   100   4353   4358   113   113
                    187655   100   4605   4612   119   120
    AES256CBC:2     592055   100   4843   4850   126   126
                   3241352   100   6629   6638   172   172
    CRC32:4        1368190   100   3049   3054    79    79
    CRC32:8        2734182   100   3702   3708    96    96
    CRC64          1343425   100   2747   2751    71    71
    SHA256          127014   100   6037   6046   156   157
    SHA1            357179   100   7461   7472   193   194
    
    CPU                      100   3883   3889
    ------------------------------------------------------
    Tot:                     106   5789   6166   151   160
    

    Intel Xeon E3 1246v3, 3.5GHz (multi-thread):

    7-Zip [64] 9.38 beta  Copyright (c) 1999-2014 Igor Pavlov  2015-01-03
    p7zip Version 9.38 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,8 CPUs,ASM)
    
    CPU Freq:   3897   3893   3899   3899   3894   3897   3899   3895  3896
    
    RAM size:   32105 MB,  # CPU hardware threads:   8
    RAM usage:   1701 MB,  # Benchmark threads:      8
    
    Method           Speed Usage    R/U Rating   E/U Effec
                      KB/s     %   MIPS   MIPS     %     %
    
    CPU                      795   3429  27264
    CPU                      760   3430  26065
    CPU                      772   3429  26484   104   800
    
    LZMA:x1          87370   773   4130  31940   125   965
                    248572   792   2527  20016    76   605
    LZMA:x5:mt1      19550   770   3170  24424    96   738
                    239315   781   2576  20116    78   608
    LZMA:x5:mt2      19494   758   3215  24354    97   736
                    244289   795   2582  20534    78   620
    Deflate:x1      245640   796   3921  31190   118   942
                    851881   775   3398  26339   103   796
    Deflate:x5       74059   796   3580  28515   108   861
                    846137   767   3398  26055   103   787
    Deflate:x7       27487   797   3822  30455   115   920
                    890533   794   3452  27411   104   828
    Deflate64:x5     67554   785   3717  29192   112   882
                    863408   775   3460  26809   105   810
    BZip2:x1         41019   758   3271  24782    99   749
                    231255   786   3150  24750    95   748
    BZip2:x5         32319   775   3480  26972   105   815
                    126332   732   3354  24547   101   741
    BZip2:x5:mt2     32072   774   3460  26767   105   809
                    128544   770   3245  24976    98   754
    BZip2:x7         10333   799   3352  26771   101   809
                    123005   734   3256  23888    98   722
    PPMD:x1          31080   798   4028  32145   122   971
                     26012   796   3848  30632   116   925
    PPMD:x5          18639   794   3978  31588   120   954
                     16220   792   3837  30396   116   918
    Delta:4        3737451   796   2884  22963    87   694
                   4079185   798   3141  25063    95   757
    BCJ            8122444   776   4288  33270   130  1005
                   8191060   795   4218  33551   127  1013
    AES256CBC:1     877398   773   2788  21563    84   651
                    913400   772   2908  22448    88   678
    AES256CBC:2    4288348   773   4545  35130   137  1061
                  14433132   773   3823  29559   115   893
    CRC32:4        9694683   784   2760  21639    83   654
    CRC32:8       16979757   788   2921  23025    88   695
    CRC64          9245719   788   2403  18935    73   572
    SHA256          515325   781   3139  24530    95   741
    SHA1           1256755   777   3382  26291   102   794
    
    CPU                      776   3424  26567
    ------------------------------------------------------
    Tot:                     780   3395  26501   103   800
    

    Compiled on Debian 7 armhf, with gcc 4.9.1:

    Marvel Armada 370/XP, ? GHz (1 thread):

    7-Zip 9.38 beta  Copyright (c) 1999-2014 Igor Pavlov  2015-01-03
    p7zip Version 9.38 (locale=en_US.utf8,Utf16=on,HugeFiles=on,4 CPUs)
    
    CPU Freq:  1328  1330  1327  1329  1329  1328  1329  1329   1329
    
    RAM size:    2020 MB,  # CPU hardware threads:   4
    RAM usage:    419 MB,  # Benchmark threads:      1
    
    Method           Speed Usage    R/U Rating   E/U Effec
                      KB/s     %   MIPS   MIPS     %     %
    
    CPU                      100   1330   1329
    CPU                      100   1330   1329
    CPU                      100   1330   1329   100   100
    
    LZMA:x1           1586   100    580    580    44    44
                     13332   100   1074   1074    81    81
    LZMA:x5:mt1        478   100    598    597    45    45
                     12418   100   1045   1044    79    79
    LZMA:x5:mt2        724   157    578    905    43    68
                     12419   100   1045   1045    79    79
    Deflate:x1        3804   100    483    483    36    36
                     26722   100    827    827    62    62
    Deflate:x5        1513   100    584    583    44    44
                     26911   100    829    829    62    62
    Deflate:x7         628   100    697    696    52    52
                     27044   100    833    833    63    63
    Deflate64:x5      1388   100    600    600    45    45
                     26428   100    821    821    62    62
    BZip2:x1           951   100    575    575    43    43
                      4858   100    520    520    39    39
    BZip2:x5           788   100    658    658    50    50
                      3772    97    755    733    57    55
    BZip2:x5:mt2      1368   195    586   1142    44    86
                      7046   191    717   1369    54   103
    BZip2:x7           252   100    654    654    49    49
                      3989   100    775    775    58    58
    PPMD:x1            615   100    637    637    48    48
                       513    99    609    605    46    45
    PPMD:x5            353   100    599    599    45    45
                       313   100    588    587    44    44
    Delta:4          99426   100    613    611    46    46
                     90619   100    557    557    42    42
    BCJ             117218   100    480    480    36    36
                    114899   100    471    471    35    35
    AES256CBC:1      24552   100    604    603    45    45
                     24640   100    606    606    46    46
    AES256CBC:2
    
    CRC32:4         275849   100    616    616    46    46
    CRC32:8
    CRC64           164802   100    338    338    25    25
    SHA256           18271   100    870    870    65    65
    SHA1             34399   100    720    720    54    54
    
    CPU                      100   1328   1327
    ------------------------------------------------------
    Tot:                     107    671    712    50    54
    

    Marvel Armada 370/XP, ? GHz (multi-thread):

    7-Zip 9.38 beta  Copyright (c) 1999-2014 Igor Pavlov  2015-01-03
    p7zip Version 9.38 (locale=en_US.utf8,Utf16=on,HugeFiles=on,4 CPUs)
    
    CPU Freq:  1328  1329  1329  1330  1329  1329  1329  1329   1329
    
    RAM size:    2020 MB,  # CPU hardware threads:   4
    RAM usage:    850 MB,  # Benchmark threads:      4
    
    Method           Speed Usage    R/U Rating   E/U Effec
                      KB/s     %   MIPS   MIPS     %     %
    
    CPU                      393   1331   5226
    CPU                      393   1331   5230
    CPU                      391   1332   5212   102   400
    
    LZMA:x1           3853   383    367   1409    28   108
                     51104   391   1052   4115    81   316
    LZMA:x5:mt1       1431   391    457   1789    35   137
                     46978   391   1011   3949    78   303
    LZMA:x5:mt2       1540   385    500   1925    38   148
                     47072   391   1012   3957    78   304
    Deflate:x1        9993   381    333   1269    26    97
                    101886   393    801   3150    61   242
    Deflate:x5        5345   394    522   2058    40   158
                    102523   393    802   3157    62   242
    Deflate:x7        2412   395    677   2673    52   205
                     99681   382    803   3068    62   235
    Deflate64:x5      4617   388    514   1996    39   153
                    101893   396    799   3164    61   243
    BZip2:x1          2700   397    411   1631    32   125
                     15758   393    429   1686    33   129
    BZip2:x5          2053   395    434   1714    33   132
                     12559   396    616   2440    47   187
    BZip2:x5:mt2      2074   392    442   1731    34   133
                     12755   391    634   2478    49   190
    BZip2:x7           763   396    500   1978    38   152
                     12721   397    623   2470    48   190
    PPMD:x1           2214   390    587   2290    45   176
                      1913   392    575   2253    44   173
    PPMD:x5           1169   389    510   1982    39   152
                      1072   394    510   2010    39   154
    Delta:4         330134   373    544   2028    42   156
                    316878   391    498   1947    38   149
    BCJ             414344   376    451   1697    35   130
                    414441   384    443   1698    34   130
    AES256CBC:1      92721   385    592   2279    45   175
                     96019   391    603   2360    46   181
    AES256CBC:2
    
    CRC32:4         993284   391    567   2217    43   170
    CRC32:8
    CRC64           610089   392    319   1249    24    96
    SHA256           71603   392    869   3408    67   262
    SHA1            134111   391    717   2806    55   215
    
    CPU                      393   1332   5233
    ------------------------------------------------------
    Tot:                     390    598   2334    46   179
    

    I've also noticed that the hash calculation speed seems to be a fair bit behind that from OpenSSL.

     

    Last edit: ZiNgA BuRgA 2015-02-25
  • Igor Pavlov

    Igor Pavlov - 2015-02-25

    Thanks for tests.
    Some additional notes about p7zip benchmark.

    1) According to your OS, copy makefile.linux,
    makefile.freebsd, makefile.cygwin, ...
    over makefile.machine
    you can use:
    makefile.linux_amd64
    makefile.linux_amd64_asm
    makefile.linux_any_cpu

    _asm version must provide fastest CRC code for x86.

    2)
    Change
    OPTFLAGS=-O
    to
    OPTFLAGS=-O2
    in makefile.machine

    3) SHA256 source code is not optimized for speed. So it's slow.
    AES-NI is not supported in p7zip still.

     

    Last edit: Igor Pavlov 2015-02-25
    • ZiNgA BuRgA

      ZiNgA BuRgA - 2015-02-25

      Ah, definitely better speeds. I missed the part about moving the makefiles in the readme, gah! Thank you!

      Reran the benchmarks and edited my post above with the new results.

      1. Used 'makefile.linux_amd64_asm' for x86-64 and 'makefile.linux_any_cpu_gcc_4.X' for ARM.
      2. Used OPTFLAGS=-O2 -march=native (except on the Nano, as gcc doesn't seem to know the native CPU)

      AES-NI now does seem to work! I also ran a quick test using the Windows 64-bit via wine64, and got roughly the same ballpark figures, so hopefully this is more representative.


      As a reference for OpenSSL speeds, scroll down to the CPU Benchmarks section here for what I get on the above CPUs using 1 thread (ignore the Nano CPU as it's using h/w accel there). I suspect OpenSSL devs have put a lot more effort into the hashing/encryption performance, since it's basically what it does. Not expecting anyone to replicate it, but I just thought it may be of interest. Ever considered linking to it maybe?

       
1 2 > >> (Page 1 of 2)

Log in to post a comment.