Play the same benchmarks in recent versions

In a previous article on benchmarks performed in 2018 and 2019, I did run the same benchmarks that were run at that time in different Phoronix articles.

Following the previous article that stated on initial benchmark comparison and can be used as a base, this new article aims to:

  • run the same benchmarks, in a more recent version, to check that some fixes have been considered
  • focus on my Talos 2, that is a dual 4-core machine, and so find machines to compare with
  • update the situation (the verdict!) of each one

Note that my goal is not to get the best results or the most reliable, I really want to provide a general status over a set of benchmarks and highlight results that are bad for the Power9, in order to identify problems and fix them if possible. So, during my work for this article, Firefox is opened and I did not set the performance governor as suggested by the Phoronix Test Suite.

Characterize a group of processors to compare with

The previous article allowed to identify a set of machines that were more or less in the same area of performance of … high-end Talos 2 configurations, with 20 to 32 cores:

  • AMD EPYC 7551
  • AMD EPYC 7601
  • 2 x Xeon Gold 6138
  • Threadripper 2990WX
  • Core i9 7980X

This time, I will use my own Talos 2, Talos II 2x 4-core default, as a reference.

So, we need to reconsider the processors to fight with. And this is a real difficulty: usually, in standard x86-64 processors, there are 2 threads per core, but with POWER9, there are 4 threads per core. Knowing that, what is significant for processor comparison? Should we compare processors with the same number of cores or threads? We also certainly have to compare processors of the same generation (year of release, more of less 1 or 2 years). And at the end, we want to have a view that is simple enough to get a fast opinion about how Talos 2 behaves in its first-entry configuration.

About the impact of cores versus threads, SMT improves efficiency but not the raw performance. It is useful to mask latencies (i.e. memory access). In compute-bound workloads (for example benchmarks on build), threads fight for the same resource, what limits the benefits. We have found that the number of cores is more important.

CPU specifications

I am not familiar with Intel and AMD processors and the naming is so messy that it does not help at all. I had to work a lot to understand enough for a global view and produce a first list of processors.

The selection of representative processors turned into a nightmare. The ones produced more or less at the same year only provided results in too old versions of benchmarks. So, I reoriented the methodology to select more recent processors with the risk to compare different generations. Is it so important?

I also needed to consider popularity of processors, with the number of results in the openbenchmarking.org. That allowed to obtain, in annex, a list of processors ordered in groups of performance.

So, we consider that Talos II 2x 4-core default is in the medium group, with processors from 2016 to 2019, that have around 8 cores.

I found in a Phoronix benchmark result named 1710047-TY-KAFFEE7095 that brought useful information.

It is expected it beats AMD Ryzen 5 and Intel Core i7 77x0. It competes with AMD Ryzen 7 1x00 and 4x00U models and Intel Core i7 7xxx and 8xxx models. Results approaching Intel Core i9 (7900X or above) and AMD Ryzen 9 would be excellent news. As a low-end configuration, I also ran benchmarks on my NUC powered by a Core i5-6200U, from 2015, with 2 cores / 4 threads.

Here is a table with a summary of processors, with their geometric mean:

Geometric Mean > Higher Is Better

Core i5 7600K                399
Talos II 2x 4-core Mathias   499
Core i7 4790K                533
Core i7 7740X                622
Core i7 7700K                625 +
Core i5 8400                 632
Ryzen 7 1700                 716 +
Core i7 8700K                801 +
Ryzen 7 1800X                812 +

At the end, I obtained a short list to compare results with these machines.

Choice of benchmarks

Some recent benchmarks have few results or results that have been run only on modern and very powerful machines, so they will provide results for no machine to compare with. Using old benchmarks are not interesting because they are not used anymore.

Identify benchmark versions which results can still be compared with the machines previously mentioned:

Previous Latest Chosen
pts/build-gcc-1.0.0 pts/build-gcc-1.6.0 pts/build-gcc-1.4.0
pts/build-llvm-1.1.0 pts/build-llvm-1.6.0 pts/build-llvm-1.4.0
pts/compress-7zip-1.7.1 pts/compress-7zip-1.12.0 pts/compress-7zip-1.11.0
pts/compress-zstd-1.0.0 pts/compress-zstd-1.6.0 pts/compress-zstd-1.6.0
pts/c-ray-1.1.1 pts/c-ray-2.0.0 pts/c-ray-2.0.0
pts/encode-flac-1.6.0 pts/encode-flac-1.9.0 pts/encode-flac-1.9.0
pts/encode-mp3-1.7.0 pts/encode-mp3-1.7.4 pts/encode-mp3-1.7.4
pts/openssl-1.11.0 pts/openssl-3.6.0 pts/openssl-3.3.0
pts/parboil-1.1.2 pts/parboil-1.2.1 pts/parboil-1.2.1
pts/pgbench-1.8.4 pts/pgbench-1.16.0 pts/pgbench-1.11.1
pts/phpbench-1.1.5 pts/phpbench-1.1.6 pts/phpbench-1.1.6
pts/povray-1.2.1 pts/povray-1.2.1 pts/povray-1.2.1
pts/primesieve-1.4.1 pts/primesieve-1.12.0 pts/primesieve-1.10.0
pts/pybench-1.1.2 pts/pybench-1.1.3 pts/pybench-1.1.3
pts/osbench-1.0.1 pts/osbench-1.0.2 pts/osbench-1.0.2
pts/redis-1.1.0 pts/redis-1.4.0 pts/redis-1.3.1
pts/rodinia-1.2.2 pts/rodinia-1.3.2 pts/rodinia-1.3.2
pts/rust-prime-1.0.0 pts/rust-prime-1.0.0 pts/rust-prime-1.0.0
pts/scikit-learn-1.0.1 pts/scikit-learn-2.0.0 pts/scikit-learn-1.2.0
pts/stockfish-1.1.1 pts/stockfish-1.7.0 pts/stockfish-1.7.0
pts/x264-2.3.2 pts/x264-2.7.0 pts/x264-2.7.0
system/blender-1.0.2 system/blender-1.2.2 system/blender-1.2.2
system/octave-benchmark-1.0.0 system/octave-benchmark-1.0.1 system/octave-benchmark-1.0.0

Run and analysis of each benchmark

