<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="4.2.2">Jekyll</generator><link href="http://localhost:4000/feed.xml" rel="self" type="application/atom+xml" /><link href="http://localhost:4000/" rel="alternate" type="text/html" /><updated>2026-10-24T22:26:19+02:00</updated><id>http://localhost:4000/feed.xml</id><title type="html">powerpc-lab</title><subtitle>So many things to experiment on PowerPC!</subtitle><entry><title type="html">Debian 13 installation on iMac G5</title><link href="http://localhost:4000/linux/2026/10/17/debian_13-installation-on-imac-g5.html" rel="alternate" type="text/html" title="Debian 13 installation on iMac G5" /><published>2026-10-17T23:35:41+02:00</published><updated>2026-10-17T23:35:41+02:00</updated><id>http://localhost:4000/linux/2026/10/17/debian_13-installation-on-imac-g5</id><content type="html" xml:base="http://localhost:4000/linux/2026/10/17/debian_13-installation-on-imac-g5.html"><![CDATA[<p>After my previous article on this installation on MacMini G4, I wanted to add information for comparison with a <code class="language-plaintext highlighter-rouge">ppc64</code> image. This is also the opportunity to collect and share (even for myself) useful information. And also better understand behaviours about GPU acceleration.</p>

<p>With its form factor, the iMac G5 has a builtin graphics card, that is in my case <code class="language-plaintext highlighter-rouge">Nvidia GeForce FX Go5200</code>.</p>

<h2 id="download-and-installation">Download and installation</h2>

<p>I downloaded the <code class="language-plaintext highlighter-rouge">ppc64 image</code> among <a href="https://cdimage.debian.org/cdimage/ports/snapshots/2026-06-12/">a set of Debian images provided in June 2026</a> to test. Then I wrote it in a USB stick with <code class="language-plaintext highlighter-rouge">sudo dd if=/home/mathias/Downloads/debian-13.0.0-ppc64-NETINST-1.iso of=/dev/sdb</code>.</p>

<p>On the iMac, the USB stick initially plugged in the third USB port (from the top) was not recognized. I had to choose one of the upper ports. Then I powered the machine maintaining these 4 keys: <code class="language-plaintext highlighter-rouge">Win + Alt + O + F</code>. The early boot stops and I had to write an extra long path: <code class="language-plaintext highlighter-rouge">/ht@0,f2000000/pci@2/usb@b,1/disk@1:,\boot\grub\powerpc.elf</code> (use <code class="language-plaintext highlighter-rouge">dev / ls</code> to list the device tree), as there were no matching alias listed by <code class="language-plaintext highlighter-rouge">devalias</code>.</p>

<p>I chose the <code class="language-plaintext highlighter-rouge">Default install</code>, asking for the whole disk with all in the same partition. I installed <code class="language-plaintext highlighter-rouge">LXDE</code> that is the one that works correctly on PowerPC machines.</p>

<p>The installation itself went well. After the required reboot, I was able to log in and start using Linux 7.0.14. A quick check with <code class="language-plaintext highlighter-rouge">dmesg</code> reported that the <code class="language-plaintext highlighter-rouge">nouveau</code> driver and the <code class="language-plaintext highlighter-rouge">b43</code> driver were not installed: more in their dedicated sections.</p>

<h2 id="upgrade-and-install-packages">Upgrade and install packages</h2>

<p>Like on MacMini, I tried to install all these packages:</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>apt install hfsprogs strace mesa-utils fastfetch meld linux-perf gedit curl

apt install caja

apt install git gcc g++ build-essential clang subversion automake make cmake \
  meson libsdl2-dev libsdl2-image-dev libopenal-dev cppcheck cppcheck-gui

apt install netsurf-gtk abiword ffmpeg-gui vlc gimp scummvm darkplaces
</code></pre></div></div>

<p>They all succeeded to install except two:</p>

<ul>
  <li>ffmpeg-gui: <code class="language-plaintext highlighter-rouge">Package ffmpeg-gui is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or is only available from another source</code></li>
  <li>abiword: It has unsatisfied dependencies, including <code class="language-plaintext highlighter-rouge">libgoffice-0.10-10</code></li>
</ul>

<h3 id="gpu-support-and-acceleration">GPU support and acceleration</h3>

<p>The main source of stress is about the graphical layers independently supported and working together.</p>

<h4 id="check-that-glx-module-is-loaded-by-xorg">Check that GLX module is loaded by Xorg</h4>

<p>Looking at X.org log, I found:</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>(II) LoadModule: "nouveau"
(WW) Warning, couldn't open module nouveau
(EE) Failed to load module "nouveau" (module does not exist, 0)
(II) LoadModule: "nv"
(WW) Warning, couldn't open module nv
(EE) Failed to load module "nv" (module does not exist, 0)
</code></pre></div></div>

<p>So, <code class="language-plaintext highlighter-rouge">nouveau</code> was not installed by default, I had to run <code class="language-plaintext highlighter-rouge">apt install xserver-xorg-video-nouveau</code>.</p>

<p>The driver is there: <code class="language-plaintext highlighter-rouge">/usr/lib/powerpc64-linux-gnu/dri/nouveau_dri.so</code>. It contains (in this unique file) the Gallium drivers for NVIDIA GPUs, including <code class="language-plaintext highlighter-rouge">nv30</code> for the <code class="language-plaintext highlighter-rouge">GeForce FX</code>. It is also listed within <code class="language-plaintext highlighter-rouge">lsmod</code> results.</p>

<p>Let’s check that <code class="language-plaintext highlighter-rouge">GLX</code> is loaded:</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code># grep -E "(glx|GLX)" /var/log/Xorg.0.log
(II) LoadModule: "glx"
(II) Loading /usr/lib/xorg/modules/extensions/libglx.so
(II) Module glx: vendor="X.Org Foundation"
(==) NOUVEAU(0): GLX sync to VBlank enabled.
(II) Initializing extension GLX
(II) AIGLX: Loaded and initialized nouveau
(II) GLX: Initialized DRI2 GL provider for screen 0
(II) AIGLX: Suspending AIGLX clients for VT switch
(II) AIGLX: Resuming AIGLX clients after VT switch
</code></pre></div></div>

<p>We see that <code class="language-plaintext highlighter-rouge">DRI2</code> is used and <code class="language-plaintext highlighter-rouge">DRI3</code> does not even appear …</p>

<h4 id="check-which-driver-is-used">Check which driver is used</h4>

<p>We expect <code class="language-plaintext highlighter-rouge">nouveau</code>, and that’s hopefully it:</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code># grep -E "(nouveau|modesetting|fbdev|vesa)" /var/log/Xorg.0.log
(II) NOUVEAU(0): [DRI2]   DRI driver: nouveau
(II) NOUVEAU(0): [DRI2]   VDPAU driver: nouveau
(II) AIGLX: Loaded and initialized nouveau
</code></pre></div></div>

<p>We also see that the 2D acceleration method <code class="language-plaintext highlighter-rouge">EXA</code> is enabled.</p>

<h4 id="check-the-direct-rendering">Check the direct rendering</h4>

<p>Let’s check that the DRM device exists:</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code># ls /dev/dri/
by-path  card0	renderD128
</code></pre></div></div>

<p>They exist so that’s another good point. We could also check with <code class="language-plaintext highlighter-rouge">dmesg | grep -i nouveau</code> that the kernel driver is loaded and initialized correctly.</p>

<h4 id="check-the-glx-libraries">Check the GLX libraries</h4>

<p>Run <code class="language-plaintext highlighter-rouge">dpkg -l | grep -E 'mesa|glx|libgl'</code> and at least <code class="language-plaintext highlighter-rouge">libgl1-mesa-dri</code>, <code class="language-plaintext highlighter-rouge">libglx-mesa0</code> and <code class="language-plaintext highlighter-rouge">mesa-utils</code> should be installed.</p>

<h4 id="check-the-x-extensions">Check the X extensions</h4>

<p>Run <code class="language-plaintext highlighter-rouge">xdpyinfo | grep GLX</code>. If it displays <code class="language-plaintext highlighter-rouge">GLX</code>, then X exposes the GLX extension. Again, it is good!</p>

<h4 id="lets-summarize">Let’s summarize</h4>

<p>So it is very frustrating because there is no major defect … but even if MESA supports this GPU, it misses modern features that are used in recent MESA versions with DRI3. I built version 21.3.9 and with it, the acceleration was enabled but there were drawbacks and even crashes. I wanted to try version 24.3.4 but did not go beyond the first compilation error.</p>

<p>Let’s stay with this situation:</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>$ glxinfo -B 
name of display: :0.0
display: :0  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: Mesa (0xffffffff)
    Device: llvmpipe (LLVM 22.1.8, 128 bits) (0xffffffff)
    Version: 26.2.4
    Accelerated: no
    Video memory: 1921MB
    Unified memory: yes
    Preferred profile: core (0x1)
    Max core profile version: 4.6
    Max compat profile version: 4.6
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.2
</code></pre></div></div>

<p>To keep more information about this model of iMac G5:</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>$ lspci -nnk | grep -A5 -Ei 'VGA|3D|Display'
0000:f0:10.0 VGA compatible controller [0300]: NVIDIA Corporation NV34M [GeForce FX Go5200] [10de:0329] (rev a1)
	Subsystem: NVIDIA Corporation Powerbook G4 [10de:0010]
	Kernel driver in use: nouveau
	Kernel modules: nouveau
0001:00:00.0 Host bridge [0600]: Apple Inc. U4 PCIe [106b:0056]
	Kernel modules: uninorth_agp, macio_asic
</code></pre></div></div>

<h4 id="a-last-x-fix-as-we-are-here">A last X fix as we are here</h4>

<p>I gave up about 3D acceleration but I looked at how this annoying message about EDID polluted the system logs:</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>nouveau 0000:f0:10.0: drm: DDC responded, but no EDID for TV-1
EDID block 0 is all zeroes
nouveau 0000:f0:10.0: drm: DDC responded, but no EDID for TV-1
EDID block 0 is all zeroes
nouveau 0000:f0:10.0: drm: DDC responded, but no EDID for TV-1
EDID block 0 is all zeroes
nouveau 0000:f0:10.0: drm: DDC responded, but no EDID for TV-1
EDID block 0 is all zeroes
nouveau 0000:f0:10.0: drm: DDC responded, but no EDID for TV-1
</code></pre></div></div>

<p>After a search and a test modifying the boot command, I added it permanently:</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>sudo nano /etc/default/grub
Update the line: GRUB_CMDLINE_LINUX_DEFAULT="quiet video=TV-1:d"
sudo update-grub
</code></pre></div></div>

<h3 id="wi-fi">Wi-Fi</h3>

<p>And it also reminds that the Wi-Fi driver is not installed:</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>b43 ssb0:0: Direct firmware load for b43/ucode5.fw failed with error -2
b43 ssb0:0: Direct firmware load for b43/ucode5.fw failed with error -2
b43 ssb0:0: Direct firmware load for b43-open/ucode5.fw failed with error -2
b43 ssb0:0: Direct firmware load for b43-open/ucode5.fw failed with error -2
b43-phy0 ERROR: Firmware file "b43/ucode5.fw" not found
b43-phy0 ERROR: Firmware file "b43-open/ucode5.fw" not found
</code></pre></div></div>

<p>So I followed these instructions:</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>apt install firmware-b43-installer

modprobe -r b43 ssb bcma
modprobe b43

dmesg | grep -i b43
</code></pre></div></div>

<p>After that, I had to go to the settings panel <code class="language-plaintext highlighter-rouge">Advanced network preferences</code> and create a new connection. After it was saved, the Wi-Fi connection worked perfectly even if it looked very slow (browsing, updating packages …).</p>

<h2 id="tests-per-category">Tests per category</h2>

<p>This is below a report per category of the tested applications.</p>

<p><strong>System</strong></p>

<p>I had a better experience that on MacMini: USB stick mounted automatically (a bit surprisingly in <code class="language-plaintext highlighter-rouge">/run/media/mathias/</code>), no color corruption coming back to the session after a session lock screen, once in Wi-Fi the wired connection is activated when the cable is plugged in …</p>

<p>However, the fan is noisy and the <code class="language-plaintext highlighter-rouge">cpufreq</code> does work, unfortunately. In theory, it accepts 2 frequencies: <code class="language-plaintext highlighter-rouge">900000</code> and <code class="language-plaintext highlighter-rouge">1800000</code>. It also has 2 governors: <code class="language-plaintext highlighter-rouge">performance</code> (default) and ` schedutil`. Even setting the second one, the frequency always stays at its maximum.</p>

<p>On <code class="language-plaintext highlighter-rouge">apt update</code>, I had the message <code class="language-plaintext highlighter-rouge">Skipping acquire of configured file 'main/source/Sources' as repository 'http://deb.debian.org/debian-ports sid InRelease" does not seem to provide it (sources.list entry misspelt?)</code>. In <code class="language-plaintext highlighter-rouge">/etc/apt/sources.list.d/debian-ports.sources</code>, I had to remove <code class="language-plaintext highlighter-rouge">deb-src</code> in the line <code class="language-plaintext highlighter-rouge">Types: deb deb-src</code>.
To be able to use sources packages, and because they are at the Debian level and not Debian ports, I created a new dedicated file <code class="language-plaintext highlighter-rouge">/etc/apt/sources.list.d/debian-sources.sources</code> with this content:</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>Types: deb-src
URIs: http://deb.debian.org/debian/
Suites: sid
Components: main
Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
</code></pre></div></div>

<p><strong>Development</strong></p>

<p>After few months and several runs of <code class="language-plaintext highlighter-rouge">apt upgrade</code>, the system comes with gcc 16.2 and clang 21.1.
I wanted to test more development tools and build few projects but there is no reason to have big surprises in this area.
Tried a simple <code class="language-plaintext highlighter-rouge">perf stat</code> command: looks quite good except the 177 % of branch miss rate. If I remember well, it has been the case for a long time.</p>

<p>One of the interests on this system is the possibility to contribute to packages. I started to read information about that and one of the first thing is to access the sources of each package, what I did in the previous section. I started to investigate but it is not straightforward so it will deserve a specific article.</p>

<p><strong>OpenGL</strong></p>

<p>With <code class="language-plaintext highlighter-rouge">DRI3</code> forced and so <code class="language-plaintext highlighter-rouge">NV34</code> renderer activated, <code class="language-plaintext highlighter-rouge">vblank_mode=0 glxgears</code> runs at 522 FPS.
I switch back to the default version and settings due to many drawbacks in real applications.</p>

<p><strong>Games</strong></p>

<p>I tried several games like <code class="language-plaintext highlighter-rouge">ScummVM</code> (with Broken Sword 2 and Flight Of The Amazon Queen) and <code class="language-plaintext highlighter-rouge">SDLPoP</code> that work well. I In the other sides, 3D games are not playable, like <code class="language-plaintext highlighter-rouge">Darkplaces</code> and even <code class="language-plaintext highlighter-rouge">Chocolate Doom</code> or <code class="language-plaintext highlighter-rouge">Crispy Doom</code> … due to the software rendering.</p>

<p><strong>Video</strong></p>

<p>I should have prepared better some videos of different formats and resolutions. But basically, I can say that <code class="language-plaintext highlighter-rouge">mplayer</code> and <code class="language-plaintext highlighter-rouge">VLC</code> and <code class="language-plaintext highlighter-rouge">mpv</code> work even if the display has some drops on 720p videos. It was better when I had the opportunity to test <code class="language-plaintext highlighter-rouge">mesa-21.3.9</code> … that had other drawbacks.</p>

<p><strong>Audio</strong></p>

<p>It works playing mp3 files with the very basic <code class="language-plaintext highlighter-rouge">LXMusic</code>.</p>

<p><strong>Internet</strong></p>

<p>A word about several candidates for this touchy topic:</p>

<ul>
  <li><code class="language-plaintext highlighter-rouge">Netsurf</code>: It works but with its own limitations.</li>
  <li><code class="language-plaintext highlighter-rouge">ArcticFox</code>: I downloaded and installed the <a href="https://github.com/rmottola/Arctic-Fox/releases/download/v47.3/arcticfox-47.3.en-US.linux-powerpc-G3.tar.bz2">latest G3 version</a> (Note that the G4 version crashes). It works but it may be so slow that it is for example not really usable with GitHub.</li>
  <li><code class="language-plaintext highlighter-rouge">Firefox</code>: It has packages <code class="language-plaintext highlighter-rouge">firefox-esr</code> (version 128.4) and <code class="language-plaintext highlighter-rouge">firefox</code> (version 146.0) but they fail to be installed due to dependencies that can’t be installed: <code class="language-plaintext highlighter-rouge">libevent-2.1-7t64</code> and <code class="language-plaintext highlighter-rouge">libvpx9</code> …</li>
</ul>

<h2 id="conclusion">Conclusion</h2>

<p>The experience on the iMac G5 was rather good even if they are few big missing things: GPU acceleration and a good Internet browser. It could have been a nice solution with its 2 GB RAM and its compact and pretty form factor.
But let’s provide more details:</p>

<ul>
  <li>Installation works with no problem and this is the same with system upgrades and kernel updates (except a <a href="#grub-update">GRUB update</a>).</li>
  <li>The system is stable and more reactive than the MacMini G4, no problem on package updates … powerful enough to play some ScummVM games or some videos.</li>
  <li>The fan is noisy and the <code class="language-plaintext highlighter-rouge">cpufreq</code> feature does not work.</li>
  <li>Firefox not available, no ArcticFox for <code class="language-plaintext highlighter-rouge">ppc64</code> so I had to use the <code class="language-plaintext highlighter-rouge">powerpc</code> version, installing manually the required libraries.</li>
  <li>Still no 3D acceleration, even with much effort, with the GeForce 5200, we are in an in-between situation.</li>
  <li>There were annoying EDID errors in system logs, but easy to fix (with an option in the kernel boot command).</li>
  <li>There is some room for investigation on <code class="language-plaintext highlighter-rouge">firefox</code> and <code class="language-plaintext highlighter-rouge">mesa</code>, quite hard though.</li>
  <li>MATE installation went well but the desktop is completely corrupted (not possible to open the desktop).</li>
</ul>

<h2 id="annexes">Annexes</h2>

<p>Data below provides information that I want to keep easily accessible from the website, even if it contains many details that are not directly useful for the overview.</p>

