ThomasKaiser / sbc-bench

Simple benchmark for single board computers
BSD 3-Clause "New" or "Revised" License
671 stars 78 forks source link

Playing around with 7-zip on many ARM cores #73

Open ThomasKaiser opened 1 year ago

ThomasKaiser commented 1 year ago

Trying to understand 7-ZIP MIPS with many CPU cores

Started by a conversation with @wtarreau about benchmarking issues on big iron (Ampere Altra with +64 cores) let's look closer how 7-zip MIPS behave in situations where we can manipulate memory access and have two sets of different CPU core types:

RK3588 consists of A55 and A76 cores. This SoC running with BSP kernel is nice since we can dynamically adjust the DRAM frequency between 528 and 2112 MHz (more insights wrt DRAM clock here).

We're testing with 528 MHz (powersave DMC governor) and 2112 MHz (performance DMC governor).

When running the tests single-threaded we get higher numbers as when all cores are busy at the same time.

For example when testing with DMC (and cpufreq) governor set to performance an A55 scores 1629 7-zip MIPS and an A76 3121. All 8 cores combined should end up with a theoretical 7-ZIP MIPS score of 19000 if there are no further bottlenecks affecting cores running in parallel.

In reality with these settings we see scores that are ~15% lower. In this measurement it's 16309 vs. the theoretical 19000 (85.5%).

To check the influence memory access make let's compare with powersave DMC settings (DRAM clocked at just 528 MHz). All scores are lower, single-threaded the A55 are at 85.8% and the A76 at 81.8% their performance compared to running with 2112 MHz so the faster core is more bottlenecked which makes sense given 7-zip depending on memory latency. The measured multi-threaded score suffers even more: 79.1% compared to performance DMC governor.

To check whether mixing different types of cores affects the results (7-zip having to wait longer for results from the slow cores and as such slowing down the faster cores unnecessarily) I fired up a round of tests with 8 individual 7zr b -mmt=1 runs in parallel. So each 7-zip task was isolated and ran a single thread.

When adding these individual scores together the numbers are slightly better but differ not that much. The combined score is 16807 at 2112 MHz (vs. 16309 when measuring fully multi-threaded, as such a 3% difference) and at 528 MHz it's 13479 (vs. 12911 when measuring fully multi-threaded, a difference slightly exceeding 4% which hints at the lower DRAM freq bottlenecking further in situations with full memory access by all cores)

All numbers with performance dmc governor:

1 x A55:                        1629
1 x A76:                        3121
Theoretical combined score:    19000
Measured (3 times / average) = 16309 (85.5%)
4 x A76: 2742+2742+2735+2720 = 10939
4 x A55: 1462+1468+1469+1469 =  5868
Added up:                      16807 (88.5%)

And the same with powersave dmc governor:

1 x A55:                        1398
1 x A76:                        2553
Theoretical combined score:    15804
Measured (3 times / average) = 12911 (81.7%)
4 x A76: 2148+2146+2143+2124 =  8561
4 x A55: 1229+1230+1229+1230 =  4918
Added up:                      13479 (85.3%)

Let's repeat the test limited to one cluster at a time. Let's focus only on the A76 cluster 1st and remain on 2112 MHz:

When only the A76 run each a single-threaded 7-zip benchmark the per core score is ~2851 compared to ~2735 when the A55 are busy in parallel. The sum of these single scores is 11404 and based on what we saw above we would expect this value being higher compared to letting 7-zip run multi-threaded on all A76 in parallel.

Though it's not when checking with taskset -c 4-7 7zr b -mmt=4 since the average score built from 3 runs is 12319 or 8% higher compared to adding the single-threaded scores.

Raw data:

Performance:

Single-threaded

root@rock-5b:/tmp# taskset -c 1 7zr b -mmt=1 

7-Zip (a) [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,8 CPUs LE)

LE
CPU Freq: - - - - 128000000 - - - -

RAM size:   15719 MB,  # CPU hardware threads:   8
RAM usage:    435 MB,  # Benchmark threads:      1

                       Compressing  |                  Decompressing
Dict     Speed Usage    R/U Rating  |      Speed Usage    R/U Rating
         KiB/s     %   MIPS   MIPS  |      KiB/s     %   MIPS   MIPS

22:       1399   100   1361   1361  |      22201   100   1896   1896
23:       1320   100   1345   1345  |      21856   100   1892   1892
24:       1280   100   1376   1376  |      21413   100   1880   1880
25:       1239   100   1416   1416  |      20944   100   1864   1864
----------------------------------  | ------------------------------
Avr:             100   1375   1375  |              100   1883   1883
Tot:             100   1629   1629

root@rock-5b:/tmp# taskset -c 5 7zr b -mmt=1 

7-Zip (a) [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,8 CPUs LE)

LE
CPU Freq: - - - - - - - - -

RAM size:   15719 MB,  # CPU hardware threads:   8
RAM usage:    435 MB,  # Benchmark threads:      1

                       Compressing  |                  Decompressing
Dict     Speed Usage    R/U Rating  |      Speed Usage    R/U Rating
         KiB/s     %   MIPS   MIPS  |      KiB/s     %   MIPS   MIPS

22:       3092   100   3008   3008  |      38329   100   3273   3273
23:       2893   100   2948   2948  |      37814   100   3273   3273
24:       2750   100   2958   2958  |      37046   100   3252   3252
25:       2663   100   3041   3041  |      36154   100   3218   3218
----------------------------------  | ------------------------------
Avr:             100   2989   2989  |              100   3254   3254
Tot:             100   3121   3121

3 times mutli-threaded (all cores):

root@rock-5b:/tmp# 7zr b 

7-Zip (a) [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,8 CPUs LE)

LE
CPU Freq: 64000000 64000000 - - - - - - -

RAM size:   15719 MB,  # CPU hardware threads:   8
RAM usage:   1765 MB,  # Benchmark threads:      8

                       Compressing  |                  Decompressing
Dict     Speed Usage    R/U Rating  |      Speed Usage    R/U Rating
         KiB/s     %   MIPS   MIPS  |      KiB/s     %   MIPS   MIPS

22:      15013   698   2092  14605  |     209414   680   2626  17862
23:      14171   686   2106  14439  |     204376   680   2600  17686
24:      14183   754   2023  15250  |     198966   679   2573  17463
25:      13292   756   2008  15176  |     194231   680   2540  17286
----------------------------------  | ------------------------------
Avr:             723   2057  14868  |              680   2585  17574
Tot:             702   2321  16221

7-Zip (a) [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,8 CPUs LE)

LE
CPU Freq: - - - 64000000 128000000 - - - 2048000000

RAM size:   15719 MB,  # CPU hardware threads:   8
RAM usage:   1765 MB,  # Benchmark threads:      8

                       Compressing  |                  Decompressing