Now that the situation has been clarified, about benchmark versions and processors, let’s study each benchmark one by one.

pts/build-gcc-1.4.0

In the previous tested version pts/build-gcc-1.0.0, that failed to installed so I have no reference.

The latest version is pts/build-gcc-1.5.0 (GCC 15.2) but it has too few results. My Talos 2, with a score of 2665, is in the low-tier part. So we use the previous version of the benchmark.

Timed GCC Compilation 13.2

Test Run Command: ./build-gcc

Test: Time To Compile (Seconds < Lower Is Better)

Brix Core i5-6200U:                   5679
Talos II 2x 4-core default:           2621
AMD Ryzen 5 4500U:                    2580
Intel Core i7-1185G7:                 2352
AMD Ryzen 7 4700U:                    1992
AMD Ryzen 5 5500U:                    1917
AMD Ryzen 7 3700X 8-Core:             1185
AMD Ryzen 7 5800X 8-Core:             1051

Talos 2 performance is close to the 6-core AMD Ryzen 5 4500U that is the weakest processor of our selection. AMD Ryzen 5 5500U and AMD Ryzen 7 4700U are 20% faster.

Verdict: AVERAGE

pts/build-llvm-1.4.0

This is the case same with pts/build-llvm-1.6.0 so we switched to pts/build-llvm-1.4.0.

Timed LLVM Compilation 13.0

Test Run Command: ./build-llvm Ninja

Build System: Ninja (Seconds < Lower Is Better)

AMD Ryzen 5 4500U:                    1615
AMD Ryzen 7 4700U:                    1277
AMD Ryzen 7 2700X:                    1022
Talos II 2x 4-core default:           1004
AMD Ryzen 5 5500:                      964
AMD Ryzen 7 3700X 8-Core:              709
Intel Core i9-11900K:                  642
AMD Ryzen 7 5800X 8-Core:              618
Intel Core i9-10900K:                  584

Test Run Command: ./build-llvm

Build System: Unix Makefiles (Seconds < Lower Is Better)

AMD Ryzen 5 4500U:                    1677
AMD Ryzen 7 4700U:                    1314
Talos II 2x 4-core default:           1092
AMD Ryzen 7 2700X:                    1041
AMD Ryzen 5 5500:                      995
AMD Ryzen 7 3700X 8-Core:              720
Intel Core i9-11900K:                  650
AMD Ryzen 7 5800X 8-Core:              634
Intel Core i9-10900K:                  591

The benchmark has evolved, now having variants with Ninja or Unix Makefiles. That does not change much the results on my machine, around 1100 seconds. It was around 500 seconds in the old test build-llvm-1.1.0 with LLVM 6.01 … but I see that the factor is the same with other machines, with a performance close to AMD Ryzen 5 5500 and AMD Ryzen 7 2700X, in the middle of the Core-i7 results.

Verdict: GOOD

pts/compress-7zip-1.11.0

7-Zip Compression 24.05

Test Run Command: ./compress-7zip

7-Zip Compression: Test: Compression Rating (MIPS > Higher Is Better)

Brix Core i5-6200U:            11320
AMD Ryzen 5 4500U:             32376
AMD Ryzen 5 5500U:             35396
AMD Ryzen 7 4700U:             36766
AMD Ryzen 7 1700X:             40772
Intel Core i7-8700:            41246
Talos II 2x 4-core default:    51030
AMD Ryzen 5 5500:              55157
AMD Ryzen 7 3700X 8-Core:      74133
AMD Ryzen 7 5800X 8-Core:      77336

On compression, the initial score with the old pts/compress-7zip-1.1.0 was around 40000, so it’s better but we can’t say if it is due to changes related to the platform or not (general improvements). The performance is rather good …

7-Zip Compression: Test: Decompression Rating (MIPS > Higher Is Better)

Brix Core i5-6200U:             8135
AMD Ryzen 5 4500U:             24714
AMD Ryzen 7 4700U:             28985
Intel Core i7-8700:            34193
AMD Ryzen 5 5500U:             34462
AMD Ryzen 7 1700X:             42725
Talos II 2x 4-core default:    51030
AMD Ryzen 7 3700X 8-Core:      61864
AMD Ryzen 7 5800X 8-Core:      79096

Decompression was not previously tested but let’s take it.

The build system is weird but it compiles well with no modification (it uses the -O2 option). At the installation step install.sh, the build is done with: CFLAGS="-O3 -march=native -Wno-error $CFLAGS" make -j $NUM_CPU_CORES -f makefile.gcc but options are not taken by the makefile. Anyway, that’s the same on x86-64, so no platform has a special advantage. It uses all cores.

I reported this problem with a new issue in the GitHub project.

The initial verdict was good. It is confirmed here, in both compression and decompression, it is at the level of AMD Ryzen 5 5500U and AMD Ryzen 7 1700X on one side and AMD Ryzen 7 3700X on the other side.

Verdict: GOOD

pts/compress-zstd-1.6.0

Test Run Command: ./compress-zstd -S -i30 -b19

There is a single command that provides results for both compression and decompression.

Zstd Compression: Compression Level: 19 - Compression Speed (MB/s > Higher Is Better)

Brix Core i5-6200U:            4
AMD Ryzen 5 4500U:             9
AMD Ryzen 5 5500U:             9
Intel Core i7-7700:           10
AMD Ryzen 7 2700X Eight-Core: 11
AMD Ryzen 7 7840U:            12
Talos II 2x 4-core default:   13
Intel Core i7-8700K:          13
AMD Ryzen Threadripper 3970X: 16
Intel Core i9-13900K:         20
AMD Ryzen 9 7900X:            22

Metrics have completely changed since the initial run of the old benchmark, that was good on POWER9 machines with this benchmark.

Zstd Compression: Compression Level: 19 - Decompression Speed (MB/s > Higher Is Better)

Brix Core i5-6200U:            639
Talos II 2x 4-core default:    716
AMD Ryzen 5 5500U:             887
Intel Core i7-5960X:           889
AMD Ryzen 5 4500U:             926
AMD Ryzen 7 2700X Eight-Core: 1145
AMD Ryzen Threadripper 3970X: 1375
Intel Core i7-8700K:          1394
AMD Ryzen 9 5950X:            1679
Intel Core i9-13900K:         2199
AMD Ryzen 9 9900X:            2364