<h3 id="perf-stat">perf stat</h3>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>$ sudo perf stat -a sleep 10
 Performance counter stats for 'system wide':

               934      context-switches                 #     92,9 cs/sec  cs_per_second     
         10 052,46 msec cpu-clock                        #      1,0 CPUs  CPUs_utilized       
                 0      cpu-migrations                   #      0,0 migrations/sec  migrations_per_second
               517      page-faults                      #     51,4 faults/sec  page_faults_per_second
       154 075 304      branch-misses                    #    117,5 %  branch_miss_rate
       131 077 227      branches                         #     13,0 M/sec  branch_frequency
     1 850 882 439      cpu-cycles                       #      0,2 GHz  cycles_frequency
       654 976 145      instructions                     #      0,4 instructions  insn_per_cycle

      10,051933704 seconds time elapsed
</code></pre></div></div>

<h3 id="glxinfo-with-dri3">glxinfo with DRI3</h3>

<p>With option DRI3 enabled, we get:</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>$ glxinfo -B
name of display: :0.0
display: :0  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: Mesa (0x10de)
    Device: NV34 (0x329)
    Version: 26.2.4
    Accelerated: yes
    Video memory: 57MB
    Unified memory: no
    Preferred profile: compat (0x2)
    Max core profile version: 0.0
    Max compat profile version: 1.5
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 0.0
Memory info (GL_ATI_meminfo):
    VBO free memory - total: 46 MB, largest block: 46 MB
    VBO free aux. memory - total: 102 MB, largest block: 102 MB
    Texture free memory - total: 46 MB, largest block: 46 MB
    Texture free aux. memory - total: 102 MB, largest block: 102 MB
    Renderbuffer free memory - total: 46 MB, largest block: 46 MB
    Renderbuffer free aux. memory - total: 102 MB, largest block: 102 MB
Memory info (GL_NVX_gpu_memory_info):
    Dedicated video memory: 57 MB
    Total available memory: 185 MB
    Currently available dedicated video memory: 46 MB
OpenGL vendor string: Mesa
OpenGL renderer string: NV34
OpenGL version string: 1.5 Mesa 26.2.4-1
</code></pre></div></div>

<h3 id="mesa-build">MESA build</h3>

<p>This is not the topic but at least, let’s keep some information:</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>sudo apt install git meson ninja-build pkg-config flex bison python3-mako libdrm-dev
sudo apt install libexpat1-dev libx11-dev libxext-dev libxdamage-dev libxfixes-dev
sudo apt install libxrandr-dev libxcb-glx0-dev libxcb-dri2-0-dev libxcb-dri3-dev
sudo apt install xcb-present-dev libxshmfence-dev libxxf86vm-dev zlib1g-dev
sudo apt install libxcb-present-dev libxshmfence-dev libxxf86vm-dev zlib1g-dev
sudo apt install libglvnd-dev libegl-dev libgles-dev libxcb-shm0-dev

wget https://archive.mesa3d.org/older-versions/21.x/mesa-21.3.9.tar.xz
tar xvf mesa-21.3.9.tar.xz

meson setup build \
    --prefix=/usr/local \
    -Dbuildtype=debug \
    -Dgallium-drivers=nouveau \
    -Ddri-drivers= \
    -Dvulkan-drivers= \
    -Dplatforms=x11 \
    -Dglx=dri \
    -Degl=enabled \
    -Dllvm=false

ninja -C build -j1

sudo ninja -C build install
sudo ldconfig
</code></pre></div></div>

<h4 id="grub-update">GRUB update</h4>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>Running hooks in /etc/ca-certificates/update.d...
done.
Traitement des actions différées (« triggers ») pour libc-bin (2.43-6) ...
Des erreurs ont été rencontrées pendant l'exécution :
 grub-ieee1275
Erreur : Sub-process /usr/bin/dpkg returned an error code (1)


Paramétrage de grub-ieee1275 (2.14-4) ...
Installation pour la plate-forme powerpc-ieee1275.
grub-install : erreur : impossible d'ouvrir « /boot/grub/locale/hu.mo » : Le fichier existe.
Failed: grub-install --target=powerpc-ieee1275 
WARNING: Bootloader is not properly installed, system may not be bootable
/usr/sbin/grub-mkconfig: 275: cannot create /boot/grub/grub.cfg.new: File exists
dpkg: erreur de traitement du paquet grub-ieee1275 (--configure) :
 old grub-ieee1275 package postinst maintainer script subprocess failed with exit status 2

On a second run of `apt upgrade`:

Summary:
  Upgrading: 0, Installing: 0, Removing: 0, Not Upgrading: 2
  1 not fully installed or removed.
  Space needed: 0 B / 219 GB available

Continue? [Y/n] 
Setting up grub-ieee1275 (2.14-4) ...
Installing for powerpc-ieee1275 platform.
Installation finished. No error reported.
Generating grub configuration file ...
Found background image: .background_cache.png
Found linux image: /boot/vmlinux-7.2.8+deb14-powerpc64
Found initrd image: /boot/initrd.img-7.2.8+deb14-powerpc64
Found linux image: /boot/vmlinux-7.1.4+deb14-powerpc64
Found initrd image: /boot/initrd.img-7.1.4+deb14-powerpc64
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.
Adding boot menu entry for UEFI Firmware Settings ...
done
</code></pre></div></div>]]></content><author><name></name></author><category term="linux" /><category term="linux" /><category term="ppc970" /><category term="debian" /><summary type="html"><![CDATA[After my previous article on this installation on MacMini G4, I wanted to add information for comparison with a ppc64 image. This is also the opportunity to collect and share (even for myself) useful information. And also better understand behaviours about GPU acceleration.]]></summary></entry><entry><title type="html">Debian 13 installation on Mac Mini G4</title><link href="http://localhost:4000/linux/2026/10/01/debian-13-installation-on-macmini-g4.html" rel="alternate" type="text/html" title="Debian 13 installation on Mac Mini G4" /><published>2026-10-01T00:42:17+02:00</published><updated>2026-10-01T00:42:17+02:00</updated><id>http://localhost:4000/linux/2026/10/01/debian-13-installation-on-macmini-g4</id><content type="html" xml:base="http://localhost:4000/linux/2026/10/01/debian-13-installation-on-macmini-g4.html"><![CDATA[<p>Before the summer holidays, Adrian released a <a href="https://cdimage.debian.org/cdimage/ports/snapshots/2026-06-12/">new set of Debian images</a> to test.</p>

<p>I took the opportunity for new installations, starting with the Mac Mini G4, for which I wanted to write a review for a long time. So I downloaded <code class="language-plaintext highlighter-rouge">debian-13.0.0-powerpc-NETINST-1.iso</code> and wrote it in a USB stick with <code class="language-plaintext highlighter-rouge">sudo dd if=/home/mathias/Downloads/debian-13.0.0-powerpc-NETINST-1.iso of=/dev/sdb</code>.</p>

<h2 id="installation-itself">Installation itself</h2>

<p>I plugged the prepared USB stick and booted the machine maintaining these 4 keys: <code class="language-plaintext highlighter-rouge">Win + Alt + O + F</code>. The early boot stops and provides a prompt where we type: <code class="language-plaintext highlighter-rouge">boot ud:,\boot\grub\powerpc.elf</code>.</p>

<p>I chose the <code class="language-plaintext highlighter-rouge">Default install</code>, asking for the whole 60 GB disk with all in the same partition … as I don’t plan to add another system on this machine. My favorite desktop environment is MATE but on the previous installations, it was not working correctly. So I fallbacked to LXDE that is light and not too skinny.</p>

<p>The installation itself went well. After the required reboot, I was able to log in and start using Linux 7.0.14.</p>

<p>To be prepared to send reports, I had to switch to English locale by first temporarily setting the locale to “C” or “en_US.UTF-8” with <code class="language-plaintext highlighter-rouge">export LC_ALL=C</code> or <code class="language-plaintext highlighter-rouge">export LC_ALL=en_US.UTF-8</code>.</p>

<p>Looking at <code class="language-plaintext highlighter-rouge">dmesg</code> for errors reported:</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>radeon 0000:00:10.0: firmware: failed to load radeon/R200_cp.bin (-2)
radeon 0000:00:10.0: Direct firmware load for radeon/R200_cp.bin failed with error -2
radeon_cp: Failed to load firmware "radeon/R200_cp.bin"
[drm:r100_cp_init [radeon]] *ERROR* Failed to load firmware!
radeon 0000:00:10.0: failed initializing CP (-2).
radeon 0000:00:10.0: Disabling GPU acceleration
</code></pre></div></div>

<p>That means that the driver for the GPU was not found. That was expected as MESA stopped the support of it in version 22.0 (earlier versions being 21.3.x), see <a href="https://docs.mesa3d.org/relnotes/22.0.0.html">release notes</a>. Hopefully, r200 drivers are still available in the <a href="https://docs.mesa3d.org/amber.html">Amber branch</a>.</p>

<p>Note that in the image released at 2025-12-06 there was an error that has disappeared: <code class="language-plaintext highlighter-rouge">UBSAN: shift-out-of-bounds in /build/reproducible-path/linux-6.16.9/drivers/video/fbdev/core/fb_fillrect.h:100:21</code>.</p>

<p>And looking at X.org log, I found:</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>(EE) RADEON(0): drmmode_do_crtc_dpms cannot get last vblank counter
(EE) RADEON(0): drmmode_do_crtc_dpms cannot get last vblank counter
(EE) RADEON(0): drmmode_do_crtc_dpms cannot get last vblank counter
</code></pre></div></div>

<p>And in another log later:</p>
<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>(EE) event1  - HID 04d9:048e: client bug: event processing lagging behind by 79ms, your system is too slow
</code></pre></div></div>

<p>About acceleration, there is nothing except <code class="language-plaintext highlighter-rouge">[KMS] Kernel modesetting enabled</code>.</p>

<p>For privileged commands, I used <code class="language-plaintext highlighter-rouge">su -</code> in a terminal instead of <code class="language-plaintext highlighter-rouge">su</code>, so that handles the paths with <code class="language-plaintext highlighter-rouge">sbin</code> (<code class="language-plaintext highlighter-rouge">/usr/local/sbin</code>, <code class="language-plaintext highlighter-rouge">/usr/sbin</code> and <code class="language-plaintext highlighter-rouge">/sbin</code>) in <code class="language-plaintext highlighter-rouge">PATH</code>.</p>

<p>It is possible to add my user in sudoers file, with <code class="language-plaintext highlighter-rouge">EDITOR=nano /sbin/visudo</code>.</p>

<h2 id="upgrade-and-install-packages">Upgrade and install packages</h2>

<p>Some days have spent after the installation and new packages (including linux-image-7.1.3) were available the day I started the tests. The upgrade failed with a total freeze in the middle! Later, I saw that during (massive) package installation, the free memory amount is very low and reaches 8 MB! With 1 GB installed, I thought it is really too few … even with LXDE. It also failed with a swap partition extended to 2 GB. At the end … the memory stick was guilty!</p>

<p>After a reboot, I saw that the upgrade failed with:</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>Setting up linux-image-7.1.3+deb14-powerpc (7.1.3-1) ...
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-7.1.3+deb14-powerpc
/etc/kernel/postinst.d/zz-update-grub:
/usr/sbin/grub-mkconfig: 274: cannot create /boot/grub/grub.cfg.new: Read-only file system
run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 2
dpkg: error processing package linux-image-7.1.3+deb14-powerpc (--configure):
 old linux-image-7.1.3+deb14-powerpc package postinst maintainer script subprocess failed with exit status 2
dpkg: dependency problems prevent configuration of linux-image-powerpc:
 linux-image-powerpc depends on linux-image-7.1.3+deb14-powerpc (= 7.1.3-1); however:
  Package linux-image-7.1.3+deb14-powerpc is not configured yet.
</code></pre></div></div>

<p>I had to make the <code class="language-plaintext highlighter-rouge">/boot/grub</code> partition in read-write mode following the procedure with <code class="language-plaintext highlighter-rouge">hfsprogs</code>.</p>

<p>At the end, I was able to proceed to the installation of many packages, being in root:</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>apt install hfsprogs strace mesa-utils fastfetch meld linux-perf gedit curl

apt install caja

apt install git gcc g++ build-essential clang subversion automake make cmake meson \
  libsdl2-dev libsdl2-image-dev libopenal-dev cppcheck cppcheck-gui

apt install netsurf-gtk abiword ffmpeg-gui vlc gimp scummvm darkplaces
</code></pre></div></div>

<p>They all succeeded to install. To compare with tests in March 2025, some applications failed to install at that time: vlc, libreoffice, gimp, scummvm, caja. For <code class="language-plaintext highlighter-rouge">caja</code>, it was due to libadwaita-1, a “Gtk widget library for mobile phones but as a build dependency of other important Gtk packages, it keeps these packages from being up to date”.</p>

<p>Just a note for later, after another <code class="language-plaintext highlighter-rouge">apt upgrade</code> that froze, I had to reboot but the system always froze! I was forced to add an option in the linux boot command in GRUB: <code class="language-plaintext highlighter-rouge">systemd.unit=multi-user.target</code>.
Then I had to run <code class="language-plaintext highlighter-rouge">dpkg --configure -a</code>.</p>

<h2 id="tests-per-category">Tests per category</h2>

<p>This is below a report per category of the tested applications.</p>

<p><strong>System</strong></p>

<p>After some inactivity, the session was lock and once unlocked, the colors were corrupted!
The solution I found was to remove this session lock with: <code class="language-plaintext highlighter-rouge">apt remove light-locker</code>.</p>

<p>With LXDE, there is no automatic mount of a USB stick. To transfer files, I had to manually mount an USB stick (as superuser) and then copy files:</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>mkdir /mnt/usb
mount /dev/sdb1 /mnt/usb
</code></pre></div></div>

<p>About system upgrades and problems with the HFS partition mounted in read-only, let’s say that the tools related to this partition format have received many improvements and their <a href="https://www.phoronix.com/news/Apple-HFS-Linux-7.3">development continues</a>.</p>

<p><strong>Development</strong></p>

<p>After months and several runs of <code class="language-plaintext highlighter-rouge">apt upgrade</code>, the system comes with gcc 16.2 and clang 21.1.
I wanted to test more development tools and build few projects but there is no reason to have big surprises in this area.
I noticed that I get an UBSAN trace in dmesg using a simple “perf stat” command …</p>

<p><strong>OpenGL</strong></p>

<p>We know that this section will be poor in successes but let’s try to investigate a bit.</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>$ glxinfo -B
name of display: :0.0
LLVM ERROR: Relocation type not implemented yet!
Aborted                    glxinfo -B
</code></pre></div></div>

<p>That is still the case with MESA 26.2.3-2.</p>

<p>Added the variable <code class="language-plaintext highlighter-rouge">LIBGL_DEBUG=verbose</code> before the command, it says that <code class="language-plaintext highlighter-rouge">screen 0 does not appear to be DRI3 capable</code>. And in addition to that, with the variable <code class="language-plaintext highlighter-rouge">GALLIUM_DRIVER=softpipe</code>, that allows to see the list of properties.</p>

<p>Note: With the Debian snapshot 2022-03-28, MESA version was 22.0.2 and so, this was the first version with the removed support of r200 based GPUs. There was no 3D acceleration but <code class="language-plaintext highlighter-rouge">glxinfo</code> returned <code class="language-plaintext highlighter-rouge">Device: llvmpipe (LLVM 14.0.1)</code>.</p>

<p>To make <code class="language-plaintext highlighter-rouge">glxgears</code> working, it is required to use <code class="language-plaintext highlighter-rouge">softpipe</code>, so <code class="language-plaintext highlighter-rouge">GALLIUM_DRIVER=softpipe vblank_mode=0 glxgears</code> runs at 23 FPS.</p>

<p><strong>Games</strong></p>

<p>I tried several games like <code class="language-plaintext highlighter-rouge">darkplaces</code>, <code class="language-plaintext highlighter-rouge">scummvm</code>, <code class="language-plaintext highlighter-rouge">SDLPoP</code> and all refuse to start, with the message “LLVM ERROR: Relocation type not implemented yet!”. Using <code class="language-plaintext highlighter-rouge">GALLIUM_DRIVER=softpipe</code> allows to start but it is way too slow and have strange behaviors.</p>

<p><strong>Video</strong></p>

<p>I should have prepared better some videos of different formats and resolutions. But basically, I can say that <code class="language-plaintext highlighter-rouge">mplayer</code> and <code class="language-plaintext highlighter-rouge">VLC</code> work. They display correctly 640x272 videos, but not at all 720p H264 videos.
After some system updates, I saw a regression with the LLVM relocation type errors.</p>

<p><strong>Audio</strong></p>

<p>It works playing mp3 files with the very basic <code class="language-plaintext highlighter-rouge">LXMusic</code>.</p>

<p><strong>Internet</strong></p>

<p>A word about several candidates for this touchy topic:</p>

<ul>
  <li><code class="language-plaintext highlighter-rouge">Epiphany</code>: It is weirdly named Web in system menu … and does not work.</li>
  <li><code class="language-plaintext highlighter-rouge">Netsurf</code>: It works but with its own limitations.</li>
  <li><code class="language-plaintext highlighter-rouge">Firefox</code>: It has problems on PPC32 so there is no package for it.</li>
  <li><code class="language-plaintext highlighter-rouge">ArcticFox</code>: I downloaded the <a href="https://github.com/rmottola/Arctic-Fox/releases/download/v47.3/arcticfox-47.3.en-US.linux-powerpc-G4.tar.bz2">latest version</a>. It works but it may be so slow that it is for example not really usable with GitHub.</li>
  <li><code class="language-plaintext highlighter-rouge">SpiderWeb</code>: This other challenger is not supported anymore, since 2023.</li>
</ul>

<h2 id="mate">MATE</h2>

<p>After having tested LXDE that is known (by me) to work better, it’s time to install MATE and see how it behaves. Previously, I faced some problems and even more, with the last December image, it failed to be installed.
Let’s try with this new Debian image: <code class="language-plaintext highlighter-rouge">apt install mate-desktop-environment</code>.</p>

<p>I was able to switch to MATE. The desktop is slower but I did not see many differences with LXDE in terms of applications, except VLC that started but choosing to open a file, it froze! After killing it, the system colors were corrupted.</p>

<h2 id="conclusion">Conclusion</h2>

<p>To summarize, the installation itself works well with no broken packages anymore and the possibility to install big applications like <code class="language-plaintext highlighter-rouge">OpenOffice</code> but I faced some known problems with this venerable but old and limited machine. That’s not a surprise but the machine is under powered, has not enough memory, the driver for GPU acceleration is not present anymore by default. 
So, for Internet browsing, even with the unexpected <code class="language-plaintext highlighter-rouge">ArcticFox</code>, the global performance does not allow a satisfying user experience.</p>