Dict     Speed Usage    R/U Rating  |      Speed Usage    R/U Rating
         KiB/s     %   MIPS   MIPS  |      KiB/s     %   MIPS   MIPS

22:      15555   729   2076  15132  |     208572   679   2619  17790
23:      15083   745   2061  15368  |     204016   680   2595  17655
24:      14021   750   2010  15076  |     199480   681   2571  17508
25:      13406   760   2014  15306  |     193843   681   2533  17251
----------------------------------  | ------------------------------
Avr:             746   2040  15221  |              680   2579  17551
Tot:             713   2310  16386

7-Zip (a) [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,8 CPUs LE)

LE
CPU Freq: 64000000 - - - - - - - -

RAM size:   15719 MB,  # CPU hardware threads:   8
RAM usage:   1765 MB,  # Benchmark threads:      8

                       Compressing  |                  Decompressing
Dict     Speed Usage    R/U Rating  |      Speed Usage    R/U Rating
         KiB/s     %   MIPS   MIPS  |      KiB/s     %   MIPS   MIPS

22:      15280   713   2086  14865  |     207794   680   2608  17724
23:      15015   737   2077  15299  |     203298   680   2586  17593
24:      13959   729   2058  15009  |     198914   682   2561  17458
25:      13474   773   1990  15385  |     193584   682   2527  17228
----------------------------------  | ------------------------------
Avr:             738   2053  15140  |              681   2570  17501
Tot:             709   2312  16320

single-threaded running fully parallel:

for i in $(seq 0 7) ; do taskset -c $i 7zr b -mmt=1 >7-zip-${i}.log & done

7-Zip (a) [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,8 CPUs LE)

LE
CPU Freq: - - - - - - - - -

RAM size:   15719 MB,  # CPU hardware threads:   8
RAM usage:    435 MB,  # Benchmark threads:      1

                       Compressing  |                  Decompressing
Dict     Speed Usage    R/U Rating  |      Speed Usage    R/U Rating
         KiB/s     %   MIPS   MIPS  |      KiB/s     %   MIPS   MIPS

22:       1156   100   1126   1125  |      20961   100   1790   1790
23:       1045   100   1065   1065  |      20438   100   1770   1769
24:       1003   100   1080   1079  |      20752   100   1822   1822
25:       1093   100   1249   1249  |      20229   100   1801   1801
----------------------------------  | ------------------------------
Avr:             100   1130   1130  |              100   1796   1795
Tot:             100   1463   1462

7-Zip (a) [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,8 CPUs LE)

LE
CPU Freq: - - - - 128000000 - - - -

RAM size:   15719 MB,  # CPU hardware threads:   8
RAM usage:    435 MB,  # Benchmark threads:      1

                       Compressing  |                  Decompressing
Dict     Speed Usage    R/U Rating  |      Speed Usage    R/U Rating
         KiB/s     %   MIPS   MIPS  |      KiB/s     %   MIPS   MIPS

22:       1164   100   1133   1133  |      21183   100   1809   1809
23:       1044   100   1065   1064  |      20531   100   1777   1777
24:       1006   100   1082   1082  |      20819   100   1828   1828
25:       1094   100   1250   1250  |      20211   100   1799   1799
----------------------------------  | ------------------------------
Avr:             100   1132   1132  |              100   1803   1803
Tot:             100   1468   1468

7-Zip (a) [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,8 CPUs LE)

LE
CPU Freq: - - - - - - - - -

RAM size:   15719 MB,  # CPU hardware threads:   8
RAM usage:    435 MB,  # Benchmark threads:      1

                       Compressing  |                  Decompressing
Dict     Speed Usage    R/U Rating  |      Speed Usage    R/U Rating
         KiB/s     %   MIPS   MIPS  |      KiB/s     %   MIPS   MIPS

22:       1164   100   1133   1133  |      21164   100   1807   1807
23:       1046   100   1066   1066  |      20662   100   1789   1789
24:       1003   100   1079   1079  |      20828   100   1829   1829
25:       1094   100   1250   1250  |      20260   100   1804   1803
----------------------------------  | ------------------------------
Avr:             100   1132   1132  |              100   1807   1807
Tot:             100   1470   1469

7-Zip (a) [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,8 CPUs LE)

LE
CPU Freq: - - - - - - - - -

RAM size:   15719 MB,  # CPU hardware threads:   8
RAM usage:    435 MB,  # Benchmark threads:      1

                       Compressing  |                  Decompressing
Dict     Speed Usage    R/U Rating  |      Speed Usage    R/U Rating
         KiB/s     %   MIPS   MIPS  |      KiB/s     %   MIPS   MIPS

22:       1166   100   1134   1134  |      21170   100   1808   1808
23:       1042   100   1063   1063  |      20642   100   1787   1787
24:       1005   100   1081   1081  |      20825   100   1828   1828
25:       1093   100   1249   1249  |      20275   100   1805   1805
----------------------------------  | ------------------------------
Avr:             100   1132   1132  |              100   1807   1807
Tot:             100   1469   1469

7-Zip (a) [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,8 CPUs LE)

LE
CPU Freq: - - - - - - - - -

RAM size:   15719 MB,  # CPU hardware threads:   8
RAM usage:    435 MB,  # Benchmark threads:      1

                       Compressing  |                  Decompressing
Dict     Speed Usage    R/U Rating  |      Speed Usage    R/U Rating
         KiB/s     %   MIPS   MIPS  |      KiB/s     %   MIPS   MIPS

22:       2475   100   2408   2408  |      36902   100   3151   3151
23:       2422   100   2468   2468  |      36287   100   3141   3141
24:       2190   100   2355   2355  |      35271   100   3097   3096
25:       2012   100   2298   2298  |      33895   100   3017   3017
----------------------------------  | ------------------------------
Avr:             100   2382   2382  |              100   3102   3101
Tot:             100   2742   2742

7-Zip (a) [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,8 CPUs LE)

LE
CPU Freq: - - 64000000 - - - - - -

RAM size:   15719 MB,  # CPU hardware threads:   8
RAM usage:    435 MB,  # Benchmark threads:      1

                       Compressing  |                  Decompressing
Dict     Speed Usage    R/U Rating  |      Speed Usage    R/U Rating
         KiB/s     %   MIPS   MIPS  |      KiB/s     %   MIPS   MIPS

22:       2462   100   2396   2396  |      36850   100   3146   3146
23:       2429   100   2475   2475  |      36274   100   3140   3140
24:       2189   100   2355   2355  |      35310   100   3100   3100
25:       2017   100   2303   2303  |      33915   100   3019   3019
----------------------------------  | ------------------------------
Avr:             100   2382   2382  |              100   3101   3101
Tot:             100   2742   2742