Decompression was not previously tested but let’s take it.

On Brix Core i5-6200U, the 4 threads a running 100% but on Talos 2, the workload changes much and uses different threads, from one to another. I tried to change the SMT value but that did not change anything (single threaded benchmark).

Note: It seems to be multi-threading for compression (with a max of 7 threads though) but not for decompression.

SMT2: 10 MB/s on compression and 420 MB/s on decompression

Verdict: AVERAGE
To do: Investigate why compression is good but decompression is not! Mono-threaded?

pts/c-ray-2.0.0

C-Ray 2.0

Resolution: 4K - Rays Per Pixel: 16 (Seconds < Lower Is Better)

Test Run Command: ./c-ray -s 3840x2160 -r 16

Brix Core i5-6200U:           2199
Intel Core i7-1185G7:          844
AMD Ryzen 7 4700U:             571
Talos II 2x 4-core default:    398
AMD Ryzen 7 5800X 8-Core:      256

Resolution: 1080p - Rays Per Pixel: 16 (Seconds < Lower Is Better)

Test Run Command: ./c-ray -s 1920x1080 -r 16

Brix Core i5-6200U:            547
Intel Core i7-1185G7:          210
AMD Ryzen 7 4700U:             143
Talos II 2x 4-core default:    100
AMD Ryzen 7 5800X 8-Core:       64
AMD Ryzen 7 7700X:              56

In the middle of several models of AMD Ryzen 7, between models that have 8 cores and 16 threads, from Q1-2021 and Q2-2022.

There is no problem with compilation options (-O3 -ffast-math) and no obvious code optimization to find. All cores are used.

Verdict: GOOD

pts/encode-flac-1.9.0

Test Run Command: ./encode-flac

FLAC Audio Encoding: WAV To FLAC

Test Run Command: ./encode-flac

Brix Core i5-6200U:           129
Talos II 2x 4-core default:    58
Intel Core i7-1185G7:          44
AMD EPYC 7601 32-Core          38
AMD Ryzen 7 4700U:             38
AMD Ryzen Threadripper 7970X:  18
AMD Ryzen 9 9900X:             12

In this version, the benchmark is now multithreaded. Results are bad!

Last year, I tested the last single-threaded version, pts/encode-flac-1.8.1 (with flac 1.4.2) and the result was … 45.6 seconds. In the previous article, pts/encode-flac-1.6.0 (with flac 1.3.2) was used and it gave a result of 40.1 seconds. So, the results were worst, what was astounding because some patches were introduced in flac 1.3.3. Analyzing this situation, I found that … the PowerPC specific code was removed because no difference was found in terms of performance. The CI that reported results showed several options given to cmake. Applying patches brought into 1.3.3, I firstly confirmed no difference on 1.4.3 with or without VSX acceleration. And investigating more, I found that VSX was not detected, but with cmake only! The reason was on the detection of getauxval()! Detecting it right, we got the performance of 1.4.2 back.

Multi-threaded: YES
Verdict: BAD

pts/encode-mp3-1.7.4

LAME MP3 Encoding: WAV To MP3 (Seconds < Lower Is Better)

Talos II 2x 4-core default:    14
Brix Core i5-6200U:            13
AMD Ryzen 5 4500U:              8
AMD Ryzen 7 4700U:              8
Intel Core i9-11900K:           6

More or less the same performance than my core i5!!

At the time of pts/encode-mp3-1.7.0, it was identified that on POWER, optimization options were not set (-O3 -ffast-math and USE_FAST_LOG define) and the result was 75 on my machine. Now, thanks to a patch applied in the phoronix installation script, we confirm that they are. That can’t be done in the project repository because this one is dead since the latest release in October 2017! So, we clearly see the promised improvement by 5.3.

Nothing more can be done as the project does not live anymore. In the other case, improvements should come about vectorization as described by Shenki.

Multi-threaded: YES
Verdict: BAD
To do: Unfortunately nothing that can be integrated in the host project

pts/openssl-3.3.0

OpenSSL 3.3.0

OpenSSL: Algorithm: RSA4096 (Sign Per Second > Higher Is Better)

Brix Core i5-6200U:               409
AMD Ryzen 7 4700U:               1682
Talos II 2x 4-core default:      1698
AMD Ryzen 7 3700X 8-Core:        2407
AMD Ryzen 7 5800X 8-Core:        2616
AMD Ryzen 9 7900:                9389
AMD Ryzen Threadripper 7970X:   27510

OpenSSL: Algorithm: RSA4096 (Verify Per Second > Higher Is Better)

Brix Core i5-6200U:             26894
AMD Ryzen 7 4700U:             108712
Talos II 2x 4-core default:    118873
AMD Ryzen 7 3700X 8-Core:      155571
AMD Ryzen 7 5800X 8-Core:      169752
AMD Ryzen Threadripper 7970X:  707860

On Talos 2, all threads are used at 100%. Results are only 4 times better that my old NUC powered by a Core i5-6200U. But it is at the same level than Ryzen 7 4700U, that is in the same group than Talos 2.

Compilation option -O3 is used, on any platform.

Verdict: GOOD

pts/osbench-1.0.2

Previous verdict: GOOD Previous todo: Check optim options, they improved greatly the test Create Processes

OSBench: Test: Create Files (us Per Event < Lower Is Better)

Test Run Command: ./osbench create_files.exe target

Ampere eMAG ARMv8:              72
Talos II 2x 4-core default:     54
Brix Core i5-6200U:             37
Intel Core i7-5960X:            16

OSBench: Test: Create Threads (us Per Event < Lower Is Better)

Test Run Command: ./osbench create_threads.exe

ARMv8 Cortex-A72:               69
Talos II 2x 4-core default:     35
Brix Core i5-6200U:             34
Intel Core i7-5550U:            15
Intel Core i7-8809G:            11
Intel Core i9-9900K:             9
Intel Core i5-10600K:            7

That’s bad, Core i7-5550U is two times better.

OSBench: Test: Launch Programs (us Per Event < Lower Is Better)

Test Run Command: ./osbench launch_programs.exe

Intel Core i7-6700K:           868
Brix Core i5-6200U:            217
Talos II 2x 4-core default:     83

