Up to Main Index                             Up to Journal for April, 2022

                    JOURNAL FOR SATURDAY 30TH APRIL, 2022
______________________________________________________________________________

SUBJECT: The new 8Gb Pi
   DATE: Sat 30 Apr 21:08:35 BST 2022

I finally pushed WolfMUD v0.0.19 out of the door last week. No angry mobs with
torches and pitchforks, guess it all went okay. As I alluded to in the release
announcement I finally have the new Raspberry Pi 4 with 8Gb.

I did a quick setup and configuration just to get the WolfMUD ARM64 build done
and tested for the release. It has not been until this weekend that I have had
time to sit down and really butcher the install as to how I like it :P

I used the official Raspberry Pi OS 64-bit lite as the base install. One point
of interest, after faffing around I ended up with only 9 non-Debian packages.
All of the other 433 packages are stock Debian under the Raspberry Pi OS hood
and come directly from the Debian mirrors. The non packages I’m left with are:


            libraspberrypi-bin        raspberrypi-archive-keyring
            libraspberrypi-dev        raspi-config
            libraspberrypi0           rpi-eeprom
            raspberrypi-bootloader    rpi-update
            raspberrypi-kernel


This is in stark contrast to running Raspberry Pi OS 32-bit where everything
comes from the Raspbian mirrors. I guess this is due to the fact that 32-bit
ARM is very fractured across many architecture variants and 64-bit ARM more
unified? There are many non-Debian packages available in the repositories, I
just don’t have them installed.

The new Pi runs at 1.8GHz, compared to 1.5GHz on the older Pi 4 :) This made
me curious… 1.5GHz 32-bit vs 1.8GHz 64-bit, what was the performance like?

On both machines I compiled Go 1.18.1 from source using Go 1.17.9:


                                        Maximum    Temperature
                                 Time   Memory      Max  Idle
                                 ------ -------  ------  -------
              @1.5Ghz 32-bit OS: 24m45s   734Mb  60.8°C  53.0°C
              @1.8Ghz 64-bit OS: 21m54s  1056Mb  68.1°C  54.5°C
                                 ------ -------  ------  -------
                                 -2m51s  +322Mb  +7.3°C


Both Pi have a 240Gb WD Green SSD over USB3. The 64-bit compile, as expected,
used more memory. Compile times decreased by 15%, but we have a 20% increase
in CPU speed. The 1.8GHz Pi ran hotter, due to the increased speed or because
it was in an official case? The other was in a more open PiBow 4 Coupé. Both
were using an official heatsink and fan. I have more questions than answers!

Both Pi are excellent little machines and I’d have no problem using either
as a daily driver for development, but 64-bit and 8Gb is a nice luxury ;)

I did hope to have some combat changes ready to push to the public dev branch,
however there has been a last minute issue I’m working on. Long weekend, this
weekend, plenty of time for fixes and more development…

--
Diddymus


  Up to Main Index                             Up to Journal for April, 2022