7-Zip (a) [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,8 CPUs LE)

LE
CPU Freq: - - - - - - - - -

RAM size:   15719 MB,  # CPU hardware threads:   8
RAM usage:    435 MB,  # Benchmark threads:      1

                       Compressing  |                  Decompressing
Dict     Speed Usage    R/U Rating  |      Speed Usage    R/U Rating
         KiB/s     %   MIPS   MIPS  |      KiB/s     %   MIPS   MIPS

22:       2456   100   2389   2390  |      36537   100   3119   3120
23:       2422   100   2468   2468  |      36266   100   3139   3139
24:       2189   100   2354   2354  |      35234   100   3093   3093
25:       2017   100   2304   2304  |      33864   100   3014   3014
----------------------------------  | ------------------------------
Avr:             100   2379   2379  |              100   3091   3092
Tot:             100   2735   2735

7-Zip (a) [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,8 CPUs LE)

LE
CPU Freq: - - - - - - - - -

RAM size:   15719 MB,  # CPU hardware threads:   8
RAM usage:    435 MB,  # Benchmark threads:      1

                       Compressing  |                  Decompressing
Dict     Speed Usage    R/U Rating  |      Speed Usage    R/U Rating
         KiB/s     %   MIPS   MIPS  |      KiB/s     %   MIPS   MIPS

22:       2456   100   2390   2389  |      36845   100   3146   3146
23:       2401   100   2448   2447  |      36254   100   3138   3138
24:       2085   100   2242   2242  |      35245   100   3095   3094
25:       2012   100   2299   2298  |      33715   100   3002   3001
----------------------------------  | ------------------------------
Avr:             100   2345   2344  |              100   3095   3095
Tot:             100   2720   2720

Only testing the A76 cluster

First testing each A76 core individually but in parallel:

for i in $(seq 4 7) ; do taskset -c $i 7zr b -mmt=1 >7-zip-${i}.log & done

7-Zip (a) [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,8 CPUs LE)

LE
CPU Freq: - - - - - - - - -

RAM size:   15719 MB,  # CPU hardware threads:   8
RAM usage:    435 MB,  # Benchmark threads:      1

                       Compressing  |                  Decompressing
Dict     Speed Usage    R/U Rating  |      Speed Usage    R/U Rating
         KiB/s     %   MIPS   MIPS  |      KiB/s     %   MIPS   MIPS

22:       2664   100   2592   2592  |      37598   100   3210   3210
23:       2508   100   2556   2556  |      36736   100   3180   3180
24:       2365   100   2543   2543  |      35869   100   3149   3149
25:       2189   100   2500   2500  |      34735   100   3092   3092
----------------------------------  | ------------------------------
Avr:             100   2548   2548  |              100   3158   3158
Tot:             100   2853   2853

7-Zip (a) [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,8 CPUs LE)

LE
CPU Freq: - - - - - - 512000000 - -

RAM size:   15719 MB,  # CPU hardware threads:   8
RAM usage:    435 MB,  # Benchmark threads:      1

                       Compressing  |                  Decompressing
Dict     Speed Usage    R/U Rating  |      Speed Usage    R/U Rating
         KiB/s     %   MIPS   MIPS  |      KiB/s     %   MIPS   MIPS

22:       2667   100   2595   2595  |      37546   100   3206   3206
23:       2514   100   2562   2562  |      36723   100   3179   3179
24:       2364   100   2542   2542  |      35850   100   3147   3147
25:       2183   100   2494   2494  |      34803   100   3098   3098
----------------------------------  | ------------------------------
Avr:             100   2548   2548  |              100   3157   3157
Tot:             100   2853   2853

7-Zip (a) [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,8 CPUs LE)

LE
CPU Freq: - - - - - - - - -

RAM size:   15719 MB,  # CPU hardware threads:   8
RAM usage:    435 MB,  # Benchmark threads:      1

                       Compressing  |                  Decompressing
Dict     Speed Usage    R/U Rating  |      Speed Usage    R/U Rating
         KiB/s     %   MIPS   MIPS  |      KiB/s     %   MIPS   MIPS

22:       2654   100   2582   2582  |      37504   100   3202   3202
23:       2539   100   2588   2588  |      36697   100   3176   3177
24:       2360   100   2538   2538  |      35792   100   3142   3142
25:       2185   100   2495   2495  |      34700   100   3089   3089
----------------------------------  | ------------------------------
Avr:             100   2551   2551  |              100   3152   3152
Tot:             100   2852   2852

7-Zip (a) [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,8 CPUs LE)

LE
CPU Freq: - - - - - - - - -

RAM size:   15719 MB,  # CPU hardware threads:   8
RAM usage:    435 MB,  # Benchmark threads:      1

                       Compressing  |                  Decompressing
Dict     Speed Usage    R/U Rating  |      Speed Usage    R/U Rating
         KiB/s     %   MIPS   MIPS  |      KiB/s     %   MIPS   MIPS

22:       2659   100   2587   2587  |      37507   100   3203   3202
23:       2498   100   2546   2545  |      36679   100   3175   3175
24:       2360   100   2538   2538  |      35775   100   3141   3141
25:       2184   100   2494   2494  |      34709   100   3090   3089
----------------------------------  | ------------------------------
Avr:             100   2541   2541  |              100   3152   3152
Tot:             100   2847   2846

Now testing three times all four A76 together:

root@rock-5b:/tmp# taskset -c 4-7 7zr b -mmt=4

7-Zip (a) [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,8 CPUs LE)

LE
CPU Freq: - - - - - - - - -

RAM size:   15719 MB,  # CPU hardware threads:   8
RAM usage:    882 MB,  # Benchmark threads:      4

                       Compressing  |                  Decompressing
Dict     Speed Usage    R/U Rating  |      Speed Usage    R/U Rating
         KiB/s     %   MIPS   MIPS  |      KiB/s     %   MIPS   MIPS

22:      12336   377   3185  12001  |     150102   399   3210  12806
23:      11848   380   3173  12072  |     147025   400   3184  12721
24:      11370   382   3203  12226  |     143442   399   3153  12592
25:      10656   378   3220  12167  |     137980   395   3107  12280
----------------------------------  | ------------------------------
Avr:             379   3195  12116  |              398   3163  12600
Tot:             389   3179  12358
root@rock-5b:/tmp# taskset -c 4-7 7zr b -mmt=4

7-Zip (a) [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,8 CPUs LE)

LE
CPU Freq: - - - - - - - - -

RAM size:   15719 MB,  # CPU hardware threads:   8
RAM usage:    882 MB,  # Benchmark threads:      4

                       Compressing  |                  Decompressing
Dict     Speed Usage    R/U Rating  |      Speed Usage    R/U Rating
         KiB/s     %   MIPS   MIPS  |      KiB/s     %   MIPS   MIPS