<p>The 32-bit support is still appreciated anyway. At least, the system can be used for legacy stuff. But unfortunately not for a daily use. Or at least until there is a fix for the LLVM relocation type error and for the GPU acceleration.</p>]]></content><author><name></name></author><category term="linux" /><category term="linux" /><category term="debian" /><summary type="html"><![CDATA[Before the summer holidays, Adrian released a new set of Debian images to test.]]></summary></entry><entry><title type="html">Updated previous benchmarks on Talos 2 in 2025</title><link href="http://localhost:4000/linux/2025/11/14/updated-previous-benchmarks-on-talos2-in-2025.html" rel="alternate" type="text/html" title="Updated previous benchmarks on Talos 2 in 2025" /><published>2025-11-14T16:38:48+01:00</published><updated>2025-11-14T16:38:48+01:00</updated><id>http://localhost:4000/linux/2025/11/14/updated-previous-benchmarks-on-talos2-in-2025</id><content type="html" xml:base="http://localhost:4000/linux/2025/11/14/updated-previous-benchmarks-on-talos2-in-2025.html"><![CDATA[<h2 id="play-the-same-benchmarks-in-recent-versions">Play the same benchmarks in recent versions</h2>

<p>In a <a href="http://www.powerpc-lab.org/linux/2024/09/28/talos2-performance-evaluated-in-2018-2019.html">previous article on benchmarks performed in 2018 and 2019</a>, I did run the same benchmarks that were run at that time in different Phoronix articles.</p>

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

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

<p>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 <code class="language-plaintext highlighter-rouge">performance</code> governor as suggested by the Phoronix Test Suite.</p>

<h3 id="characterize-a-group-of-processors-to-compare-with">Characterize a group of processors to compare with</h3>

<p>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:</p>

<ul>
  <li>AMD EPYC 7551</li>
  <li>AMD EPYC 7601</li>
  <li>2 x Xeon Gold 6138</li>
  <li>Threadripper 2990WX</li>
  <li>Core i9 7980X</li>
</ul>

<p>This time, I will use my own Talos 2, <code class="language-plaintext highlighter-rouge">Talos II 2x 4-core default</code>, as a reference.</p>

<p>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.</p>

<p>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.</p>

<h3 id="cpu-specifications">CPU specifications</h3>

<p>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.</p>

<p>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?</p>

<p>I also needed to consider popularity of processors, with the number of results in the <a href="https://openbenchmarking.org/processors">openbenchmarking.org</a>.
That allowed to obtain, in annex, a <a href="#processor-list">list of processors ordered in groups of performance</a>.</p>

<p>So, we consider that <code class="language-plaintext highlighter-rouge">Talos II 2x 4-core default</code> is in the <code class="language-plaintext highlighter-rouge">medium</code> group, with processors from 2016 to 2019, that have around 8 cores.</p>

<p>I found in a Phoronix benchmark result named <code class="language-plaintext highlighter-rouge">1710047-TY-KAFFEE7095</code> that brought useful information.</p>

<p>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.</p>

<p>Here is a table with a summary of processors, with their geometric mean:</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>Geometric Mean &gt; 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 +
</code></pre></div></div>

<p>At the end, I obtained a <a href="https://openbenchmarking.org/vs/Processor/AMD+Ryzen+7+4700U,Intel+Core+i7-8700K,AMD+Ryzen+5+4500U,AMD+Ryzen+7+1700+Eight-Core">short list to compare results with these machines</a>.</p>

<h3 id="choice-of-benchmarks">Choice of benchmarks</h3>

<p>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.</p>

<p>Identify benchmark versions which results can still be compared with the machines previously mentioned:</p>

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

<h2 id="run-and-analysis-of-each-benchmark">Run and analysis of each benchmark</h2>

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

<h4 id="ptsbuild-gcc-140">pts/build-gcc-1.4.0</h4>

<p>In the previous tested version <code class="language-plaintext highlighter-rouge">pts/build-gcc-1.0.0</code>, that failed to installed so I have no reference.</p>

<p>The latest version is <code class="language-plaintext highlighter-rouge">pts/build-gcc-1.5.0</code> (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.</p>

<p>Timed GCC Compilation 13.2</p>

<p>Test Run Command: ./build-gcc</p>

<p>Test: Time To Compile (Seconds &lt; Lower Is Better)</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>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
</code></pre></div></div>

<p>Talos 2 performance is close to the 6-core <code class="language-plaintext highlighter-rouge">AMD Ryzen 5 4500U</code> that is the weakest processor of our selection. <code class="language-plaintext highlighter-rouge">AMD Ryzen 5 5500U</code> and <code class="language-plaintext highlighter-rouge">AMD Ryzen 7 4700U</code> are 20% faster.</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>Verdict: AVERAGE
</code></pre></div></div>

<h4 id="ptsbuild-llvm-140">pts/build-llvm-1.4.0</h4>

<p>This is the case same with <code class="language-plaintext highlighter-rouge">pts/build-llvm-1.6.0</code> so we switched to <code class="language-plaintext highlighter-rouge">pts/build-llvm-1.4.0</code>.</p>

<p>Timed LLVM Compilation 13.0</p>

<p>Test Run Command: ./build-llvm Ninja</p>

<p>Build System: Ninja (Seconds &lt; Lower Is Better)</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>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
</code></pre></div></div>

<p>Test Run Command: ./build-llvm</p>

<p>Build System: Unix Makefiles (Seconds &lt; Lower Is Better)</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>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
</code></pre></div></div>

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

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>Verdict: GOOD
</code></pre></div></div>

<h4 id="ptscompress-7zip-1110">pts/compress-7zip-1.11.0</h4>

<p>7-Zip Compression 24.05</p>

<p>Test Run Command: ./compress-7zip</p>

<p>7-Zip Compression:
Test: Compression Rating (MIPS &gt; Higher Is Better)</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>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
</code></pre></div></div>

<p>On compression, the initial score with the old <code class="language-plaintext highlighter-rouge">pts/compress-7zip-1.1.0</code> 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 …</p>

<p>7-Zip Compression:
Test: Decompression Rating (MIPS &gt; Higher Is Better)</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>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
</code></pre></div></div>

<p>Decompression was not previously tested but let’s take it.</p>

<p>The build system is weird but it compiles well with no modification (it uses the <code class="language-plaintext highlighter-rouge">-O2</code> option).
At the installation step <a href="https://openbenchmarking.org/innhold/015f14db2d68fcb1352ca628747fb87ef8be22b0">install.sh</a>, the build is done with: <code class="language-plaintext highlighter-rouge">CFLAGS="-O3 -march=native -Wno-error $CFLAGS" make -j $NUM_CPU_CORES -f makefile.gcc</code> but options are not taken by the makefile.
Anyway, that’s the same on <code class="language-plaintext highlighter-rouge">x86-64</code>, so no platform has a special advantage.
It uses all cores.</p>

<p>I reported this problem with <a href="https://github.com/phoronix-test-suite/test-profiles/issues/350">a new issue in the GitHub project</a>.</p>

<p>The initial verdict was good. It is confirmed here, in both compression and decompression, it is at the level of <code class="language-plaintext highlighter-rouge">AMD Ryzen 5 5500U</code> and <code class="language-plaintext highlighter-rouge">AMD Ryzen 7 1700X</code> on one side and <code class="language-plaintext highlighter-rouge">AMD Ryzen 7 3700X</code> on the other side.</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>Verdict: GOOD
</code></pre></div></div>

<h4 id="ptscompress-zstd-160">pts/compress-zstd-1.6.0</h4>

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

<p>There is a single command that provides results for both compression and decompression.</p>

<p>Zstd Compression:
Compression Level: 19 - Compression Speed (MB/s &gt; Higher Is Better)</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>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
</code></pre></div></div>

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

<p>Zstd Compression:
Compression Level: 19 - Decompression Speed (MB/s &gt; Higher Is Better)</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>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
</code></pre></div></div>

<p>Decompression was not previously tested but let’s take it.</p>

<p>On <code class="language-plaintext highlighter-rouge">Brix Core i5-6200U</code>, the 4 threads a running 100% but on <code class="language-plaintext highlighter-rouge">Talos 2</code>, 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).</p>

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

<p>SMT2: 10 MB/s on compression and 420 MB/s on decompression</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>Verdict: AVERAGE
To do: Investigate why compression is good but decompression is not! Mono-threaded?
</code></pre></div></div>

<h4 id="ptsc-ray-200">pts/c-ray-2.0.0</h4>

<p>C-Ray 2.0</p>

<p>Resolution: 4K - Rays Per Pixel: 16 (Seconds &lt; Lower Is Better)</p>

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

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>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
</code></pre></div></div>

<p>Resolution: 1080p - Rays Per Pixel: 16 (Seconds &lt; Lower Is Better)</p>

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

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>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
</code></pre></div></div>

<p>In the middle of several models of <code class="language-plaintext highlighter-rouge">AMD Ryzen 7</code>, between models that have 8 cores and 16 threads, from Q1-2021 and Q2-2022.</p>

<p>There is no problem with compilation options (<code class="language-plaintext highlighter-rouge">-O3 -ffast-math</code>) and no obvious code optimization to find. All cores are used.</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>Verdict: GOOD
</code></pre></div></div>

<h4 id="ptsencode-flac-190">pts/encode-flac-1.9.0</h4>

<p>Test Run Command: ./encode-flac</p>

<p>FLAC Audio Encoding:
WAV To FLAC</p>

<p>Test Run Command: ./encode-flac</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>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
</code></pre></div></div>

<p>In this version, the benchmark is now multithreaded. Results are bad!</p>