OSBench: Test: Create Processes (us Per Event < Lower Is Better)

Test Run Command: ./osbench create_processes.exe

Brix Core i5-6200U:             68
Talos II 2x 4-core default:     52
AMD Ryzen 5 4500U:              27
Intel Core i7-6800K:            24
Intel Core i7-3770:             21
Intel Core i9-9900K:            17
Intel Core i7-8086K:            14

The Phoronix website does not show any results for this benchmark. They are difficult to analyze. And their behavior relies on the kernel. Results on Talos 2 are bad or good, depending on the nature of the test. Optimization options are set with -O3. There is nothing special to do.

Verdict: AVERAGE

pts/parboil-1.2.1

Previous verdict: AVERAGE Previous todo: Focus OPEN MP CUTCP that does not seem to be optimized for POWER9

The following dependencies are needed and will be installed:

  • opencl-headers
  • ocl-icd-libopencl1
  • clinfo
  • ocl-icd-opencl-dev

There are dependencies still missing from the system:

  • OpenCL

It seems to be stuck in the past, with Python2 code that does not pass Python3 execution. So, it is not applicable.

Verdict: N/A

pts/pgbench-1.11.1

Previous verdict: GOOD Previous todo: Check optim options, that provide a boost

Now, PostgreSQL 14 is used and the benchmark is split differently with more variants in terms of factor, clients and mode (read only, read write) … So it became to complex to follow. I gave up.

Verdict: N/A

pts/phpbench-1.1.6

Previous verdict: AVERAGE Previous todo: Identify the source of the problem

Test Run Command: ./phpbench -i 2000000

PHPBench: PHP Benchmark Suite (Score > Higher Is Better)

Talos II 2x 4-core default:    190044
Brix Core i5-6200U:            512941
AMD Ryzen 7 4700U:             597597
AMD Ryzen Threadripper 3990X:  638318
AMD Ryzen 5 5500:              786454
AMD Ryzen 9 5950X:             907350
Intel Core i7-11700K:          995362
Intel Core i5-12600K:         1345845
AMD Ryzen 7 7700X 8-Core:     1212435

The benchmark uses the PHP version installed in the system, that is 8.2 on Debian 12 here.

This is a single threaded benchmark that has catastrophic performance: it is 2.5 times slower than my Brix Core i5-6200U! I tried to identify the root cause and first saw 2 points that may explain the situation: the lack of PCRE JIT and the GNU atomics, configured with the strongest option, __ATOMIC_SEQ_CST.

The difference with the installed PHP between x86_64 and PPC64LE is that for us the PCRE JIT support is not built in (php -i | grep -i pcre). On Brix, with initial config, the score is 492267. With PCRE JIT disabled, the score is 484829. So, no significant impact. Having it enabled on a local build on PPC64LE improves results by 2%.

I replaced __ATOMIC_SEQ_CST by __ATOMIC_ACQUIRE that is less strict but that does not change anything. Even __ATOMIC_RELAXED had no effect.

I also looked at OPCache. Enabling it with opcache.enable_cli=1 in /usr/php/8.2/cli/php.ini gave a score of 230939, what is 20% better. On my NUC, it was also disabled by default and enabling it, I got a score of 602918, so also 15 or 20% better. Interesting but that does not explain the huge difference between architectures.

Last, I used compilation options -mcpu=power9 -mtune=power9 but that changed nothing to the score! That’s the same running the benchmark on a specific core (I saw that the process tended to migrate several times).

So … the mystery is still there. That may be due to the memory organization and atomics. I found a big cache penalty in zend_is_identical() but I was not able to improve that. Help!

Multi-threaded: NO
Verdict: BAD

pts/povray-1.2.1

povray 3.7.0.7

Test Run Command: ./povray

POV-Ray: Trace Time (Seconds < Lower Is Better)

ThinkPad i5-5200:                 381
Brix Core i5-6200U:               297
AMD Ryzen 5 4500U:                110
Talos II 2x 4-core default:        93
AMD Ryzen 7 4700U:                 93
AMD Ryzen 5 5500U:                 86
Intel Core i7-8700K:               62
Intel Core i9-9900K:               48
AMD Ryzen 7 3700X 8-Core:          46
AMD Ryzen 7 5800X 8-Core:          38
Intel Core i9-11900K:              38
Intel Core i9-10900K:              35
Core i9 7980XE:                    28
Talos II 2 x 22c POWER9:           25
Threadripper 2990WX:               17

My Talos 2 is 3 times faster than my Brix Core i5-6200U. Its score is exactly the same than AMD Ryzen 7 4700U, in the middle of AMD Ryzen 5 4500U and AMD Ryzen 5 5500U. All threads are used correctly.

The version of povray has not changed and that’s the same with the results.

Compilation options on x86-64: -O3 -ffast-math -march=native

checking whether to enable optimizations... yes
checking whether g++ accepts -O3... yes
checking whether g++ accepts -ffast-math... yes
checking whether to enable architecture-specific optimizations... yes
./configure: line 15003: powerpc64le-unknown-linux-gnu: command not found
checking whether g++ accepts -mmultiple... no
checking whether g++ accepts -mstring... no
checking whether g++ accepts -mfused-madd... no
checking which architecture to optimize for... powerpc64le-unknown-linux-gnu | PowerPC G5

With -mcpu=power9, we get 89 seconds, instead of 93, let’s talk about a 5% improvement.

I profile the running benchmark but has seen no special pitfall.

Verdict: AVERAGE

pts/primesieve-1.10.0

Previous verdict: BAD Previous todo: Check if changes proposed have a positive and measurable impact

primesieve 12.1

[1e12 Prime Number Generation] Seconds < Lower Is Better

Test Run Command: ./primesieve-test 1e12 –quiet –time

Primesieve: Length: 1e12

Brix Core i5-6200U:                 146
Intel Core i7-8550U:                104
Intel Core i7-8565U:                 68
Intel Core i7-5960X:                 46
Talos II 2x 4-core default:          39
AMD Ryzen 5 5500U:                   37
AMD Ryzen 7 PRO 6850U:               30
Intel Core i9-12900K:                13

It runs on all threads.