22:      12289   374   3200  11956  |     149953   399   3204  12793
23:      11914   380   3191  12139  |     146376   399   3176  12665
24:      11118   379   3157  11954  |     143352   400   3147  12584
25:      10585   375   3223  12086  |     138835   398   3103  12356
----------------------------------  | ------------------------------
Avr:             377   3193  12034  |              399   3157  12600
Tot:             388   3175  12317
root@rock-5b:/tmp# taskset -c 4-7 7zr b -mmt=4

7-Zip (a) [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,8 CPUs LE)

LE
CPU Freq: - - - - - - - - -

RAM size:   15719 MB,  # CPU hardware threads:   8
RAM usage:    882 MB,  # Benchmark threads:      4

                       Compressing  |                  Decompressing
Dict     Speed Usage    R/U Rating  |      Speed Usage    R/U Rating
         KiB/s     %   MIPS   MIPS  |      KiB/s     %   MIPS   MIPS

22:      12405   378   3191  12068  |     149711   399   3202  12773
23:      11688   374   3180  11909  |     146412   399   3175  12668
24:      11086   374   3184  11920  |     143040   399   3144  12557
25:      10582   381   3172  12083  |     137938   396   3101  12276
----------------------------------  | ------------------------------
Avr:             377   3182  11995  |              398   3156  12569
Tot:             388   3169  12282

Powersave:

Single-threaded

root@rock-5b:/tmp# taskset -c 1 7zr b -mmt=1

7-Zip (a) [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,8 CPUs LE)

LE
CPU Freq: - - - - - - - - -

RAM size:   15719 MB,  # CPU hardware threads:   8
RAM usage:    435 MB,  # Benchmark threads:      1

                       Compressing  |                  Decompressing
Dict     Speed Usage    R/U Rating  |      Speed Usage    R/U Rating
         KiB/s     %   MIPS   MIPS  |      KiB/s     %   MIPS   MIPS

22:       1111   100   1082   1082  |      21388   100   1826   1826
23:       1027   100   1047   1047  |      20478   100   1773   1773
24:        987   100   1062   1062  |      19506   100   1713   1712
25:        949   100   1084   1084  |      17962   100   1599   1599
----------------------------------  | ------------------------------
Avr:             100   1069   1069  |              100   1728   1728
Tot:             100   1398   1398

root@rock-5b:/tmp# taskset -c 5 7zr b -mmt=1

7-Zip (a) [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,8 CPUs LE)

LE
CPU Freq: - - - - - - - - -

RAM size:   15719 MB,  # CPU hardware threads:   8
RAM usage:    435 MB,  # Benchmark threads:      1

                       Compressing  |                  Decompressing
Dict     Speed Usage    R/U Rating  |      Speed Usage    R/U Rating
         KiB/s     %   MIPS   MIPS  |      KiB/s     %   MIPS   MIPS

22:       2159   100   2101   2101  |      36936   100   3154   3154
23:       2031   100   2070   2070  |      36029   100   3119   3119
24:       1922   100   2068   2068  |      34117   100   2995   2995
25:       1823   100   2082   2082  |      31882   100   2838   2838
----------------------------------  | ------------------------------
Avr:             100   2080   2080  |              100   3026   3026
Tot:             100   2553   2553

3 times mutli-threaded (all cores):

7-Zip (a) [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,8 CPUs LE)

LE
CPU Freq: - 64000000 - - - - - - -

RAM size:   15719 MB,  # CPU hardware threads:   8
RAM usage:   1765 MB,  # Benchmark threads:      8

                       Compressing  |                  Decompressing
Dict     Speed Usage    R/U Rating  |      Speed Usage    R/U Rating
         KiB/s     %   MIPS   MIPS  |      KiB/s     %   MIPS   MIPS

22:      10056   762   1284   9783  |     201770   681   2527  17210
23:       9325   768   1237   9501  |     194158   681   2466  16802
24:       8497   752   1215   9137  |     186399   682   2399  16360
25:       7950   771   1177   9077  |     178457   683   2324  15882
----------------------------------  | ------------------------------
Avr:             763   1228   9375  |              682   2429  16563
Tot:             723   1829  12969

7-Zip (a) [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,8 CPUs LE)

LE
CPU Freq: - - - - - - - - -

RAM size:   15719 MB,  # CPU hardware threads:   8
RAM usage:   1765 MB,  # Benchmark threads:      8

                       Compressing  |                  Decompressing
Dict     Speed Usage    R/U Rating  |      Speed Usage    R/U Rating
         KiB/s     %   MIPS   MIPS  |      KiB/s     %   MIPS   MIPS

22:       9928   755   1280   9658  |     199435   677   2514  17011
23:       8968   727   1257   9138  |     193712   682   2457  16763
24:       8562   776   1187   9206  |     184893   679   2391  16228
25:       8094   782   1181   9242  |     178349   684   2322  15872
----------------------------------  | ------------------------------
Avr:             760   1226   9311  |              680   2421  16469
Tot:             720   1824  12890

7-Zip (a) [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,8 CPUs LE)

LE
CPU Freq: 64000000 - - - - - - - -

RAM size:   15719 MB,  # CPU hardware threads:   8
RAM usage:   1765 MB,  # Benchmark threads:      8

                       Compressing  |                  Decompressing
Dict     Speed Usage    R/U Rating  |      Speed Usage    R/U Rating
         KiB/s     %   MIPS   MIPS  |      KiB/s     %   MIPS   MIPS

22:       9909   744   1295   9640  |     200649   681   2513  17114
23:       8938   727   1252   9107  |     192095   679   2449  16623
24:       8585   773   1193   9231  |     185016   680   2386  16239
25:       8053   778   1183   9195  |     177897   682   2320  15832
----------------------------------  | ------------------------------
Avr:             756   1231   9293  |              681   2417  16452
Tot:             718   1824  12873

single-threaded:

for i in $(seq 0 7) ; do taskset -c $i 7zr b -mmt=1 >7-zip-${i}.log & done

7-Zip (a) [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,8 CPUs LE)

LE
CPU Freq: - - - - - - - - -

RAM size:   15719 MB,  # CPU hardware threads:   8
RAM usage:    435 MB,  # Benchmark threads:      1

                       Compressing  |                  Decompressing
Dict     Speed Usage    R/U Rating  |      Speed Usage    R/U Rating
         KiB/s     %   MIPS   MIPS  |      KiB/s     %   MIPS   MIPS

22:        788   100    767    767  |      20008   100   1709   1708
23:        679   100    693    692  |      19360   100   1677   1676
24:        628   100    676    676  |      19401   100   1704   1703
25:        803   100    917    917  |      18993   100   1691   1691
----------------------------------  | ------------------------------
Avr:             100    764    763  |              100   1695   1694
Tot:             100   1229   1229