<p>Last year, I tested the last single-threaded version, <code class="language-plaintext highlighter-rouge">pts/encode-flac-1.8.1</code> (with flac 1.4.2) and the result was … 45.6 seconds. In the previous article, <code class="language-plaintext highlighter-rouge">pts/encode-flac-1.6.0</code> (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 <code class="language-plaintext highlighter-rouge">getauxval()</code>! Detecting it right, we got the performance of 1.4.2 back.</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>Multi-threaded: YES
Verdict: BAD
</code></pre></div></div>

<h4 id="ptsencode-mp3-174">pts/encode-mp3-1.7.4</h4>

<p>LAME MP3 Encoding:
WAV To MP3 (Seconds &lt; Lower Is Better)</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>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
</code></pre></div></div>

<p>More or less the same performance than my core i5!!</p>

<p>At the time of <code class="language-plaintext highlighter-rouge">pts/encode-mp3-1.7.0</code>, it was identified that on POWER, optimization options were not set (<code class="language-plaintext highlighter-rouge">-O3 -ffast-math</code> and <code class="language-plaintext highlighter-rouge">USE_FAST_LOG</code> 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.</p>

<p>Nothing more can be done as the project does not live anymore. In the other case, improvements should come about <a href="https://shenki.github.io/LameMP3-on-Power9/">vectorization as described by Shenki</a>.</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>Multi-threaded: YES
Verdict: BAD
To do: Unfortunately nothing that can be integrated in the host project
</code></pre></div></div>

<h4 id="ptsopenssl-330">pts/openssl-3.3.0</h4>

<p>OpenSSL 3.3.0</p>

<p>OpenSSL:
Algorithm: RSA4096 (Sign Per Second &gt; Higher Is Better)</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>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
</code></pre></div></div>

<p>OpenSSL:
Algorithm: RSA4096 (Verify Per Second &gt; Higher Is Better)</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>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
</code></pre></div></div>

<p>On <code class="language-plaintext highlighter-rouge">Talos 2</code>, all threads are used at 100%.
Results are only 4 times better that my old NUC powered by a <code class="language-plaintext highlighter-rouge">Core i5-6200U</code>. But it is at the same level than <code class="language-plaintext highlighter-rouge">Ryzen 7 4700U</code>, that is in the same group than <code class="language-plaintext highlighter-rouge">Talos 2</code>.</p>

<p>Compilation option <code class="language-plaintext highlighter-rouge">-O3</code> is used, on any platform.</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>Verdict: GOOD
</code></pre></div></div>

<h4 id="ptsosbench-102">pts/osbench-1.0.2</h4>

<p>Previous verdict: GOOD
Previous todo: Check optim options, they improved greatly the test <code class="language-plaintext highlighter-rouge">Create Processes</code></p>

<p>OSBench:
Test: Create Files (us Per Event &lt; Lower Is Better)</p>

<p>Test Run Command: ./osbench create_files.exe target</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>Ampere eMAG ARMv8:              72
Talos II 2x 4-core default:     54
Brix Core i5-6200U:             37
Intel Core i7-5960X:            16
</code></pre></div></div>

<p>OSBench:
Test: Create Threads (us Per Event &lt; Lower Is Better)</p>

<p>Test Run Command: ./osbench create_threads.exe</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>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
</code></pre></div></div>

<p>That’s bad, <code class="language-plaintext highlighter-rouge">Core i7-5550U</code> is two times better.</p>

<p>OSBench:
Test: Launch Programs (us Per Event &lt; Lower Is Better)</p>

<p>Test Run Command: ./osbench launch_programs.exe</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>Intel Core i7-6700K:           868
Brix Core i5-6200U:            217
Talos II 2x 4-core default:     83
</code></pre></div></div>

<p>OSBench:
Test: Create Processes (us Per Event &lt; Lower Is Better)</p>

<p>Test Run Command: ./osbench create_processes.exe</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>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
</code></pre></div></div>

<p>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 <code class="language-plaintext highlighter-rouge">Talos 2</code> are bad or good, depending on the nature of the test.
Optimization options are set with <code class="language-plaintext highlighter-rouge">-O3</code>. There is nothing special to do.</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>Verdict: AVERAGE
</code></pre></div></div>

<h4 id="ptsparboil-121">pts/parboil-1.2.1</h4>

<p>Previous verdict: AVERAGE
Previous todo: Focus <code class="language-plaintext highlighter-rouge">OPEN MP CUTCP</code> that does not seem to be optimized for POWER9</p>

<p>The following dependencies are needed and will be installed:</p>

<ul>
  <li>opencl-headers</li>
  <li>ocl-icd-libopencl1</li>
  <li>clinfo</li>
  <li>ocl-icd-opencl-dev</li>
</ul>

<p>There are dependencies still missing from the system:</p>
<ul>
  <li>OpenCL</li>
</ul>

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

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>Verdict: N/A
</code></pre></div></div>

<h4 id="ptspgbench-1111">pts/pgbench-1.11.1</h4>

<p>Previous verdict: GOOD
Previous todo: Check optim options, that provide a boost</p>

<p>Now, <code class="language-plaintext highlighter-rouge">PostgreSQL 14</code> 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.</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>Verdict: N/A
</code></pre></div></div>

<h4 id="ptsphpbench-116">pts/phpbench-1.1.6</h4>

<p>Previous verdict: AVERAGE
Previous todo: Identify the source of the problem</p>

<p>Test Run Command: ./phpbench -i 2000000</p>

<p>PHPBench:
PHP Benchmark Suite (Score &gt; Higher Is Better)</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>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
</code></pre></div></div>

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

<p>This is a single threaded benchmark that has catastrophic performance: it is 2.5 times slower than my <code class="language-plaintext highlighter-rouge">Brix Core i5-6200U</code>!
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, <code class="language-plaintext highlighter-rouge">__ATOMIC_SEQ_CST</code>.</p>

<p>The difference with the installed PHP between x86_64 and PPC64LE is that for us the PCRE JIT support is not built in (<code class="language-plaintext highlighter-rouge">php -i | grep -i pcre</code>).
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%.</p>

<p>I replaced <code class="language-plaintext highlighter-rouge">__ATOMIC_SEQ_CST</code> by <code class="language-plaintext highlighter-rouge">__ATOMIC_ACQUIRE</code> that is less strict but that does not change anything. Even <code class="language-plaintext highlighter-rouge">__ATOMIC_RELAXED</code> had no effect.</p>

<p>I also looked at <code class="language-plaintext highlighter-rouge">OPCache</code>. Enabling it with <code class="language-plaintext highlighter-rouge">opcache.enable_cli=1</code> in <code class="language-plaintext highlighter-rouge">/usr/php/8.2/cli/php.ini</code> 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.</p>

<p>Last, I used compilation options <code class="language-plaintext highlighter-rouge">-mcpu=power9 -mtune=power9</code> 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).</p>

<p>So … the mystery is still there. That may be due to the memory organization and atomics. I found a big cache penalty in <code class="language-plaintext highlighter-rouge">zend_is_identical()</code> but I was not able to improve that.
Help!</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>Multi-threaded: NO
Verdict: BAD
</code></pre></div></div>

<h4 id="ptspovray-121">pts/povray-1.2.1</h4>

<p>povray 3.7.0.7</p>

<p>Test Run Command: ./povray</p>

<p>POV-Ray:
Trace Time (Seconds &lt; Lower Is Better)</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>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
</code></pre></div></div>

<p>My <code class="language-plaintext highlighter-rouge">Talos 2</code> is 3 times faster than my <code class="language-plaintext highlighter-rouge">Brix Core i5-6200U</code>. Its score is exactly the same than <code class="language-plaintext highlighter-rouge">AMD Ryzen 7 4700U</code>, in the middle of <code class="language-plaintext highlighter-rouge">AMD Ryzen 5 4500U</code> and <code class="language-plaintext highlighter-rouge">AMD Ryzen 5 5500U</code>.
All threads are used correctly.</p>

<p>The version of <code class="language-plaintext highlighter-rouge">povray</code> has not changed and that’s the same with the results.</p>

<p>Compilation options on x86-64: <code class="language-plaintext highlighter-rouge">-O3 -ffast-math -march=native</code></p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>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
</code></pre></div></div>

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

<p>I profile the running benchmark but has seen no special pitfall.</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>Verdict: AVERAGE
</code></pre></div></div>

<h4 id="ptsprimesieve-1100">pts/primesieve-1.10.0</h4>

<p>Previous verdict: BAD
Previous todo: Check if changes proposed have a positive and measurable impact</p>

<p>primesieve 12.1</p>

<p>[1e12 Prime Number Generation] Seconds &lt; Lower Is Better</p>

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

<p>Primesieve:
Length: 1e12</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>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
</code></pre></div></div>

<p>It runs on all threads.</p>

<p>Metrics have completely changed since <code class="language-plaintext highlighter-rouge">pts/primesieve-1.4.1</code> so I have no key to compare between machines.</p>

<p>After a pull request by Anton Blanchard, the author had to make changes, having understood the issue. The previous result (<code class="language-plaintext highlighter-rouge">pts/primesieve-1.4.1</code>) was 44 for my machine, and 39 now, so the performance improved by 11%.</p>

<p>As this benchmark was to investigate, I checked various SMT models:</p>

<ul>
  <li>SMT2: 16 threads used at 100%, result is 36</li>
  <li>SMT1:  8 threads used at 100%, result is 35</li>
</ul>

<p>So that’s 10% better than with SMT4. Not so much.</p>

<p>[1e13 Prime Number Generation] Seconds &lt; Lower Is Better</p>

<p>Primesieve:
Length: 1e13</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>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
</code></pre></div></div>

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

<p>Compilation optimization <code class="language-plaintext highlighter-rouge">-O3</code> is used on any architecture but I saw that 2 features were supposed to make a huge difference on x86-64: usage of both <code class="language-plaintext highlighter-rouge">AVX512</code> and <code class="language-plaintext highlighter-rouge">popcnt-bmi</code> (popcount on 64-bit integers).</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>Verdict: AVERAGE
</code></pre></div></div>

<p>On x86-64, at the end of <code class="language-plaintext highlighter-rouge">install.log</code>:</p>
<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>-- 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
</code></pre></div></div>

<p>And in <code class="language-plaintext highlighter-rouge">CMakeLists.txt</code>:</p>
<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>option(WITH_AUTO_VECTORIZATION "Enable compiler auto-vectorization" ON)
option(WITH_MULTIARCH          "Enable runtime dispatching to fastest supported CPU instruction set" ON)
</code></pre></div></div>

<h4 id="ptspybench-113">pts/pybench-1.1.3</h4>

<p>Previous verdict: VERY BAD
Previous todo: Investigate</p>

<p>Test Run Command: ./pybench -n 20</p>

<p>PyBench:
Total For Average Test Times</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>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
</code></pre></div></div>

<p>My Talos is almost 3 times slower than my Brix!! This was the only benchmark that I noted <code class="language-plaintext highlighter-rouge">VERY BAD</code> in my previous article.</p>

<p>SMT2: 3657</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>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
</code></pre></div></div>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>Multi-threaded: NO
Verdict: VERY BAD
</code></pre></div></div>

<h4 id="ptsredis-140">pts/redis-1.4.0</h4>

<p>Previous verdict: BAD
Previous todo: Check CPU activity</p>

<p>Test: GET - Parallel Connections: 500 (Requests Per Second)</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>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
</code></pre></div></div>

<p>Test: SET - Parallel Connections: 500 (Requests Per Second)</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>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
</code></pre></div></div>

<p>Tested with SMT off:</p>
<ul>
  <li>GET: 778260, a boost of 50%</li>
  <li>SET: 569253, a boost of 50%</li>
</ul>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>Verdict: VERY BAD
</code></pre></div></div>

<h4 id="ptsredis-131">pts/redis-1.3.1</h4>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>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 &gt; /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').
</code></pre></div></div>

<p>Redis:
Test: LPOP</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>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
</code></pre></div></div>

<p>Redis:
Test: SADD</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>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
</code></pre></div></div>

<p>Redis:
Test: LPUSH</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>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
</code></pre></div></div>

<p>Redis:
Test: GET</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>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
</code></pre></div></div>

<p>Redis:
Test: SET</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>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
</code></pre></div></div>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>Verdict: BAD
</code></pre></div></div>

<h4 id="ptsrodinia-132">pts/rodinia-1.3.2</h4>

<p>Previous verdict: AVERAGE
Previous todo: Try a recent version and check optimization options</p>

<p>Rodinia:
Test: OpenMP LavaMD (Seconds &lt; Lower Is Better)</p>

<p>Test Run Command: ./rodinia OMP_LAVAMD</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>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
</code></pre></div></div>

<p>SMT2: 466
SMT1: 542</p>

<p>So, SMT4 brings a 27% speedup compared to SMT2.</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>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
</code></pre></div></div>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>Verdict: AVERAGE
</code></pre></div></div>

<h4 id="ptsrust-prime-100">pts/rust-prime-1.0.0</h4>

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

<p>Seconds &lt; Lower Is Better</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>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
</code></pre></div></div>

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

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>Multi-threaded: YES
Verdict: GOOD
</code></pre></div></div>

<h4 id="ptsscikit-learn-120">pts/scikit-learn-1.2.0</h4>

<p>scikit-learn-1.1.3</p>

<p>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.”</p>

<p>Single threaded benchmark</p>

<p>I really didn’t know which one to choose among 40 tests!</p>

<p>2025-10-10:</p>

<p>Scikit-Learn:
Benchmark: MNIST Dataset</p>

<p>Test Run Command: ./scikit-learn mnist.py</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>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
</code></pre></div></div>

<p>Scikit-Learn:
Benchmark: TSNE MNIST Dataset</p>

<p>Test Run Command: ./scikit-learn tsne_mnist.py</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>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
</code></pre></div></div>

<p>Scikit-Learn:
Benchmark: Sparse Random Projections, 100 Iterations</p>

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

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>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
</code></pre></div></div>

<p>The third benchmark is much worse for the <code class="language-plaintext highlighter-rouge">Talos 2</code>. Its results were expected at the level of the 
<code class="language-plaintext highlighter-rouge">AMD Ryzen 7 4700U</code> or <code class="language-plaintext highlighter-rouge">AMD Ryzen 5 5500U</code>. Globally, they are more at the level of <code class="language-plaintext highlighter-rouge">Core i5-6200U</code>.</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>Verdict: BAD
</code></pre></div></div>

<h4 id="ptsstockfish-170">pts/stockfish-1.7.0</h4>

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

<p>This version uses Stockfish 17.1, that includes <a href="https://github.com/official-stockfish/Stockfish/commit/d4358dd">my commit that adds auto-detection of ppc64</a>, what enabled VSX and the use of x86 SSE2 intrinsics:</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>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
</code></pre></div></div>

<p>That provides a noticeable boost:</p>
<ul>
  <li>On PowerMac G5, using altivec provides a performance improvement of 30%.</li>
  <li>On Talos 2, using vsx provides a performance improvement of 120%.</li>
</ul>

<p>Stockfish:
Chess Benchmark (Nodes Per Second &gt; Higher Is Better)</p>

<p>Test Run Command: ./stockfish</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>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
</code></pre></div></div>

<p><code class="language-plaintext highlighter-rouge">Talos 2</code> 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 <code class="language-plaintext highlighter-rouge">AMD Ryzen 7 4700U</code>.</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>Verdict: AVERAGE
</code></pre></div></div>

<h4 id="ptsx264-270">pts/x264-2.7.0</h4>

<p>Previous verdict: BAD
Previous todo: That would require huge efforts …</p>

<p>x264 2022-02-22</p>

<p>x264:
Video Input: Bosphorus 1080p (Frames Per Second &gt; Higher Is Better)</p>

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

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>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
</code></pre></div></div>

<p>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.</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>Verdict: BAD
</code></pre></div></div>

<h4 id="systemblender-121">system/blender-1.2.1</h4>

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

<p>Blender 2.92</p>

<p>The benchmark <code class="language-plaintext highlighter-rouge">system/blender-1.1.0</code> has no result so I had to choose <code class="language-plaintext highlighter-rouge">system/blender-1.2.1</code> even if it has few results. There is also a more active benchmark named <code class="language-plaintext highlighter-rouge">pts/blender</code> but the architecture <code class="language-plaintext highlighter-rouge">ppc64le</code> is not supported.</p>

<p>Blender:
Blend File: Classroom - Compute: CPU-Only</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>Brix Core i5-6200U:           2207
Talos II 2x 4-core default:   1225
</code></pre></div></div>

<p>Blender:
Blend File: Pabellon Barcelona - Compute: CPU-Only</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>Brix Core i5-6200U:          3266
Talos II 2x 4-core default:  1598
</code></pre></div></div>

<p>Like with <code class="language-plaintext highlighter-rouge">pts/x264-2.7.0</code>, Talos 2 is less than 2 times faster than my Brix. Other runs shew a great variation but still in the same scale value.</p>

<p>I confirm that the 32 threads are used.</p>

<p>The conclusion for this benchmark in the previous article, with <code class="language-plaintext highlighter-rouge">system/blender-1.0.2</code>, 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.</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>Verdict: AVERAGE
</code></pre></div></div>

<h4 id="systemoctave-benchmark-100">system/octave-benchmark-1.0.0</h4>

<p>Seconds - Lower is better</p>

<p>GNU Octave Benchmark:</p>

<p>Test Run Command: ./octave-benchmark</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>Talos II 2x 4-core default: 13
Brix Core i5-6200U:         12
Intel Core i7-1185G7:        7
</code></pre></div></div>

<p>With the previous benchmark version <code class="language-plaintext highlighter-rouge">system/octave-benchmark-1.0.0</code>, we got a score of <code class="language-plaintext highlighter-rouge">13</code> for my Talos 2. And the same scores for x86 machines.</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>  11,44%  octave-cli       liboctave.so.9.0.0          [.] octave::idx_vector::index&lt;double&gt;
   5,59%  octave-cli       libc.so.6                   [.] __memmove_avx_unaligned_erms
</code></pre></div></div>
<p>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 <code class="language-plaintext highlighter-rouge">dgemv_n_POWER9</code>.</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>Verdict: BAD
</code></pre></div></div>

<h2 id="conclusion">Conclusion</h2>

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

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

<p>At the level of <code class="language-plaintext highlighter-rouge">AMD Ryzen 7 4700U</code> (8 cores, 8 threads, 2019). That confirms our estimation.
It is also close to the <code class="language-plaintext highlighter-rouge">AMD Ryzen 5 5500U</code> (6 cores, 12 threads, 2020), I thought it would be a bit weaker, but it benefits from one generation and more threads.</p>

<p>With upgraded benchmarks, globally, results have not changed much.</p>

<p>Issues with phoronix-test-suite, many tickets not resolved and not even answered</p>

<p>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.</p>

<p>There is still so much room for improvements!</p>

<h2 id="annexes">Annexes</h2>

<h3 id="system-information">System information</h3>

<h4 id="talos-2">Talos 2</h4>

<p>Here are details about my configuration:</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>  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
</code></pre></div></div>

<h4 id="brix">Brix</h4>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>  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
</code></pre></div></div>

<h3 id="processor-list">Processor list</h3>

<table>
  <thead>
    <tr>
      <th>Perf</th>
      <th>Processor</th>
      <th>Cores</th>
      <th>Threads</th>
      <th>Year</th>
      <th>Results</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>Low</td>
      <td>Brix Core i5-6200U</td>
      <td>2</td>
      <td>4</td>
      <td>2015</td>
      <td>165226</td>
    </tr>
    <tr>
      <td>Low</td>
      <td>Intel Core i7 7700K</td>
      <td>4</td>
      <td>8</td>
      <td>2016</td>
      <td>59940</td>
    </tr>
    <tr>
      <td>Low</td>
      <td>Intel Core i7 1185G7</td>
      <td>4</td>
      <td>8</td>
      <td>2021</td>
      <td>20229 +</td>
    </tr>
    <tr>
      <td>Low</td>
      <td>AMD Ryzen 5 4500U</td>
      <td>6</td>
      <td>6</td>
      <td>2019</td>
      <td>26937 +  629</td>
    </tr>
    <tr>
      <td>Low</td>
      <td>AMD Ryzen 5 3600X</td>
      <td>6</td>
      <td>12</td>
      <td>2019</td>
      <td>27060 +- 169</td>
    </tr>
    <tr>
      <td>Low</td>
      <td>AMD Ryzen 5 5500U</td>
      <td>6</td>
      <td>12</td>
      <td>2020</td>
      <td>18261 +  545</td>
    </tr>
    <tr>
      <td>Low</td>
      <td>Intel Core i7 8700K</td>
      <td>6</td>
      <td>12</td>
      <td>2017</td>
      <td>46935 +  485</td>
    </tr>
    <tr>
      <td>Medium</td>
      <td>Intel Core i7 7820X</td>
      <td>8</td>
      <td>16</td>
      <td>2016</td>
      <td>3541</td>
    </tr>
    <tr>
      <td>Medium</td>
      <td>AMD Ryzen 7 4700U</td>
      <td>8</td>
      <td>8</td>
      <td>2019</td>
      <td>19501 +  894 +++</td>
    </tr>
    <tr>
      <td>Medium</td>
      <td>AMD Ryzen 7 1700</td>
      <td>8</td>
      <td>16</td>
      <td>2017</td>
      <td>33461</td>
    </tr>
    <tr>
      <td>Medium</td>
      <td>AMD Ryzen 7 1800X</td>
      <td>8</td>
      <td>16</td>
      <td>2017</td>
      <td>34114</td>
    </tr>
    <tr>
      <td>Medium</td>
      <td>AMD Ryzen 7 4800U</td>
      <td>8</td>
      <td>16</td>
      <td>2019</td>
      <td>5299 +- 198</td>
    </tr>
    <tr>
      <td>Medium</td>
      <td>AMD Ryzen 7 3700X</td>
      <td>8</td>
      <td>16</td>
      <td>2019</td>
      <td>39349 +  396</td>
    </tr>
    <tr>
      <td>Medium</td>
      <td>AMD Ryzen 7 5800X</td>
      <td>8</td>
      <td>16</td>
      <td>2020</td>
      <td>45765 +  660 +++</td>
    </tr>
    <tr>
      <td>Medium</td>
      <td>Intel Core i9 7900X</td>
      <td>10</td>
      <td>20</td>
      <td>2016</td>
      <td>1695</td>
    </tr>
    <tr>
      <td>Medium+</td>
      <td>Core i9-11900K</td>
      <td>8</td>
      <td>16</td>
      <td>2021</td>
      <td>28501 +   368</td>
    </tr>
    <tr>
      <td>Medium+</td>
      <td>Core i9-10900K</td>
      <td>10</td>
      <td>20</td>
      <td>2020</td>
      <td>25443 +   426 +++</td>
    </tr>
    <tr>
      <td>Medium+</td>
      <td>Core i9-12900K</td>
      <td>8</td>
      <td>16</td>
      <td>2022</td>
      <td>32244</td>
    </tr>
    <tr>
      <td>High-</td>
      <td>Ryzen 9 3900X</td>
      <td>12</td>
      <td>24</td>
      <td>2019</td>
      <td>64250 +-</td>
    </tr>
    <tr>
      <td>High-</td>
      <td>Ryzen 9 5900X</td>
      <td>12</td>
      <td>24</td>
      <td>2020</td>
      <td>58652</td>
    </tr>
    <tr>
      <td>High</td>
      <td>Intel Core i9 7960X</td>
      <td>16</td>
      <td>32</td>
      <td>2016</td>
      <td>13718</td>
    </tr>
    <tr>
      <td>High</td>
      <td>AMD Ryzen 9 7945HX</td>
      <td>16</td>
      <td>32</td>
      <td>2017</td>
      <td>2082</td>
    </tr>
    <tr>
      <td>High</td>
      <td>AMD Ryzen Threadripper 1950X</td>
      <td>16</td>
      <td>32</td>
      <td>2017</td>
      <td>21595</td>
    </tr>
    <tr>
      <td>High</td>
      <td>AMD Ryzen Threadripper 2950X</td>
      <td>16</td>
      <td>32</td>
      <td>2018</td>
      <td>15609</td>
    </tr>
    <tr>
      <td>High</td>
      <td>Intel Core i9 7980XE</td>
      <td>18</td>
      <td>36</td>
      <td>2016</td>
      <td>43198</td>
    </tr>
    <tr>
      <td>High</td>
      <td>AMD Ryzen 9 3950X</td>
      <td>16</td>
      <td>32</td>
      <td>2019</td>
      <td>34219</td>
    </tr>
    <tr>
      <td>High</td>
      <td>AMD Ryzen 9 5950X</td>
      <td>16</td>
      <td>32</td>
      <td>2020</td>
      <td>84439 +</td>
    </tr>
    <tr>
      <td>High</td>
      <td>Intel Core i7 13700</td>
      <td>16</td>
      <td>24</td>
      <td>2022</td>
      <td>7551</td>
    </tr>
    <tr>
      <td>High</td>
      <td>AMD Ryzen 9 7950X</td>
      <td>16</td>
      <td>32</td>
      <td>2022</td>
      <td>56355</td>
    </tr>
    <tr>
      <td>High</td>
      <td>Intel Core i7 14700</td>
      <td>20</td>
      <td>28</td>
      <td>2023</td>
      <td>4317</td>
    </tr>
    <tr>
      <td>High</td>
      <td>AMD Ryzen 9 9950X</td>
      <td>16</td>
      <td>32</td>
      <td>2024</td>
      <td>18871</td>
    </tr>
    <tr>
      <td>Extreme</td>
      <td>AMD EPYC 7551</td>
      <td>32</td>
      <td>64</td>
      <td>2017</td>
      <td> </td>
    </tr>
    <tr>
      <td>Extreme</td>
      <td>AMD EPYC 7601</td>
      <td>32</td>
      <td>64</td>
      <td>2017</td>
      <td> </td>
    </tr>
    <tr>
      <td>Extreme</td>
      <td>AMD Ryzen Threadripper 2990X</td>
      <td>32</td>
      <td>64</td>
      <td>2018</td>
      <td> </td>
    </tr>
    <tr>
      <td>Extreme</td>
      <td>AMD Ryzen Threadripper 3990X</td>
      <td>64</td>
      <td>128</td>
      <td>2019</td>
      <td> </td>
    </tr>
  </tbody>
</table>]]></content><author><name></name></author><category term="linux" /><category term="linux" /><category term="power9" /><category term="performance" /><summary type="html"><![CDATA[Play the same benchmarks in recent versions]]></summary></entry><entry><title type="html">Talos 2 performance evaluated in 2018-2019</title><link href="http://localhost:4000/linux/2024/09/28/talos2-performance-evaluated-in-2018-2019.html" rel="alternate" type="text/html" title="Talos 2 performance evaluated in 2018-2019" /><published>2024-09-28T16:12:44+02:00</published><updated>2024-09-28T16:12:44+02:00</updated><id>http://localhost:4000/linux/2024/09/28/talos2-performance-evaluated-in-2018-2019</id><content type="html" xml:base="http://localhost:4000/linux/2024/09/28/talos2-performance-evaluated-in-2018-2019.html"><![CDATA[<p>Let’s do a comeback in the past … Before I had my own Talos 2 machine, some benchmarks were published on Phoronix in 2018 and 2019.
I remembered that some benchmarks gave good results but that few of them were not at the expected level of performance.
On the other hand, and with benchmark reports here and there with various configurations, I forgot with which machines the Talos 2 was in competition.</p>