Metrics have completely changed since pts/primesieve-1.4.1 so I have no key to compare between machines.

After a pull request by Anton Blanchard, the author had to make changes, having understood the issue. The previous result (pts/primesieve-1.4.1) was 44 for my machine, and 39 now, so the performance improved by 11%.

As this benchmark was to investigate, I checked various SMT models:

  • SMT2: 16 threads used at 100%, result is 36
  • SMT1: 8 threads used at 100%, result is 35

So that’s 10% better than with SMT4. Not so much.

[1e13 Prime Number Generation] Seconds < Lower Is Better

Primesieve: Length: 1e13

AMD Ryzen 7 PRO 5850U:                465
Talos II 2x 4-core default:           457
AMD Ryzen 7 4700U:                    411
AMD Ryzen 5 5500:                     344
AMD Ryzen 7 5800X:                    217
AMD Ryzen 5 7600X:                    208
AMD Ryzen 9 3900XT:                   174
AMD Ryzen 9 7900:                     123
AMD EPYC 7551 32-Core                 118
AMD Ryzen 9 7900X:                    104

Performance is at the same level than some Ryzen 7 and 5 models, and a bit better than Core i7.

Compilation optimization -O3 is used on any architecture but I saw that 2 features were supposed to make a huge difference on x86-64: usage of both AVX512 and popcnt-bmi (popcount on 64-bit integers).

Verdict: AVERAGE

On x86-64, at the end of install.log:

-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test atomic64
-- Performing Test atomic64 - Success
-- Performing Test ftree_vectorize
-- Performing Test ftree_vectorize - Success
-- Performing Test fvect_cost_model
-- Performing Test fvect_cost_model - Success
-- Performing Test multiarch_popcnt_bmi
-- Performing Test multiarch_popcnt_bmi - Success
-- Performing Test multiarch_avx512
-- Performing Test multiarch_avx512 - Success
-- Configuring done

And in CMakeLists.txt:

option(WITH_AUTO_VECTORIZATION "Enable compiler auto-vectorization" ON)
option(WITH_MULTIARCH          "Enable runtime dispatching to fastest supported CPU instruction set" ON)

pts/pybench-1.1.3

Previous verdict: VERY BAD Previous todo: Investigate

Test Run Command: ./pybench -n 20

PyBench: Total For Average Test Times

Talos II 2x 4-core default    3667
Brix Core i5-6200U:           1326
Intel Core i7-8700K:          1021
Intel Core i9-11900K:          689
AMD Ryzen 5 3500X:             985
AMD Ryzen 7 4700U:             975
AMD Ryzen 7 5800X 8-Core:      754
AMD Ryzen 7 7840U:             584
AMD Ryzen 9 7950X:             568

My Talos is almost 3 times slower than my Brix!! This was the only benchmark that I noted VERY BAD in my previous article.

SMT2: 3657

On x86:
  37,86%  python3          python3.10                 [.] _PyEval_EvalFrameDefault
   3,96%  swapper          [kernel.kallsyms]          [k] mwait_idle_with_hints.constprop.0
   2,63%  python3          python3.10                 [.] PyObject_RichCompare
Multi-threaded: NO
Verdict: VERY BAD

pts/redis-1.4.0

Previous verdict: BAD Previous todo: Check CPU activity

Test: GET - Parallel Connections: 500 (Requests Per Second)

AMD Ryzen 7 PRO 6850U:          338184
Talos II 2x 4-core default      509684
Intel Core i5-10500:           1567642
Brix Core i5-6200U:            1694313
AMD Ryzen Threadripper 3990X:  1707491
2 x Intel Xeon Platinum 8380:  2312051
AMD Ryzen 7 PRO 5850U:         2482465
Intel Core i5-12600K:          4408953
AMD Ryzen 9 7950X:             5589118
AMD Ryzen 7 7700X:             5696000

Test: SET - Parallel Connections: 500 (Requests Per Second)

Talos II 2x 4-core default      334931
AMD Ryzen 5 4500U:              338617
AMD Ryzen Threadripper 2990WX: 1204155
Intel Core i5-10500:           1266817
AMD Ryzen Threadripper 3990X:  1314784
Brix Core i5-6200U:            1349792
Intel Core i7-1165G7:          2190503
2 x Intel Xeon Platinum 8280:  2254878
Intel Core i9-13900K:          4007413
AMD Ryzen 7 7700X:             4338608
AMD Ryzen 9 7950X:             4213748

Tested with SMT off:

  • GET: 778260, a boost of 50%
  • SET: 569253, a boost of 50%
Verdict: VERY BAD

pts/redis-1.3.1

Server initialized
WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf
 and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
WARNING you have Transparent Huge Pages (THP) support enabled in your kernel. This will create latency and memory usage issues with Redis. To fix this issue run
 the command 'echo madvise > /sys/kernel/mm/transparent_hugepage/enabled' as root, and add it to your /etc/rc.local in order to retain the setting after a reboot. Redis must be restarted after THP is disabled (set to 'madvise' or 'never').

Redis: Test: LPOP

Talos II 2x 4-core default:     921498
Intel Core i7-4960X:            377425
AMD EPYC 7742:                 1213804
Brix Core i5-6200U:            1417662
2 x AMD EPYC 7302:             1769544
Intel Core i7-3770:            1870329
AMD Ryzen Threadripper 2990WX: 2162985

Redis: Test: SADD

Intel Core i7-4960X:            398185
Talos II 2x 4-core default:     696256
2 x AMD EPYC 7601:             1247830
Brix Core i5-6200U:            1268255
AMD Ryzen 3 3200U:             1321018
2 x AMD EPYC 7302:             1469768
AMD Ryzen 7 2700:              1561875
Intel Core i7-1065G7:          2233679
Intel Core i9-10900K:          2898173
AMD Ryzen 7 3800XT:            2180609
AMD Ryzen 5 5600X:             3100346
AMD Ryzen 7 5800X:             3034577

Redis: Test: LPUSH

Intel Core i7-4960X:            350201
Talos II 2x 4-core default:     508133
2 x Intel Xeon Gold 5117:       968288
Brix Core i5-6200U:            1024495
AMD EPYC 7702:                 1105672
AMD Ryzen 5 3400G:             1259918
Intel Core i5-8400:            1602136
Intel Core i7-1065G7:          1672870
Intel Core i7-9750H:           1743404
AMD Ryzen 9 5900X:             2172142
Intel Core i5-12400:           2775746
AMD Ryzen 5 5600X:             2285866
Intel Core i9-10900K:          2203730