7-Zip (a) [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,8 CPUs LE)

LE
CPU Freq: - - - - - - - 1024000000 2048000000

RAM size:   15719 MB,  # CPU hardware threads:   8
RAM usage:    435 MB,  # Benchmark threads:      1

                       Compressing  |                  Decompressing
Dict     Speed Usage    R/U Rating  |      Speed Usage    R/U Rating
         KiB/s     %   MIPS   MIPS  |      KiB/s     %   MIPS   MIPS

22:        781   100    760    760  |      20024   100   1710   1710
23:        690   100    703    703  |      19276   100   1669   1669
24:        639   100    689    688  |      19453   100   1709   1708
25:        806   100    921    921  |      18901   100   1682   1682
----------------------------------  | ------------------------------
Avr:             100    768    768  |              100   1693   1692
Tot:             100   1230   1230

7-Zip (a) [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,8 CPUs LE)

LE
CPU Freq: - - 64000000 - - - - - -

RAM size:   15719 MB,  # CPU hardware threads:   8
RAM usage:    435 MB,  # Benchmark threads:      1

                       Compressing  |                  Decompressing
Dict     Speed Usage    R/U Rating  |      Speed Usage    R/U Rating
         KiB/s     %   MIPS   MIPS  |      KiB/s     %   MIPS   MIPS

22:        788   100    768    767  |      20029   100   1711   1710
23:        679   100    693    693  |      19372   100   1677   1677
24:        631   100    679    679  |      19392   100   1703   1702
25:        804   100    918    918  |      18973   100   1689   1689
----------------------------------  | ------------------------------
Avr:             100    765    764  |              100   1695   1695
Tot:             100   1230   1229

7-Zip (a) [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,8 CPUs LE)

LE
CPU Freq: - - - - - - - - -

RAM size:   15719 MB,  # CPU hardware threads:   8
RAM usage:    435 MB,  # Benchmark threads:      1

                       Compressing  |                  Decompressing
Dict     Speed Usage    R/U Rating  |      Speed Usage    R/U Rating
         KiB/s     %   MIPS   MIPS  |      KiB/s     %   MIPS   MIPS

22:        789   100    768    768  |      20027   100   1710   1710
23:        677   100    691    691  |      19376   100   1677   1677
24:        630   100    678    677  |      19402   100   1703   1703
25:        805   100    920    920  |      18990   100   1690   1690
----------------------------------  | ------------------------------
Avr:             100    764    764  |              100   1695   1695
Tot:             100   1230   1230

7-Zip (a) [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,8 CPUs LE)

LE
CPU Freq: - - - - - - 512000000 1024000000 -

RAM size:   15719 MB,  # CPU hardware threads:   8
RAM usage:    435 MB,  # Benchmark threads:      1

                       Compressing  |                  Decompressing
Dict     Speed Usage    R/U Rating  |      Speed Usage    R/U Rating
         KiB/s     %   MIPS   MIPS  |      KiB/s     %   MIPS   MIPS

22:       1491   100   1451   1451  |      34884   100   2979   2978
23:       1471   100   1500   1500  |      33980   100   2941   2941
24:       1273   100   1369   1369  |      32663   100   2868   2867
25:       1143   100   1306   1306  |      31110   100   2769   2769
----------------------------------  | ------------------------------
Avr:             100   1406   1406  |              100   2889   2889
Tot:             100   2148   2148

7-Zip (a) [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,8 CPUs LE)

LE
CPU Freq: - - - - - - - - -

RAM size:   15719 MB,  # CPU hardware threads:   8
RAM usage:    435 MB,  # Benchmark threads:      1

                       Compressing  |                  Decompressing
Dict     Speed Usage    R/U Rating  |      Speed Usage    R/U Rating
         KiB/s     %   MIPS   MIPS  |      KiB/s     %   MIPS   MIPS

22:       1500   100   1460   1460  |      35089   100   2996   2996
23:       1443   100   1471   1471  |      34162   100   2957   2957
24:       1261   100   1357   1357  |      32734   100   2874   2874
25:       1145   100   1308   1308  |      30840   100   2746   2745
----------------------------------  | ------------------------------
Avr:             100   1399   1399  |              100   2893   2893
Tot:             100   2146   2146

7-Zip (a) [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,8 CPUs LE)

LE
CPU Freq: - 64000000 - - - - - - -

RAM size:   15719 MB,  # CPU hardware threads:   8
RAM usage:    435 MB,  # Benchmark threads:      1

                       Compressing  |                  Decompressing
Dict     Speed Usage    R/U Rating  |      Speed Usage    R/U Rating
         KiB/s     %   MIPS   MIPS  |      KiB/s     %   MIPS   MIPS

22:       1489   100   1449   1449  |      34954   100   2985   2984
23:       1448   100   1476   1476  |      34085   100   2950   2950
24:       1267   100   1363   1363  |      32673   100   2868   2868
25:       1142   100   1305   1305  |      30901   100   2750   2750
----------------------------------  | ------------------------------
Avr:             100   1398   1398  |              100   2888   2888
Tot:             100   2143   2143

7-Zip (a) [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,8 CPUs LE)

LE
CPU Freq: - - - 64000000 - - - - -

RAM size:   15719 MB,  # CPU hardware threads:   8
RAM usage:    435 MB,  # Benchmark threads:      1

                       Compressing  |                  Decompressing
Dict     Speed Usage    R/U Rating  |      Speed Usage    R/U Rating
         KiB/s     %   MIPS   MIPS  |      KiB/s     %   MIPS   MIPS

22:       1495   100   1456   1455  |      34938   100   2984   2983
23:       1420   100   1448   1448  |      34001   100   2944   2943
24:       1267   100   1363   1363  |      31900   100   2801   2801
25:       1140   100   1303   1303  |      30315   100   2699   2698
----------------------------------  | ------------------------------
Avr:             100   1393   1392  |              100   2857   2856
Tot:             100   2125   2124
ThomasKaiser commented 1 year ago

Now to another machine. NanoPi Fire3, a board equipped with only 1 GB RAM and a Nexell S5P6818 SoC (two quad-core A53 clusters running at 1.4 GHz). Since the board is that low on RAM we need to add -md=2m to 7-zip parameters to test with smaller data sizes preventing the oom-killer to kick in.

When running 7-zip single-threaded in parallel on all 8 cores each one scores 1005 (in sum 8043). When testing with 7-zip fully multi-threaded on all 8 cores we get a score of 7377 (91.7% of the theoretical combined score).

When testing multi-threaded through 2 to 7 cores something interesting happens (numbers in brackets show the percentage compared to a theoretical ideal sum score based on 1005 7-ZIP-MIPS per core):

Running with odd number of threads produces odd results. If we compare just the even thread counts it looks like this:

And the strange drop with 6 threads is reproducible.

Raw data:

Single-threaded utilizing all cores

for i in $(seq 0 7) ; do taskset -c $i 7zr b -mmt=1 -md=2m >7-zip-${i}.log & done

7-Zip (a) [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,8 CPUs LE)

LE
CPU Freq: 64000000 64000000 64000000 64000000 - 256000000 - 1024000000 2048000000

RAM size:     994 MB,  # CPU hardware threads:   8
RAM usage:     30 MB,  # Benchmark threads:      1

                       Compressing  |                  Decompressing
Dict     Speed Usage    R/U Rating  |      Speed Usage    R/U Rating
         KiB/s     %   MIPS   MIPS  |      KiB/s     %   MIPS   MIPS

18:        835   100    745    744  |      15909    99   1300   1287
19:        799   100    717    717  |      15823   100   1296   1296
20:        768   100    700    700  |      15557   100   1289   1289
21:        733   100    688    688  |      15308   100   1287   1288
----------------------------------  | ------------------------------
Avr:             100    712    712  |              100   1293   1290
Tot:             100   1003   1001

7-Zip (a) [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,8 CPUs LE)

LE
CPU Freq: 32000000 64000000 - 64000000 - - 512000000 - 2048000000

RAM size:     994 MB,  # CPU hardware threads:   8
RAM usage:     30 MB,  # Benchmark threads:      1

                       Compressing  |                  Decompressing
Dict     Speed Usage    R/U Rating  |      Speed Usage    R/U Rating
         KiB/s     %   MIPS   MIPS  |      KiB/s     %   MIPS   MIPS

18:        845   100    753    753  |      16128   100   1305   1304
19:        806   100    723    723  |      15856   100   1299   1298
20:        773   100    705    705  |      15582   100   1291   1291
21:        739   100    693    692  |      15272   100   1284   1285
----------------------------------  | ------------------------------
Avr:             100    718    718  |              100   1295   1295
Tot:             100   1007   1006

7-Zip (a) [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,8 CPUs LE)

LE
CPU Freq: 64000000 64000000 64000000 64000000 128000000 256000000 - 1024000000 2048000000

RAM size:     994 MB,  # CPU hardware threads:   8
RAM usage:     30 MB,  # Benchmark threads:      1

                       Compressing  |                  Decompressing
Dict     Speed Usage    R/U Rating  |      Speed Usage    R/U Rating
         KiB/s     %   MIPS   MIPS  |      KiB/s     %   MIPS   MIPS

18:        839   100    748    748  |      16129   100   1305   1304
19:        803   100    720    720  |      15892   100   1301   1301
20:        771   100    703    703  |      15626   100   1295   1295
21:        738   100    692    692  |      15336   100   1290   1290
----------------------------------  | ------------------------------
Avr:             100    716    716  |              100   1298   1298
Tot:             100   1007   1007

7-Zip (a) [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,8 CPUs LE)

LE
CPU Freq: 64000000 64000000 64000000 - 128000000 - 512000000 1024000000 2048000000

RAM size:     994 MB,  # CPU hardware threads:   8
RAM usage:     30 MB,  # Benchmark threads:      1

                       Compressing  |                  Decompressing
Dict     Speed Usage    R/U Rating  |      Speed Usage    R/U Rating
         KiB/s     %   MIPS   MIPS  |      KiB/s     %   MIPS   MIPS

18:        842   100    750    750  |      16143   100   1306   1305
19:        803   100    720    720  |      15869   100   1299   1300
20:        769   100    701    701  |      15598   100   1293   1293
21:        734   100    688    688  |      15343   100   1291   1290
----------------------------------  | ------------------------------
Avr:             100    715    715  |              100   1297   1297
Tot:             100   1006   1006

7-Zip (a) [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,8 CPUs LE)

LE
CPU Freq: 64000000 64000000 - 64000000 128000000 256000000 512000000 - 2048000000

RAM size:     994 MB,  # CPU hardware threads:   8
RAM usage:     30 MB,  # Benchmark threads:      1

                       Compressing  |                  Decompressing
Dict     Speed Usage    R/U Rating  |      Speed Usage    R/U Rating
         KiB/s     %   MIPS   MIPS  |      KiB/s     %   MIPS   MIPS

18:        843   100    751    751  |      16059   100   1299   1299
19:        801   100    718    718  |      15801   100   1294   1294
20:        771   100    703    703  |      15562   100   1289   1290
21:        738   100    692    692  |      15285   100   1286   1286
----------------------------------  | ------------------------------
Avr:             100    716    716  |              100   1292   1292
Tot:             100   1004   1004

7-Zip (a) [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,8 CPUs LE)

LE
CPU Freq: 64000000 64000000 - 64000000 128000000 256000000 512000000 1024000000 -

RAM size:     994 MB,  # CPU hardware threads:   8
RAM usage:     30 MB,  # Benchmark threads:      1

                       Compressing  |                  Decompressing
Dict     Speed Usage    R/U Rating  |      Speed Usage    R/U Rating
         KiB/s     %   MIPS   MIPS  |      KiB/s     %   MIPS   MIPS

18:        847   100    755    755  |      16121   100   1304   1304
19:        805   100    722    722  |      15850   100   1298   1298
20:        774   100    706    706  |      15590   100   1292   1292
21:        740   100    694    694  |      15258   100   1283   1283
----------------------------------  | ------------------------------
Avr:             100    719    719  |              100   1294   1294
Tot:             100   1007   1007

7-Zip (a) [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,8 CPUs LE)

LE
CPU Freq: 64000000 64000000 64000000 64000000 128000000 - - - 2048000000

RAM size:     994 MB,  # CPU hardware threads:   8
RAM usage:     30 MB,  # Benchmark threads:      1

                       Compressing  |                  Decompressing
Dict     Speed Usage    R/U Rating  |      Speed Usage    R/U Rating
         KiB/s     %   MIPS   MIPS  |      KiB/s     %   MIPS   MIPS

18:        841   100    750    750  |      16119   100   1304   1304
19:        799   100    716    716  |      15865   100   1299   1299
20:        767   100    700    700  |      15595   100   1293   1292
21:        732   100    687    687  |      15301   100   1287   1287
----------------------------------  | ------------------------------
Avr:             100    713    713  |              100   1296   1295
Tot:             100   1004   1004

7-Zip (a) [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,8 CPUs LE)

LE
CPU Freq: 32000000 64000000 64000000 64000000 128000000 256000000 512000000 1024000000 1024000000

RAM size:     994 MB,  # CPU hardware threads:   8
RAM usage:     30 MB,  # Benchmark threads:      1

                       Compressing  |                  Decompressing