<p>Also, after the initial articles, some fixes were done very fast and proposed to concerned projects.
There is an article, <a href="https://sthbrx.github.io/blog/2018/08/15/improving-performance-of-phoronix-benchmarks-on-power9/">Improving performance of Phoronix benchmarks on POWER9</a>,
that analyzed some  benchmarks run in the initial <a href="https://www.phoronix.com/review/power9-epyc-xeon">Phoronix article</a>, focusing only on benchmarks that did not perform well
on Talos 2: LBM Parboil, x264 video encoding, Primesieve, LAME, FLAC, OpenSSL, Scikit-Learn and Blender. The article proposes a description of the situation and suggests changes. Note that sometimes, changes were obvious, for example it appeared that a benchmark missed an optimization option!</p>

<p>Let’s remind that in the Phoronix benchmarks, some of them showed that the Talos 2 performed well. For example: Stockfish, LLVM Compilation, 7zip and Zstd compression, TinyMembench, Postgresql. We will come back on that in details.</p>

<p>So, it was time to refresh and synthesize all that.
In the end, the investigation will show if there are still some benchmarks to look at for fixes or improvements.</p>

<p>2025-10-26: Removed decimals because they don’t really make sense. And added <code class="language-plaintext highlighter-rouge">Intel Core i7-8700K</code> configuration to make the transition with the second article.</p>

<h2 id="comparing-hardware">Comparing hardware</h2>

<p>I started to read all the articles and thanks to the benchmark identifier in some of them, I was able to run these old
testsuites to have a snapshot on my own config, see what works or not, practice the phoronix-test-suite tool, etc.</p>

<p>I also took some comments from any articles and comments.</p>

<p>I kept a short list of common systems found in these articles, from the less to the most powerful, in theory:</p>

<table>
  <thead>
    <tr>
      <th>Processor</th>
      <th>Year</th>
      <th>Cores/Threads</th>
      <th>Base Freq</th>
      <th>Max Freq</th>
      <th>Cache</th>
      <th>TDP</th>
      <th>Memory Support</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>Intel Xeon E3-1280 v5 (Skylake)</td>
      <td>Q4-2015</td>
      <td>4/8</td>
      <td>3.70 GHz</td>
      <td>4.00 GHz</td>
      <td>8 MB</td>
      <td>80 W</td>
      <td>DDR4-2133, up to 64 GB</td>
    </tr>
    <tr>
      <td>Intel Core i9-7980XE</td>
      <td>Q3-2017</td>
      <td>18/36</td>
      <td>2.60 GHz</td>
      <td>4.20 GHz</td>
      <td>24 MB</td>
      <td>165 W</td>
      <td>DDR4-2666, up to 128 GB</td>
    </tr>
    <tr>
      <td>Intel Xeon Gold 6138</td>
      <td>Q3-2017</td>
      <td>20/40</td>
      <td>2.00 GHz</td>
      <td>3.70 GHz</td>
      <td>28 MB</td>
      <td>125 W</td>
      <td>DDR4-2666, up to 768 GB</td>
    </tr>
    <tr>
      <td>AMD EPYC 7551</td>
      <td>Q2-2017</td>
      <td>32/64</td>
      <td>2.00 GHz</td>
      <td>3.00 GHz</td>
      <td>64 MB</td>
      <td>180 W</td>
      <td>DDR4-2666, octa-channel</td>
    </tr>
    <tr>
      <td>AMD EPYC 7601</td>
      <td>Q2-2017</td>
      <td>32/64</td>
      <td>2.20 GHz</td>
      <td>3.20 GHz</td>
      <td>64 MB</td>
      <td>180 W</td>
      <td>DDR4-2666, octa-channel</td>
    </tr>
    <tr>
      <td>AMD Ryzen Threadripper 2990WX</td>
      <td>Q3-2018</td>
      <td>32/64</td>
      <td>3.00 GHz</td>
      <td>4.20 GHz</td>
      <td>64 MB</td>
      <td>250 W</td>
      <td>DDR4-2933, quad-channel</td>
    </tr>
    <tr>
      <td>IBM POWER9 (dual 22-core)</td>
      <td>Q4-2017</td>
      <td>44/176</td>
      <td>2.80 GHz</td>
      <td>3.40 GHz</td>
      <td>120 MB</td>
      <td>N/A</td>
      <td>DDR4, up to 16 TB DDR4</td>
    </tr>
  </tbody>
</table>

<p>So, still in theory, the big POWER9 configurations should compete with (and even beat) all these systems except the 2 x Xeon Gold 6138.</p>

<p>Note that I own a Talos 2 dual 4-core, that will be mentioned in this article.</p>

<h2 id="results-of-old-benchmarks-2018-and-2019">Results of old benchmarks (2018 and 2019)</h2>

<p>That will highlight the comparison with different machines and also with variants of Talos 2.
Note that the listed are sorted by increasing performance (the best machine at the end).</p>

<h4 id="ptsbuild-gcc-100">pts/build-gcc-1.0.0</h4>

<p>Timed GCC Compilation 7.2:</p>

