Hardware upgrade: ASRock B550 and AMD Ryzen 5 3600 on Linux Mint 20.1 with Kernel 5.8

Written by - 2 comments

Published on - last updated on August 7th 2021 - Listed in Personal Hardware Linux


Yesterday was finally the day: Hardware upgrade of my main workstation!

Hard to believe, but parts of this hardware setup was in use since 2011 (!!!). I mentioned the hardware components 10 years ago in an old blog post (Testing some Swiss Online-Shops for Hardware Upgrade):

  • Motherboard: Asus (ASUSTeK) P8H67-M-EVO R3 (Socket LGA 1155)
  • CPU: Intel CPU i5 4C 2.4GHz
  • 2 x 750 GB Seagate HDD
  • 6 GB DDR3 RAM

In 2013 memory was upgraded to 16GB and in 2015 the Seagate drives were replaced by two Samsung 850 EVO solid state drives. In 2018 I fully switched to Linux Mint on this workstation. But motherboard and CPU were still in use. Until yesterday.

The old hardware specs are shared on linux-hardware.org.

To measure a difference in performance, a benchmark was performed using s-tui and geekbench. With s-tui (which uses stress in the background) I was focusing on the actual power usage of the whole machine. It peaked at around 145W after 2 minutes of s-tui running in stress mode. In IDLE mode (just a browser opened without doing any actual work) the power consumption was at around 85W. The geekbench result for the old hardware components: 668 Single-Core score and 2267 for Multi-Core score.

The new hardware package

Why upgrading the hardware? Was Linux getting slow on this old hardware setup? Actually no. Linux Mint (meanwhile at 18.3) was running just fine on this 10 year old setup. Probably thanks to the SSD upgrade a couple of years ago. But whenever I needed to start up a virtual machine with Windows 10 running in it, it basically killed my whole physical machine.

Note: Windows 7 in a VM was working fine...

Another problem was that my third SSD (used for VMs and backup) was connected to a SATA 2 connector. The P8H67-M-EVO motherboard only features two SATA 3 connectors, which are obviously used by my two main SSDs in a RAID-1. And with increasing video conferencing in the last years (especially in 2020) my machine often started to heat up (you could literally hear the fans).

Time to do an upgrade. Besides, it's been a while since I did some hardware work, something I like to do from time to time.

The new hardware package features:

  • Motherboard: ASRock B550 Pro 4 (Socket AM4)
  • CPU: AMD Ryzen 5 3600 6C 3.6 GHz
  • 16 GB DDR4 RAM (Corsair Vengeance LPX)

I am still continuing to use the current SSDs.

Preparations

The biggest challenge would be whether the B550M Pro 4 (with an AMD B550 chipset) would be supported by the Linux Kernel. Before actually buying the motherboard I came across a couple of issues that B550 chipsets would cause problems with Linux. However recent Kernel versions (starting from 5.7) added a lot of fixes and better hardware support for newer AMD hardware. So I decided to first upgrade the current Linux Mint 18.3 to the newest version (20.1 as of this writing), and then install a newer HWE (Hardware Enablement) Kernel.

On my road to Linux Mint 20.1 I experienced one weird behaviour after the upgrade from 18.3 to 19.0: Suddenly all text in the display manager (lightdm) disappeared. Only "boxes" were shown instead of actual characters. This could be solved by regenerating the font cache (see links before).

Once the OS was upgraded to Linux Mint 20.1, I installed the HWE Kernel 5.8:

ck@mint ~ $ sudo apt-get install linux-image-generic-hwe-20.04

And tested a successful reboot.

ck@mint ~ $ uname -a
Linux mintp 5.8.0-44-generic #50~20.04.1-Ubuntu SMP Wed Feb 10 21:07:30 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Then it was time to remove the old components and use the moment to thoroughly clean the chassis (and PSU).

Empty chassis, ready for new hardware components

Putting the components together

It's always fun to work with hardware components - at least every once in a while. Installing the Ryzen CPU on the motherboard is very easy, installing the cooler was working great with the screws (I did not like the old "push-down" screws from Intel).

ASRock B550 Pro 4 motherboard
AM4 socket on ASRock B550 Pro 4 motherboard
AMD Ryzen 5 3600 on ASRock B550 Pro 4 motherboard
AMD Ryzen cooler on ASRock B550 Pro 4 motherboard