Dict     Speed Usage    R/U Rating  |      Speed Usage    R/U Rating
         KiB/s     %   MIPS   MIPS  |      KiB/s     %   MIPS   MIPS

18:        845   100    753    753  |      16134   100   1305   1305
19:        806   100    723    723  |      15873   100   1300   1300
20:        773   100    705    705  |      15606   100   1293   1293
21:        739   100    693    692  |      15365   100   1292   1292
----------------------------------  | ------------------------------
Avr:             100    718    718  |              100   1297   1298
Tot:             100   1008   1008

Multi-threaded walking through 2 to 8 cores:

root@nanopifire3:/tmp# for i in $(seq 1 7) ; do taskset -c 0-${i} 7zr b -mmt=$(( ${i} + 1 )) -md=2m ; done

7-Zip (a) [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,8 CPUs LE)

LE
CPU Freq: 32000000 64000000 64000000 - 128000000 256000000 - 1024000000 2048000000

RAM size:     994 MB,  # CPU hardware threads:   8
RAM usage:     36 MB,  # Benchmark threads:      2

                       Compressing  |                  Decompressing
Dict     Speed Usage    R/U Rating  |      Speed Usage    R/U Rating
         KiB/s     %   MIPS   MIPS  |      KiB/s     %   MIPS   MIPS

18:       1403   144    869   1250  |      32805   200   1328   2653
19:       1364   150    817   1222  |      32336   200   1325   2648
20:       1344   155    791   1225  |      31841   200   1321   2638
21:       1309   159    773   1227  |      31364   200   1319   2638
----------------------------------  | ------------------------------
Avr:             152    813   1231  |              200   1323   2644
Tot:             176   1068   1938

7-Zip (a) [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,8 CPUs LE)

LE
CPU Freq: 64000000 - 64000000 64000000 128000000 256000000 512000000 - 2048000000

RAM size:     994 MB,  # CPU hardware threads:   8
RAM usage:     36 MB,  # Benchmark threads:      3

                       Compressing  |                  Decompressing
Dict     Speed Usage    R/U Rating  |      Speed Usage    R/U Rating
         KiB/s     %   MIPS   MIPS  |      KiB/s     %   MIPS   MIPS

18:       1437   147    872   1281  |      32847   200   1328   2656
19:       1392   153    817   1248  |      32407   200   1327   2654
20:       1345   157    783   1227  |      31957   200   1324   2648
21:       1312   160    770   1230  |      31313   200   1318   2634
----------------------------------  | ------------------------------
Avr:             154    810   1246  |              200   1324   2648
Tot:             177   1067   1947

7-Zip (a) [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,8 CPUs LE)

LE
CPU Freq: 64000000 64000000 64000000 64000000 128000000 256000000 - 1024000000 2048000000

RAM size:     994 MB,  # CPU hardware threads:   8
RAM usage:     72 MB,  # Benchmark threads:      4

                       Compressing  |                  Decompressing
Dict     Speed Usage    R/U Rating  |      Speed Usage    R/U Rating
         KiB/s     %   MIPS   MIPS  |      KiB/s     %   MIPS   MIPS

18:       2632   291    807   2345  |      64949   400   1313   5248
19:       2532   296    765   2269  |      63899   400   1308   5226
20:       2459   305    735   2242  |      62752   399   1303   5202
21:       2440   317    722   2287  |      61536   399   1295   5171
----------------------------------  | ------------------------------
Avr:             302    757   2286  |              399   1305   5212
Tot:             351   1031   3749

7-Zip (a) [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,8 CPUs LE)

LE
CPU Freq: 64000000 - 64000000 - - 256000000 512000000 1024000000 2048000000

RAM size:     994 MB,  # CPU hardware threads:   8
RAM usage:     72 MB,  # Benchmark threads:      5

                       Compressing  |                  Decompressing
Dict     Speed Usage    R/U Rating  |      Speed Usage    R/U Rating
         KiB/s     %   MIPS   MIPS  |      KiB/s     %   MIPS   MIPS

18:       2795   292    854   2491  |      65205   397   1326   5269
19:       2681   299    805   2403  |      63928   396   1321   5228
20:       2586   306    771   2357  |      63097   397   1317   5231
21:       2580   319    759   2418  |      41902   267   1320   3521
----------------------------------  | ------------------------------
Avr:             304    797   2417  |              364   1321   4812
Tot:             334   1059   3615

7-Zip (a) [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,8 CPUs LE)

LE
CPU Freq: 32000000 64000000 64000000 64000000 128000000 256000000 512000000 512000000 1024000000

RAM size:     994 MB,  # CPU hardware threads:   8
RAM usage:    108 MB,  # Benchmark threads:      6

                       Compressing  |                  Decompressing
Dict     Speed Usage    R/U Rating  |      Speed Usage    R/U Rating
         KiB/s     %   MIPS   MIPS  |      KiB/s     %   MIPS   MIPS

18:       3941   428    820   3511  |      97373   597   1317   7866
19:       3791   443    767   3397  |      95196   594   1311   7789
20:       3642   451    736   3320  |      90796   576   1306   7528
21:       3590   464    724   3364  |      62519   402   1308   5256
----------------------------------  | ------------------------------
Avr:             447    762   3398  |              542   1311   7110
Tot:             495   1036   5254

7-Zip (a) [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,8 CPUs LE)

LE
CPU Freq: 32000000 64000000 64000000 64000000 128000000 256000000 512000000 - 2048000000

RAM size:     994 MB,  # CPU hardware threads:   8
RAM usage:    108 MB,  # Benchmark threads:      7

                       Compressing  |                  Decompressing
Dict     Speed Usage    R/U Rating  |      Speed Usage    R/U Rating
         KiB/s     %   MIPS   MIPS  |      KiB/s     %   MIPS   MIPS

18:       4016   437    818   3578  |      97652   599   1318   7888
19:       3880   457    760   3477  |      96070   598   1314   7861
20:       3766   472    728   3433  |      94367   599   1307   7824
21:       3669   481    715   3438  |      92524   598   1301   7779
----------------------------------  | ------------------------------
Avr:             462    755   3481  |              598   1310   7838
Tot:             530   1033   5660

7-Zip (a) [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,8 CPUs LE)

LE
CPU Freq: 64000000 64000000 64000000 64000000 128000000 256000000 512000000 1024000000 2048000000

RAM size:     994 MB,  # CPU hardware threads:   8
RAM usage:    145 MB,  # Benchmark threads:      8

                       Compressing  |                  Decompressing
Dict     Speed Usage    R/U Rating  |      Speed Usage    R/U Rating
         KiB/s     %   MIPS   MIPS  |      KiB/s     %   MIPS   MIPS