<p>On my Talos 2, this old version fails. At installation, there is a message <code class="language-plaintext highlighter-rouge">No rule to make 'defconfig'</code> and then running the test:</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>    pts/build-gcc-1.0.0 [Time To Compile]
        E: ../.././gcc/match.pd:120:1 error: expected (, got NAME
</code></pre></div></div>

<p>So below are only results provided by Phoronix:</p>

<p>Test: Time to compile</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>    Talos II 2 x 22c POWER9 1070.70
    AMD EPYC 7551            926.08
    AMD EPYC 7601            707.34
    2 x Xeon Gold 6138       591.32
</code></pre></div></div>

<p>Phoronix wrote “Keep in mind the Talos II Secure Workstation was limited to a slow hard drive for this initial testing, but there are some build time references for those curious about the potential of Talos II serving as a POWER build platform.”
With the provided results, let’s say that Talos 2 is rather close than EPYC 7551.”</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>Multi-threaded: YES
Verdict: AVERAGE
To do:
</code></pre></div></div>

<h4 id="ptsbuild-llvm-110">pts/build-llvm-1.1.0</h4>

<p>Timed LLVM Compilation 6.0.1:</p>

<p>Test: Time To Compile (Seconds &lt; Lower Is Better)</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>    Talos 2 Power9 2x 4c                   535
    Intel Core i7-8700K                    523
    Talos II POWER9 Dual 4-Core            354
    AMD EPYC 7551                          247
    AMD EPYC 7601                          236
    Core i9 7980XE                         227
    Threadripper 2990WX                    221
    Talos II 2 x 22c POWER9                183
    AMD EPYC 7601                          171
    2x EPYC 7601                           149
    Talos II POWER9 Dual 18-Core           142
    2 x Intel Xeon Gold 6138               127
</code></pre></div></div>

<p>There are some strange results, for example two very different results for the Talos 2 dual 4-core model, about results concerning the EPYC 7601 models … and also with the Talos 2 better with a dual 18-core than with a dual-22 core processor (maybe due to the slow drive evocated in the build-gcc test?).</p>

<p>Anyway, let’s say that high-end Talos 2 models are in the same area than Threadripper 2990WX and AMD EPYC 7601. We will see in another article running the same benchmarks in their recent versions.</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>Multi-threaded: YES
Verdict: GOOD
To do:
</code></pre></div></div>

<h4 id="ptscompress-7zip-171">pts/compress-7zip-1.7.1</h4>

<p>7-Zip Compression 16.02:</p>

<p>Test: Compress Speed Test (MIPS &gt; Higher Is Better)</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>    Talos 2 Power9 2x 4c           40043
    Intel Core i7-8700K            40386
    AMD EPYC 7551                  79708
    Threadripper 2990WX            85484
    Core i9 7980XE                 95662
    AMD EPYC 7601                  99574
    2 x Intel Xeon Gold 6138      143505
    Talos II POWER9 Dual 18-Core  158405
    Talos II 2 x 22c POWER9       162969
</code></pre></div></div>

<p>Phoronix comment: “The 7-Zip compression performance was doing very well on the POWER9 hardware with the 22-core Talos II Lite was outperforming the 32 core EPYC 7601 processor and the dual 18-core Talos II system was outperforming the dual Xeon Gold 6138 Tyan server. 7-Zip is another workload that always scales well including with SMT systems and here the 176 threads of the Talos II paid off well for this compression test.”</p>

<p>A comment says: “Is there a reason why Rodinia is only ‘-O2’ (not ‘-O3’ like everything else), and for 7Zip, it seems no compile optimization at all? (Also, to make best use of the POWER9 processor, use ‘-mcpu=power9’).”
That may explain discrepancies in results.
However, I did set optimization options that brought nothing in terms of performance.</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>Multi-threaded: YES
Verdict: GOOD
To do: Check optimization options and results in a recent version of the benchmark
</code></pre></div></div>

<h4 id="ptscompress-zstd-100">pts/compress-zstd-1.0.0</h4>

<p>Zstd Compression 1.3.4:</p>

<p>Test: Compressing ubuntu-16.04.3-server-i386.img, Compression Level 19 (Seconds &lt; Lower Is Better)</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>    EPYC 7601                      163
    Talos 2 Power9 2x 4c           134 
    2 x Xeon Gold 6138             118
    Talos II POWER9 Dual 4 Core    109
    Talos II POWER9 Dual 18-Core   107
    Intel Core i7-8700K             97
</code></pre></div></div>

<p>Phoronix comment:”POWER9 was performing extremely well in the Zstd compression benchmark. The Xeon systems were outperforming the EPYC hardware in the Zstd benchmark while the POWER9 hardware managed to beat out the Intel x86_64 CPUs in this single-thread test case.”</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>Multi-threaded: NO
Verdict: GOOD
To do:
</code></pre></div></div>

<h4 id="ptsc-ray-111">pts/c-ray-1.1.1</h4>

<p>C-Ray 1.1</p>

<p>C-Ray - 4K 16 Rays Per Pixel</p>

<p>pts/c-ray-1.1.1 (Seconds &lt; Lower Is Better)</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>pts/c-ray-1.1.1
    Intel Core i7-8700K            13
    Talos 2 Power9 2x 4c            9
    Raptor Talos II                 5
    AMD EPYC 7601                   3
    2 x Intel Xeon Gold 6138        3
</code></pre></div></div>

<p>Optimization does not change anything on my machine.
I don’t know what this config <code class="language-plaintext highlighter-rouge">Raptor Talos II</code> is … That’s too difficult to compare, so I ran <code class="language-plaintext highlighter-rouge">pts/c-ray-1.2.0</code> and obtained these results:</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>    Intel Core i7-8700K            99
    Talos 2 Power9 2x 4c           84
    Core i9 7980XE                 34
    2 x Xeon Gold 6138             27
    AMD EPYC 7601                  25
    AMD EPYC 7601                  22 -march=native
    Talos II 2 x 22c POWER9        19 -mcpu=power9 -mtune=power9
    Threadripper 2990WX            18
</code></pre></div></div>

<p>Phoronix comment: “The C-Ray ray-tracing performance of the Talos II was in line with the AMD Ryzen Threadripper 2990WX but had come up shy of the dual EPYC 7601 server.”</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>Multi-threaded: YES
Verdict: GOOD
To do:
</code></pre></div></div>

<h4 id="ptsencode-flac-160">pts/encode-flac-1.6.0</h4>

<p>FLAC Audio Encoding 1.3.2:</p>

<p>Test: WAV To FLAC (Seconds &lt; Lower Is Better)</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>    Talos II 2 x 22c POWER9        52
    Talos II POWER9 Dual 4 Core    44
    Talos II POWER9 Dual 18-Core   44
    Talos II POWER9 Dual 4-Core    40
    AMD EPYC 7551                  13
    AMD EPYC 7601                  12
    2 x Intel Xeon Gold 6138       10
    Xeon E3-1280 v5                10
</code></pre></div></div>

<p>Optimization options does not change anything.</p>

<p>Phoronix comment: “For audio encoding with FLAC and MP3 is another one of the areas where the POWER9 CPU performance is behind, but could possibly be improved with maturing POWER9 compiler support.”</p>

<p>The project lacks SIMD code for POWER. A patch series was done and integrated in FLAC 1.3.3, that improved the performance by 3.</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>Multi-threaded: NO
Verdict: BAD
To do: Check suggested improvements and measure their benefit
</code></pre></div></div>

<h4 id="ptsencode-mp3-170">pts/encode-mp3-1.7.0</h4>

<p>LAME MP3 Encoding 3.100:</p>

<p>Test: WAV To MP3
    Seconds &lt; Lower Is Better</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>    Talos II 2 x 22c POWER9        75 
    Talos II POWER9 Dual 4-Core    75
    Talos II POWER9 Dual 18-Core   67
    AMD EPYC 7551                  46
    AMD EPYC 7601                  43
    2 x Xeon Gold 6138             32
    Xeon E3-1280 v5                30
</code></pre></div></div>

<p>Results show that performance on POWER is very bad!</p>

<p>In the sthbrx article, it is said: “Due to configure options not being parsed correctly this benchmark is built without any optimisation regardless of architecture. We see a massive speedup by turning optimisations on, and a further 6-8% speedup by enabling USE_FAST_LOG (which is already enabled for Intel)”. It concludes on a x5 speedup.
See the <a href="https://shenki.github.io/LameMP3-on-Power9/">dedicated article</a> for details. It mentions that the obtained speedup is x7!
On my own machine, optimisation options made the score flight to more or less 15 seconds! What is confirmed in a recent version of the benchmark.</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>Multi-threaded: NO
Verdict: BAD
To do: Check proposed improvements have been integrated in the official project
</code></pre></div></div>

<h4 id="ptsopenssl-1110">pts/openssl-1.11.0</h4>

<p>OpenSSL 1.1.1:</p>

<p>Test: RSA 4096-bit Performance
    Signs Per Second &gt; Higher Is Better</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>    Talos 2 Power9 2x 4c               1617
    Intel Core i7-8700K                2006
    Talos II dual 18-core              3972
    AMD EPYC 7551                      4387
    AMD EPYC 7601                      4598
    Core i9 7980XE                     4686
    Threadripper 2990WX                5821 
    2 x Intel Xeon Gold 6138           7965
</code></pre></div></div>

<p>Phoronix comment: “The OpenSSL results also have a ways to improve, the performance on POWER9 was mixed against the AMD/Intel CPUs with the dual 18-core system failing to outperform the EPYC 7601.”</p>

<p>OpenSSL 1.1.0f did not include some improvements existing in the mainline. An update of the used version should improve the perfs on Power9 by a factor of 1.7.</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>Multi-threaded: YES
Verdict: BAD
To do:
</code></pre></div></div>

<h4 id="ptsparboil-112">pts/parboil-1.1.2</h4>

<p>Parboil v2.5</p>

<p>Test: OpenMP LBM</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>    Intel Core i7-8700K           138
    Talos II POWER9 Dual 4 Core   113
    AMD EPYC 7551                  72
    Talos II 2 x 22c POWER9        66
    Talos II POWER9 Dual 18-Core   44
    AMD EPYC 7601                  37
    2 x Xeon Gold 6138             30 
</code></pre></div></div>

<p>Phoronix comment: “With the Lattice-Boltzmann Method Fluid Dynamics test case, the dual 18-core POWER9 configuration was competing with the EPYC CPUs in this round of OpenMP benchmarking.”</p>

<p>From sthbrx article: “Also this benchmark is compiled without any optimisation. Recompiling with -O3 improves the results 3.2x on POWER9.”</p>

<p>Test: OpenMP CUTCP</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>    Talos II 2 x 22c POWER9        10
    AMD EPYC 7551                   3
    AMD EPYC 7601                   3
    2 x Xeon Gold 6138              2 
</code></pre></div></div>

<p>Phoronix comment: “Some tests like this Distance-Cutoff Coulombic Potential test appear just not well optimized for POWER9 at this point.”</p>

<p>To see if changes have been included in recent version of the benchmark and if the 3x speedup applied.</p>

<p>Test: OpenMP Stencil</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>    Intel Core i7-8700K            23
    AMD EPYC 7551                  17
    AMD EPYC 7601                  14
    Talos II 2 x 22c POWER9        10
    2 x Xeon Gold 6138              6 
</code></pre></div></div>

<p>Phoronix comment: “While in the stencil test, the Talos II system beat out both AMD EPYC systems and was mid-way to the performance of the dual Xeon Gold server.”</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>Multi-threaded: ?
Verdict: AVERAGE
To do: Focus on the test `OPEN MP CUTCP` that does not seem to be optimized for POWER9.
</code></pre></div></div>

<h4 id="ptsphpbench-115">pts/phpbench-1.1.5</h4>

<p>PHPBench 0.8.1:
    pts/phpbench-1.1.5 [PHP Benchmark Suite]
    Score &gt; Higher Is Better</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>    Talos II POWER9 Dual 4-Core    166406
    AMD EPYC 7551                  365767
    Talos II POWER9 Dual 18-Core   373681
    AMD EPYC 7601                  393659
    Threadripper 2990WX            525276 
    2 x Xeon Gold 6138             606341 
    Xeon E3-1280 v5                651532 
    Core i9 7980XE                 703666 
</code></pre></div></div>

<p>Phoronix comment: “The Python and PHP benchmarks also show room for single-threaded performance improvements. POWER9 only came in line with the AMD EPYC hardware for the PHP language performance.”</p>

<p>Optimization options did not bring any visible enhancements.</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>Multi-threaded: NO
Verdict: AVERAGE
To do: Identify the source of the problem (but who will like to work on PHP?)
</code></pre></div></div>

<h4 id="ptspovray-121">pts/povray-1.2.1</h4>

<p>POV-Ray 3.7.0.7:</p>

<p>Test: Trace Time (Seconds &lt; Lower Is Better)</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>    Talos 2 2x 4c              93
    AMD Ryzen 7 4700U          93
    AMD Ryzen 7 1700X          66
    Intel Core i7-8700K        62
    Core i9 7980XE             28
    Talos II 2 x 22c POWER9    25
    AMD EPYC 7551              23
    AMD EPYC 7601              23
    2x Xeon Gold 6138          19
    Threadripper 2990WX        18
</code></pre></div></div>

<p>Even with the benefit of the multi-thread support, the best Talos 2 system does not reach the performance of the AMC EPYC systems.</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>Multi-threaded: YES
Verdict: BAD
To do: Investigate ...
</code></pre></div></div>

<h4 id="ptsprimesieve-141">pts/primesieve-1.4.1</h4>

<p>Primesieve 6.2:</p>

<p>Test: 1e12 Prime Number Generation
    Seconds &lt; Lower Is Better</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>    Talos II POWER9 Dual 4-Core    45
    Intel Core i7-8700K            36
    Talos II POWER9 Dual 18-Core   19
    Talos II 2 x 22c POWER9        16
    EPYC 7551                      13
    EPYC 7601                      12
    2 x Xeon Gold 6138             11
</code></pre></div></div>

<p>The nominal results on POWER are not convincing, showing lower performance than AMD EPYC systems.</p>

<p>After a pull request by Anton Blanchard, the author had to make changes, having understood the issue. To check in a recent version of the benchmark.</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>Multi-threaded: YES
Verdict: BAD
To do: Check if changes proposed by the author have a positive and measurable impact
</code></pre></div></div>

<h4 id="ptspybench-112">pts/pybench-1.1.2</h4>

<p>PyBench 2018-02-16:</p>

<p>Test: Total For Average Test Times
    Milliseconds &lt; Lower Is Better</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>    Talos II 2 x 22c POWER9       4088 
    Talos 2 Power9 2x 4c          3671 
    Talos II POWER9 Dual 18-Core  1867
    EPYC 7601                     1538
    Threadripper 2990WX           1147
    2 x Xeon Gold 6138            1127
    Xeon E3-1280 v5               1043
    Intel Core i7-8700K           1021
    Core i9 7980XE                 955
</code></pre></div></div>

<p>Note that I also collected results that are not really the same:</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>    Talos II 2 x 22c POWER9       4859
    AMD EPYC 7551                 2216
    AMD EPYC 7601                 2086
    2 x Intel Xeon Gold 6138      1395
</code></pre></div></div>

<p>Anyway, that does not change the order: Python on Power9 systems is 2 or 3 times slower than on x86-64 machines (2 times slower than EPYC based systems).</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>Multi-threaded: NO
Verdict: VERY BAD
To do: Investigate
</code></pre></div></div>

<h4 id="ptsosbench-101">pts/osbench-1.0.1</h4>

<p>Test: Create Threads
    us Per Event &lt; Lower Is Better</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>    AMD EPYC 7551              38 
    AMD EPYC 7601              31 
    Talos 2 Power9 2x 4c       27
    Raptor Talos II            27 
    2 x Intel Xeon Gold 6138   23
</code></pre></div></div>

<p>Test: Create Processes
    us Per Event &lt; Lower Is Better</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>    Talos 2 Power9 2x 4c       74
    AMD EPYC 7601              60
    AMD EPYC 7551              58
    2 x Intel Xeon Gold 6138   43
    Raptor Talos II            30
</code></pre></div></div>

<p>Test: Memory Allocations
    Ns Per Event &lt; Lower Is Better</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>    AMD EPYC 7551              96
    2 x Intel Xeon Gold 6138   96
    AMD EPYC 7601              95
    Talos 2 Power9 2x 4c       95
    Raptor Talos II            83
</code></pre></div></div>

<p>Phoronix comment: “While lastly for now are the OSBench synthetic operating system benchmarks with the Raptor Talos II doing well against the EPYC and Xeon platforms.”</p>

<p>Talos 2 performs very, close to the <code class="language-plaintext highlighter-rouge">2 x Intel Xeon Gold 6138</code> or even better!</p>

<p>On my model, adding optimization options, only the test <code class="language-plaintext highlighter-rouge">Create Processes</code> had different results, with a better score of 49 instead of 74.</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>Multi-threaded: N/A
Verdict: GOOD
To do: Check optimization options, they improved greatly the test `Create Processes`
</code></pre></div></div>

<h4 id="ptspgbench-184">pts/pgbench-1.8.4</h4>

<p>PostgreSQL pgbench 10.3:</p>

<p>Test: Scaling: Buffer Test - Test: Normal Load - Mode: Read Only
    TPS &gt; Higher Is Better</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>    Talos 2 Power9 2x 4c            11110
    Xeon E3-1280 v5                116058
    Talos 2 Power9 2x 4c optim     159835
    Talos II POWER9 Dual 4 Core    222683
    EPYC 7601                      399625
    Talos II Lite POWER9 22 Core   442106 
    Threadripper 2990WX            472250
    Talos II 2 x 22c POWER9        544186 -mcpu=power9 -mtune=power9 (-march=native on x86_64)
    Talos II POWER9 Dual 18-Core   574297 
    2 x Xeon Gold 6138             587539 
</code></pre></div></div>

<p>Test: Scaling: Buffer Test - Test: Normal Load - Mode: Read Write
    TPS &gt; Higher Is Better</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>    Talos 2 Power9 2x 4c              542
    Xeon E3-1280 v5                  3803
    Talos II POWER9 Dual 4 Core      6381
    Talos II POWER9 Dual 18-Core     6451
    EPYC 7601                        6473
    2 x Xeon Gold 6138               6588
    Talos II POWER9 Dual 4-Core     14457
    Talos 2 Power9 2x 4c optim      14507
</code></pre></div></div>

<p>Optimization clearly boosts the performance!</p>

<p>Phoronix comment: “The dual 18-core POWER9 system was managing to compete with the dual Xeon Gold server for the PostgreSQL database benchmarking.”</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>Multi-threaded: YES
Verdict: GOOD
To do: Check optimization options, that provide a boost
</code></pre></div></div>

<h4 id="ptsredis-110">pts/redis-1.1.0</h4>

<p>Redis 4.0.8</p>

<p>Test: GET
    Requests Per Second &gt; Higher Is Better</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>    Talos 2 Power9 2x 4c        904977
    Raptor Talos II            1049994
    Talos 2 Power9 2x 4c optim 1053740
    AMD EPYC 7601              1703353
    2 x Intel Xeon Gold 6138   2515784
</code></pre></div></div>

<p>Test: SET
    Requests Per Second &gt; Higher Is Better</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>    Talos 2 Power9 2x 4c optim  553403
    Raptor Talos II             606874
    Talos 2 Power9 2x 4c        615384
    AMD EPYC 7601              1195935
    2 x Intel Xeon Gold 6138   1744256
</code></pre></div></div>

<p>There is almost no CPU activity!</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>Multi-threaded: NO
Verdict: BAD
To do: Check CPU activity
</code></pre></div></div>

<h3 id="ptsrodinia-122">pts/rodinia-1.2.2</h3>

<p>Rodinia - OpenMP LavaMD
pts/rodinia-1.2.2: Problem to install opencl packages</p>

<p>And also a problem of checksum on the <code class="language-plaintext highlighter-rouge">rodinia_2.4.tar.bz2</code> archive.</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>    AMD EPYC 7601                13
    Talos II 2 x 22c POWER9      13
    AMD EPYC 7551                11
    2 x Intel Xeon Gold 6138      7
</code></pre></div></div>

<p>Not many results collected so let’s base our opinion on Phoronix comment: “First up was the Rodinia OpenMP benchmark where the Talos II with dual 22-core processors (44 cores / 176 threads) had the performance aligned with the Core i9 7980XE, which in turn were behind the AMD Ryzen Threadripper 2 WX series performance. With the Parboil and Rodinia scientific tests, the dual 22-core POWER9 system was just behind the EPYC 7551 for performance.”</p>

<p>A comment says: “Is there a reason why Rodinia is only ‘-O2’ (not ‘-O3’ like everything else), and for 7Zip, it seems no compile optimization at all? (Also, to make best use of the POWER9 processor, use ‘-mcpu=power9’).”</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>Multi-threaded: ?
Verdict: AVERAGE
To do: Try a recent version and check optimization options
</code></pre></div></div>

<h4 id="ptsrust-prime-100">pts/rust-prime-1.0.0</h4>

<p>Rust Prime Benchmark:</p>

<p>Test: Prime Number Test To 200,000,000
    Seconds &lt; Lower Is Better</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>    Talos 2 Power9 2x 4c             14
    Talos 2 Power9 2x 4c optim       14
    Threadripper 2990WX              12
    Core i9 7980XE                    8
    2 x Intel Xeon Gold 6138          4
    Talos II 2 x 22c POWER9           3
</code></pre></div></div>

<p>Phoronix comment: “Rustlang performance is looking good on POWER9. The Rust Mandelbrot benchmark performed poorly with POWER9, but that certainly wasn’t the case with the Rustlang Prime benchmark.”</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>Multi-threaded: YES
Verdict: GOOD
To do: Run Rust Mandelbrot benchmark that behaves poorly, in addition to Prime benchmark
</code></pre></div></div>

<h4 id="ptsscikit-learn-101">pts/scikit-learn-1.0.1</h4>

<p>It failed to install on my machine:</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>Scikit-Learn 0.17.1:
    pts/scikit-learn-1.0.1
        The test quit with a non-zero exit status.
        E: ModuleNotFoundError: No module named 'sklearn.externals.six'
</code></pre></div></div>

<p>So I got results from only one source:</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>    Talos II 2 x 22c POWER9        230
    Talos II POWER9 Dual 18-Core   227
    2 x Intel Xeon Gold 6138       176
    EPYC 7601                      145
</code></pre></div></div>

<p>Phoronix comment: “The SciKit-Learn performance could also be better improved for POWER9, possibly via further software optimizations.”</p>

<p>In the sthbrx article, it is said that the benchmark uses the <code class="language-plaintext highlighter-rouge">libblas</code> that is a basic implementation among others and with no optimization for POWER9. Alternative libraries bring major speedups.</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>Multi-threaded: ?
Verdict: BAD
To do: Run a more recent version of the benchmark and analyze
</code></pre></div></div>

<h4 id="ptsstockfish-111">pts/stockfish-1.1.1</h4>

<p>v2014-11-26</p>

<p>Test: Total Time
    Nodes Per Second &gt; Higher Is Better</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>    Intel Core i7-8700K            19466915
    Talos II POWER9 Dual 4 Core    21485986
    Core i9 7980XE                 46289588
    EPYC 7601                      58469775 
    Threadripper 2990WX            67300757 
    2 x Xeon Gold 6138             69928856 
    Talos II POWER9 Dual 18-Core   73165064 
    Talos II 2 x 22c POWER9        79137127 
    2 x EPYC 7601                 100932062
</code></pre></div></div>

<p>I don’t remember where I found other results with other metrics, but they showed Talos 2 between both EPYC models:</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>    AMD EPYC 7551                      5032    -msse -msse3 -mpopcnt
    Talos II 2 x 22c POWER9            4915    -mcpu=power9 -mtune=power9
    AMD EPYC 7601                      4474    -msse -msse3 -mpopcnt
    2 x Xeon Gold 6138                 3343    -msse -msse3 -mpopcnt
</code></pre></div></div>

<p>Phoronix comment: “The Stockfish chess benchmark was running very well on POWER9 where the 22-core Talos II Lite was just behind the EPYC 7601, the dual quad-core POWER9 system well ahead of the other quad and octa core Intel Xeons, and the dual 18-core box outperforming the Xeon Gold 6138 by a small margin.”</p>

<p>Phoronix comment: “With the multi-threaded Stockfish chess benchmark using pthreads, the dual socket POWER9 system came up short of the dual EPYC 7601 Dell PowerEdge server.”</p>

<p>This last comment seems to mean Talos 2 performs very good but as the other results put it between both EPYC models and also because the dual 4-core model has poor results, I choose to say it has an average score.</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>Multi-threaded: YES
Verdict: AVERAGE
To do: To confirm heterogeneous results on a recent version of the benchmark, look at optimization options
</code></pre></div></div>

<h4 id="ptstinymembench-101">pts/tinymembench-1.0.1</h4>

<p>Tinymembench 2018-05-28:</p>

<p>Test: Standard Memcpy
    MB/s &gt; Higher Is Better</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>    2 x Xeon Gold 6138              6015
    Talos 2 Power9 2x 4c default   10663
    Talos 2 Power9 2x 4c optim     10676
    Talos II POWER9 Dual 4 Core    12418
    EPYC 7601                      12613
    Xeon E3-1280 v5                12878
    Talos II POWER9 Dual 18-Core   14515
    Talos II 2 x 22c POWER9        15453
</code></pre></div></div>

<p>Phoronix comment: “The Tinymembench performance on POWER9 was looking good for memory copy speed.”</p>

<p>Surprisingly, the <code class="language-plaintext highlighter-rouge">2 x Xeon Gold 6138</code> system looses this benchmark and … Talos 2 wins!
This slow to run benchmark has seen no improvement compiling it with optimization options.</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>Multi-threaded: NO
Verdict: GOOD
To do: Nothing
</code></pre></div></div>

<h4 id="ptsx264-232">pts/x264-2.3.2</h4>

<p>x264 2018-02-05:</p>

<p>Test: H.264 Video Encoding
    Frames Per Second &gt; Higher Is Better</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>    Talos II POWER9 Dual 4-Core    29
    Xeon E3-1280 v5                42
    Talos II 2 x 22c POWER9        44
    Talos II POWER9 Dual 18-Core   51
    Intel Core i7-8700K            72
    AMD EPYC 7551                 102
    2 x Xeon Gold 6138            125 
    EPYC 7601                     126 
</code></pre></div></div>

<p>Phoronix comment: “The x264 video encoding program is one test showing it’s not too well optimized right now for POWER9”.
And a bit later: “Similar to our first POWER9 benchmarking session back in April, the x264 performance and more broadly the multimedia CPU performance on POWER9 still could be much better optimized. The POWER9 performance was quite low compared to the x86_64 competition.”</p>

<p>Not an easy project to improve.</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>Multi-threaded: YES
Verdict: BAD
To do: That would require huge efforts ...
</code></pre></div></div>

<h4 id="systemoctave-benchmark-100">system/octave-benchmark-1.0.0</h4>

<p>GNU Octave Benchmark 4.4.1:</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>    2 x Xeon Gold 6138        23
    AMD EPYC 7551             22
    AMD EPYC 7601             21
    Threadripper 2990WX       17 
    Talos II 2 x 22c POWER9   15
</code></pre></div></div>

<p>Phoronix comment: “With the GNU Octave software as a MATLAB performance, the Talos II squeezed in front of the Threadripper systems for this single-core test.”</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>Multi-threaded: YES
Verdict: GOOD
To do:
</code></pre></div></div>

<h4 id="systemblender-102">system/blender-1.0.2</h4>

<p>Blender 2.79:</p>

<p>Test: Blend File: Classroom - Compute: CPU-Only</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>    Xeon E3-1280 v5                1657
    Talos II POWER9 Dual 4-Core    1391
    Talos II POWER9 Dual 18-Core    829
    EPYC 7601                       504
    2 x Xeon Gold 6138              416 
</code></pre></div></div>

<p>Test: Blend File: Pabellon Barcelona - Compute: CPU-Only</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>    Xeon E3-1280 v5                1745
    Talos II POWER9 Dual 4-Core    3057
    Talos II POWER9 Dual 18-Core   1355
    EPYC 7601                       973
    2 x Xeon Gold 6138              788 
</code></pre></div></div>

<p>Phoronix comment: “The Blender 3D modeling performance on the CPU also leaves more room for optimization on the POWER9 front.”</p>

<p>“failed to use more than 15 threads, even when “-t 128” was added to the Blender command line”</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>Multi-threaded: YES
Verdict: BAD
To do: Check if the project is fixed to use more than 16 threads
</code></pre></div></div>

<h2 id="conclusion">Conclusion</h2>

<p>That was very much work for me … taking the risk to get a conclusion that it was almost the same as in the very first Phoronix article.
Anyway, that allowed me to dive into these topics and to reconnect to my too long abandoned Talos 2.
Thanks to the synthesis below, that will give an orientation to the next step.</p>

<table>
  <thead>
    <tr>
      <th>Benchmark</th>
      <th>MT</th>
      <th>Verdict</th>
      <th>To do</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>pts/build-gcc-1.0.0</td>
      <td>YES</td>
      <td>AVERAGE</td>
      <td> </td>
    </tr>
    <tr>
      <td>pts/build-llvm-1.1.0</td>
      <td>YES</td>
      <td>GOOD</td>
      <td> </td>
    </tr>
    <tr>
      <td>pts/compress-7zip-1.7.1</td>
      <td>YES</td>
      <td>GOOD</td>
      <td>Check optim options and results in recent version of the benchmark</td>
    </tr>
    <tr>
      <td>pts/compress-zstd-1.0.0</td>
      <td>NO</td>
      <td>GOOD</td>
      <td> </td>
    </tr>
    <tr>
      <td>pts/c-ray-1.1.1</td>
      <td>YES</td>
      <td>GOOD</td>
      <td> </td>
    </tr>
    <tr>
      <td>pts/encode-flac-1.6.0</td>
      <td>NO</td>
      <td>BAD</td>
      <td>Check suggested improvements and measure their benefit</td>
    </tr>
    <tr>
      <td>pts/encode-mp3-1.7.0</td>
      <td>NO</td>
      <td>BAD</td>
      <td>Check proposed improvements integrated in the official project</td>
    </tr>
    <tr>
      <td>pts/openssl-1.11.0</td>
      <td>YES</td>
      <td>BAD</td>
      <td> </td>
    </tr>
    <tr>
      <td>pts/parboil-1.1.2</td>
      <td>?</td>
      <td>AVERAGE</td>
      <td>Focus <code class="language-plaintext highlighter-rouge">OPEN MP CUTCP</code> that does not seem to be optimized for POWER9</td>
    </tr>
    <tr>
      <td>pts/phpbench-1.1.5</td>
      <td>NO</td>
      <td>AVERAGE</td>
      <td>Identify the source of the problem</td>
    </tr>
    <tr>
      <td>pts/povray-1.2.1</td>
      <td>YES</td>
      <td>BAD</td>
      <td>Investigate, profile …</td>
    </tr>
    <tr>
      <td>pts/primesieve-1.4.1</td>
      <td>YES</td>
      <td>BAD</td>
      <td>Check if changes proposed have a positive and measurable impact</td>
    </tr>
    <tr>
      <td>pts/pybench-1.1.2</td>
      <td>NO</td>
      <td>VERY BAD</td>
      <td>Investigate</td>
    </tr>
    <tr>
      <td>pts/osbench-1.0.1</td>
      <td>N/A</td>
      <td>GOOD</td>
      <td>Check optim options, they improved greatly the test <code class="language-plaintext highlighter-rouge">Create Processes</code></td>
    </tr>
    <tr>
      <td>pts/pgbench-1.8.4</td>
      <td>YES</td>
      <td>GOOD</td>
      <td>Check optim options, that provide a boost</td>
    </tr>
    <tr>
      <td>pts/redis-1.1.0</td>
      <td>NO</td>
      <td>BAD</td>
      <td>Check CPU activity</td>
    </tr>
    <tr>
      <td>pts/rodinia-1.2.2</td>
      <td>?</td>
      <td>AVERAGE</td>
      <td>Try a recent version and check optimization options</td>
    </tr>
    <tr>
      <td>pts/rust-prime-1.0.0</td>
      <td>YES</td>
      <td>GOOD</td>
      <td>Run Mandelbrot that behaves poorly, in addition to Prime benchmark</td>
    </tr>
    <tr>
      <td>pts/scikit-learn-1.0.1</td>
      <td>?</td>
      <td>BAD</td>
      <td>Run a more recent version of the benchmark and analyze</td>
    </tr>
    <tr>
      <td>pts/stockfish-1.1.1</td>
      <td>YES</td>
      <td>AVERAGE</td>
      <td>To confirm heterogeneous results on a recent version and optim options</td>
    </tr>
    <tr>
      <td>pts/tinymembench-1.0.1</td>
      <td>NO</td>
      <td>GOOD</td>
      <td> </td>
    </tr>
    <tr>
      <td>pts/x264-2.3.2</td>
      <td>YES</td>
      <td>BAD</td>
      <td>That would require huge efforts …</td>
    </tr>
    <tr>
      <td>system/octave-benchmark-1.0.0</td>
      <td>YES</td>
      <td>GOOD</td>
      <td> </td>
    </tr>
    <tr>
      <td>system/blender-1.0.2</td>
      <td>YES</td>
      <td>BAD</td>
      <td>Check if the project is fixed to use more than 16 threads</td>
    </tr>
  </tbody>
</table>

<p>With this panel of benchmarks, we get 9 GOOD, 5 AVERAGE and 10 BAD. We expect better as our machines are very capable. We will see that in another article with results on recent versions of these benchmarks and possibly more.</p>

<p>Future actions will depend on the verdict:</p>

<ul>
  <li><code class="language-plaintext highlighter-rouge">GOOD</code>, when <code class="language-plaintext highlighter-rouge">Talos 2</code> is on the first place, I will just celebrate and check that there is no regression</li>
  <li><code class="language-plaintext highlighter-rouge">AVERAGE</code>, when <code class="language-plaintext highlighter-rouge">Talos 2</code> is in the same area of performance than <code class="language-plaintext highlighter-rouge">AMD EPYC</code> machines, I will at least check that there is no regression</li>
  <li><code class="language-plaintext highlighter-rouge">BAD</code>, when <code class="language-plaintext highlighter-rouge">Talos 2</code> does not show performance it should, I will check that proposed changes have been applied and investigate if necessary, to identify possible remaining problems</li>
</ul>

<p>I will also check the impact of SMT settings and compilation options, seeing that in some cases, the Phoronix reports mention some flags (<code class="language-plaintext highlighter-rouge">CXXFLAGS=-O3-march=native CFLAGS=-O3-march=native</code> for x86_64 platforms and <code class="language-plaintext highlighter-rouge">CXXFLAGS=-O3 -mtune=power9 -mcpu=power9 CFLAGS=-O3 -mtune=power9 -mcpu=power9</code> for ours), but I’m not sure if it’s always the case.</p>

<h2 id="annexes">Annexes</h2>

<p>References of Phoronix articles related to Talos 2:</p>

<ul>
  <li>2018-04-04: <a href="https://www.phoronix.com/review/power9-epyc-xeon">power9-epyc-xeon</a>: phoronix-test-suite benchmark 1804049-AR-POWERTALO23</li>
  <li>2018-09-25: <a href="https://www.phoronix.com/review/power9-talos-2">power9-talos-2</a>: phoronix-test-suite benchmark 1806251-AR-LINUXCPUS06</li>
  <li>2018-11-08: <a href="https://www.phoronix.com/review/power9-threadripper-core9">power9-threadripper-core9</a>: phoronix-test-suite benchmark 1811068-SK-TALOS205952</li>
  <li>2018-11-27: <a href="https://www.phoronix.com/review/power9-x86-servers">power9-x86-servers</a></li>
  <li>2019-08-19: <a href="https://www.phoronix.com/review/rome-power9-arm">rome-power9-arm</a></li>
</ul>]]></content><author><name></name></author><category term="linux" /><category term="linux" /><category term="power9" /><summary type="html"><![CDATA[Let’s do a comeback in the past … Before I had my own Talos 2 machine, some benchmarks were published on Phoronix in 2018 and 2019. I remembered that some benchmarks gave good results but that few of them were not at the expected level of performance. On the other hand, and with benchmark reports here and there with various configurations, I forgot with which machines the Talos 2 was in competition.]]></summary></entry><entry><title type="html">Play good old games on Power9</title><link href="http://localhost:4000/linux/2023/04/11/play-good-old-games-on-power9.html" rel="alternate" type="text/html" title="Play good old games on Power9" /><published>2023-04-11T21:35:42+02:00</published><updated>2023-04-11T21:35:42+02:00</updated><id>http://localhost:4000/linux/2023/04/11/play-good-old-games-on-power9</id><content type="html" xml:base="http://localhost:4000/linux/2023/04/11/play-good-old-games-on-power9.html"><![CDATA[<p>Last year, I managed to get a second hand Talos 2! Among things, I wanted to do with this platform (test open source software and contribute), I was curious to see which games would work on this development machine.
I installed Debian 11 and equipped the board with 32 GB of RAM and a Radeon RX570 connected to my monitor with HDMI (that also carries audio) with a 1920x1080 display.</p>