Then went on and installed the memory DIMMs. As I only use two DIMMs for now I had to install them on the second and fourth slot (seen from the CPU), as the motherboard installation guide mentions:

We suggest that you install the memory modules on DDR4_A2 and DDR4_B2 first for better DRAM compatibility on 2 DIMMS configuration

After everything else was connected to the new motherboard, it was time to boot the machine.

Booting Linux Mint 20.1 with the new hardware

The very first boot took a while until something was actually shown on the screens. I guess something as a "first boot initialization" happened on the motherboard. But eventually grub was showing up and Linux Mint 20.1 booted up.

Once in Linux Mint 20.1 everything seemed to work - except the network card! I have read some hints that the Realtek card could cause issues, however on my research (using linux-hardware.org) I found plenty of Linux systems marking this card as "works". So I did what every first level supporter would ask you to do: Have you plugged it out and back in again? I did that and the NIC's LEDs began to blink. The network card is now up!

Note: On all the next boots, this "network card down" did not happen anymore.

Something else I noticed: The front fan (chassis) seemed to turn at a much lower rate. This could be because this fan only has a 3-pin cable yet the motherboard has a 4-pin connector. The 4th pin being for fan speed control. I went into BIOS and manually set the chassis fan to "Full speed" as I did not want to risk an overheat situation.

Besides these two minor things, everything works great (so far). Dual screen setup (using a dedicated MSI Radeon RX 580 GPU), HD Audio using the speakers, obviously keyboard and mouse and other USB connected devices (such as my Jabra head set).

Benchmark comparison

Of course what would be a hardware upgrade without a benchmark comparison? I let again s-tui run for around 2 minutes and measured the power consumption. To my big surprise the power usage peaked to around 165W, which is 20W more than using the old components. I would have thought that the Ryzen 5 3600 with a TDP of 65W would save more energy. However when running in IDLE mode (again, just a browser open without any tasks) the power consumption was at 75W. That's 10W less which is not that much but still something.

The geekbench results are, as expected, higher than on the old hardware: 1291 Single-Core score, 6952 on Multi-Core score.

 Type of Benchmark
 Old hardware
 New hardware
 Power consumption IDLE
 85W  75W
 Power consumption STRESS
 145W  165W
 Geekbench Single Core
 668  1291
 Geekbench Multi Core
 2267
 6952

Update: Meanwhile on Kernel 5.11

Now a few months later (August 2021), I just installed the Linux Kernel 5.11, which started to show up in the Synaptic Package Manager:

ckadm@mintp ~ $ uname -a
Linux mintp 5.11.0-25-generic #27~20.04.1-Ubuntu SMP Tue Jul 13 17:41:23 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Works great!


Add a comment

Show form to leave a comment

Comments (newest first)

Claudio Kuenzler from Switzerland wrote on Jan 1st, 2022:

Rikster, I mainly focused on comparing the benchmark stats of the different CPU/Hardware so I did not do another benchmark after the Kernel upgrade.


rikster from wrote on Jan 1st, 2022:

So after you installed 5.11.0-25-generic what were your Geekbench Single/Multi Core scores ?


RSS feed

Blog Tags:

  AWS   Android   Ansible   Apache   Apple   Atlassian   BSD   Backup   Bash   Bluecoat   CMS   Chef   Cloud   Coding   Consul   Containers   CouchDB   DB   DNS   Database   Databases   Docker   ELK   Elasticsearch   Filebeat   FreeBSD   Galera   Git   GlusterFS   Grafana   Graphics   HAProxy   HTML   Hacks   Hardware   Icinga   Influx   Internet   Java   KVM   Kibana   Kodi   Kubernetes   LVM   LXC   Linux   Logstash   Mac   Macintosh   Mail   MariaDB   Minio   MongoDB   Monitoring   Multimedia   MySQL   NFS   Nagios   Network   Nginx   OSSEC   OTRS   Office   OpenSearch   PGSQL   PHP   Perl   Personal   PostgreSQL   Postgres   PowerDNS   Proxmox   Proxy   Python   Rancher   Rant   Redis   Roundcube   SSL   Samba   Seafile   Security   Shell   SmartOS   Solaris   Surveillance   Systemd   TLS   Tomcat   Ubuntu   Unix   VMWare   VMware   Varnish   Virtualization   Windows   Wireless   Wordpress   Wyse   ZFS   Zoneminder