18:       5089   576    787   4535  |     128772   797   1308  10415
19:       4905   603    729   4395  |     126795   797   1302  10372
20:       4750   622    696   4330  |     124681   798   1295  10332
21:       4689   639    687   4394  |     121936   796   1287  10246
----------------------------------  | ------------------------------
Avr:             610    725   4413  |              797   1298  10341
Tot:             704   1011   7377

Testing through 2 to 8 cores in linear order:

root@nanopifire3:/tmp# for i in $(seq 1 7) ; do taskset -c 0-${i} 7zr b -mmt=$(( ${i} + 1 )) -md=2m ; done

7-Zip (a) [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,8 CPUs LE)

LE
CPU Freq: 32000000 64000000 64000000 - 128000000 256000000 - 1024000000 2048000000

RAM size:     994 MB,  # CPU hardware threads:   8
RAM usage:     36 MB,  # Benchmark threads:      2

                       Compressing  |                  Decompressing
Dict     Speed Usage    R/U Rating  |      Speed Usage    R/U Rating
         KiB/s     %   MIPS   MIPS  |      KiB/s     %   MIPS   MIPS

18:       1403   144    869   1250  |      32805   200   1328   2653
19:       1364   150    817   1222  |      32336   200   1325   2648
20:       1344   155    791   1225  |      31841   200   1321   2638
21:       1309   159    773   1227  |      31364   200   1319   2638
----------------------------------  | ------------------------------
Avr:             152    813   1231  |              200   1323   2644
Tot:             176   1068   1938

7-Zip (a) [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,8 CPUs LE)

LE
CPU Freq: 64000000 - 64000000 64000000 128000000 256000000 512000000 - 2048000000

RAM size:     994 MB,  # CPU hardware threads:   8
RAM usage:     36 MB,  # Benchmark threads:      3

                       Compressing  |                  Decompressing
Dict     Speed Usage    R/U Rating  |      Speed Usage    R/U Rating
         KiB/s     %   MIPS   MIPS  |      KiB/s     %   MIPS   MIPS

18:       1437   147    872   1281  |      32847   200   1328   2656
19:       1392   153    817   1248  |      32407   200   1327   2654
20:       1345   157    783   1227  |      31957   200   1324   2648
21:       1312   160    770   1230  |      31313   200   1318   2634
----------------------------------  | ------------------------------
Avr:             154    810   1246  |              200   1324   2648
Tot:             177   1067   1947

7-Zip (a) [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,8 CPUs LE)

LE
CPU Freq: 64000000 64000000 64000000 64000000 128000000 256000000 - 1024000000 2048000000

RAM size:     994 MB,  # CPU hardware threads:   8
RAM usage:     72 MB,  # Benchmark threads:      4

                       Compressing  |                  Decompressing
Dict     Speed Usage    R/U Rating  |      Speed Usage    R/U Rating
         KiB/s     %   MIPS   MIPS  |      KiB/s     %   MIPS   MIPS

18:       2632   291    807   2345  |      64949   400   1313   5248
19:       2532   296    765   2269  |      63899   400   1308   5226
20:       2459   305    735   2242  |      62752   399   1303   5202
21:       2440   317    722   2287  |      61536   399   1295   5171
----------------------------------  | ------------------------------
Avr:             302    757   2286  |              399   1305   5212
Tot:             351   1031   3749

7-Zip (a) [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,8 CPUs LE)

LE
CPU Freq: 64000000 - 64000000 - - 256000000 512000000 1024000000 2048000000

RAM size:     994 MB,  # CPU hardware threads:   8
RAM usage:     72 MB,  # Benchmark threads:      5

                       Compressing  |                  Decompressing
Dict     Speed Usage    R/U Rating  |      Speed Usage    R/U Rating
         KiB/s     %   MIPS   MIPS  |      KiB/s     %   MIPS   MIPS

18:       2795   292    854   2491  |      65205   397   1326   5269
19:       2681   299    805   2403  |      63928   396   1321   5228
20:       2586   306    771   2357  |      63097   397   1317   5231
21:       2580   319    759   2418  |      41902   267   1320   3521
----------------------------------  | ------------------------------
Avr:             304    797   2417  |              364   1321   4812
Tot:             334   1059   3615

7-Zip (a) [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,8 CPUs LE)

LE
CPU Freq: 32000000 64000000 64000000 64000000 128000000 256000000 512000000 512000000 1024000000

RAM size:     994 MB,  # CPU hardware threads:   8
RAM usage:    108 MB,  # Benchmark threads:      6

                       Compressing  |                  Decompressing
Dict     Speed Usage    R/U Rating  |      Speed Usage    R/U Rating
         KiB/s     %   MIPS   MIPS  |      KiB/s     %   MIPS   MIPS

18:       3941   428    820   3511  |      97373   597   1317   7866
19:       3791   443    767   3397  |      95196   594   1311   7789
20:       3642   451    736   3320  |      90796   576   1306   7528
21:       3590   464    724   3364  |      62519   402   1308   5256
----------------------------------  | ------------------------------
Avr:             447    762   3398  |              542   1311   7110
Tot:             495   1036   5254

7-Zip (a) [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,8 CPUs LE)

LE
CPU Freq: 32000000 64000000 64000000 64000000 128000000 256000000 512000000 - 2048000000

RAM size:     994 MB,  # CPU hardware threads:   8
RAM usage:    108 MB,  # Benchmark threads:      7

                       Compressing  |                  Decompressing
Dict     Speed Usage    R/U Rating  |      Speed Usage    R/U Rating
         KiB/s     %   MIPS   MIPS  |      KiB/s     %   MIPS   MIPS

18:       4016   437    818   3578  |      97652   599   1318   7888
19:       3880   457    760   3477  |      96070   598   1314   7861
20:       3766   472    728   3433  |      94367   599   1307   7824
21:       3669   481    715   3438  |      92524   598   1301   7779
----------------------------------  | ------------------------------
Avr:             462    755   3481  |              598   1310   7838
Tot:             530   1033   5660

7-Zip (a) [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,8 CPUs LE)

LE
CPU Freq: 64000000 64000000 64000000 64000000 128000000 256000000 512000000 1024000000 2048000000

RAM size:     994 MB,  # CPU hardware threads:   8
RAM usage:    145 MB,  # Benchmark threads:      8

                       Compressing  |                  Decompressing
Dict     Speed Usage    R/U Rating  |      Speed Usage    R/U Rating
         KiB/s     %   MIPS   MIPS  |      KiB/s     %   MIPS   MIPS

18:       5089   576    787   4535  |     128772   797   1308  10415
19:       4905   603    729   4395  |     126795   797   1302  10372
20:       4750   622    696   4330  |     124681   798   1295  10332
21:       4689   639    687   4394  |     121936   796   1287  10246
----------------------------------  | ------------------------------
Avr:             610    725   4413  |              797   1298  10341
Tot:             704   1011   7377