<p>This is a first article with games that are the easiest to build or install. I propose tests and report results, some of them are playable with only the BMC framebuffer (limited to non-OpenGL games or with software renderer).</p>

<p>I am not a great gamer … I prefer programming. And you will notice that reading this article. Testing a game, I also had a look at technical aspects of the project: language, code style, documentation …</p>

<p>Most of the games have been tested on my x86_64 Debian to validate and give a base (CPU: Intel i5-6200U @ 2.8 GHz and 16 GB of RAM, GPU: Intel Skylake GT2, HD Graphics 520).</p>

<p>This is a kind of training before trying to test or port more complex projects.</p>

<h2 id="the-good-old-amiga-games">The good old Amiga games</h2>

<p>Back to the origin. Most of them are based on Amiga games. Maybe because I am still an Amiga user and developer.</p>

<h3 id="zgloom">ZGloom</h3>

<p>https://github.com/Swizpig/ZGloom</p>

<p>I forgot it even if it is a reimplementation of the Amiga game Gloom. I tried it after reading <a href="https://www.talospace.com/2022/09/tonights-game-on-openpower-zgloom.html">this article</a> on talospace blog.
Then I even provided some patches :-D I played several levels and noticed no crash or particular bugs. However, enabling compiler sanitizers
(I like to do that), some issues related to resources and threads were found. Also note that, surprisingly, compilation by default has no optimization option!
To display FPS, that come with the map, just press <code class="language-plaintext highlighter-rouge">TAB</code> during the game. This is not documented.
I chose to compile with the optimization option -O2 and got 960 FPS on the PC and more than 1100 FPS on Talos 2 … I would have expected a bigger difference. Note that using clang, it increases to 1500 FPS.</p>

<h3 id="sdlpop">SDLPop</h3>

<p>https://github.com/NagyD/SDLPoP</p>

<p>This is a reimplementation (in C) of the hit by Jordan Mechner, Prince of Persia, obtained with the disassembly of the original DOS version. It provides many features explained in a clear and complete readme, with all options and game controls, and information to build the game.
Just go into <code class="language-plaintext highlighter-rouge">src</code> directory and run <code class="language-plaintext highlighter-rouge">make all</code>. The final executable <code class="language-plaintext highlighter-rouge">prince</code> is created in the root project directory.
Now it appears be quite simple in terms of graphics but the character animation still reminds how it was acclaimed when the game went out.</p>

<p>It worked on Amiga but I’ve seen an issue was reported about endianness on <a href="https://github.com/NagyD/SDLPoP/issues/185">big-endian targets</a></p>

<h3 id="reminiscence">REminiscence</h3>

<p>https://github.com/chermenin/REminiscence</p>

<p>Again, a project that implements an engine (using C++17), here for the Flashback game. It requires data from the original game, the Amiga version or the one from GOG.
It produces en executable named <code class="language-plaintext highlighter-rouge">fb</code> … but why? That’s always disturbing to me who likes explicit naming. Maybe to prevent copyright violation?</p>

<p>I will have to test with data from the Amiga. But right now, I used the <a href="https://www.gog.com/forum/flashback/gogs_version_running_it_with_reminiscence">GOG version</a>, first installed on Windows and copied. Once the GOG version is installed, copy the directory <code class="language-plaintext highlighter-rouge">FlashBack_Data/StreamAssets/data</code> where the executable is and rename it <code class="language-plaintext highlighter-rouge">DATA</code>.</p>

<p>The introduction sequence can’t be skipped!</p>

<p>It was reported that <a href="https://www.exotica.org.uk/wiki/Flashback">musics could be got there</a> but I had no success with them.</p>

<h3 id="hurrican">Hurrican</h3>

<p>https://github.com/HurricanGame/Hurrican</p>

<p>Another hit from the Amiga!
I’m not good at all at this kind of game so I give up very quickly. But it is free and comes with its data. And I remembered that I played an older implementation of this project on AmigaOS4 thanks to the port by my friend Huno.
It also introduces OpenGL in our list of games, with a good range of OpenGL versions, from GL1 to GL3, including ES variants.</p>

<p>There are 2 readme files and it seems there are also to ways to compile it, with <code class="language-plaintext highlighter-rouge">cmake</code> or directly with <code class="language-plaintext highlighter-rouge">make</code> but this last one does not work.
So just follow the description of the standard build provided in <code class="language-plaintext highlighter-rouge">README.md</code></p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>git clone --recurse-submodules https://github.com/HurricanGame/Hurrican.git
cd Hurrican/Hurrican
mkdir build &amp;&amp; cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
make
</code></pre></div></div>

<p>Then copy the <code class="language-plaintext highlighter-rouge">hurrican</code> executable in the Hurrican directory so that it can access the <code class="language-plaintext highlighter-rouge">./lang</code> directory (or it will fail to execute).
With OpenGL1, the game is only display on a small part in the center of the fullscreen. OpenGL2 (default mode) and OpenGL3 worked on my Talos 2.
The game is great and beautiful, with nice effects.</p>

<h3 id="scummvm">ScummVM</h3>

<p>This huge project proposes to play old adventure games, reimplementing their engines.
We don’t know when it will stop growing but at least, it allows to play numerous good old adventure games. Not only Amiga ones but I started to played adventure games on Amiga: Monkey Island, Gobliiins, Simon The Sorcerer, The Legend of Kyrandia …</p>

<p>For the few 3D games supported, it has 3 GL backends: OpenGL, OpenGL with shaders, software (TinyGL).</p>

<p>Building ScummVM is an example of satisfaction about knowing I own a Power9 based machine. So faast compared to other machines I use to build it.</p>

<p>I tried several old games and they work so far. Then I also tried 3D games because they are more prone to have problems but they also work well: Escape From Monkey Island, Grim Fandango and The Latest Journey. I didn’t check Myst 3 but it should work too.</p>

<p>I see nothing more to add. I would be interested to know if some games have issues on Power9 because I already contributed small patches to this active project that I want to support.</p>

<h2 id="first-person-shooters-the-pc-area">First person shooters, the PC area</h2>

<p>Let’s enter into a new dimension … the new game style that contributed to kill the Amiga.</p>

<h3 id="doom">Doom</h3>

<p>As it was ported to Amiga few days after the source code was released (I ran it on my A1200 with a 68030 accelerator), it is truly a PC game.</p>

<p>Quickly tried with DosBox on the PC but may be a topic of another article dedicated to emulators (170 FPS, with the formula <code class="language-plaintext highlighter-rouge">(x/y)*35</code>).
If you want to play Doom more conveniently, there are several engines and some of them come with your distribution:</p>

<ul>
  <li>
    <p><a href="https://github.com/chocolate-doom/chocolate-doom">Chocolate Doom</a>, originally based on the Doom sources, it aims to accurately reproduce the original DOS version of Doom and other games based on the Doom engine in a form that can be run on modern computers</p>
  </li>
  <li>
    <p><a href="https://github.com/fabiangreffrath/crispy-doom">Crispy Doom</a> is a friendly fork of Chocolate Doom that provides many enhancements (graphically but not only)</p>
  </li>
  <li>
    <p><a href="https://prboom-plus.sourceforge.io/">PrBoom+</a> that is itself a fork of <code class="language-plaintext highlighter-rouge">PrBoom</code>, that was a Doom port ; it provides improvements (OpenGL rendering, etc.) and also allows to play Doom2 mods.</p>
  </li>
</ul>

<p>They come with free data (<code class="language-plaintext highlighter-rouge">freedom</code>) but I quickly switched to the original WAD file and ran <code class="language-plaintext highlighter-rouge">crispy-doom -iwad ~/Games/DOS/DOOMS/DOOM1.WAD -timedemo DEMO1</code>.</p>

<p>On the PC, both engines give around 350 FPS. prboom-plus gives 620 FPS.
On the Talos 2, I get:</p>

<ul>
  <li>Chocolate Doom: between 1000 and 1500 FPS depending on the demo</li>
  <li>Crispy Doom: between 560 and 630 FPS</li>
  <li>PrBoom+ : between 630 and 730 FPS</li>
</ul>

<h3 id="quake--darkplaces">Quake / Darkplaces</h3>

<p>https://github.com/xonotic/darkplaces</p>

<p>This is a Quake1 engine written in C and SDL, that supports 2 OpenGL versions: OpenGL 3.2 or OpenGLES 2.0.
It is also available from Debian repository. No problem with this game.</p>

<p>Running <code class="language-plaintext highlighter-rouge">timedemo timedemo1</code> in the game console, I get:</p>

<ul>
  <li>on PC: FPS: 340 FPS</li>
  <li>on Talos 2: 500 FPS</li>
</ul>

<h3 id="doom-64">Doom 64</h3>

<p>https://github.com/svkaiser/Doom64EX</p>

<p>Doom 64 was published on Nintendo 64 and it was rather well rated.</p>

<p>Get and build the project sources:</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>git clone https://github.com/svkaiser/Doom64EX.git
cd Doom64EX/
git submodule update --init --recursive
mkdir build 
cd build
cmake ..
make -j4
</code></pre></div></div>

<p>Then, for the game data, you need the z64 rom file, to give to <code class="language-plaintext highlighter-rouge">doom64ex -wadgen</code>. I got a segmentation fault … at the end:</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>Writing IWAD File...

Successfully created /home/mathias/.local/share/doom64ex/doom64.wad
Writing Soundfont File...

Successfully created /home/mathias/.local/share/doom64ex/doomsnd.sf2
Segmentation fault
</code></pre></div></div>

<p>Good enough to get a working set of generated files.</p>

<p>Then run <code class="language-plaintext highlighter-rouge">./doom64ex</code> and enjoy! Or almost, on Talos 2, with the key to go back, he runs in front of him!</p>

<h3 id="sm64">sm64</h3>

<p>https://github.com/sm64-port/sm64-port</p>

<p>After Doom on Nintendo 64, let’s continue with another hit from the console before finishing with a bonus game.</p>

<p>This engine will allow you run Super Mario 64 on Linux using the original ROM that needs to be computed to generate the game data.
I chose to try the project <code class="language-plaintext highlighter-rouge">sm64-port/sm64-port</code> that was forked from <code class="language-plaintext highlighter-rouge">n64decomp/sm64</code>. It has been forked itself by <code class="language-plaintext highlighter-rouge">sm64pc/sm64ex</code> …</p>

<p>The project is well organized with minimal configs for clang-tidy and clang-format.</p>

<p>The README explains clearly what is needed to build the game and the procedure is simple: copy the z64 baserom file into the project directory (with the name <code class="language-plaintext highlighter-rouge">baserom.eu.z64</code> for the european version) and build with make specifying the language: <code class="language-plaintext highlighter-rouge">make VERSION=eu</code>. On Talos 2, I had to remove the option <code class="language-plaintext highlighter-rouge">-march=native</code> because the compiler said it was not known, you can also replace it by <code class="language-plaintext highlighter-rouge">-mcpu=power9</code> like saif in this <a href="https://forums.raptorcs.com/index.php/topic,208.0.html">forum topic</a></p>

<p>The last commit was pushed 2 years ago …</p>

<p>Note that the game keeps the keyboard configuration and the fullscreen option (and only that) in <code class="language-plaintext highlighter-rouge">sm64config.txt</code>. To run the game, write the command <code class="language-plaintext highlighter-rouge">./build/eu_pc/sm64.eu</code>.</p>

<p>I tried to connect a gamepad (Logitech WingMan) and the game became totally jerky (until I unplugged it), on both PC and Talos 2, with debug messages:</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>Dropping frame
Frame too late by 18 vsyncs
Reseting timer
Frame too late by 5 vsyncs
Dropping frame
</code></pre></div></div>

<h3 id="starwars-openjk">StarWars: OpenJK</h3>

<p>https://github.com/JACoders/OpenJK</p>

<p>This is an implementation of the engine that will allow you to play Jedi Academy and Jedi Outcast. I only have the former, bought on GOG and installed on Windows to move data from it.</p>

<p>Numerous warnings with the default build on PC. The code is both (and more or less equally) in C and C++. The project compiles with no problem and it was supposed to be portable because it was already <a href="https://www.amigafrance.com/forums/topic/openjk/">ported on newgen Amiga systems</a> years ago.</p>

<p>I advise to follow what is written in the compilation guide, that is to say give a prefix (with <code class="language-plaintext highlighter-rouge">cmake -DCMAKE_INSTALL_PREFIX=&lt;path&gt; ..</code>) to point of the <code class="language-plaintext highlighter-rouge">GameData</code> directory path … except that instead of putting files there, it did that in a <code class="language-plaintext highlighter-rouge">JediAcademy</code> subdirectory:</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>JediAcademy/jampgamex86_64.so
JediAcademy/openjk_sp.x86_64
JediAcademy/openjk.x86_64
JediAcademy/openjkded.x86_64
JediAcademy/rdsp-vanilla_x86_64.so
JediAcademy/rd-vanilla_x86_64.so
JediAcademy/base/cgamex86_64.so
JediAcademy/base/uix86_64.so
JediAcademy/OpenJK/cgamex86_64.so
JediAcademy/OpenJK/jagamex86_64.so
JediAcademy/OpenJK/jampgamex86_64.so
JediAcademy/OpenJK/uix86_64.so
</code></pre></div></div>