Redis: Test: GET

Intel Core i7-4960X:            410945
POWER9:                         814399
Talos II 2x 4-core default:     879367
AMD FX-8370:                   1350939
Brix Core i5-6200U:            1392383
AMD Ryzen 5 3400G:             2070007
Intel Core i7-1065G7:          2617576
Intel Core i7-8700K:           2762026
Intel Core i7-7740K:           2813427
AMD Ryzen 5 5600X:             3652307
Intel Core i5-12400:           4286298
Intel Core i9-11900K:          4021330

Redis: Test: SET

Intel Core i5-3470:             320691
Intel Core i7-4960X:            375613
POWER9:                         573559
Talos II 2x 4-core default:     591191
Intel Xeon E5-2609 v4:          754258
Brix Core i5-6200U:             906043
AMD FX-8370:                   1090220
Intel Core i5-9400F:           1915344
Intel Core i7-1065G7:          1965954
Intel Core i7-9750H:           2043669
AMD Ryzen 9 5900X:             2533423
AMD Ryzen 9 5950X:             2728456
AMD Ryzen 5 5600X:             2770660
Intel Core i9-11900K:          3005947
Verdict: BAD

pts/rodinia-1.3.2

Previous verdict: AVERAGE Previous todo: Try a recent version and check optimization options

Rodinia: Test: OpenMP LavaMD (Seconds < Lower Is Better)

Test Run Command: ./rodinia OMP_LAVAMD

Brix Core i5-6200U:                1560
AMD Ryzen 3 1300X:                  619
Talos II 2x 4-core default          365
Intel Core i7-13700K:               103
AMD Ryzen 9 7945HX:                 101
Intel Core i9-13900K:                81
AMD Ryzen 9 9950X:                   77
AMD Ryzen Threadripper 7970X:        48

SMT2: 466 SMT1: 542

So, SMT4 brings a 27% speedup compared to SMT2.

The following dependencies are needed and will be installed: 

- opencl-headers
- ocl-icd-libopencl1
- clinfo
- ocl-icd-opencl-dev

This process may take several minutes.
Password : 
su: Authentication failure

There are dependencies still missing from the system:
- OpenCL

1: Ignore missing dependencies and proceed with installation
Verdict: AVERAGE

pts/rust-prime-1.0.0

Previous verdict: GOOD Previous todo: Run Mandelbrot that behaves poorly, in addition to Prime benchmark

Seconds < Lower Is Better

Brix Core i5-6200U:            71
Intel Core i5-4440:            62
AMD Ryzen 7 2700X Eight-Core   41
AMD Ryzen 7 3700X 8-Core:      40
Intel Core i7-10510U:          32
POWER9 4-Core:                 29
AMD Ryzen Threadripper 2950X:  21
Intel Core i7-7700K:           21
Intel Core i7-8700K:           20
Talos II 2x 4-core default:    13
AMD Ryzen Threadripper 2990WX  13
Intel Core i9-9900K            11

Definitely the most favorable benchmark for the Talos 2! Better than Core i7 and Ryzen 7 processors!

Multi-threaded: YES
Verdict: GOOD

pts/scikit-learn-1.2.0

scikit-learn-1.1.3

Previous verdict: BAD Previous todo: Run a more recent version of the benchmark and analyze “In the sthbrx article, it is said that the benchmark uses the libblas that is a basic implementation among others and with no optimization for POWER9. Alternative libraries bring major speedups.”

Single threaded benchmark

I really didn’t know which one to choose among 40 tests!

2025-10-10:

Scikit-Learn: Benchmark: MNIST Dataset

Test Run Command: ./scikit-learn mnist.py

AMD Ryzen 9 7950X:              69
AMD Ryzen 9 5950X:              84
AMD Ryzen 7 4700U:             113
AMD Ryzen 5 5500U:             114
Intel Core i7-1065G7:          117
Talos II 2x 4-core default:    186
Brix Core i5-6200U:            207
AMD Ryzen 5 4500U:             211
AMD Ryzen 7 4800U:             227

Scikit-Learn: Benchmark: TSNE MNIST Dataset

Test Run Command: ./scikit-learn tsne_mnist.py

AMD Ryzen 9 7950X:              18
AMD Ryzen 7 5700G:              26
AMD Ryzen Threadripper 3970X:   31
Intel Core i7-1165G7:           36
AMD Ryzen 7 4700U:              36
AMD Ryzen 5 5500U:              37
Intel Core i7-1065G7:           56
Talos II 2x 4-core default:     64
Brix Core i5-6200U:             78
AMD Ryzen 5 4500U:             125
AMD Ryzen 7 4800U:             128

Scikit-Learn: Benchmark: Sparse Random Projections, 100 Iterations

Test Run Command: ./scikit-learn random_projections.py –n-times 100

AMD Ryzen 9 7950X:               96
AMD Ryzen 9 5950X:              132
AMD Ryzen 7 4700U:              189
AMD Ryzen 5 5500U:              222
Intel Core i7-1065G7:           230
Brix Core i5-6200U:             332
Talos II 2x 4-core default:     371

The third benchmark is much worse for the Talos 2. Its results were expected at the level of the AMD Ryzen 7 4700U or AMD Ryzen 5 5500U. Globally, they are more at the level of Core i5-6200U.

Verdict: BAD

pts/stockfish-1.7.0

Previous verdict: AVERAGE Previous todo: To confirm heterogeneous results on a recent version and optim options

This version uses Stockfish 17.1, that includes my commit that adds auto-detection of ppc64, what enabled VSX and the use of x86 SSE2 intrinsics:

Config:
optimize: 'yes'
arch: 'ppc64'
bits: '64'
kernel: 'Linux'
os: 'GNU/Linux'
prefetch: 'yes'
popcnt: 'yes'
altivec: 'no'
vsx: 'yes'