<p>So the content of <code class="language-plaintext highlighter-rouge">JediAcademy</code> directory has to be other one level up. Or on the other way, for the <code class="language-plaintext highlighter-rouge">-DCMAKE_INSTALL_PREFIX</code> cmake option value, choose the path where you want to create the game directory <code class="language-plaintext highlighter-rouge">JediAcademy</code> and then copy there the <code class="language-plaintext highlighter-rouge">base</code> directory from the original game.</p>

<p>Note that on Talos 2, for all files, <code class="language-plaintext highlighter-rouge">x86_64</code> is replaced by <code class="language-plaintext highlighter-rouge">ppc64le</code> in their names.</p>

<p>What is also strange is that the documentation asks to rename executable files like <code class="language-plaintext highlighter-rouge">openjk_sp.x86_64</code> (<code class="language-plaintext highlighter-rouge">_sp</code> for <code class="language-plaintext highlighter-rouge">single player</code>) in <code class="language-plaintext highlighter-rouge">jasp</code> but the <code class="language-plaintext highlighter-rouge">install</code> make target does not do that!</p>

<p>Even if graphics look a bit old (but the game is), it is easy to control and the atmosphere is great (the music obviously contributes to that).</p>

<h2 id="conclusion">Conclusion</h2>

<p>I finished this first initiatory trip with a game that I never played before and I was pleased to start playing it.</p>

<p>All tested games build and run quite well, what was not completely surprising. They are rather good old games, well-supported and ported to several targets.</p>

<p>Some games are playable with DosBox, ScummVM or Wine. I didn’t test the latter because it won’t work directly on Power9, that would require the use of <a href="https://github.com/AndreRH/hangover">Hangover</a></p>

<p>I plan to update this article with news that may happen. I also have ideas for other games or engines, to address in future articles.</p>]]></content><author><name></name></author><category term="linux" /><category term="linux" /><category term="power9" /><summary type="html"><![CDATA[Last year, I managed to get a second hand Talos 2! Among things, I wanted to do with this platform (test open source software and contribute), I was curious to see which games would work on this development machine. I installed Debian 11 and equipped the board with 32 GB of RAM and a Radeon RX570 connected to my monitor with HDMI (that also carries audio) with a 1920x1080 display.]]></summary></entry><entry><title type="html">Linux on Mac Mini G4 in 2021</title><link href="http://localhost:4000/linux/2021/04/09/linux-on-mac-mini-g4-in-2021.html" rel="alternate" type="text/html" title="Linux on Mac Mini G4 in 2021" /><published>2021-04-09T08:26:17+02:00</published><updated>2021-04-09T08:26:17+02:00</updated><id>http://localhost:4000/linux/2021/04/09/linux-on-mac-mini-g4-in-2021</id><content type="html" xml:base="http://localhost:4000/linux/2021/04/09/linux-on-mac-mini-g4-in-2021.html"><![CDATA[<p>In the past, I installed several distributions (Ubuntu 15.10, Debian 8) on Mac Mini. I still like this tiny computer. The memory is limited to 1 GB and the builtin graphic card has only 32 MB of RAM. But I consider it can be quite capable with its G4 (what also means the presence of AltiVec) at 1.3 GHz. I have used Debian for a long time, and it is often my defacto choice when I have to install a new machine. Sometimes I choose Ubuntu (most of the time LTS version) to get a more user-friendly environment and more recent software.</p>

<p>Thinking about a Linux distribution in 2021, we must consider the situation has changed : this month is the end of life of Ubuntu 16.04 LTS, the last version of this distribution. Years ago, Debian suddenly decided to drop the official support of PowerPC distribution … putting it in unstable branches called « ports ». So it recently became clear to me that if we want to continue to use Linux on PowerPC (big-endian) in a midterm future, efforts must be made on high potential distributions.</p>

<p>If we omit dead or exotic projects, my conclusion is we should focus on the unmissable Debian (even if Sid) and a challenger, the promising Void Linux. I started to hear about it concerning PowerPC (in fact POWER, with the support of Power9 workstations by Raptor CS) but this distribution is not specific to this architecture. Even if it is reserved to advanced users, Void Linux PPC is very active,  has a great documentation and support (for 32 and 64-bit machines), and also has innovative aspects, like versions with musl libc and/or little-endian mode.</p>

<p>I first wanted to install a dual boot with Debian Sid and Void Linux (with GRUB bootloader that is now the default one) but the former failed to boot from the USB stick (« Invalid memory access » booting the kernel). After all, I don’t want to scatter myself and as Void Linux is efficient, it should better suit the Mac Mini resources.</p>

<h1 id="installation-of-void-linux-ppc-on-mac-mini-g4">Installation of Void Linux PPC on Mac Mini G4</h1>

<p>Installing and using Linux on a PPC machine is often a discouraging adventure. That requires a good knowledge of Linux and there are many things to know that are here and there. By the way, a great source of information is forums of MacRumors and especially <a href="https://forums.macrumors.com/threads/void-linux-for-powerpc.2129245/">this one about Void Linux</a>.</p>

<p>My goal in this article is to describe the installation in order to make it straightforward for anyone that has a Mac Mini and would like to install Linux. You can read <a href="https://g5center.net/2021/01/02/into-the-void-linux-ppc/">this great article on g5center</a> that gives an overview of Void Linux installation on Mac Mini and how it behaves. It also perfectly reports the downsides.</p>

<p>Anyway, if you want to install Void Linux on your Mac Mini, just follow me!</p>

<p>Boot images are available from <a href="https://repo.voidlinux-ppc.org/live/current/">this list on voidlinux-ppc.org</a>. Each version has an alternative with the suffix « -xfce ». I personally didn’t want to install this graphical environment, so I downloaded: <code class="language-plaintext highlighter-rouge">void-live-ppc-20200411.iso</code></p>

<p>I wrote it in an USB stick with :</p>
<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>sudo umount /dev/sdb
sudo dd if=void-live-ppc-20200411.iso of=/dev/sdb
sudo sync
</code></pre></div></div>

<p>I plugged it into the Mac Mini and booted. It is necessary to stop at OpenFirmware level keeping keys WINDOWS + ALT + O + F pressed until a message says then can be released. Note that installing Void Linux will write GRUB as bootloader, so be prepared to lose yaboot (it seems the documentation explains how to keep it for a multi-boot configuration).</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>boot ud:,\boot\grub.img
</code></pre></div></div>

<p>The GRUB screen appears with a list of profiles : press « Enter » to select the first one (« Void Linux 5.4.31_1 (ppc) ») and be patient. Then a text appears mentionning 2 users (root and anon) with their password, and other information (about using xbps with its command install and query).</p>

<p>Log in using « root » user and then check the date and set it correctly if necessary. In my case with <code class="language-plaintext highlighter-rouge">date --set "20210401 21:39"</code>. If the date is wrong (like in my case), at the end, when trying to update packages, there will be an error:</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>Updating (some url) ...
Certificate verification failed for (some other url)
SSL_connect returned 1
ERROR: failed to fetch file (url of first line): Operation not permitted.
</code></pre></div></div>

<p>That caused me some pain over several installation attempts. Unfortunately this Mac Mini had an out-of-order PRAM battery. No luck. But it seems it happens quite often.</p>

<p>Open the <a href="https://docs.voidlinux-ppc.org/installation/live-images/guide.html">installation guide</a> in another computer browser, to follow instructions and help (and also read the page « Partitioning Notes »). Enter « void-installer » (with no TAB completion) to start installation. A simple GUI appears with a list of items, that you will enter step by step :</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>Keyboard
Network
Source
Hostname
Locale
Timezone
RootPassword
UserAccount
Partition
Filesystems
Bootloader
Install
Exit
</code></pre></div></div>

<p>I just have to mention I had initially problems with dhcp, having error <code class="language-plaintext highlighter-rouge">Network is inaccessible, please set it up properly</code>. Finally, it worked and I suppose it was not due to Void.</p>

<p>At the end, you are notified that installation is done. This is quite fast, a matter of minutes. The installer is a bit coarse, I was not fully reassured, but after all (even if that leads to try several times the installation), I consider that can be enough. Everything is minimalist but well organized and documented.</p>

<p>Anyway, congratulations for this installation. When asked for opening a shell, choose <code class="language-plaintext highlighter-rouge">Yes</code> to enter a console to update the system with :</p>
<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>xbps-install -Su
</code></pre></div></div>

<p>Then, you can shutdown, remove the USB stick, plug a mouse and … push the power button.</p>

<h1 id="more-than-a-terminal">More than a terminal</h1>

<p>So, installation is done. GRUB appears and Linux starts … until you are prompted. And like me, you will say : « Hey, so I have no graphical environment with a login screen? ». In fact, there are but … you will have to install them selecting packages manually. This is where I think I’m going to save few hours to you.</p>

<p>After I spent these hours myself, I found <a href="https://wiki.voidlinux.org/Post_Installation">the page on post installation</a> that I finally understood better afterwards.
This is not specific to PowerPC but it basically explains what is necessary. This wiki page is deprecated but it contains more information than <a href="https://docs.voidlinux.org/">the new pointed page</a> if you look at chapters <code class="language-plaintext highlighter-rouge">Session and Seat Management</code> (I understood nothing) and <code class="language-plaintext highlighter-rouge">Xorg</code>.</p>

<p>I wanted LXDE (light, with LXTerminal) so I installed it with Xorg :</p>
<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>xbps-install xorg xterm lxde
</code></pre></div></div>

<p>But if you reboot, you will stay in the initial console. First I tried to start LXDE but it was necessary to run <code class="language-plaintext highlighter-rouge">startx</code> first. Then, I found an idea elsewhere and I copied <code class="language-plaintext highlighter-rouge">/etc/X11/xinit/xinitrc</code> to <code class="language-plaintext highlighter-rouge">~/.xinitrc</code> and added the execution of my desktop environment.
During all these operations, I installed MATE to see if it would be more straightforward but it was not  (and I had to configure again my keymap in preferences).</p>

<p>To get a login screen and let the possibility to choose a desktop environment, it is necessary to install a display manager, here lightdm :</p>
<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>xbps-install lightdm lightdm-gtk3-greeter
</code></pre></div></div>

<p>The doc provides an example of <code class="language-plaintext highlighter-rouge">.xinitrc</code> that « you can tweak and put in your home directory to help configure Xorg, automatically start a desktop environment, etc. ». Hey! I don’t want to tweak anything, I just want to install Linux and choose a desktop environment (or two) and get it working with a login screen!
So it basically worked for me but I have it with the wrong keymap. I tried several things and also did read about creating a Xorg conf file … but I need to give me time constraints.</p>

<h1 id="what-else">What else?</h1>

<p>Now that I have a working Linux (kernel) with 2 desktop environments. I can use it, install software … Let’s see what the system provides.</p>

<p>The basics :</p>
<ul>
  <li>boot time : 43 s to the login screen, and then 42 seconds to make MATE available (there is a 10-15 seconds black screen that is not there with LXDE)</li>
  <li>kernel version with <code class="language-plaintext highlighter-rouge">uname -r</code> :  5.11.11_1</li>
  <li>MESA version with <code class="language-plaintext highlighter-rouge">glxinfo | grep version</code> : 20.3.4</li>
  <li>page size with <code class="language-plaintext highlighter-rouge">getconf PAGESIZE</code> : 4096</li>
  <li>FPS in glxgears with <code class="language-plaintext highlighter-rouge">vblank_mode=0 glxgears</code> : 489 FPS</li>
</ul>

<p>MATE was not reactive (resizing windows, switching between terminal tabs, etc.). I had to disable software compositing in « System/Preferences/Appearance/Windows ». LXDE is more reactive but I noticed the bottom bar was cut at about 40 % of its width and its menus are almost empty! Maybe I missed a package?</p>

<p>A good point is that 3D hardware acceleration is enabled and seems to work with no visible artifacts. No need to add strange properties in the boot command line or in Xorg config. That will help this modest Radeon 9200 with 32 MB of RAM.</p>

<p><strong>Development</strong></p>

<p>As a programmer reflex, I install gcc that comes in version 10.2.1. Then I ran <code class="language-plaintext highlighter-rouge">xbps-install perf</code> (that is also part of package linux-tools) : what happens!? Why does it install perl? I also got git and subversion.</p>

<p><strong>Games</strong></p>

<p>I only tested the package <code class="language-plaintext highlighter-rouge">scummvm</code> that comes with SDL2 and libfluidsynth. No immediate issues. I had audio in headphones. Note that it does not start anymore, it fails with this error : <code class="language-plaintext highlighter-rouge">LLVM ERROR : Relocation type not implemented yet</code>. Tried again with LXDE and it worked. And with sound in the speaker … I understand nothing.</p>

<p><strong>Video</strong></p>

<p>I installed packages mplayer and vlc.</p>

<p><em>mplayer</em>: OK with 640x272 videos, but not at all with 720p H264 video</p>

<p><em>VLC</em>: First, installation failed to download <code class="language-plaintext highlighter-rouge">libprotobuf26-lite-3.15.6_1 signature from ... Not found</code>. That worked after <code class="language-plaintext highlighter-rouge">xbps-install -Su</code>. So I tested to play a video but that produces a horrible sound in the speaker and VLC displayed <code class="language-plaintext highlighter-rouge">libmad error : bad main_data_begin pointer</code>.</p>

<p><strong>Audio</strong></p>

<p>With mplayer, that played full volume in the main speaker while scummvm emited no sound, I had to plug headphones. I supposed I was missing a mixing tool or something. I found a package named AlsaMixer.app : in addition to its strange naming, the GUI was horrible : 3 sliders with no label … I would have prefered a mixer installed by default. So I tried pulseaudio volume control …</p>

<p><strong>Wifi</strong></p>

<p>I have in fact no use of Wi-Fi on this machine and it looks very well described in the <a href="https://docs.voidlinux-ppc.org/configuration/apple.html#wireless-networking">official documentation</a></p>

<p><strong>Internet</strong></p>

<p>Firefox has problems on PPC32 so there is no package for it. I found netsurf that is very basic (and so limited to non-modern websites) and midori that expected to be better but entering a new URL, when I press <code class="language-plaintext highlighter-rouge">/</code>, that opens the small search box (with the magnifying glass). I also tested Epiphany (that is weirdly named Web in system menu) but it blocks and did not even display a simple website.
Our chance comes from 2 other browsers, based on Mozilla, that can be downloaded from outside Void repositories: <a href="https://github.com/wicknix/SpiderWeb/wiki/Download">SpiderWeb</a> and <a href="https://github.com/wicknix/Arctic-Fox/wiki/Downloads">ArcticFox</a>. Even if they are deb packages, there are 2 ways to install them:</p>
<ol>
  <li>Just extract the .deb archive anywhere and run the binary inside (<code class="language-plaintext highlighter-rouge">cd /path/to/arcticfox</code> then <code class="language-plaintext highlighter-rouge">./arcticfox</code>), then you could manually create a .desktop file if you want a menu entry / desktop icon.</li>
  <li>Install dpkg from Void repo and then <code class="language-plaintext highlighter-rouge">sudo dpkg -i /path/to/arcticfox.deb</code> (this will create a proper menu entry as well).
I chose the second option and that worked perfectly.</li>
</ol>

<h1 id="conclusion">Conclusion</h1>

<p>Void Linux PPC is an interesting challenger and I am pretty sure it should not be hard to contribute. It is well documented : not too much, but essential information is there, or in the main Void Linux website. Provided software is recent, I have hardware acceleration by default (no need to add obscure arguments in the Linux command line or properties into Xorg configuration) and this is a key enabler for the support of this machine (Mac Mini). It won’t be my main computer but it is tiny and powerful enough, I hope I will be able to update and test occasionally Void Linux and also test applications (including mine) with constrained resources (and perf working).
I was not so pleased to learn a new package manager but at least xbps commands looks logical, so it will be rather easy to learn (and there is a basic GUI named octoxbps).</p>

<p>Even if the installer is minimalist and may require several attempts to understand the most difficult items (partitioning), it is well organized and installation is fast. But unfortunately it does not include  desktop environments that require manual installation and configuration.</p>

<p>So, here is my starting point to list the things to improve (will see if they end in the issue tracker) :</p>
<ul>
  <li>At the end of installation, at least, provide a link to learn how to install a graphical environment. Please, automate the choice and installation of Desktop Environments!</li>
  <li>A check could be added to verify the date is greater that the date of the ISO release (or then invite to set the date) because it seems that the battery of our old Macs is often dead and that cause errors when installing packages.</li>
  <li>Root terminal : painful, impossible to navigate in the history, no tab completion</li>
  <li>Login screen : It uses the wrong keymap (english instead of French)</li>
  <li>After graphical login, there is a 10 or 15 second black screen with MATE, that is not there with LXDE … I don’t know what it does in the meantime</li>
  <li>MATE : Window resizing is slow, had to disable software compositing, to check if it was enabled by default</li>
  <li>LXQt : I remember in one of my first installation attempt, I tried it and crashed with an illegal instruction</li>
  <li>LXDE : The bottom bar is drawn well until it reaches about 40 % from the left and stops.</li>
  <li>LXDE : Almost nothing is installed by default, menus are almost empty</li>
  <li>Menus : I noticed when I install an application, it does not appear immediately in the menus, it will happen next time I will start a session (then a last test worked on LXDE)</li>
  <li>Audio : No audio mixer available by default and the output is difficult to predict (speaker, headphones)</li>
  <li>ScummVM : Under MATE (but not under LXDE), scummvm crashes with <code class="language-plaintext highlighter-rouge">LLVM ERROR : Relocation type not implemented yet</code></li>
  <li>VLC : When playing videos, it prints this error « libmad error : bad main_data_begin pointer »</li>
  <li>The small tool ppc64_cpu is provided in 32-bit images</li>
  <li>Browser : Last but no the least, Firefox is missing, Netsurf is limited, Midori and Epiphany are unusable. Hopefully there is ArcticFox!</li>
</ul>

<p>I will be pleased to see this report used, to open issues, provide explanation if I made some things wrong …</p>]]></content><author><name></name></author><category term="linux" /><category term="linux" /><category term="mac" /><summary type="html"><![CDATA[In the past, I installed several distributions (Ubuntu 15.10, Debian 8) on Mac Mini. I still like this tiny computer. The memory is limited to 1 GB and the builtin graphic card has only 32 MB of RAM. But I consider it can be quite capable with its G4 (what also means the presence of AltiVec) at 1.3 GHz. I have used Debian for a long time, and it is often my defacto choice when I have to install a new machine. Sometimes I choose Ubuntu (most of the time LTS version) to get a more user-friendly environment and more recent software.]]></summary></entry></feed>