ppc64 flags:
CXXFLAGS:  -Wall -Wcast-qual -fno-exceptions -std=c++17  -pedantic -Wextra -Wshadow -Wmissing-declarations -m64 -DUSE_PTHREADS -DNDEBUG -O3 -funroll-loops -DIS_64BIT -DUSE_POPCNT -mvsx -DNO_WARN_X86_INTRINSICS -DUSE_SSE2 -DARCH=ppc-64-vsx -flto -flto-partition=one

x86 flags:
CXXFLAGS:  -Wall -Wcast-qual -fno-exceptions -std=c++17  -pedantic -Wextra -Wshadow -Wmissing-declarations -m64 -DUSE_PTHREADS -DNDEBUG -O3 -funroll-loops -DIS_64BIT -msse -msse3 -mpopcnt -DUSE_POPCNT -DUSE_AVX2 -mavx2 -mbmi -DUSE_SSE41 -msse4.1 -DUSE_SSSE3 -mssse3 -DUSE_SSE2 -msse2 -DUSE_PEXT -mbmi2 -DARCH=x86-64-bmi2 -flto -flto-partition=one

That provides a noticeable boost:

  • On PowerMac G5, using altivec provides a performance improvement of 30%.
  • On Talos 2, using vsx provides a performance improvement of 120%.

Stockfish: Chess Benchmark (Nodes Per Second > Higher Is Better)

Test Run Command: ./stockfish

Brix Core i5-6200U:                    1374175
Intel Core i7-6700:                    3372378
Talos II 2x 4-core default:            3471015
AMD Ryzen 7 4700U                      3980897
AMD Ryzen 7 3700X 8-Core:              9952446
AMD Ryzen 7 7700 8-Core               15938015
AMD EPYC 7601 32-Core                 20556722

Talos 2 is at the level of 4 or 8 cores processors, both with 8 threads, on which extensions like SSE3, SSE4.1, AVX2 are used. A x3 boost would put it at the level of Ryzen 7 processors. Again, it is close to the AMD Ryzen 7 4700U.

Verdict: AVERAGE

pts/x264-2.7.0

Previous verdict: BAD Previous todo: That would require huge efforts …

x264 2022-02-22

x264: Video Input: Bosphorus 1080p (Frames Per Second > Higher Is Better)

Test Run Command: ./x264 –slow-firstpass Bosphorus_1920x1080_120fps_420_8bit_YUV.y4m

Brix Core i5-6200U:            18
Intel Core i5-7300U:           22
Talos II 2x 4-core default:    24
AMD Ryzen 5 4500U:             53
AMD Ryzen 7 4700U:             63
AMD Ryzen 5 5500U:             66
AMD Ryzen 7 4800U:             71
Intel Core i7-8700K:           78
AMD Ryzen 7 1700X Eight-Core:  78
AMD Ryzen 7 2700X:             87
Intel Core i9-11900K:         131
Intel Core i9-10900K:         138

Very bad for the Talos 2: only 1.5 times faster than my Brix and 2 to 3 times slower than Ryzen 5 and 7 processors.

Verdict: BAD

system/blender-1.2.1

Previous verdict: BAD Previous todo: Check if the project is fixed to use more than 16 threads

Blender 2.92

The benchmark system/blender-1.1.0 has no result so I had to choose system/blender-1.2.1 even if it has few results. There is also a more active benchmark named pts/blender but the architecture ppc64le is not supported.

Blender: Blend File: Classroom - Compute: CPU-Only

Brix Core i5-6200U:           2207
Talos II 2x 4-core default:   1225

Blender: Blend File: Pabellon Barcelona - Compute: CPU-Only

Brix Core i5-6200U:          3266
Talos II 2x 4-core default:  1598

Like with pts/x264-2.7.0, Talos 2 is less than 2 times faster than my Brix. Other runs shew a great variation but still in the same scale value.

I confirm that the 32 threads are used.

The conclusion for this benchmark in the previous article, with system/blender-1.0.2, was that Blender failed to use more than 15 threads, even when “-t 128” was added to the Blender command line. Now, the 32 cores are used.

Verdict: AVERAGE

system/octave-benchmark-1.0.0

Seconds - Lower is better

GNU Octave Benchmark:

Test Run Command: ./octave-benchmark

Talos II 2x 4-core default: 13
Brix Core i5-6200U:         12
Intel Core i7-1185G7:        7

With the previous benchmark version system/octave-benchmark-1.0.0, we got a score of 13 for my Talos 2. And the same scores for x86 machines.

  11,44%  octave-cli       liboctave.so.9.0.0          [.] octave::idx_vector::index<double>
   5,59%  octave-cli       libc.so.6                   [.] __memmove_avx_unaligned_erms

And many entries with libopenblasp-r0.3.21.so. This is the same version on Talos 2, where the top 12% are spent in this library, including 6% in dgemv_n_POWER9.

Verdict: BAD

Conclusion

This is the list with a verdict and things that could be done, for each benchmark:

Benchmark MT Verdict To do
pts/build-gcc-1.4.0 YES AVERAGE  
pts/build-llvm-1.4.0 YES GOOD  
pts/compress-7zip-1.11.1 YES GOOD Check optim options and results in recent version of the benchmark
pts/compress-zstd-1.6.0 NO AVERAGE Find why compression is good but decompression is not! Mono-threaded?
pts/c-ray-2.0.0 YES GOOD  
pts/encode-flac-1.9.0 YES BAD  
pts/encode-mp3-1.7.4 NO BAD Nothing: the host project is dead
pts/openssl-3.3.0 YES GOOD  
pts/osbench-1.0.2 N/A AVERAGE Check optim options, creating processes and thread is bad
pts/parboil-1.2.1 ? N/A Nothing: Failed to install
pts/pgbench-1.11.1 YES N/A Check optim options, that provide a boost
pts/phpbench-1.1.6 NO AVERAGE Identify the source of the problem
pts/povray-1.2.1 YES BAD Investigate, profile …
pts/primesieve-1.10.1 YES BAD Check if changes proposed have a positive and measurable impact
pts/pybench-1.1.3 NO VERY BAD Still to investigate
pts/redis-1.3.1 NO BAD Check CPU activity (less powerful than Core i5 6200U
pts/rodinia-1.3.2 ? AVERAGE Try a recent version and check optimization options
pts/rust-prime-1.0.0 YES GOOD Run Mandelbrot that behaves poorly, in addition to Prime benchmark
pts/scikit-learn-1.2.0 ? BAD Run a more recent version of the benchmark and analyze
pts/stockfish-1.7.1 YES AVERAGE  
pts/x264-2.7.0 YES BAD That would require huge efforts …
system/blender-1.2.2 YES AVERAGE  
system/octave-benchmark-1.0.0 YES BAD  

At the level of AMD Ryzen 7 4700U (8 cores, 8 threads, 2019). That confirms our estimation. It is also close to the AMD Ryzen 5 5500U (6 cores, 12 threads, 2020), I thought it would be a bit weaker, but it benefits from one generation and more threads.

With upgraded benchmarks, globally, results have not changed much.

Issues with phoronix-test-suite, many tickets not resolved and not even answered

The global verdict is still difficult to tell … in some cases the POWER9 behaves well but some benchmark results are incomprehensibly low, even if expected in cases where SIMD is used but not implemented or too basically on our beloved architecture.

There is still so much room for improvements!

Annexes

System information

Talos 2

Here are details about my configuration:

  PROCESSOR:              POWER9 @ 3.80GHz
    Core Count:           32
    Scaling Driver:       powernv-cpufreq ondemand (Boost: Enabled) 

  GRAPHICS:               Sapphire AMD Radeon RX 570 8GB
    Frequency:            1244/1750MHz
    BAR1 / Visible vRAM:  8192 MB
    OpenGL:               4.6 Mesa 22.3.6 (LLVM 15.0.6 DRM 3.49) 
    Monitor:              PHL 247E6
    Screen:               1920x1080

  MOTHERBOARD:            PowerNV T2P9D01 REV 1.01
    Audio:                AMD Ellesmere HDMI Audio
    Network:              2 x Broadcom NetXtreme BCM5719 PCIe 

  MEMORY:                 32GB

  DISK:                   Samsung SSD 970 EVO 500GB
    File-System:          ext4
    Mount Options:        errors=remount-ro relatime rw 
    Disk Scheduler:       NONE
    Disk Details:         Block Size: 4096

  OPERATING SYSTEM:       Debian 12
    Kernel:               6.1.0-39-powerpc64le (ppc64le)
    Desktop:              KDE Plasma 5.27.5
    Display Server:       X Server 1.21.1.7
    Compiler:             GCC 12.2.0 + Clang 14.0.6

Brix

  PROCESSOR:              Intel Core i5-6200U @ 2.80GHz
    Core Count:           2
    Thread Count:         4
    Extensions:           SSE 4.2 + AVX2 + AVX + RDRAND + FSGSBASE
    Cache Size:           3 MB
    Microcode:            0xf0
    Core Family:          Skylake
    Scaling Driver:       intel_pstate powersave (EPP: balance_performance) 

  GRAPHICS:               Gigabyte Intel HD 520 SKL GT2 16GB
    Frequency:            1000MHz
    OpenGL:               4.6 Mesa 22.3.6
    Monitor:              PL2283H
    Screen:               1920x1080

  MOTHERBOARD:            GIGABYTE MKLP5CP-00
    BIOS Version:         F2
    Chipset:              Intel Xeon E3-1200 v5/E3-1500 
    Audio:                Realtek ALC255
    Network:              Intel I219-LM + Intel 3165

  MEMORY:                 16GB

  DISK:                   2000GB Samsung SSD 870
    File-System:          ext4 
    Mount Options:        errors=remount-ro relatime rw 
    Disk Scheduler:       MQ-DEADLINE
    Disk Details:         Block Size: 4096

  OPERATING SYSTEM:       Debian 12
    Kernel:               6.1.0-40-amd64 (x86_64)
    Display Server:       X Server 1.21.1.7
    Compiler:             GCC 12.2.0 + Clang 14.0.6

Processor list

Perf Processor Cores Threads Year Results
Low Brix Core i5-6200U 2 4 2015 165226
Low Intel Core i7 7700K 4 8 2016 59940
Low Intel Core i7 1185G7 4 8 2021 20229 +
Low AMD Ryzen 5 4500U 6 6 2019 26937 + 629
Low AMD Ryzen 5 3600X 6 12 2019 27060 +- 169
Low AMD Ryzen 5 5500U 6 12 2020 18261 + 545
Low Intel Core i7 8700K 6 12 2017 46935 + 485
Medium Intel Core i7 7820X 8 16 2016 3541
Medium AMD Ryzen 7 4700U 8 8 2019 19501 + 894 +++
Medium AMD Ryzen 7 1700 8 16 2017 33461
Medium AMD Ryzen 7 1800X 8 16 2017 34114
Medium AMD Ryzen 7 4800U 8 16 2019 5299 +- 198
Medium AMD Ryzen 7 3700X 8 16 2019 39349 + 396
Medium AMD Ryzen 7 5800X 8 16 2020 45765 + 660 +++
Medium Intel Core i9 7900X 10 20 2016 1695
Medium+ Core i9-11900K 8 16 2021 28501 + 368
Medium+ Core i9-10900K 10 20 2020 25443 + 426 +++
Medium+ Core i9-12900K 8 16 2022 32244
High- Ryzen 9 3900X 12 24 2019 64250 +-
High- Ryzen 9 5900X 12 24 2020 58652
High Intel Core i9 7960X 16 32 2016 13718
High AMD Ryzen 9 7945HX 16 32 2017 2082
High AMD Ryzen Threadripper 1950X 16 32 2017 21595
High AMD Ryzen Threadripper 2950X 16 32 2018 15609
High Intel Core i9 7980XE 18 36 2016 43198
High AMD Ryzen 9 3950X 16 32 2019 34219
High AMD Ryzen 9 5950X 16 32 2020 84439 +
High Intel Core i7 13700 16 24 2022 7551
High AMD Ryzen 9 7950X 16 32 2022 56355
High Intel Core i7 14700 20 28 2023 4317
High AMD Ryzen 9 9950X 16 32 2024 18871
Extreme AMD EPYC 7551 32 64 2017  
Extreme AMD EPYC 7601 32 64 2017  
Extreme AMD Ryzen Threadripper 2990X 32 64 2018  
Extreme AMD Ryzen Threadripper 3990X 64 128 2019